:root {
  --teal: #1d5c4d;
  --teal-dark: #154236;
  --teal-rgb: 29, 92, 77;
  --teal-soft: #e7eeea;
  --ochre: #b07417;
  --ochre-soft: #f1c77e;
  --cream: #f4f0e7;
  --cream-2: #ece7da;
  --paper: #fcfbf7;
  --ink: #23211b;
  --ink-soft: #46443b;
  --muted: #6f6c61;
  --line: #ded8ca;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
  --shadow: 0 34px 80px -46px rgba(35, 33, 27, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink-soft); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body, button, a { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { color: inherit; }
svg { display: block; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(222, 216, 202, .85); background: rgba(244, 240, 231, .82); backdrop-filter: blur(18px); }
.nav-shell { width: var(--page); height: 68px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--teal); }
.brand-mark svg { width: 30px; height: 30px; fill: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--teal); }
.language-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: rgba(252, 251, 247, .7); }
.language-toggle button { min-width: 44px; min-height: 44px; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .7rem; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.language-toggle button:hover { color: var(--teal); }
.language-toggle button.active { background: var(--teal); color: var(--cream); box-shadow: 0 5px 12px -8px rgba(var(--teal-rgb), .8); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.hero { position: relative; overflow: hidden; padding: 84px 24px 108px; text-align: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-halo { position: absolute; width: 720px; height: 460px; left: 50%; top: -140px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--teal-rgb), .07), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; width: min(880px, 100%); margin: 0 auto; }
.release-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 11px; border: 1px solid rgba(var(--teal-rgb), .14); border-radius: 9px; background: rgba(var(--teal-rgb), .07); color: var(--teal); font-size: .78rem; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.release-pill:hover { background: rgba(var(--teal-rgb), .11); border-color: rgba(var(--teal-rgb), .24); }
.release-dot { width: 7px; height: 7px; border-radius: 50%; background: #3c987f; box-shadow: 0 0 0 4px rgba(60, 152, 127, .12); }
.release-link { padding-left: 8px; border-left: 1px solid rgba(var(--teal-rgb), .2); font-weight: 700; }
.eyebrow { margin: 42px 0 0; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow { margin: 0 0 16px; }
.hero h1 { margin: 0; color: var(--teal); font-family: var(--font-display); font-size: clamp(4rem, 8.5vw, 7.3rem); font-style: italic; font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.hero-copy { width: min(720px, 100%); margin: 28px auto 0; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.68; }
.download-control { width: min(880px, 100%); margin: 35px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.download-option { min-height: 68px; display: flex; align-items: center; gap: 12px; border-radius: 13px; padding: 10px 13px; text-align: left; }
.download-option--active { position: relative; border: 1px solid rgba(var(--teal-rgb), .16); background: var(--paper); color: var(--ink); box-shadow: 0 8px 20px -14px rgba(35, 33, 27, .38); transition: transform .2s ease, border-color .2s ease; }
.download-option--active:hover { transform: translateY(-1px); border-color: rgba(var(--teal-rgb), .4); }
.platform-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.platform-icon svg { width: 19px; height: 19px; fill: currentColor; }
.download-option strong, .download-option small { display: block; }
.download-option strong { color: inherit; font-size: .86rem; }
.download-option small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.download-arrow { width: 19px; margin-left: auto; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.section { padding: 106px 24px; }
.section-heading { width: min(770px, 100%); margin: 0 auto; text-align: center; }
.section-heading .eyebrow { margin-top: 0; }
.section-heading h2 { margin: 14px 0 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(2.45rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.section-heading > p:last-child { width: min(650px, 100%); margin: 18px auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.workspace { overflow: hidden; background: var(--paper); }
.workspace.section { padding-top: 70px; }
.surface-tabs { width: fit-content; margin: 0 auto 26px; display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--cream-2); }
.surface-tabs button { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: .79rem; font-weight: 600; }
.surface-tabs button[aria-selected="true"] { background: var(--paper); color: var(--teal); box-shadow: 0 6px 14px -10px rgba(35, 33, 27, .3); }
.surface-tabs svg { width: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.surface-tabs .soon-tab { cursor: not-allowed; opacity: .58; }
.surface-tabs .soon-tab .soon-badge { padding: 2px 6px; border-radius: 999px; background: rgba(111, 108, 97, .1); font-size: .57rem; letter-spacing: .06em; text-transform: uppercase; }
.product-stage { position: relative; width: min(1120px, 100%); margin: 0 auto; padding: clamp(34px, 6vw, 72px); border: 1px solid rgba(var(--teal-rgb), .12); border-radius: 30px; background: radial-gradient(circle at 50% 0, rgba(255,255,255,.92), transparent 44%), linear-gradient(145deg, #dce8e2, #e9e4d6 60%, #ead9bc); box-shadow: var(--shadow); isolation: isolate; }
.stage-orbit { position: absolute; z-index: -1; border: 1px solid rgba(var(--teal-rgb), .12); border-radius: 50%; }
.stage-orbit--one { width: 680px; height: 680px; left: -320px; top: -360px; }
.stage-orbit--two { width: 520px; height: 520px; right: -240px; bottom: -300px; border-color: rgba(176, 116, 23, .18); }
.product-window { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(35, 33, 27, .18); border-radius: 14px; background: #f7f2e9; box-shadow: 0 40px 75px -38px rgba(35, 33, 27, .6); }
.window-bar { height: 39px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--line); background: rgba(252, 251, 247, .95); color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .03em; }
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i { width: 8px; height: 8px; border-radius: 50%; background: #c9c3b6; }
.traffic-lights i:nth-child(1) { background: #d98b79; }
.traffic-lights i:nth-child(2) { background: #d9b868; }
.traffic-lights i:nth-child(3) { background: #78aa8d; }
.window-status { justify-self: end; display: flex; align-items: center; gap: 6px; }
.window-status i { width: 6px; height: 6px; border-radius: 50%; background: #4c9a7d; }
.product-window img { display: block; width: 100%; height: auto; background: var(--cream); }
.compact-download { width: fit-content; margin: 28px auto 0; color: var(--muted); font-size: .8rem; }
.compact-download a { display: inline-flex; min-height: 44px; align-items: center; margin-left: 3px; color: var(--teal); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.compact-download a:hover { color: var(--teal-dark); }

.pricing { border-top: 1px solid var(--line); background: var(--cream); }
.pricing-top { width: var(--page); margin: 0 auto 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.pricing-copy .eyebrow { margin-top: 0; }
.pricing-copy h2 { margin: 11px 0 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(2.45rem, 4.6vw, 3.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.pricing-copy > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: .9rem; }
.billing-toggle { flex: 0 0 auto; display: flex; padding: 5px; border: 1px solid #d0c8b8; border-radius: 13px; background: var(--cream-2); }
.billing-toggle button { min-height: 44px; padding: 9px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-size: .76rem; font-weight: 600; cursor: pointer; }
.billing-toggle button.active { background: var(--teal); color: var(--cream); box-shadow: 0 5px 12px -8px rgba(var(--teal-rgb), .8); }
.billing-toggle button span { margin-left: 7px; padding: 3px 6px; border-radius: 999px; background: rgba(35, 33, 27, .09); font-size: .58rem; }
.billing-toggle button.active span { background: rgba(255, 255, 255, .17); }
.pricing-grid { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(252, 251, 247, .76); box-shadow: 0 20px 50px -42px rgba(35,33,27,.42); transition: transform .22s ease, border-color .22s ease, opacity .22s ease; }
.plan-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 55px; opacity: .32; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(111,108,97,.13) 6px 7px); mask-image: linear-gradient(#000, transparent); }
.plan-card:hover { transform: translateY(-4px); border-color: rgba(var(--teal-rgb), .4); }
.plan-card--featured { border-color: rgba(var(--teal-rgb), .52); box-shadow: 0 24px 55px -38px rgba(var(--teal-rgb),.6); }
.plan-card h3 { position: relative; margin: 0; color: var(--ink); font-size: .94rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; margin: 21px 0 0; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.plan-price > span { margin-right: 3px; font-size: 1.35rem; font-weight: 600; }
.plan-price strong { font-family: var(--font-display); font-size: 3rem; font-weight: 500; }
.plan-price small { margin-left: 6px; font-size: .8rem; font-weight: 500; letter-spacing: 0; }
.plan-price small span { color: inherit; }
.plan-card ul { margin: 30px 0 26px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan-card li { position: relative; margin: 0 0 13px; padding-left: 18px; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.plan-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 3px; height: 3px; border-radius: 50%; background: var(--teal); }
.plan-card > a { min-height: 44px; margin-top: auto; padding: 11px 14px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 10px; color: var(--teal); text-align: center; font-size: .76rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.plan-card > a:hover { background: var(--teal); color: var(--cream); }
.plan-card--featured > a { background: var(--teal); color: var(--cream); }
.plan-card--featured > a:hover { background: var(--teal-dark); }

.final-cta { position: relative; overflow: hidden; padding: 112px 24px; background: var(--teal); color: var(--cream); }
.final-cta::after { content: ""; position: absolute; width: 620px; height: 620px; right: -250px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(241,199,126,.2), transparent 68%); }
.final-cta-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.final-cta-inner { position: relative; z-index: 1; width: min(820px, 100%); margin: 0 auto; text-align: center; }
.eyebrow--light { margin-top: 0; color: var(--ochre-soft); }
.final-cta h2 { margin: 17px 0 0; color: var(--cream); font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.final-cta h2 em { color: var(--ochre-soft); font-weight: 500; }
.final-cta-inner > p:not(.eyebrow) { margin: 22px 0 0; color: #d4e1dc; font-size: 1rem; }
.final-actions { margin: 32px 0 0; display: flex; align-items: center; justify-content: center; gap: 15px; }
.light-button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 11px; background: var(--paper); color: var(--teal-dark); font-size: .82rem; font-weight: 700; box-shadow: 0 16px 30px -20px rgba(0,0,0,.4); transition: transform .2s ease, background .2s ease; }
.light-button:hover { transform: translateY(-2px); background: #fff; }
.light-button svg { width: 18px; fill: currentColor; }

.site-footer { padding: 64px 24px 28px; background: #1a1812; color: #a09b8e; }
.footer-grid { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1.65fr repeat(3, 1fr); gap: 42px; }
.brand--footer { color: var(--cream); }
.footer-brand p { max-width: 280px; margin: 16px 0 0; font-size: .82rem; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; gap: 10px; font-size: .8rem; }
.footer-column h3 { margin: 0 0 7px; color: var(--cream); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { transition: color .2s ease; }
.footer-column a:hover { color: var(--cream); }
.footer-column span { color: #736f65; }
.footer-bottom { width: var(--page); margin: 48px auto 0; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-top { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
  .stage-note { display: none; }
}

@media (max-width: 740px) {
  :root { --page: min(100% - 32px, 1180px); }
  .nav-actions { gap: 8px; }
  .menu-toggle { display: grid; }
  .nav-links { position: absolute; left: 16px; right: 16px; top: 76px; display: none; padding: 12px; flex-direction: column; align-items: stretch; gap: 3px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(3.7rem, 20vw, 5.6rem); }
  .download-control { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-control > .download-option:first-child { grid-column: 1 / -1; }
  .section { padding: 84px 16px; }
  .product-stage { padding: 22px; border-radius: 22px; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-bar > span:nth-child(2) { display: none; }
  .compact-download { width: min(100%, 420px); flex-direction: column; justify-content: center; text-align: center; }
  .compact-download > span:first-child { width: 100%; }
  .compact-actions { width: 100%; justify-content: center; }
  .pricing-top { width: min(100%, 560px); margin-bottom: 26px; flex-direction: column; }
  .pricing-grid { width: min(100%, 560px); grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding-inline: 16px; }
  .hero-copy { font-size: .96rem; }
  .download-option { min-width: 0; padding-inline: 9px; gap: 8px; }
  .download-option > span:nth-child(2) { min-width: 0; }
  .download-control > .download-option:not(:first-child) .platform-icon { width: 32px; height: 32px; }
  .download-control > .download-option:not(:first-child) .download-arrow { display: none; }
  .surface-tabs { width: 100%; justify-content: center; }
  .surface-tabs button { padding-inline: 11px; }
  .surface-tabs .soon-tab .soon-badge { display: none; }
  .product-stage { padding: 12px; border-radius: 18px; }
  .window-bar { height: 34px; }
  .compact-download a, .compact-download button { width: 100%; justify-content: center; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; padding-inline: 10px; }
  .final-actions { width: min(100%, 340px); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-actions .light-button { justify-content: center; text-align: center; }
  .final-actions .light-button:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
