:root {
  --ink: #082c31;
  --ink-2: #0d4246;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --lime: #c7f36a;
  --mint: #82e6cf;
  --coral: #ff8d6b;
  --blue: #70b7ff;
  --muted: #627476;
  --line: rgba(8, 44, 49, .14);
  --shadow: 0 24px 70px rgba(8, 44, 49, .12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--lime); color: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(199,243,106,.18); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.045em; }
h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6.4rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.25rem, 5vw, 4.7rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
.lede { max-width: 720px; font-size: clamp(1.08rem, 2vw, 1.32rem); color: #35585a; }
.muted { color: var(--muted); }
.accent { color: #4d7200; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 750; background: rgba(255,255,255,.58); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 850; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--ink-2); box-shadow: 0 10px 28px rgba(8,44,49,.18); }
.button.light { background: #fff; color: var(--ink); }
.button.lime { background: var(--lime); color: var(--ink); }
.button.ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.site-header { position: sticky; top: 0; z-index: 30; padding: 14px 0; background: rgba(244,240,231,.88); border-bottom: 1px solid rgba(8,44,49,.08); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--ink); color: var(--lime); font-size: .94rem; }
.brand-copy span { display: block; font-size: .67rem; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: .9rem; font-weight: 780; text-decoration: none; }
.main-nav a:hover { color: #4d7200; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: white; }

.hero { position: relative; overflow: hidden; padding: 80px 0 105px; }
.hero::before { content: ""; position: absolute; inset: -10% auto auto 62%; width: 520px; height: 520px; border-radius: 50%; background: var(--mint); filter: blur(4px); opacity: .24; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.hero h1 span { position: relative; display: inline-block; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .13em; border-radius: 10px; background: var(--lime); z-index: -1; transform: rotate(-1.5deg); }
.legacy-note { display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 28px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); font-size: .86rem; }
.legacy-note strong { color: #4d7200; }
.hero-visual { position: relative; min-height: 600px; }
.orbit { position: absolute; inset: 20px 0 0 30px; border: 1px solid rgba(8,44,49,.18); border-radius: 50%; transform: rotate(-12deg); }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; background: var(--lime); }
.orbit::before { width: 24px; height: 24px; right: 11%; top: 12%; }
.orbit::after { width: 14px; height: 14px; left: 5%; bottom: 28%; background: var(--coral); }
.dashboard-card { position: absolute; inset: 75px 18px auto 36px; padding: 30px; border-radius: 34px; background: var(--ink); color: white; box-shadow: var(--shadow); transform: rotate(2deg); }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: .8rem; font-weight: 800; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.money-line { height: 170px; margin: 15px 0 8px; border-radius: 24px; background: linear-gradient(180deg, rgba(130,230,207,.18), transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 180'%3E%3Cpath d='M0 151 C72 142 91 117 138 127 S211 113 242 97 S305 112 346 74 S426 72 520 21' fill='none' stroke='%23c7f36a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/cover no-repeat; }
.dash-total { font-size: 3.2rem; font-weight: 900; letter-spacing: -.05em; }
.dash-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.dash-grid div { padding: 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.055); }
.dash-grid small { display: block; color: #9ec2c4; }
.dash-grid strong { display: block; margin-top: 5px; font-size: .9rem; }
.float-card { position: absolute; right: -8px; bottom: 58px; width: 210px; padding: 20px; border-radius: 22px; background: var(--lime); box-shadow: var(--shadow); transform: rotate(-5deg); }
.float-card strong { display: block; margin-bottom: 6px; font-size: 1.12rem; }
.trust-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--line); }
.trust-strip > div { min-height: 110px; padding: 23px; background: rgba(255,255,255,.58); }
.trust-strip small { display: block; margin-bottom: 7px; color: var(--muted); font-weight: 750; }

.problem { background: var(--ink); color: white; }
.problem .lede, .problem .muted { color: #b9cccd; }
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.switch-board { padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 30px; background: rgba(255,255,255,.04); }
.switch-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 20px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.switch-row:last-child { border: 0; }
.switch-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(199,243,106,.11); color: var(--lime); font-weight: 900; }
.switch-row strong { display: block; }
.switch-row span { color: #a9c0c2; font-size: .88rem; }
.switch-pill { padding: 7px 10px; border-radius: 999px; background: rgba(130,230,207,.13); color: var(--mint)!important; font-size: .75rem!important; font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.card { position: relative; min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); transition: .25s; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 44px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 900; }
.card:nth-child(2) .num { background: var(--coral); color: var(--ink); }
.card:nth-child(3) .num { background: var(--blue); color: var(--ink); }
.card:nth-child(4) .num { background: var(--lime); color: var(--ink); }
.card a { display: inline-flex; margin-top: 12px; font-weight: 850; text-decoration: none; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience-card { position: relative; min-height: 430px; padding: 38px; border-radius: 34px; overflow: hidden; text-decoration: none; }
.audience-card.it { background: var(--ink); color: white; }
.audience-card.edu { background: #e5ceff; }
.audience-card .big-word { position: absolute; right: -10px; bottom: -35px; font-size: clamp(5rem, 13vw, 10rem); font-weight: 950; line-height: 1; opacity: .1; }
.audience-card p { max-width: 510px; font-size: 1.08rem; }
.audience-card .arrow { position: absolute; right: 30px; top: 30px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 1.4rem; }

.tool-shell { padding: 20px; border-radius: 38px; background: var(--paper); box-shadow: var(--shadow); }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tool-tab { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 800; }
.tool-tab.active { background: var(--ink); color: white; }
.tool-panel { display: none; grid-template-columns: 1fr .8fr; min-height: 470px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.tool-panel.active { display: grid; }
.tool-controls { padding: 34px; }
.result-card { display: flex; flex-direction: column; justify-content: center; padding: 34px; background: var(--ink); color: white; }
.result-card small { color: #b4c8c9; }
.result-card .result-main { margin: 8px 0 12px; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.06em; font-weight: 930; color: var(--lime); }
.result-card .result-sub { font-size: 1.04rem; }
.control { margin-bottom: 24px; }
.control-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.control label { font-weight: 800; }
.value { color: #4d7200; font-weight: 900; }
input[type="range"] { width: 100%; accent-color: var(--ink); }
.tool-note { margin-top: 20px; font-size: .78rem; color: #a9c0c2; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; counter-reset: step; }
.step { position: relative; min-height: 270px; padding: 30px; border-top: 2px solid var(--ink); background: rgba(255,255,255,.35); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 42px; color: #4d7200; font-weight: 900; }

.cta-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; padding: 55px; border-radius: 40px; background: var(--lime); }
.cta-panel h2 { margin-bottom: 0; }
.cta-panel .cta-copy { align-self: end; }

.page-hero { padding: 85px 0 70px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
.page-side-card { padding: 30px; border-radius: 28px; background: var(--ink); color: white; }
.page-side-card ul { padding-left: 20px; margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; }
.toc { position: sticky; top: 100px; height: fit-content; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.5); }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 70px; font-size: clamp(2rem, 4vw, 3.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 38px; }
.prose p, .prose li { color: #36585a; font-size: 1.04rem; }
.prose li + li { margin-top: 8px; }
.info-box { margin: 34px 0; padding: 26px; border-left: 5px solid var(--lime); border-radius: 0 20px 20px 0; background: #e9f5dc; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.check { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 780; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); padding: 15px 16px; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(8,44,49,.08); }
.form-field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-card { padding: 32px; border-radius: 30px; background: var(--ink); color: white; }
.contact-card a { color: var(--lime); }

.story-section { background: #dcebe6; }
.story-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; margin-bottom: 38px; }
.story-intro h2 { margin-bottom: 0; }
.story-video { overflow: hidden; border-radius: 36px; background: var(--ink); box-shadow: var(--shadow); }
.film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #061d22; }
.film-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 48%, rgba(6,29,34,.08)); }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #061d22; }
.film-badge { position: absolute; z-index: 2; top: 22px; left: 22px; display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(6,29,34,.62); color: white; backdrop-filter: blur(12px); pointer-events: none; }
.film-badge span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 950; }
.film-badge small { font-weight: 850; letter-spacing: .01em; }
.film-cta { position: absolute; z-index: 3; top: 50%; right: clamp(22px,5vw,72px); width: min(430px,43%); padding: clamp(20px,3vw,36px); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(6,29,34,.84); color: white; box-shadow: 0 25px 70px rgba(0,0,0,.34); backdrop-filter: blur(18px); opacity: 0; transform: translate(18px,-46%); pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.film-cta span { display: block; color: var(--lime); font-weight: 900; letter-spacing: .09em; text-transform: uppercase; font-size: .72rem; }
.film-cta strong { display: block; margin: 10px 0 18px; font-size: clamp(1.55rem,3vw,3rem); line-height: 1; letter-spacing: -.04em; }
.film-cta .button { width: fit-content; }
.show-film-cta .film-cta { opacity: 1; transform: translate(0,-50%); pointer-events: auto; }
.story-footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 24px 30px; background: var(--lime); color: var(--ink); }
.story-footer p { margin: 0; }.story-footer a { color: var(--ink); font-weight: 900; white-space: nowrap; }

.site-footer { padding: 65px 0 30px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 35px; }
.footer-grid strong { display: block; margin-bottom: 14px; }
.footer-grid a { display: block; width: fit-content; margin: 8px 0; color: #c5d4d5; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #93abad; font-size: .82rem; }

@media (max-width: 950px) {
  .main-nav { position: fixed; inset: 73px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-open .main-nav { display: flex; }
  .main-nav .button { width: 100%; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid, .problem-grid, .page-hero-grid, .cta-panel, .contact-layout, .content-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 530px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .film-cta { width: min(420px,58%); }
  .story-intro { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .story-video { border-radius: 24px; }
  .film-frame { aspect-ratio: 16 / 9; }
  .film-frame video { object-fit: cover; }
  .film-badge { top: 14px; left: 14px; }
  .film-cta { top: auto; right: 10px; bottom: 40px; left: 10px; width: auto; padding: 12px 14px; border-radius: 18px; transform: translateY(10px); }
  .show-film-cta .film-cta { transform: none; }
  .film-cta span { font-size: .58rem; }
  .film-cta strong { margin: 4px 0 8px; font-size: 1.25rem; }
  .film-cta .button { min-height: 40px; padding: 0 14px; font-size: .78rem; }
  .story-footer { align-items: flex-start; flex-direction: column; }
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 78px 0; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.9rem); }
  .hero-visual { min-height: 460px; }
  .dashboard-card { inset: 55px 0 auto 5px; padding: 22px; }
  .dash-total { font-size: 2.5rem; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid div:nth-child(n+2) { display: none; }
  .float-card { bottom: 20px; }
  .cards, .audience-grid, .steps, .tool-panel, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-grid > *, .problem-grid > * { min-width: 0; }
  .switch-row { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 16px 8px; }
  .switch-pill { grid-column: 2; justify-self: start; }
  .form-field.full { grid-column: auto; }
  .card { min-height: 270px; }
  .tool-shell { padding: 10px; border-radius: 26px; }
  .tool-controls, .result-card { padding: 25px; }
  .cta-panel { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .story-intro { grid-template-columns: 1fr; gap: 15px; }
  .story-footer a { white-space: normal; }
}

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

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 14px 0 0; font-weight: 800; }
.form-status.success { color: #176b4d; }
.form-status.error { color: #a12f2f; }
[data-lead-form] button[disabled] { opacity: .65; cursor: wait; }
