/* =========================================================================
   GrowUP  ·  styles
   Design system
   - Theme: auto (prefers-color-scheme), one theme per page, tokens below.
   - Accent: brand magenta #E02166, the only accent on the page.
   - Radius scale: interactive = pill, cards/tiles = 28px, inputs = 14px.
   - Motion: transform + opacity only, custom ease-out, honors reduced motion.
   ========================================================================= */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f2f2f5;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #c7c7cc;
  --line: rgba(0, 0, 0, 0.08);

  --accent: #e02166;          /* fills (white text on it = 4.6:1) */
  --accent-ink: #c8155a;      /* accent used as text on page background */
  --accent-soft: rgba(224, 33, 102, 0.08);

  --tile-dark: #111113;
  --glass: rgba(251, 251, 253, 0.72);
  --shadow: 0 1px 2px rgba(29, 29, 31, 0.04), 0 12px 40px rgba(29, 29, 31, 0.06);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-tile: 28px;
  --r-input: 14px;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --nav-h: 56px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --surface: #161618;
    --surface-2: #1f1f22;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #3a3a3e;
    --line: rgba(255, 255, 255, 0.1);
    --accent-ink: #ff5c95;
    --accent-soft: rgba(255, 92, 149, 0.12);
    --tile-dark: #161618;
    --glass: rgba(10, 10, 11, 0.7);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

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

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor-alias { position: absolute; top: calc(-1 * var(--nav-h)); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

/* -------------------------------------------------------------- type */
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-title--center { text-align: center; }

.section-lead {
  margin-top: 16px;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  color: var(--text-2);
  text-wrap: pretty;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, opacity 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: 0.875rem; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.0625rem; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { color: var(--accent-ink); padding-inline: 12px; }
.btn--ghost .ph { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #c91a5a; }
  .btn--ghost:hover .ph { transform: translateX(3px); }
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 0; cursor: pointer;
  background: var(--surface-2); color: var(--text);
  font-size: 1.25rem;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover { background: var(--line); }
}

/* --------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo__mark { width: 24px; height: 24px; fill: #a1a1a6; }
.logo__word { font-size: 1.375rem; line-height: 1; letter-spacing: -0.04em; }
.logo__word b { font-weight: 800; }
.logo__word i { font-weight: 400; color: #a1a1a6; padding-right: 2px; }

/* ---------------------------------------------------------------- nav */
.nav-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 300ms ease;
}
.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }

.nav__inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--nav-h);
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 0.875rem; color: var(--text-2); transition: color 200ms ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: transparent; font-size: 1.375rem; cursor: pointer;
}

.mobile-menu {
  display: grid; align-content: start; gap: 20px;
  min-height: calc(100dvh - var(--nav-h));
  padding: 8px var(--gutter) 28px;
  transform-origin: top center;
}
.nav:has(.mobile-menu.is-open) { background: var(--bg); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 14px 0;
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { animation: menu-in 320ms var(--ease-drawer); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; }
}

/* --------------------------------------------------------------- hero */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(48px, 8vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__sub {
  margin-top: 24px; max-width: 34ch;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.4; color: var(--text-2);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }

.hero__media {
  aspect-ratio: 1;
  border-radius: 36px;
  overflow: hidden;
  background: #e8e8ea;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 3; border-radius: var(--r-tile); }
  .hero__media img { object-position: 60% 45%; }
}

/* ---------------------------------------------------------- manifesto */
.manifesto { padding-block: clamp(80px, 14vw, 180px); }
.manifesto__text {
  font-size: clamp(1.875rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}
.manifesto__text .w { color: var(--text); }

/* Scroll-driven word lighting (CSS only, no scroll listener). Browsers without support show the text fully lit. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto__text .w {
      color: var(--text-3);
      animation: word-light linear both;
      animation-timeline: view();
      animation-range: entry 90% cover 45%;
    }
  }
}
@keyframes word-light { to { color: var(--text); } }

/* ------------------------------------------------------------ journey */
.journey { padding-bottom: clamp(96px, 12vw, 160px); }
.journey__track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 40px;
}
.journey__track::before,
.journey__track::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 2px; border-radius: 2px;
}
.journey__track::before { background: var(--line); }
.journey__track::after { background: var(--accent); transform-origin: left; transform: scaleX(1); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .journey__track::after {
      animation: track-fill linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 55%;
    }
  }
}
@keyframes track-fill { from { transform: scaleX(0); } }

