/* NabiGlow website. White, airy and calm: large light headlines, soft
   off-white panels, tall rounded cards, the NabiGlow green gradient for
   every action. Manrope throughout (300 for display, 400–800 for the rest). */

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-light-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --ink: #13221d;
  --text: #2b3a35;
  --muted: #66766f;
  --soft: #f7f7f4;
  --soft-2: #eff4f0;
  --line: rgba(19, 34, 29, 0.09);
  --line-strong: rgba(19, 34, 29, 0.16);
  --accent: #009a71;
  --accent-bright: #00cf88;
  --accent-deep: #00665a;
  --accent-soft: #e6f7f0;
  --gradient: linear-gradient(110deg, #00cf88 0%, #00a97c 52%, #00785f 100%);
  --gradient-text: linear-gradient(110deg, #00b97a, #00665a);
  --dark: #0b2a23;
  --sage: #5b7b71;
  --on-dark: #f3f8f5;
  --on-dark-2: rgba(243, 248, 245, 0.74);
  --shadow-soft: 0 1px 2px rgba(19, 34, 29, 0.04), 0 12px 32px rgba(19, 34, 29, 0.06);
  --shadow-lift: 0 2px 4px rgba(19, 34, 29, 0.05), 0 24px 48px rgba(19, 34, 29, 0.1);
  --shadow-green: 0 10px 26px rgba(0, 154, 113, 0.28);
  --r-panel: 40px;
  --r-card: 32px;
  --r-tile: 24px;
  --font: Manrope, ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ───────────── Type ───────────── */

.display,
.display-2,
.display-3 {
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.display {
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.02;
}

.display-2 {
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.06;
}

.display-3 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 300;
  line-height: 1.6;
}

.lead-dark {
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.text-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease);
}

.text-link:hover {
  background-size: 100% 1px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.pill-white {
  background: #fff;
}

.pill-on-dark {
  margin: 18px 0 0;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
}

/* ───────────── Buttons ───────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease), background-color 0.25s ease, border-color 0.25s ease;
}

.btn-app {
  background: var(--gradient);
  background-size: 160% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn-app:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 32px rgba(0, 154, 113, 0.36);
  transform: translateY(-2px);
}

.btn-app:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ───────────── Header (scroll-driven: --hp goes 0 → 1 over the first 140 px) ─────────────
   Scrolling down, the nav folds into the hairline, then the bar glides away (.is-hidden).
   Scrolling up, it returns as a floating pill with every link (--rv: 0 → 1).
   --np is the nav's own fold: the scroll's, undone while the pill is shown. */

.site-header {
  --hp: 0;
  --rv: 0;
  --np: calc(var(--hp) * (1 - var(--rv)));
  /* How far the logo and the buttons move in, so the pill floats clear of the window edges. */
  --pill-in: calc(18px * var(--hp) * var(--rv));
  position: sticky;
  top: 0;
  z-index: 40;
  /* Slides only: fading it would switch the frosted blur off until the fade ends. */
  transition: transform 0.55s var(--ease);
}

.site-header.is-hidden {
  transform: translate3d(0, calc(-100% - 24px), 0);
  pointer-events: none;
  /* Away with a soft start; back with the quicker ease-out above. */
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.js .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
}

.js body {
  padding-top: var(--header-h);
}

/* A white frosted veil fades in behind the bar as the page scrolls. */
.site-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: calc(var(--hp) * (1 - var(--rv)));
  pointer-events: none;
  transition: opacity 120ms ease;
}

.header-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

/* The floating pill: shown while scrolling back up, away from the top. */
.header-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px 4px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(19, 34, 29, 0.04), 0 14px 36px rgba(19, 34, 29, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  opacity: calc(var(--hp) * var(--rv));
  transform: scale(calc(0.985 + 0.015 * var(--rv)));
  pointer-events: none;
  transition: opacity 120ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.site-header .brand {
  transform: translate3d(var(--pill-in), 0, 0) scale(calc(1 - 0.06 * var(--hp)));
  transform-origin: left center;
}

.logo {
  width: 30px;
  height: 30px;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.wordmark-glow {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
}

.nav a {
  position: relative;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 120ms ease, transform 0.5s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

/* The selected tab: a little larger, eased in and out. */
.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--ink);
  transform: scale(1.06);
}

.nav-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 1;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(19, 34, 29, 0.08), inset 0 0 0 1px rgba(0, 154, 113, 0.18);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.38s var(--ease), width 0.38s var(--ease), opacity 0.22s ease;
}

.nav-indicator.is-visible {
  opacity: 1;
}

.site-header .nav {
  transform-origin: center bottom;
  transform: translate3d(0, calc(var(--pill-drop, 0px) * clamp(0, var(--np) / 0.8, 1)), 0) scaleY(calc(1 - 0.98 * clamp(0, var(--np) / 0.8, 1)));
}

/* The nav's soft pill, which collapses into the hairline under the bar. */
.site-header .nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: rgba(247, 247, 244, 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: calc(1 - clamp(0, (var(--np) - 0.5) / 0.4, 1));
  pointer-events: none;
  transition: opacity 120ms ease;
}

.site-header .nav a {
  opacity: calc(1 - clamp(0, var(--np) / 0.45, 1));
}

.header-line {
  position: absolute;
  right: var(--line-inset, 24px);
  bottom: 0;
  left: var(--line-inset, 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
  transform-origin: var(--line-origin, 50%) 50%;
  transform: scaleX(calc(var(--pill-ratio, 0) + (1 - var(--pill-ratio, 0)) * clamp(0, (var(--np) - 0.45) / 0.55, 1)));
  opacity: clamp(0, (var(--np) - 0.45) / 0.55, 1);
  pointer-events: none;
  transition: opacity 120ms ease;
}

.site-header .header-slot,
.site-header .menu-btn {
  transform: translate3d(calc(-1 * var(--pill-in)), 0, 0);
}

.header-slot {
  display: grid;
  justify-self: end;
  align-items: center;
  height: 44px;
}

.header-slot > .header-app,
.header-slot > .header-stores {
  grid-area: 1 / 1;
  justify-self: end;
}

.header-app {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(0, 154, 113, 0.22);
}

.site-header .header-app {
  opacity: calc(1 - clamp(0, var(--hp) / 0.5, 1));
  transform: translateY(calc(-6px * clamp(0, var(--hp) / 0.5, 1)));
  transition: opacity 120ms ease, box-shadow 0.3s var(--ease), background-position 0.6s var(--ease);
}

.header-stores {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 154, 113, 0.22);
  opacity: clamp(0, (var(--hp) - 0.5) / 0.5, 1);
  transform: translateY(calc(8px * (1 - clamp(0, (var(--hp) - 0.5) / 0.5, 1))));
  transition: opacity 120ms ease;
}

.store-btn svg {
  width: 16px;
  height: 16px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-icon-close {
  display: block;
}

/* ───────────── Sections ───────────── */

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 18px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head.center {
  justify-items: center;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* ───────────── Hero ───────────── */

.hero {
  padding: 8px 24px 0;
}

.hero-panel {
  position: relative;
  max-width: 1760px;
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 120px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(180deg, #f7f7f4 0%, #f4f6f3 46%, #e2f5ea 100%);
  isolation: isolate;
}

/* Two soft green lights drifting slowly under the panel. */
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-glow::before {
  bottom: -30%;
  left: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 207, 136, 0.18), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate;
}

.hero-glow::after {
  right: -12%;
  bottom: -20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 120, 95, 0.12), transparent 65%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, -5%, 0) scale(1.08);
  }
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero-copy .pill {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.7);
}

