@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --indigo: #4C5FD5;
  --indigo-dark: #3646B5;
  --indigo-deep: #1F2A6B;
  --indigo-soft: #EEF0FC;
  --indigo-line: #D9DDF7;
  --ink: #141833;
  --muted: #555B7A;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --line: #E6E7EF;
  --good: #1E8E5A;
  --warn: #C2410C;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 51, .06), 0 12px 32px rgba(20, 24, 51, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: var(--indigo-dark); }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid #F5A524; outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--indigo); color: #fff; padding: 10px 16px; z-index: 20; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.25rem, 6.4vw, 3.75rem); line-height: 1.06; font-weight: 800; }
h1 em { font-style: normal; color: var(--indigo); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(76, 95, 213, .32); }
.btn-primary:hover { background: var(--indigo-dark); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo-dark); }
.btn-light { background: #fff; color: var(--indigo-deep); }
.btn-light:hover { background: var(--indigo-soft); color: var(--indigo-deep); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; background: var(--indigo); color: #fff; }
.btn-small:hover { background: var(--indigo-dark); color: #fff; }

.brand-text { display: grid; line-height: 1.05; }
.tagline { font-size: .6875rem; font-weight: 700; letter-spacing: .02em; color: var(--indigo); white-space: nowrap; }
.footer-tagline { color: var(--indigo); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; }
.brand img { border-radius: 9px; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav a:hover { color: var(--ink); }
.header-row .btn-small { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-row .btn-small { margin-left: 8px; }
}

.hero { padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 88px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo-deep); font-weight: 700; font-size: .875rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px rgba(76, 95, 213, .18); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 56ch; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { font-size: .875rem; color: var(--muted); margin: 16px 0 0; }
.fineprint.light { color: rgba(255, 255, 255, .8); }

.hero-art { position: relative; padding: 8px 0 76px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.card-main { padding: 24px; position: relative; z-index: 1; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-title { font-weight: 800; font-size: 1.0625rem; }
.pill { font-size: .75rem; font-weight: 700; color: var(--indigo-deep); background: var(--indigo-soft); padding: 4px 10px; border-radius: 999px; }
.habits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.habits li { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; align-items: center; }
.h-label { font-weight: 700; font-size: .9375rem; }
.h-val { font-size: .8125rem; color: var(--good); font-weight: 700; text-align: right; }
.months { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.months i { height: 10px; border-radius: 3px; background: var(--indigo); opacity: .85; }
.habits li:nth-child(3) .months i { background: #8C98E8; }
.card-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .875rem; color: var(--muted); }
.card-float { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 14px 18px; display: grid; gap: 2px; background: var(--indigo-deep); border: 0; color: #fff; }
.float-label { font-size: .75rem; opacity: .8; font-weight: 600; }
.float-big { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.float-sub { font-size: .8125rem; opacity: .8; }
@media (min-width: 960px) { .card-float { right: -24px; } }

.honesty-strip { background: var(--indigo-deep); color: #E9EBFB; }
.honesty-row { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
.honesty-row svg { flex: none; margin-top: 3px; color: #AEB7F2; }
.honesty-row p { margin: 0; font-size: .9688rem; }
.honesty-row strong { color: #fff; }

.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-tint { background: var(--indigo-soft); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; font-weight: 800; color: var(--indigo); margin-bottom: 12px; }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

.grid-3 { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--indigo-soft); color: var(--indigo); }
.icon svg { width: 24px; height: 24px; }

.calc-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.calc-intro p { color: var(--muted); }
.note { font-size: .9375rem; display: inline-block; background: #fff; border: 1px solid var(--indigo-line); padding: 8px 12px; border-radius: 10px; }
.calc { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 600px) { .calc { grid-template-columns: repeat(3, 1fr); padding: 32px; } .calc > :not(.field) { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 6px; }
.input-wrap { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 52px; background: #fff; }
.input-wrap:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(76, 95, 213, .15); }
.input-wrap span { color: var(--muted); font-weight: 700; }
.input-wrap input { border: 0; outline: 0; width: 100%; min-width: 0; font: inherit; font-weight: 700; font-size: 1.125rem; color: var(--ink); background: transparent; }
.calc-error { color: var(--warn); font-size: .9375rem; font-weight: 600; margin: 0; min-height: 0; }
.calc-error:empty { display: none; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result { background: var(--indigo-soft); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.r-label { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.r-big { font-size: clamp(1.375rem, 4vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; color: var(--indigo-deep); line-height: 1.15; }
.compare { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 7.5em 1fr 5.5em; gap: 10px; align-items: center; font-size: .875rem; font-weight: 600; }
.bar-row > span:last-child { text-align: right; font-weight: 800; }
.bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar b { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--warn); transition: width .4s ease; }
.bar b.ex { background: var(--indigo); }
.compare-note { margin: 4px 0 0; font-weight: 700; color: var(--indigo-deep); }

.care { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .care { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.care li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 760px) { .care li { flex-direction: column; } }
.care-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; }
.care h3 { font-size: 1rem; margin-bottom: 4px; }
.care p { margin: 0; color: var(--muted); font-size: .9375rem; }
.steps { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { border-top: 2px solid var(--indigo); padding-top: 16px; }
.step span { font-weight: 800; color: var(--indigo); font-size: .875rem; letter-spacing: .08em; }
.step p { margin: 8px 0 0; color: var(--muted); }

.join { padding-top: 0; }
.join-card { background: var(--indigo); background-image: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18), transparent 45%); border-radius: 28px; padding: 40px 24px; color: #fff; display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .join-card { padding: 56px; grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.join-card h2 { color: #fff; }
.join-card p { color: rgba(255, 255, 255, .88); margin: 0; }
.join-actions { display: grid; justify-items: start; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--indigo); font-size: 1.375rem; line-height: 1; font-weight: 600; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding: 0 22px 18px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9375rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.footer-row p { margin: 0; }
.brand-footer { font-size: 1.125rem; }
.brand-footer img { border-radius: 7px; }

.prose { padding-top: 48px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 16px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.prose ul { padding-left: 22px; }
.prose .eyebrow { margin-bottom: 16px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.ai-note { max-width: 70ch; font-size: .9375rem; color: var(--muted); background: var(--surface); border: 1px solid var(--indigo-line); border-left: 4px solid var(--indigo); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 20px 0 0; }
.ai-note strong { color: var(--ink); }