.journey__step { position: relative; }
.journey__step::before {
  content: ""; position: absolute; top: -45px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.journey__when {
  display: block;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  color: var(--accent-ink);
}
.journey__step p { margin-top: 10px; max-width: 24ch; color: var(--text-2); font-size: 1.0625rem; }

@media (max-width: 860px) {
  .journey__track { grid-template-columns: 1fr; gap: 36px; padding-top: 0; padding-left: 32px; }
  .journey__track::before, .journey__track::after { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto; }
  .journey__track::after { transform-origin: top; }
  @keyframes track-fill { from { transform: scaleY(0); } }
  .journey__step::before { top: 8px; left: -32px; }
}

/* ----------------------------------------------------------- services */
.services { padding-block: clamp(96px, 12vw, 160px); background: var(--surface-2); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}

.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--r-tile);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tile { isolation: isolate; }
.tile__body { padding: clamp(24px, 3vw, 36px); }

/* Stretched link: the title link covers the whole tile, so the tile is one big target. */
.tile__stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile__stretch:focus-visible { outline: none; }
.tile__stretch:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.tile__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-weight: 600; font-size: 0.9375rem;
  color: var(--accent-ink);
}
.tile--ads .tile__more { color: #ff5c95; }
.tile__more .ph { transition: transform 200ms var(--ease-out); }
.tile:has(.tile__stretch) { transition: transform 200ms var(--ease-out); }
.tile:has(.tile__stretch):active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .tile:has(.tile__stretch):hover .tile__more .ph { transform: translate(2px, -2px); }
}
.tile__title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; }
.tile__text { margin-top: 10px; color: var(--text-2); max-width: 34ch; }
.tile__img { width: 100%; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.chips li {
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500;
  background: var(--surface-2); color: var(--text);
}

/* ADS: wide dark tile, chart image bleeding from the right */
.tile--ads { grid-column: span 4; background: #111113; color: #f5f5f7; min-height: 420px; }
.tile--ads .tile__body { max-width: 56%; }
.tile--ads .tile__text { color: #a1a1a6; }
.tile--ads .chips li { background: rgba(255, 255, 255, 0.1); color: #f5f5f7; }
.tile--ads .tile__img {
  position: absolute; z-index: -1; right: -6%; bottom: -4%; width: 66%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
  mask-image: linear-gradient(to right, transparent 0, #000 30%);
}

/* Video: tall tile, photo on top */
.tile--video { grid-column: span 2; grid-row: span 2; }
.tile--video .tile__img { flex: 1; min-height: 0; aspect-ratio: 3 / 4; object-position: 50% 55%; }

/* Web: photo at the bottom */
.tile--web { grid-column: span 2; }
.tile--web .tile__img { margin-top: auto; aspect-ratio: 16 / 9; object-position: 50% 58%; }

/* Plans: accent tile, the only filled-accent surface besides buttons */
.tile--plans { grid-column: span 2; background: var(--accent); color: #fff; justify-content: space-between; }
.tile--plans .tile__text { color: rgba(255, 255, 255, 0.86); }
.tile__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
  font-weight: 600;
}
.tile__link .ph { transition: transform 200ms var(--ease-out); }
.tile--plans { transition: transform 200ms var(--ease-out); }
.tile--plans:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .tile--plans:hover .tile__link .ph { transform: translate(2px, -2px); }
}

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--ads { grid-column: span 2; }
  .tile--video { grid-column: span 1; grid-row: span 2; }
  .tile--web, .tile--plans { grid-column: span 1; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--ads, .tile--video, .tile--web, .tile--plans { grid-column: auto; grid-row: auto; }
  .tile--ads { min-height: 0; padding-bottom: 54%; }
  .tile--ads .tile__body { max-width: none; }
  .tile--ads .tile__img { width: 100%; right: 0; bottom: -2%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%); mask-image: linear-gradient(to bottom, transparent 0, #000 35%); }
  .tile--video .tile__img { aspect-ratio: 4 / 3; flex: none; }
  .tile--plans { min-height: 220px; }
}

/* ------------------------------------------------------------- method */
.method { padding-block: clamp(96px, 12vw, 160px); }
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.method__sticky { position: sticky; top: calc(var(--nav-h) + 48px); }

.steps { display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: opacity 400ms ease;
}
.step:first-child { border-top: 0; padding-top: 4px; }
.step__key {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 1.25rem; font-weight: 700;
  transition: background-color 300ms ease, color 300ms ease;
}
.step__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.step p { margin-top: 8px; color: var(--text-2); max-width: 52ch; }

.js .steps.is-tracking .step { opacity: 0.35; }
.js .steps.is-tracking .step.is-active { opacity: 1; }
.js .steps.is-tracking .step.is-active .step__key { background: var(--accent); color: #fff; }

@media (max-width: 860px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__sticky { position: static; }
  .js .steps.is-tracking .step { opacity: 1; }
}

/* -------------------------------------------------------------- stats */
.stats { padding-block: clamp(96px, 12vw, 160px); background: var(--surface-2); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; text-align: center; }
.stat dd {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1; font-weight: 700; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat dd small { font-size: 0.55em; letter-spacing: -0.02em; color: var(--accent-ink); }
.stat dt { color: var(--text-2); font-size: 1rem; }

@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

/* -------------------------------------------------------------- plans */
.plans { padding-block: clamp(96px, 12vw, 160px) clamp(64px, 8vw, 96px); }
.plans__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.plans__nav { display: flex; gap: 10px; flex-shrink: 0; }

.plans__rail {
  --inset: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px);
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 8px var(--inset) 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  scrollbar-width: none;
}
.plans__rail::-webkit-scrollbar { display: none; }

.plan {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 300px; padding: 32px;
  border-radius: var(--r-tile);
  background: var(--surface-2);
}
.plan h3 { font-size: 1.625rem; line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; }
.plan p { margin-top: 12px; color: var(--text-2); }
.plan--feature { background: var(--tile-dark); color: #f5f5f7; }
.plan--feature p { color: #a1a1a6; }

.plan__pick {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding: 24px 0 0;
  border: 0; background: none; cursor: pointer;
  font-weight: 600; color: var(--accent-ink);
  transition: transform 160ms var(--ease-out);
}
.plan--feature .plan__pick { color: #ff5c95; }
.plan__pick:active { transform: scale(0.97); }
.plan__pick .ph { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .plan__pick:hover .ph { transform: translateX(3px); }
}

@media (max-width: 680px) {
  .plans__nav { display: none; }
}

/* ------------------------------------------------------------ marquee */
.marquee {
  padding-block: 28px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: flex; align-items: center;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em;
  color: var(--text-2); white-space: nowrap;
}
.marquee__list li::after { content: "+"; margin-inline: 28px; color: var(--accent-ink); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ service pages */
.hero--service { padding-top: calc(var(--nav-h) + clamp(20px, 3vw, 36px)); }
.hero--service .hero__title { font-size: clamp(2.5rem, 5vw, 4.25rem); }

.crumbs { margin-bottom: clamp(24px, 4vw, 48px); font-size: 0.875rem; color: var(--text-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }
.crumbs a { transition: color 200ms ease; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

.prose { padding-block: clamp(48px, 8vw, 96px); }
.prose p {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text-2); text-wrap: pretty;
}
.prose p + p { margin-top: 1em; }
.prose p:first-child { color: var(--text); }

.features { padding-block: clamp(80px, 10vw, 128px); background: var(--surface-2); }
.features__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 64px);
}
.feature { padding-top: 24px; border-top: 2px solid var(--accent); }
.feature h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.feature p { margin-top: 10px; color: var(--text-2); max-width: 46ch; }
@media (max-width: 680px) { .features__grid { grid-template-columns: 1fr; } }

.journey--service { padding-top: clamp(80px, 10vw, 128px); padding-bottom: 0; }
.journey--service .journey__when { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.journey__note { margin-top: clamp(40px, 5vw, 56px); color: var(--text-2); }
.journey__note a { color: var(--accent-ink); font-weight: 600; }
.journey__note a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cta-band { padding-block: clamp(96px, 12vw, 160px) clamp(64px, 8vw, 96px); }
.cta-band__inner {
  display: grid; justify-items: center; text-align: center; gap: 8px;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  border-radius: var(--r-tile); background: var(--surface-2);
}
.cta-band__inner .section-lead { margin-bottom: 20px; }

.related { padding-bottom: clamp(80px, 10vw, 128px); }
.related__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.related__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding: 20px 24px;
  border-radius: var(--r-tile); background: var(--surface-2);
  font-weight: 600; letter-spacing: -0.01em;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.related__item .ph { color: var(--accent-ink); transition: transform 200ms var(--ease-out); }
.related__item:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .related__item:hover .ph { transform: translate(2px, -2px); }
}
@media (max-width: 860px) { .related__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- faq */
.faq { padding-block: clamp(96px, 12vw, 160px) 0; }
.faq__list { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2);
  font-size: 1.25rem; font-weight: 400;
  transition: transform 240ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__item p { padding: 0 56px 28px 0; color: var(--text-2); max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: faq-in 320ms var(--ease-out); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ------------------------------------------------------------ contact */
.contact { padding-block: clamp(96px, 12vw, 160px); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__direct { display: grid; gap: 14px; margin-top: 40px; }
.contact__direct a, .contact__direct span { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.contact__direct .ph { font-size: 1.25rem; color: var(--accent-ink); }
.contact__direct a { transition: color 200ms ease; }
.contact__direct a:hover { color: var(--accent-ink); }

.form {
  display: grid; gap: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-tile);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 8px; }
.field label, .segmented legend { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field__opt { font-weight: 400; color: var(--text-2); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid transparent; border-radius: var(--r-input);
  background: var(--surface-2); color: var(--text);
  font-size: 1rem;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-2); opacity: 0.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field [aria-invalid="true"] { border-color: #d70015; }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: #d70015; }
.field__error[hidden] { display: none; }
@media (prefers-color-scheme: dark) {
  .field [aria-invalid="true"] { border-color: #ff6961; }
  .field__error { color: #ff6961; }
}

.segmented { margin: 0; padding: 0; border: 0; min-width: 0; }
.segmented legend { padding: 0; margin-bottom: 10px; }
.segmented__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--text);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.segmented label:active span { transform: scale(0.97); }
.segmented input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .segmented input:not(:checked) + span:hover { border-color: var(--text-2); }
}

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__status { font-size: 0.9375rem; color: var(--text-2); }
.form__status.is-success { color: var(--text); }
.form__status.is-error { color: #d70015; }
@media (prefers-color-scheme: dark) { .form__status.is-error { color: #ff6961; } }

.btn[data-submit] { min-width: 180px; }
.btn[data-submit] .btn__label { transition: opacity 200ms ease, filter 200ms ease; }
.btn[data-submit][aria-busy="true"] { pointer-events: none; }
.btn[data-submit][aria-busy="true"] .btn__label { opacity: 0.7; filter: blur(1px); }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ------------------------------------------------------------- footer */
.footer { padding-block: 64px 32px; background: var(--surface-2); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr auto; gap: 40px; }
.footer__tag { margin-top: 16px; max-width: 30ch; color: var(--text-2); }
.footer__col { display: grid; gap: 10px; align-content: start; color: var(--text-2); }
.footer__col a { transition: color 200ms ease; }
.footer__col a:hover { color: var(--text); }
.footer__social { display: flex; gap: 8px; align-items: flex-start; }
.footer__social .icon-btn { background: var(--surface); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.8125rem; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------- whatsapp fab */
.wa-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--glass); color: var(--text);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 1.625rem;
  transition: transform 160ms var(--ease-out);
}
.wa-fab:active { transform: scale(0.94); }

/* ------------------------------------------------------- entry motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] {
    opacity: 0; transform: translateY(16px);
    animation: enter 900ms var(--ease-out) forwards;
    animation-delay: calc(80ms + var(--i, 0) * 70ms);
  }
  .js [data-enter-media] {
    opacity: 0; transform: scale(0.97);
    animation: enter 1100ms var(--ease-out) 120ms forwards;
  }
  .js [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes enter { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 0; transition: opacity 300ms ease; }
  .js [data-reveal].is-in { opacity: 1; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__list[aria-hidden] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .wa-fab { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(127, 127, 127, 0.6); --text-2: var(--text); }
}

.plans__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: var(--accent-ink); }
.plans__more .ph { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plans__more:hover .ph { transform: translateX(3px); } }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: var(--gutter); text-align: center; }
.notfound .logo { margin-bottom: 24px; }
.notfound .section-lead { margin-top: 0; }
.notfound .hero__actions { justify-content: center; margin-top: 12px; }

/* ----------------------------------------------------------- why (service pages) */
.why { padding-block: clamp(80px, 10vw, 128px) 0; }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__title { position: sticky; top: calc(var(--nav-h) + 48px); }
.why__list { display: grid; gap: clamp(32px, 4vw, 48px); }
.why__item h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.why__item p { margin-top: 10px; color: var(--text-2); max-width: 58ch; }
@media (max-width: 860px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__title { position: static; }
}

/* =========================================================== blog */
.blog-head { padding-top: calc(var(--nav-h) + clamp(20px, 3vw, 36px)); padding-bottom: clamp(32px, 5vw, 56px); }
.blog-list { padding-bottom: clamp(96px, 12vw, 160px); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-grid--two { grid-template-columns: repeat(2, 1fr); }
.post-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--r-tile); background: var(--surface-2);
  transition: transform 200ms var(--ease-out);
}
.post-card:active { transform: scale(0.985); }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8e8ea; }
.post-card__body { padding: 24px 28px 32px; }
.post-card__meta { font-size: 0.8125rem; color: var(--text-2); }
.post-card__title { margin-top: 10px; font-size: 1.375rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.post-card__excerpt { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.post-card--featured .post-card__img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__body { padding: clamp(28px, 4vw, 56px); }
.post-card--featured .post-card__title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.post-card--featured .post-card__excerpt { font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .post-card__img { transition: transform 600ms var(--ease-out); }
  .post-card:hover .post-card__img { transform: scale(1.03); }
}
@media (max-width: 1020px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .posts-grid, .posts-grid--two { grid-template-columns: 1fr; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__img { min-height: 0; aspect-ratio: 16 / 10; }
}

.home-blog { padding-top: clamp(96px, 12vw, 160px); }
.home-blog .plans__head { margin-bottom: clamp(32px, 4vw, 48px); align-items: baseline; }

/* article */
.post__head { padding-top: calc(var(--nav-h) + clamp(20px, 3vw, 36px)); }
.post__title { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.post__lead { margin-top: 20px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.post__meta { margin-top: 20px; font-size: 0.875rem; color: var(--text-2); }
.post__cover { margin-top: clamp(32px, 5vw, 56px); }
.post__cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-tile); background: #e8e8ea; }

.post__layout {
  display: grid; grid-template-columns: 240px minmax(0, 680px); justify-content: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(48px, 7vw, 88px) clamp(80px, 10vw, 128px);
}
.post__toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font-size: 0.875rem; }
.post__toc-title { font-weight: 600; margin-bottom: 12px; }
.post__toc ol { display: grid; gap: 10px; border-left: 1px solid var(--line); padding-left: 16px; }
.post__toc a { color: var(--text-2); transition: color 200ms ease; }
.post__toc a:hover { color: var(--accent-ink); }

.post__body { font-size: 1.125rem; line-height: 1.7; letter-spacing: -0.005em; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2 { margin-top: 2.2em; font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.post__body h3 { margin-top: 1.8em; font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.post__body h2 + *, .post__body h3 + * { margin-top: 0.6em; }
.post__body p, .post__body li { color: var(--text); }
.post__body ul, .post__body ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li::marker { color: var(--accent-ink); }
.post__body strong { font-weight: 650; }
.post__body a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.post__body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.post__body th, .post__body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post__body th { background: var(--surface-2); font-weight: 600; }
.post__body tr:last-child td { border-bottom: 0; }

.post__service {
  margin-top: 3em; padding: 32px; border-radius: var(--r-tile);
  background: var(--surface-2); display: grid; gap: 8px; justify-items: start;
}
.post__service-kicker { font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.post__service-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.post__service p:not([class]) { color: var(--text-2); font-size: 1rem; margin-bottom: 12px; }
.post__service .btn { text-decoration: none; color: #fff; }

.more-posts { padding-bottom: clamp(96px, 12vw, 160px); }
.more-posts .section-title { margin-bottom: clamp(32px, 4vw, 48px); }

@media (max-width: 960px) {
  .post__layout { grid-template-columns: minmax(0, 680px); }
  .post__toc { position: static; padding: 20px 24px; border-radius: 20px; background: var(--surface-2); }
  .post__toc ol { border-left: 0; padding-left: 1.2em; list-style: decimal; }
}
@media (max-width: 680px) {
  .post__cover img { aspect-ratio: 4 / 3; }
  .post__body { font-size: 1.0625rem; }
}

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
