/* ==========================================================
   EVN Design — shared stylesheet (clean, product-page aesthetic)
   ========================================================== */

:root {
  --accent: #d48a37;
  --accent-strong: #bf7a2c;
  --accent-text: #b86f22;
  --accent-soft: rgba(212, 138, 55, 0.12);

  --bg: #ffffff;
  --tile: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-faint: #86868b;
  --hairline: #d2d2d7;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --inverse-bg: #000000;
  --inverse-text: #f5f5f7;
  --inverse-muted: #a1a1a6;
  --shadow-media: 0 30px 80px -24px rgba(0,0,0,.18);

  --radius-lg: 28px;
  --max: 1024px;
  --max-wide: 1260px;
  --nav-h: 48px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.28, .11, .32, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --accent-text: #e9a45a;
  --bg: #000000;
  --tile: #161617;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --text-faint: #86868b;
  --hairline: #424245;
  --nav-bg: rgba(22, 22, 23, 0.72);
  --inverse-bg: #161617;
  --inverse-text: #f5f5f7;
  --inverse-muted: #a1a1a6;
  --shadow-media: 0 30px 80px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: page-in .6s var(--ease) both;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body.fade-out { opacity: 0; transition: opacity .2s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hidden { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.container-wide { width: 100%; max-width: var(--max-wide); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-size: 14px; }
.skip-link:focus { top: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 600; }
.hero-title { font-size: clamp(48px, 8.5vw, 96px); line-height: 1.04; letter-spacing: -0.015em; font-weight: 700; }
.headline { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.0625; letter-spacing: -0.009em; font-weight: 600; }
.headline-sm { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.003em; font-weight: 600; }
.subhead { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; letter-spacing: .004em; font-weight: 400; color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(90deg, #f0a24a 0%, #d48a37 45%, #b8612a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { display: block; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: .011em; color: var(--accent-text); margin-bottom: 8px; }
.muted { color: var(--text-muted); }

/* ---------- Links & buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 400; line-height: 1.18; letter-spacing: -0.022em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s, opacity .25s, transform .25s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { opacity: .85; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(.98); }
.link { display: inline-flex; align-items: center; color: var(--accent-text); font-size: 17px; }
.link::after { content: "›"; font-size: 1.3em; line-height: 1; margin-left: 4px; position: relative; top: -1px; transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; }
.link:hover::after { transform: translateX(2px); }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 18px 32px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: color-mix(in srgb, var(--hairline) 60%, transparent); }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--text); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; padding-bottom: 1px; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-size: 12.5px; letter-spacing: -0.01em; opacity: .8; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; opacity: .8; transition: opacity .2s, background-color .2s; }
.theme-toggle:hover { opacity: 1; background: var(--tile); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-actions .btn-sm { font-size: 12px; padding: 5px 12px; }

.menu-toggle { display: none; width: 32px; height: 32px; position: relative; }
.menu-toggle span { position: absolute; left: 8px; width: 16px; height: 1.5px; border-radius: 1px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 15.5px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { top: 15.5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999; background: var(--bg); padding: 20px 40px 40px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mobile-menu li a { display: block; padding: 8px 0; font-size: 28px; font-weight: 600; letter-spacing: .007em; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu li { opacity: 1; transform: none; }
body.menu-open .mobile-menu li:nth-child(2) { transition-delay: .03s; }
body.menu-open .mobile-menu li:nth-child(3) { transition-delay: .06s; }
body.menu-open .mobile-menu li:nth-child(4) { transition-delay: .09s; }
body.menu-open .mobile-menu li:nth-child(5) { transition-delay: .12s; }
body.menu-open .mobile-menu li:nth-child(6) { transition-delay: .15s; }

.subnav { border-bottom: 1px solid color-mix(in srgb, var(--hairline) 60%, transparent); }
.subnav .inner { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav .title { font-size: 21px; font-weight: 600; letter-spacing: .011em; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--tile); }
.section-dark { background: var(--inverse-bg); color: var(--inverse-text); }
.section-dark .subhead, .section-dark .muted { color: var(--inverse-muted); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-head .subhead { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 0; text-align: center; overflow: hidden; }
.hero .subhead { max-width: 720px; margin: 18px auto 0; }
.hero-media { margin: clamp(48px, 7vw, 80px) auto 0; max-width: var(--max-wide); padding: 0 22px; }
.hero-media .frame { transform-origin: center top; will-change: transform; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.stat .num { display: block; font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.stat .label { display: block; margin: 8px auto 0; color: var(--text-muted); max-width: 240px; }

/* ---------- Tiles ---------- */
.tile { background: var(--tile); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: transform .5s var(--ease); }
.section-alt .tile { background: var(--bg); }
.tile-link:hover { transform: scale(1.012); }
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.promo-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 28px 0; min-height: 600px; }
.promo-tile h3 { font-size: clamp(32px, 3.6vw, 40px); line-height: 1.1; letter-spacing: 0; }
.promo-tile .subhead { font-size: clamp(19px, 1.8vw, 21px); margin-top: 6px; }
.promo-tile .cta-row { margin-top: 18px; }
.promo-tile .media { margin-top: auto; padding-top: 36px; width: 100%; }
.promo-tile.dark { background: #000; color: #f5f5f7; }
.promo-tile.dark .subhead { color: #a1a1a6; }
:root[data-theme="dark"] .promo-tile.dark { background: #1d1d1f; }

/* Portfolio */
.work-tile { display: flex; flex-direction: column; }
.work-tile .media-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tile); cursor: pointer; }
.work-tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-tile:hover video { transform: scale(1.03); }
.work-tile .body { padding: 28px 32px 34px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-tile .kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.work-tile h3 { font-size: 28px; letter-spacing: .004em; }
.work-tile p { color: var(--text-muted); flex: 1; }
.work-tile .actions { display: flex; gap: 12px 24px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 980px; background: rgba(255,255,255,.82); color: #1d1d1f; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.code { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 6px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .2s; }
.code:hover { background: rgba(212,138,55,.22); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 10px; }
.feature .icon { width: 36px; height: 36px; color: var(--accent-text); margin-bottom: 14px; }
.feature .icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 21px; letter-spacing: .011em; line-height: 1.2; }
.feature p { color: var(--text-muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.steps .step { border-top: 1px solid var(--hairline); padding-top: 22px; }
.section-dark .steps .step { border-top-color: #424245; }
.steps .n { display: block; font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 10px; letter-spacing: .02em; }
.section-dark .steps .n { color: #e9a45a; }
.steps h3 { font-size: 21px; letter-spacing: .011em; margin-bottom: 6px; }
.steps p { color: var(--text-muted); }
.section-dark .steps p { color: #a1a1a6; }

/* Pricing / compare */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan { padding: 44px 32px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.plan .tagline { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); min-height: 18px; margin-bottom: 10px; }
.plan h3 { font-size: 28px; letter-spacing: .007em; line-height: 1.14; }
.plan .desc { color: var(--text-muted); margin-top: 10px; min-height: 100px; }
.plan .price { margin: 18px 0 22px; color: var(--text-muted); font-size: 14px; }
.plan .price strong { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; color: var(--text); }
.plan .divider { width: 100%; height: 1px; background: var(--hairline); margin: 32px 0 28px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 22px; width: 100%; }
.plan li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; }
.plan li svg { width: 30px; height: 30px; color: var(--accent-text); }
.plan.featured { box-shadow: 0 0 0 2px var(--accent) inset; }
.fineprint { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 14px; }
.fineprint a { color: var(--accent-text); }
.fineprint a:hover { text-decoration: underline; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 21px; font-weight: 600; letter-spacing: .011em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--text-muted); padding: 0 40px 28px 0; }

.final-cta { text-align: center; }
.final-cta .subhead { max-width: 640px; margin: 16px auto 0; }

/* ---------- Forms ---------- */
.form-shell { max-width: 640px; margin: 0 auto; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; letter-spacing: -0.022em; color: var(--text);
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 26px 16px 10px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--text-faint); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-10px) scale(.7); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.form-label { font-size: 17px; font-weight: 600; margin: 18px 0 4px; }
.choice-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; cursor: pointer; border: 1px solid var(--hairline); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.choice strong { font-size: 17px; font-weight: 600; }
.choice span { font-size: 14px; color: var(--text-muted); }
.choice-group input:checked + .choice { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.choice-group input:focus-visible + .choice { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .btn-primary { margin-top: 14px; padding: 16px 22px; }
.form-note { text-align: center; font-size: 12px; color: var(--text-faint); }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 72px; }
.promise .feature { text-align: center; align-items: center; padding: 32px 24px; }
.promise .icon { margin-bottom: 6px; }

/* ---------- Tracker ---------- */
.tracker { max-width: 640px; margin: 0 auto; }
.tracker-input { display: flex; gap: 10px; }
.tracker-input .field { flex: 1; }
.tracker-input .btn { padding: 0 26px; }
.error-msg { color: #e0433a; font-size: 14px; margin-top: 12px; text-align: center; }
.dash { padding: clamp(28px, 5vw, 48px); text-align: left; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: .004em; line-height: 1.1; }
.progress { height: 4px; border-radius: 4px; background: var(--hairline); overflow: hidden; margin: 24px 0 36px; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 1.1s var(--ease); }
.timeline { list-style: none; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 18px; position: relative; padding-bottom: 26px; color: var(--text-faint); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 32px; bottom: 2px; width: 1.5px; background: var(--hairline); }
.timeline li:last-child::before { display: none; }
.timeline li.completed, .timeline li.active { color: var(--text); }
.timeline li.completed::before { background: var(--accent); }
.timeline .circle { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; border: 1.5px solid var(--hairline); background: var(--bg); position: relative; z-index: 1; }
.timeline li.completed .circle { background: var(--accent); border-color: var(--accent); color: #fff; }
.timeline li.active .circle { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline h4 { font-size: 17px; font-weight: 600; margin-top: 2px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.timeline p { font-size: 15px; color: var(--text-muted); }
.timeline li:not(.completed):not(.active) p { color: var(--text-faint); }
.now-pill { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: 2px 8px; border-radius: 980px; }
.text-btn { color: var(--accent-text); font-size: 15px; }
.text-btn:hover { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1500; transform: translate(-50%, 160%);
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px;
  background: var(--nav-bg); color: var(--text);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid color-mix(in srgb, var(--hairline) 60%, transparent);
  box-shadow: 0 12px 40px rgba(0,0,0,.14); font-size: 15px; max-width: calc(100% - 32px);
  transition: transform .6s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tile); color: var(--text-muted); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 18px 22px 22px; }
.footer-note { padding: 16px 0 18px; border-bottom: 1px solid var(--hairline); color: var(--text-faint); }
.footer-note a { color: var(--accent-text); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 22px 0 28px; }
.footer-cols h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--text-faint); }
.footer-cross { display: inline-flex; align-items: center; gap: 8px; }
.footer-cross svg { width: 9px; height: 14px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .compare { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan .desc { min-height: 0; }
}
@media (max-width: 900px) {
  .feature-grid, .promise, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 834px) {
  .nav-links, .nav-actions .btn-sm { display: none; }
  .menu-toggle { display: block; }
  .tile-grid { grid-template-columns: 1fr; }
  .promo-tile { min-height: 0; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid, .promise, .steps, .form-row, .choice-group { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .tracker-input { flex-direction: column; }
  .tracker-input .btn { padding: 14px 22px; }
  .work-tile .body { padding: 24px 24px 28px; }
  .faq details p { padding-right: 0; }
  .subnav .title { font-size: 19px; }
  .promo-tile { padding: 44px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media .frame { transform: none !important; }
}

/* ---------- Illustrated mockups (inline SVG, theme-aware) ---------- */
.mock { width: 100%; height: auto; display: block; }
.mock .m-bg { fill: var(--tile); }
.mock .m-surface { fill: var(--bg); }
.mock .m-panel { fill: var(--tile); }
.mock .m-line { fill: var(--hairline); }
.mock .m-line-strong { fill: var(--text); }
.mock .m-text { fill: var(--text-muted); }
.mock .m-accent { fill: var(--accent); }
.mock .m-accent-soft { fill: var(--accent-soft); }
.mock .m-stroke { stroke: var(--hairline); fill: none; }
.mock .m-frame { fill: #1d1d1f; }
:root[data-theme="dark"] .mock .m-frame { fill: #3a3a3c; }
.mock .m-white { fill: #fff; }
.mock text { font-family: var(--font); }
.section-alt .mock .m-surface { fill: var(--bg); }
.promo-tile.dark .mock .m-surface { fill: #1d1d1f; }
.promo-tile.dark .mock .m-panel { fill: #2c2c2e; }
.promo-tile.dark .mock .m-line { fill: #424245; }
.promo-tile.dark .mock .m-line-strong { fill: #f5f5f7; }
.promo-tile.dark .mock .m-text { fill: #a1a1a6; }
.float { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mock-crop .m-window { fill: transparent; }
.promo-tile .media .mock-crop { padding-bottom: 40px; }
.mock { overflow: visible; }
@media (max-width: 640px) { .hero-title br, .headline br { display: none; } }
:root[data-theme="dark"] .mock .m-surface { fill: #1c1c1e; }
:root[data-theme="dark"] .mock .m-panel { fill: #2c2c2e; }
:root[data-theme="dark"] .mock-crop .m-window { fill: transparent; }
svg.logo-mark { width: 37px; height: 11px; padding: 0; background: none; border-radius: 0; color: var(--text); flex-shrink: 0; }
.logo { gap: 9px; }
.logo-word { font-weight: 300; letter-spacing: -0.02em; color: var(--text-muted); }
.logo-word b { font-weight: 700; color: var(--text); letter-spacing: -0.03em; }

/* ---------- Mobile polish ---------- */
.mock-crop { overflow: hidden; }
.only-mobile { display: none; }
@media (max-width: 640px) {
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 44px; }
  .hero-title { font-size: 42px; line-height: 1.07; letter-spacing: -0.02em; }
  .headline { font-size: 34px; line-height: 1.1; }
  .subhead { font-size: 19px; line-height: 1.32; }
  .hero .subhead { margin-top: 14px; }
  .cta-row { margin-top: 22px; gap: 14px 24px; }
  .hero-media { margin-top: 40px; padding: 0 16px; }
  .eyebrow { font-size: 16px; }
  .stat .num { font-size: 52px; }
  .promo-tile h3 { font-size: 30px; }
  .promo-tile .subhead { font-size: 17px; }
  .plan { padding: 36px 24px 32px; }
  .plan .tagline:empty { display: none; }
  .plan .divider { margin: 26px 0 22px; }
  .plan ul { gap: 18px; }
  .feature { padding: 28px 24px 30px; }
  .faq summary { font-size: 18px; padding: 22px 0; }
  .final-cta .subhead { font-size: 18px; }
  .promise { margin-top: 48px; }
}

/* ---------- Tracker payment card ---------- */
.pay-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; margin: -8px 0 32px;
  border-radius: 18px; background: var(--accent-soft);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent) inset;
}
.pay-card.hidden { display: none; }
.pay-label { font-weight: 600; font-size: 17px; }
.pay-amount { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.pay-amount:empty { display: none; }
.pay-note { font-size: 14px; max-width: 380px; margin-top: 4px; }
@media (max-width: 640px) { .pay-card .btn { width: 100%; } }
.upload-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.upload-list li { display: flex; gap: 8px; }
.upload-list li::before { content: "✓"; color: var(--accent-text); font-weight: 700; }
.upload-card { align-items: flex-end; }

/* ---------- Discount codes ---------- */
.code-row { display: flex; gap: 10px; }
.code-row .field { flex: 1; }
.code-row .btn { padding: 0 24px; }
.code-msg { font-size: 14px; margin-top: -2px; }
.code-msg.ok { color: #2f8a4c; }
:root[data-theme="dark"] .code-msg.ok { color: #5fd08a; }
.code-msg.bad { color: #e0433a; }
.price-tag s { color: var(--text-faint); }
.price-tag b { color: var(--accent-text); font-weight: 600; }
.offers { max-width: 900px; margin: -24px auto 40px; text-align: center; }
.offers-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.offers-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.offer {
  flex: 1 1 260px; max-width: 340px; text-align: left;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border-radius: 18px;
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent) inset;
}
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.offer-top strong { font-size: 21px; letter-spacing: -0.01em; }
.offer p { font-size: 14px; }
.offer .link { font-size: 15px; }
@media (max-width: 640px) {
  .code-row { flex-direction: column; }
  .code-row .btn { padding: 14px 22px; }
  .offers { margin-top: -8px; }
}

/* Code box on pricing pages */
.page-code { max-width: 520px; margin: 0 auto 40px; text-align: left; }
.page-code .code-msg { margin-top: 10px; text-align: center; }
.plan .price strong { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.plan-old { font-size: 22px; font-weight: 500; color: var(--text-faint); }
.offer-auto { font-size: 14px; font-weight: 600; color: #2f8a4c; }
:root[data-theme="dark"] .offer-auto { color: #5fd08a; }