.hero-copy .lead {
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.hero-note {
  color: var(--muted);
  font-size: 14px;
}

/* Load-in: copy rises in sequence. */
.js .hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) forwards;
}

.js .hero-in:nth-child(2) {
  animation-delay: 80ms;
}

.js .hero-in:nth-child(3) {
  animation-delay: 160ms;
}

.js .hero-in:nth-child(4) {
  animation-delay: 240ms;
}

.js .hero-in:nth-child(5) {
  animation-delay: 320ms;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* The bento frame: a translucent tray with the product inside. */
.bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  max-width: 1500px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 16px 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 -10px 40px rgba(19, 34, 29, 0.05);
}

.bento-col {
  display: grid;
  align-content: start;
  gap: 16px;
}

.bento-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-tile);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.profile-tile {
  padding: 26px 28px 24px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  padding: 11px;
  border-radius: 50%;
  background: var(--accent-soft);
  object-fit: contain;
}

.profile-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.profile-title {
  color: var(--ink);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.profile-label {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.profile-list {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.profile-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}

.profile-list li:last-child {
  border-bottom: 0;
}

.tick {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--gradient);
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
}

.tick::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.is-in .tick {
  transform: scale(1);
  opacity: 1;
}

.is-in .profile-list li:nth-child(1) .tick { transition-delay: 0.35s; }
.is-in .profile-list li:nth-child(2) .tick { transition-delay: 0.47s; }
.is-in .profile-list li:nth-child(3) .tick { transition-delay: 0.59s; }
.is-in .profile-list li:nth-child(4) .tick { transition-delay: 0.71s; }

.stat-tile {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 116px;
  padding: 20px 22px;
}

.stat-big {
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.photo-tile {
  min-height: 460px;
  background: var(--soft);
}

.photo-tile img,
.fcard-photo img,
.story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

/* Photos settle into place as they appear, and breathe on hover. */
.js [data-reveal] .photo-tile img,
.js .photo-tile[data-reveal] img,
.js .fcard-photo[data-reveal] img,
.js .story[data-reveal] img {
  transform: scale(1.08);
}

.js .photo-tile.is-in img,
.js .fcard-photo.is-in img,
.js .story.is-in img {
  transform: scale(1);
}

@media (hover: hover) {
  .photo-tile.is-in:hover img,
  .fcard-photo.is-in:hover img {
    transform: scale(1.04);
  }
}

.glass-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(0, 207, 136, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 207, 136, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(0, 207, 136, 0);
  }
}

/* ───────────── Trust row ───────────── */

.trust {
  padding-top: clamp(40px, 5vw, 64px);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.trust-item span:not(.icon-chip) {
  color: var(--muted);
  font-size: 14px;
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ───────────── Feature grid: tall cards, photos and text alternating ───────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(440px, 38vw, 560px);
  overflow: hidden;
  border-radius: var(--r-card);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.fcard h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.fcard-soft,
.fcard-dark,
.fcard-sage {
  padding: clamp(28px, 3vw, 48px) clamp(24px, 2.6vw, 44px);
}

.fcard-foot {
  margin-top: auto;
}

.fcard-foot p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.fcard-soft {
  border: 1px solid var(--line);
  background: var(--soft);
}

.fcard-soft .fcard-foot p {
  color: var(--muted);
}

.fcard-dark {
  background: var(--dark);
}

.fcard-sage {
  background: var(--sage);
}

.fcard-dark h3,
.fcard-sage h3 {
  color: var(--on-dark);
}

.fcard-dark .fcard-foot p,
.fcard-sage .fcard-foot p {
  color: var(--on-dark-2);
}

@media (hover: hover) {
  .fcard-soft:hover,
  .fcard-dark:hover,
  .fcard-sage:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
  }
}

.fcard-art {
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.mini-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.flow span {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 500;
}

.fcard-photo {
  background: var(--soft);
}

/* App screenshots fill the whole card, anchored to the top of the screen. */
.fcard-shot {
  background: #f3f5f2;
}

.fcard-shot img {
  object-position: 50% 0%;
}

.fcard-shot-face img {
  object-position: 50% 30%;
}

/* ───────────── Split intro (approach, about) ───────────── */

.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split-intro .lead-dark + .muted {
  margin-top: 22px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 7vw, 96px);
}

.principle {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.principle h3 {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

/* ───────────── Steps with the sticky story photo ───────────── */

.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.story {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  height: min(calc(100vh - var(--header-h) - 48px), 900px);
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: var(--soft);
}

.story img {
  object-position: 50% 15%;
}

.story-glass {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  max-width: 560px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-tile);
  background: rgba(30, 50, 40, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  color: #fff;
}

.quote-mark {
  display: block;
  height: 28px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.story-glass p {
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.story-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.story-by img {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
  position: static;
  transform: none !important;
}

.story-by span {
  display: grid;
  font-size: 15px;
  font-weight: 500;
}

.story-by small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 400;
}

.steps-panel {
  padding: clamp(32px, 4.5vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--soft);
}

.steps-intro .lead-dark {
  margin-top: 18px;
}

.step-list {
  display: grid;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 0;
  list-style: none;
}

.step {
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: #fff;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.step .pill {
  margin-bottom: 16px;
}

.step h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

/* The step in the middle of the screen is the one being read. */
.step.is-current {
  border-color: rgba(0, 154, 113, 0.35);
  box-shadow: 0 16px 40px rgba(0, 154, 113, 0.1);
}

.step.is-current .pill {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.chip.is-on {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.scan-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.scan-lens {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 7px;
  overflow: hidden;
}

.scan-lens::after {
  content: "";
  position: absolute;
  right: 2px;
  left: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-bright);
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 3px;
  }
  50% {
    top: 13px;
  }
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

/* ───────────── Pro ───────────── */

.pro-panel {
  padding: clamp(56px, 7vw, 110px) clamp(20px, 4vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(0, 207, 136, 0.1), transparent 70%),
    var(--soft);
}

.pro-panel .section-head {
  gap: 0;
  margin-bottom: 48px;
}

.pro-panel .section-head .lead {
  margin-top: 16px;
}

.pro-crown {
  width: 112px;
  height: auto;
  margin-bottom: 18px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 20px;
}

.price-card {
  position: relative;
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 30px 30px 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-tile);
  background: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s var(--ease);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.price-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 154, 113, 0.14);
}

.plan-check {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.price-card.is-selected .plan-check {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

.tag {
  justify-self: start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 600;
}

.price {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.price small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.price-note {
  color: var(--muted);
  font-size: 15px;
}

.plan-summary {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.plan-availability {
  margin-top: 14px;
  text-align: center;
}

.plan-availability .pill {
  margin: 0;
  background: #fff;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
  max-width: 900px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
}

.perks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--gradient);
}

.fine-print {
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ───────────── FAQ ───────────── */

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-intro .muted {
  margin-top: 18px;
}

.question-list,
.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  transition: background 0.3s ease, border-color 0.3s ease;
}

details[open] {
  border-color: rgba(0, 154, 113, 0.25);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

summary {
  position: relative;
  display: block;
  padding: 22px 64px 22px 26px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before,
summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 14px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), background 0.3s ease;
}

summary::after {
  transform: rotate(90deg);
}

details[open] summary::before,
details[open] summary::after {
  background: var(--accent);
}

details[open] summary::after {
  transform: rotate(0deg);
}

details p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

details[open] p {
  animation: fade-down 0.45s var(--ease);
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ───────────── Closing panel ───────────── */

.close-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(64px, 9vw, 130px) 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(180deg, #f7f7f4 0%, #e3f5eb 100%);
  text-align: center;
  isolation: isolate;
}

.close-panel .lead {
  margin-top: -6px;
}

/* ───────────── About ───────────── */

.about {
  padding-top: clamp(40px, 6vw, 80px);
}

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}

.person {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s ease;
}

@media (hover: hover) {
  .person:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: var(--shadow-lift);
  }
}

.monogram {
  display: grid;
  place-items: center;
  width: clamp(64px, 6vw, 84px);
  height: clamp(64px, 6vw, 84px);
  flex: none;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-green);
}

.person h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.person-role {
  margin-top: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.person-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

/* ───────────── Footer ───────────── */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.footer-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-footer .small + .small {
  margin-top: 6px;
}

.copyline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ───────────── Dialog ───────────── */

.soon-dialog {
  width: min(400px, calc(100% - 32px));
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  color: var(--text);
  text-align: center;
  box-shadow: 0 30px 80px rgba(19, 34, 29, 0.2);
}

.soon-dialog::backdrop {
  background: rgba(19, 34, 29, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.soon-dialog[open] {
  animation: pop 0.45s var(--ease);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.soon-art {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
}

.soon-dialog h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.soon-dialog p {
  margin: 8px 0 22px;
  color: var(--muted);
}

/* ───────────── Inner pages (privacy, support, 404) ───────────── */

.page-wrap {
  max-width: 820px;
  padding-top: clamp(48px, 8vw, 110px);
  padding-bottom: clamp(64px, 9vw, 130px);
}

.page-wrap h1,
.page-404 h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.prose p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.prose h1 + p {
  margin-top: 32px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 400;
}

.support-col {
  display: grid;
  gap: 28px;
}

.glass,
.contact-card,
.not-found {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--soft);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px);
}

.contact-card p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
}

.support-heart-art {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.contact-pending {
  justify-self: start;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.page-404 {
  padding-block: clamp(56px, 9vw, 130px);
}

.not-found {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 28px;
  background: linear-gradient(180deg, #f7f7f4 0%, #e3f5eb 100%);
  text-align: center;
}

.not-found .btn {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.not-found-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
}

.secondary {
  color: var(--muted);
}

/* Reviews, if real ones are ever added (site.js builds this section). */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  padding: 32px;
  border-radius: var(--r-tile);
}

.card blockquote {
  color: var(--ink);
  font-size: 19px;
  font-weight: 300;
}

.role {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 600;
}

/* ───────────── Scroll reveal ───────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* Hover lifts on revealed cards keep their own transition after the reveal. */
.js .fcard[data-reveal].is-in,
.js .person[data-reveal].is-in {
  transition: opacity 0.9s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.3s ease;
}

/* The sticky story photo must not be transformed (sticky + transform). It fades only. */
.js .story[data-reveal] {
  transform: none;
}

/* ───────────── Responsive ───────────── */

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-info {
    grid-column: 1 / -1;
    grid-template-columns: 1.3fr 1fr;
  }

  .bento-pair {
    grid-template-columns: 1fr;
  }

  .photo-tile {
    min-height: 380px;
  }

  .perks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .split-intro,
  .faq-layout,
  .steps-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .story {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .principle {
    padding: 28px 0;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
    --r-panel: 30px;
    --r-card: 26px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    padding-inline: 16px;
  }

  .header-bar {
    display: flex;
    justify-content: space-between;
  }

  .site-header {
    --pill-in: calc(12px * var(--hp) * var(--rv));
  }

  .header-bar::before {
    inset: 7px 0;
  }

  .nav a.is-active,
  .nav a[aria-current="page"] {
    transform: none;
  }

  .js .menu-btn {
    display: inline-flex;
    order: 3;
  }

  .js .header-slot {
    margin-left: auto;
  }

  .header-app {
    padding: 0 16px;
    font-size: 14px;
  }

  .site-header .nav,
  .site-header .nav a {
    transform: none;
    opacity: 1;
  }

  .site-header .nav::before {
    content: none;
  }

  .js .nav:not(.is-open) {
    display: none;
  }

  .js .nav.is-open {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lift);
    animation: pop 0.35s var(--ease);
  }

  .js .nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    font-size: 17px;
  }

  .hero {
    padding: 4px 10px 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 10px 0;
  }

  .bento-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bento-pair {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .profile-tile {
    padding: 22px;
  }

  .stat-tile {
    min-height: 96px;
    padding: 16px;
  }

  .photo-tile {
    min-height: 260px;
  }

  .glass-chip {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fcard {
    min-height: 0;
  }

  .fcard-soft,
  .fcard-dark,
  .fcard-sage {
    min-height: 300px;
  }

  .fcard-photo {
    aspect-ratio: 4 / 3;
  }

  .fcard-shot {
    aspect-ratio: 4 / 5;
  }

  .story-glass {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .steps-panel {
    padding: 28px 18px;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .team {
    grid-template-columns: 1fr;
  }

  summary {
    padding: 18px 56px 18px 20px;
    font-size: 16px;
  }

  details p {
    padding: 0 20px 20px;
  }
}

@media (max-width: 400px) {
  .header-app {
    padding: 0 12px;
    font-size: 13px;
  }

  .wordmark {
    font-size: 20px;
  }
}

/* ───────────── Reduced motion: no movement, content shown at once ───────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .hero-in,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .js .photo-tile img,
  .js .fcard-photo img,
  .js .story img,
  .tick {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .btn,
  .fcard,
  .person,
  .price-card {
    transition: none;
  }

  .btn:hover,
  .fcard:hover,
  .person:hover,
  .price-card:hover {
    transform: none !important;
  }

  .site-header .brand,
  .site-header .nav,
  .site-header .header-app,
  .site-header .store-btn,
  .site-header .header-line {
    transform: none;
    transition: opacity 150ms ease;
  }

  .site-header::before,
  .site-header .nav::before,
  .site-header .nav a {
    transition: opacity 150ms ease;
  }

  .site-header .header-line,
  .site-header .store-btn,
  .site-header::before {
    opacity: 0;
  }

  .site-header .header-app,
  .site-header .nav a,
  .site-header .nav::before {
    opacity: 1;
  }

  .site-header.is-compact .nav {
    opacity: 0;
  }

  .site-header.is-compact .header-app {
    opacity: 0;
  }

  .site-header.is-compact .store-btn,
  .site-header.is-compact .header-line,
  .site-header.is-compact::before {
    opacity: 1;
  }

  /* Hide and return by fading only; the selected tab does not grow. */
  .site-header,
  .site-header.is-hidden,
  .site-header .header-bar::before,
  .site-header .header-slot,
  .site-header .menu-btn,
  .nav a.is-active,
  .nav a[aria-current="page"] {
    transform: none;
  }

  .site-header {
    transition: opacity 150ms ease;
  }

  .site-header.is-hidden {
    opacity: 0;
  }

  .site-header .header-bar::before {
    opacity: 0;
    transition: opacity 150ms ease;
  }

  .site-header.is-compact.is-revealed .nav {
    opacity: 1;
  }

  .site-header.is-compact.is-revealed .header-line,
  .site-header.is-compact.is-revealed::before {
    opacity: 0;
  }

  .site-header.is-compact.is-revealed .header-bar::before {
    opacity: 1;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .site-header.is-compact .nav,
  .site-header.is-compact .nav a {
    opacity: 1;
  }
}
