:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-subtle: #f0f1f4;
  --surface-blue: #eef3ff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #8e8e93;
  --border: rgba(29, 29, 31, .10);
  --border-strong: rgba(29, 29, 31, .16);
  --accent: #3157d5;
  --accent-hover: #2448c0;
  --accent-soft: #e9eeff;
  --navy: #17191f;
  --navy-soft: #252831;
  --success: #18875d;
  --success-soft: #e8f6ef;
  --warning: #9a6207;
  --warning-soft: #fff6df;
  --danger: #c73545;
  --console: #181b22;
  --shadow: 0 18px 48px rgba(29, 29, 31, .08);
  --shadow-soft: 0 1px 2px rgba(29, 29, 31, .04), 0 10px 30px rgba(29, 29, 31, .05);
  --radius: 18px;
  --container: 1180px;
}

html { scroll-padding-top: 92px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  letter-spacing: -.006em;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 82% 4%, rgba(49, 87, 213, .07), transparent 28rem);
  pointer-events: none;
}
::selection { background: #dce5ff; color: #14245c; }

.container { width: min(calc(100% - 48px), var(--container)); }
.skip-link { border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-soft); }

.site-header {
  color: var(--text);
  background: rgba(250, 250, 252, .86);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: saturate(160%) blur(18px);
}
.nav-wrap { min-height: 72px; gap: 26px; }
.brand { gap: 11px; }
.brand-mark, .app-mark {
  width: 46px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-mark img, .app-mark img { display: block; width: 100%; height: auto; }
.brand-mark { padding: 5px 0; }
.app-mark { width: 54px; height: 42px; padding: 5px 0; }
.brand-copy strong { color: var(--text); font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.desktop-nav { gap: 22px; color: var(--muted); font-size: 13px; font-weight: 550; }
.desktop-nav a { position: relative; padding: 25px 0 23px; transition: color .16s ease; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .16s ease, transform .16s ease;
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { opacity: 1; transform: scaleX(1); }

.button {
  min-height: 44px;
  border-radius: 11px;
  padding: 11px 19px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  box-shadow: none;
  transition: transform .14s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { background: var(--accent); box-shadow: 0 8px 20px rgba(49, 87, 213, .18); }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 24px rgba(49, 87, 213, .23); }
.button-light, .button-ghost, .button-dark-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.button-light:hover, .button-ghost:hover, .button-dark-ghost:hover { color: var(--text); background: #f0f1f4; border-color: rgba(29, 29, 31, .22); }
.button-small { min-height: 38px; border-radius: 10px; padding: 8px 14px; }
.text-link { color: var(--accent); font-weight: 600; }

.hero {
  padding: 92px 0 86px;
  background: transparent;
}
.hero::before {
  width: 680px;
  height: 680px;
  right: -180px;
  top: -360px;
  background: radial-gradient(circle, rgba(49, 87, 213, .10), transparent 68%);
}
.hero-grid { grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); gap: 66px; }
.product-hero-grid { grid-template-columns: minmax(0, .84fr) minmax(560px, 1.16fr); }
.eyebrow, .section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .035em;
  text-transform: none;
}
.status-dot { width: 7px; height: 7px; box-shadow: 0 0 0 4px var(--success-soft); }
h1 {
  max-width: 650px;
  margin: 18px 0 22px;
  color: var(--text);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-lead { color: var(--muted); font-size: 18px; line-height: 1.62; }
.download-note { color: var(--faint); }
.trust-list { gap: 9px 20px; margin-top: 24px; color: var(--muted); }
.trust-list span { font-weight: 700; }

.product-shot {
  border: 1px solid rgba(29, 29, 31, .11);
  border-radius: 20px;
  box-shadow: 0 28px 72px rgba(29, 29, 31, .12), 0 2px 8px rgba(29, 29, 31, .05);
}
.product-shot img { background: #eef0f4; }
.product-shot figcaption { padding: 13px 17px; border-color: var(--border); color: var(--muted); }
.product-shot figcaption strong { color: var(--text); }
.product-shot-hero { transform: none; }

.section { padding: 92px 0; }
.compact-section { padding-top: 62px; }
.soft-section { background: rgba(234, 236, 241, .62); }
.section-heading { max-width: 740px; margin-bottom: 42px; }
h2 {
  margin: 10px 0 15px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-heading p, .section-lead { color: var(--muted); font-size: 17px; line-height: 1.62; }
.purpose-lead { color: var(--muted); font-size: 19px; line-height: 1.62; }
.purpose-grid, .opportunity-grid { gap: 80px; }
.value-emphasis { border-left-width: 2px; color: var(--text); font-weight: 600; }

.reaction-timeline {
  position: relative;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-strong);
}
.reaction-timeline li {
  min-height: 170px;
  padding: 28px 26px 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.reaction-timeline li + li { padding-left: 26px; border-left: 1px solid var(--border); }
.reaction-timeline li:not(:last-child)::after { display: none; }
.reaction-timeline time { margin-bottom: 34px; color: var(--accent); font-size: 14px; font-weight: 650; }
.reaction-timeline strong { color: var(--text); font-size: 17px; font-weight: 620; }
.reaction-timeline span { color: var(--muted); }
.reaction-formula {
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}
.reaction-formula i { color: var(--accent); }

.feature-grid { gap: 0; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.feature-card {
  padding: 34px 34px 34px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.feature-card + .feature-card { padding-left: 34px; border-left: 1px solid var(--border); }
.icon-box {
  width: auto;
  height: auto;
  margin-bottom: 44px;
  border-radius: 0;
  color: var(--accent);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}
.feature-card h3, .mode-info h3 { color: var(--text); font-size: 20px; font-weight: 620; }
.feature-card p, .mode-info p { color: var(--muted); }
.workflow {
  margin-top: 24px;
  padding: 14px 18px;
  border: 0;
  border-radius: 13px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-weight: 550;
}
.workflow span { color: var(--text); background: transparent; }

.product-gallery { gap: 24px; }
.product-gallery .product-shot { border-radius: 17px; box-shadow: var(--shadow-soft); }
.split-grid { gap: 80px; }
.steps { gap: 0; }
.step { grid-template-columns: 34px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.step > span {
  width: 30px;
  height: 30px;
  border: 1px solid #cdd8ff;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 650;
}
.step strong { color: var(--text); font-weight: 620; }
.setup-card {
  padding: 28px;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.check-row { padding: 16px 2px; }
.check-ok, .check-neutral { border-radius: 9px; }
.security-note { border-radius: 11px; }

.mode-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.mode-info {
  padding: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mode-info + .mode-info { border-left: 1px solid var(--border); }
.mode-info.recommended { border-color: var(--border); background: var(--surface-blue); box-shadow: none; }
.pill, .discount-pill, .price-label { color: var(--accent); background: var(--accent-soft); font-weight: 650; }
.mode-number { color: #c6c7cc; font-size: 30px; font-weight: 650; }
.mode-info ul { color: var(--muted); }

.navy-section {
  color: var(--text);
  background: #e9ebf0;
}
.light-heading h2 { color: var(--text); }
.light-heading p { color: var(--muted); }
.navy-section .section-kicker { color: var(--accent); }
.pricing-grid { gap: 16px; }
.price-card {
  min-height: 315px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  box-shadow: none;
}
.price-card.featured { transform: translateY(-6px); border: 1px solid #aebeff; background: var(--surface); box-shadow: var(--shadow); }
.price-card h3, .price-line strong { color: var(--text); }
.price-card p { color: var(--muted); }
.price-label { color: white; background: var(--accent); }
.trial-banner {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}
.trial-icon { border-radius: 12px; }
.trial-banner p, .pricing-status { color: var(--muted); }

.referral-section { border: 0; background: #f7f8fb; }
.referral-grid { gap: 80px; }
.referral-rule {
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.referral-rule-label { color: var(--accent); font-weight: 650; text-transform: none; }
.referral-rule strong { color: var(--text); font-weight: 650; }
.referral-steps { grid-template-columns: 1fr; gap: 0; }
.referral-steps article {
  min-height: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.referral-steps article > span { border-radius: 9px; }
.referral-steps strong { color: var(--text); }

.faq-layout { gap: 90px; }
.faq-list { border-color: var(--border-strong); }
.faq-list details { border-color: var(--border); }
.faq-list summary { color: var(--text); font-weight: 600; }
.faq-list summary::after { color: var(--accent); font-weight: 300; transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { color: var(--muted); }

.cta-card {
  padding: 42px 46px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.site-footer { margin-top: 90px; background: #1b1d23; }
.footer-grid p, .footer-grid span, .footer-grid a:not(.brand) { color: #a9aab0; }

/* SEO pages */
.seo-hero {
  padding: 48px 0 82px;
  background: transparent;
}
.breadcrumbs { color: var(--faint); }
.breadcrumbs a { color: var(--muted); font-weight: 550; }
.seo-hero-grid { gap: 76px; }
.seo-hero h1 { color: var(--text); font-weight: 680; }
.signal-card {
  padding: 32px;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.signal-card::before { right: auto; left: 32px; width: 48px; height: 3px; background: var(--accent); }
.signal-label { color: var(--accent); font-weight: 650; letter-spacing: .03em; text-transform: none; }
.signal-card h2 { color: var(--text); font-weight: 640; }
.signal-list b { border-radius: 9px; font-weight: 650; }
.signal-list strong { color: var(--text); font-weight: 620; }
.pain-grid, .answer-grid, .related-grid { gap: 0; border-top: 1px solid var(--border-strong); }
.pain-card, .answer-card, .related-card {
  padding: 32px 32px 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.pain-card + .pain-card, .answer-card + .answer-card, .related-card + .related-card { padding-left: 32px; border-left: 1px solid var(--border); }
.pain-card .card-number { color: #c7c8ce; font-size: 30px; font-weight: 650; }
.pain-card h3, .answer-card h3, .related-card h3 { color: var(--text); font-weight: 620; }
.process-line { gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.process-step { min-height: 188px; border-radius: 0; color: var(--text); background: transparent; }
.process-step + .process-step { border-left: 1px solid var(--border); }
.process-step span { color: var(--accent); font-weight: 650; text-transform: none; }
.process-step p { color: var(--muted); }
.process-step:not(:last-child)::after { display: none; }
.contrast-section { color: var(--text); background: #e9ebf0; }
.contrast-section h2 { color: var(--text); }
.contrast-grid { gap: 20px; }
.contrast-card { border: 0; border-radius: 18px; color: var(--text); background: rgba(255, 255, 255, .74); }
.contrast-card strong { color: var(--accent); font-weight: 650; text-transform: none; }
.contrast-card h3 { color: var(--text); font-weight: 630; }
.contrast-card p { color: var(--muted); }
.checklist { gap: 0 34px; }
.checklist li { padding: 20px 0 20px 34px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.checklist li::before { left: 0; }
.checklist strong { color: var(--text); }
.boundary-box { border: 0; border-radius: 16px; background: var(--accent-soft); }

/* First-start guide */
.guide-hero { padding: 78px 0 72px; border-bottom: 1px solid var(--border); background: transparent; }
.guide-hero-grid { gap: 80px; }
.guide-hero h1 { color: var(--text); font-weight: 680; }
.guide-hero p { color: var(--muted); }
.guide-summary {
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.guide-summary > strong { color: var(--text); font-weight: 630; }
.guide-summary li { color: var(--muted); }
.guide-time { color: var(--accent); background: var(--accent-soft); }
.guide-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 70px; }
.guide-toc { border-top: 1px solid var(--border-strong); }
.guide-toc strong { color: var(--text); font-weight: 620; }
.guide-toc a { color: var(--muted); transition: color .15s ease, transform .15s ease; }
.guide-toc a:hover { color: var(--accent); transform: translateX(2px); }
.guide-content { max-width: 820px; }
.guide-section { padding-bottom: 66px; border-color: var(--border); }
.guide-section h2 { color: var(--text); font-weight: 650; }
.guide-number { color: var(--accent); font-weight: 650; }
.guide-steps { border-top: 1px solid var(--border); }
.guide-steps li { padding: 22px 0 22px 42px; border-bottom: 1px solid var(--border); }
.guide-steps li::before { left: 0; color: var(--accent); background: var(--accent-soft); }
.guide-steps strong { color: var(--text); font-weight: 620; }
.callout { border: 0; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }
.callout.warning { border-left-color: var(--warning); }
.callout.success { border-left-color: var(--success); }
.guide-screen, .guide-video { border: 1px solid var(--border); border-radius: 17px; box-shadow: var(--shadow-soft); }
.mode-table, .command-list, .settings-grid, .support-box { border-color: var(--border); border-radius: 16px; box-shadow: none; }
.mode-table-row, .command-list > div { border-color: var(--border); }
.trouble-list details { border-color: var(--border); }

/* Controlled motion */
.hero-copy, .seo-hero-copy, .guide-hero-grid > :first-child { animation: product-enter .42s cubic-bezier(.2, .7, .2, 1) both; }
.product-shot-hero, .signal-card, .guide-summary { animation: product-enter .48s .06s cubic-bezier(.2, .7, .2, 1) both; }
.product-shot, .price-card, .cta-card, .signal-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-shot:hover { transform: translateY(-2px); box-shadow: 0 30px 76px rgba(29, 29, 31, .14); }
@keyframes product-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow, .hero-actions, .trust-list { justify-content: flex-start; }
  .hero-lead { margin-inline: 0; }
  .feature-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .feature-card, .feature-card + .feature-card { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .icon-box { margin-bottom: 16px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-info + .mode-info { border-top: 1px solid var(--border); border-left: 0; }
  .pain-grid, .answer-grid, .related-grid { border-bottom: 0; }
  .pain-card, .answer-card, .related-card, .pain-card + .pain-card, .answer-card + .answer-card, .related-card + .related-card { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .process-step + .process-step { border-left: 0; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--border); }
  .guide-layout { grid-template-columns: 1fr; gap: 26px; }
  .guide-toc { position: static; display: flex; overflow-x: auto; gap: 8px; padding: 14px 0 18px; border-bottom: 1px solid var(--border); }
  .guide-toc strong { display: none; }
  .guide-toc a { min-width: max-content; padding: 8px 11px; border-radius: 9px; background: var(--surface); }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { backdrop-filter: saturate(150%) blur(14px); }
  .nav-wrap { min-height: 64px; }
  .brand-mark { width: 40px; height: 36px; }
  .hero { padding: 58px 0 58px; }
  h1, .seo-hero h1 { font-size: 42px; line-height: 1.04; }
  h2 { font-size: 32px; }
  .hero-lead, .section-heading p, .section-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .trust-list { gap: 10px; }
  .product-shot { border-radius: 14px; }
  .section { padding: 68px 0; }
  .opportunity-section { padding-block: 62px; }
  .reaction-timeline { grid-template-columns: 1fr; border-top: 0; }
  .reaction-timeline li, .reaction-timeline li + li { min-height: 0; padding: 22px 0; border-top: 1px solid var(--border); border-left: 0; }
  .reaction-timeline time { position: static; margin-bottom: 12px; max-width: none; }
  .reaction-formula { align-items: center; }
  .reaction-formula i { transform: rotate(90deg); }
  .purpose-grid, .opportunity-grid, .referral-grid, .split-grid, .seo-hero-grid, .guide-hero-grid { gap: 38px; }
  .mode-info { padding: 26px 22px; }
  .price-card.featured { transform: none; }
  .trial-banner { padding: 18px; }
  .faq-layout { gap: 30px; }
  .cta-card { padding: 28px 22px; }
  .seo-hero { padding: 34px 0 56px; }
  .seo-hero-copy { text-align: left; }
  .seo-hero-copy .eyebrow, .seo-hero-copy .hero-actions, .seo-hero-copy .trust-list { justify-content: flex-start; }
  .signal-card { padding: 27px 22px; }
  .process-line { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(n+3) { min-height: 0; border-top: 1px solid var(--border); border-right: 0; }
  .process-step:first-child { border-top: 0; }
  .checklist { grid-template-columns: 1fr; }
  .guide-hero { padding: 52px 0 48px; }
  .guide-summary { padding: 24px 21px; }
  .guide-section { padding-bottom: 54px; }
  .guide-section h2 { font-size: 30px; }
  .guide-steps li { padding-left: 38px; }
  .site-footer { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .seo-hero-copy, .guide-hero-grid > :first-child, .product-shot-hero, .signal-card, .guide-summary { animation: none; }
}
