:root {
  --bg: #f2f8f7;
  --surface: rgba(255, 255, 255, .68);
  --surface-strong: rgba(255, 255, 255, .88);
  --surface-soft: rgba(224, 240, 238, .62);
  --ink: #14201f;
  --muted: #61716f;
  --line: rgba(34, 75, 72, .15);
  --accent: #169f98;
  --accent-2: #f08d4c;
  --nav-bg: rgba(242, 248, 247, .78);
  --shadow: rgba(20, 58, 55, .18);
  --wave: #169f98;
}

[data-theme="dark"] {
  --bg: #101b1b;
  --surface: rgba(24, 39, 39, .74);
  --surface-strong: rgba(29, 48, 47, .9);
  --surface-soft: rgba(28, 54, 53, .7);
  --ink: #eff8f5;
  --muted: #a6b9b5;
  --line: rgba(204, 237, 231, .16);
  --accent: #43c6b9;
  --accent-2: #f3a066;
  --nav-bg: rgba(16, 27, 27, .82);
  --shadow: rgba(0, 0, 0, .4);
  --wave: #43c6b9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
body > :not(.audio-field):not(.nav) { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
.audio-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; color: var(--wave); opacity: .16; }
.audio-field svg { width: 100%; height: 100%; transform: scale(1.08); animation: wave-drift 18s ease-in-out infinite alternate; }
.audio-field path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
@keyframes wave-drift { from { transform: translate3d(-2%, 0, 0) scale(1.08); } to { transform: translate3d(2%, 1.5%, 0) scale(1.08); } }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1200; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 16px; }

.nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: var(--nav-bg); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); }
.nav__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 760; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 8px 20px var(--shadow); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__link { color: var(--muted); font-size: .78rem; font-weight: 650; transition: color .18s; }
.nav__link:hover { color: var(--accent); }
.language { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language a { min-width: 31px; padding: 5px 7px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .68rem; font-weight: 760; }
.language a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.hero { min-height: 720px; display: grid; align-items: center; padding: 96px 0 110px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); align-items: center; gap: 54px; }
.hero__copy { max-width: 620px; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: .7rem; font-weight: 780; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-2) 15%, transparent); }
.release-status { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: .84rem; }
.release-status__icon { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); }
.release-status p { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.release-status strong { color: var(--ink); font-weight: 760; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 26px; font-size: clamp(3.7rem, 8vw, 7.4rem); font-weight: 790; letter-spacing: -.085em; line-height: .88; }
.hero__lead { max-width: 590px; margin-bottom: 28px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.app-store-button { display: inline-flex; align-items: center; gap: 11px; padding: 11px 17px; border-radius: 13px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px var(--shadow); transition: transform .18s, box-shadow .18s; }
.app-store-button:hover { transform: translateY(-2px); box-shadow: 0 17px 36px var(--shadow); }
.app-store-button svg { width: 27px; height: 27px; fill: currentColor; }
.app-store-button span { display: flex; flex-direction: column; line-height: 1.05; }
.app-store-button small { font-size: .6rem; }
.app-store-button strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .86rem; font-weight: 700; transition: color .18s, border-color .18s; }
.text-link:hover { border-color: var(--accent); color: var(--accent); }
.hero__note { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.hero__visual { position: relative; min-height: 690px; }
.hero-shot { position: absolute; width: min(27vw, 318px); height: auto; border-radius: 0; box-shadow: 0 32px 80px var(--shadow); }
.hero-shot--front { top: 0; right: 4%; z-index: 2; transform: rotate(3deg); }
.hero-shot--back { bottom: 0; left: 3%; transform: rotate(-4deg); }

.proof { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof p { min-height: 112px; margin: 0; padding: 24px 23px; border-right: 1px solid var(--line); }
.proof p:first-child { padding-left: 0; }
.proof p:last-child { padding-right: 0; border-right: 0; }
.proof strong, .proof span { display: block; }
.proof strong { margin-bottom: 5px; font-size: .78rem; line-height: 1.25; }
.proof span { color: var(--muted); font-size: .76rem; line-height: 1.45; }

.section { padding: 128px 0; }
.section-intro { max-width: 760px; }
.section-intro h2, .section-heading h2, .privacy-band h2, .final-cta h2 { margin-bottom: 22px; font-size: clamp(2.8rem, 6.3vw, 5.8rem); font-weight: 770; letter-spacing: -.075em; line-height: .91; }
.section-intro > p:last-child, .section-heading > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }
.update-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 52px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.update-strip__version { color: var(--accent); font-size: 1.75rem; font-weight: 790; letter-spacing: -.06em; }
.update-strip p { max-width: 560px; margin: 0; color: var(--muted); font-size: .92rem; }
.section-heading { max-width: 770px; margin-bottom: 54px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card, .glass-card, .price-card, .version-card, .app-card { border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.feature-card { min-height: 245px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border-radius: 23px; transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); }
.feature-card--accent { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 13%, var(--surface)), var(--surface) 70%); }
.feature-index { color: var(--accent); font-size: .7rem; font-weight: 780; letter-spacing: .12em; }
.feature-card h3 { max-width: 310px; margin: 38px 0 0; font-size: clamp(1.32rem, 2.1vw, 1.82rem); font-weight: 710; letter-spacing: -.045em; line-height: 1.05; }
.supporting-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.glass-card { min-height: 190px; padding: 25px; border-radius: 21px; }
.glass-card .eyebrow { margin-bottom: 48px; }
.glass-card p:last-child { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.screenshots-section { padding-bottom: 142px; border-block: 1px solid var(--line); background: var(--surface-soft); }
.section-heading--row { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
.section-heading--row h2 { margin-bottom: 0; }
.screens-rail { width: calc(100% - max(24px, calc((100vw - 1180px) / 2))); margin-left: max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 310px); gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding: 8px 28px 22px 0; scrollbar-width: thin; scrollbar-color: var(--accent) var(--line); }
.screens-rail figure { min-width: 0; margin: 0; scroll-snap-align: start; }
.screens-rail img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: 0 22px 52px var(--shadow); }

.pricing-section { background: color-mix(in srgb, var(--bg) 82%, var(--surface-soft)); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { min-height: 300px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; overflow: hidden; border-radius: 24px; }
.price-card::before { content: ""; width: 210px; height: 210px; position: absolute; top: -115px; right: -70px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.price-card--featured { border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 11%, var(--surface)), var(--surface) 67%); box-shadow: 0 22px 56px color-mix(in srgb, var(--accent) 12%, transparent); }
.price-card__name { margin-bottom: 11px; color: var(--muted); font-size: .72rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.price-card__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-card__price span { font-size: clamp(3.7rem, 7vw, 5.8rem); font-weight: 790; letter-spacing: -.08em; line-height: .88; }
.price-card__price small { color: var(--muted); font-size: .83rem; }
.price-card__copy { max-width: 450px; margin: 0; color: var(--muted); }
.trial-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 16px; padding: 23px 26px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.trial-note__number { color: var(--accent); font-size: 3rem; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.trial-note p { margin: 0; line-height: 1.4; }
.trial-note strong, .trial-note p span { display: block; }
.trial-note p span { color: var(--muted); font-size: .84rem; }

.updates-section { border-block: 1px solid var(--line); background: var(--surface-soft); }
.version-list { display: grid; gap: 13px; }
.version-card { display: grid; grid-template-columns: 160px 1fr; gap: 42px; padding: 31px 34px; border-radius: 23px; }
.version-card--current { border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 58%); }
.version-card--archived { padding-block: 25px; }
.version-card__meta span:first-child { display: block; color: var(--accent); font-size: 2.7rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.version-card__label { display: inline-block; margin-top: 13px; padding: 5px 9px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.version-card h3 { margin-bottom: 7px; font-size: 1.55rem; letter-spacing: -.04em; }
.version-card__lead { margin-bottom: 14px; color: var(--muted); }
.version-card__notes { max-width: 730px; margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.privacy-band { padding: 105px 0; background: var(--ink); color: var(--bg); }
.privacy-band__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: end; }
.privacy-band h2 { margin-bottom: 0; }
.privacy-band__inner > div:last-child > p { color: color-mix(in srgb, var(--bg) 74%, transparent); font-size: 1.06rem; }
.privacy-band .eyebrow { color: var(--accent); }
.privacy-band .text-link { border-color: color-mix(in srgb, var(--bg) 25%, transparent); color: var(--bg); }
.privacy-band .text-link:hover { border-color: var(--accent); color: var(--accent); }

.section-heading--compact { margin-bottom: 46px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.app-card { min-height: 215px; display: grid; grid-template-columns: 72px 1fr auto; align-items: start; gap: 20px; padding: 27px; border-radius: 22px; transition: transform .2s, border-color .2s; }
.app-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.app-card img { border-radius: 17px; box-shadow: 0 8px 24px var(--shadow); }
.app-card h3 { margin: 4px 0 8px; font-size: 1.2rem; letter-spacing: -.03em; }
.app-card p { margin: 0 0 12px; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.app-card > span:last-child { color: var(--accent); }
.app-card__visit { color: var(--accent); font-size: .7rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.app-card--compact { min-height: 150px; align-self: start; }

.final-cta { padding: 120px 0; overflow: hidden; background: linear-gradient(145deg, #138f8a, #31aaa0 52%, #e8844d); color: #fff; text-align: center; }
.final-cta__inner { max-width: 760px; }
.final-cta img { margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 20px 50px rgba(5, 47, 45, .28); }
.final-cta .eyebrow { color: rgba(255, 255, 255, .76); }
.final-cta h2 { margin-bottom: 18px; }
.final-cta p:not(.eyebrow) { max-width: 600px; margin: 0 auto 30px; color: rgba(255, 255, 255, .84); font-size: 1.04rem; }
.app-store-button--light { margin-inline: auto; background: #fff; color: #14201f; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: .78rem; }
.footer__inner p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer a:hover { color: var(--accent); }
.footer__top-arrow { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .85rem; transition: color .18s, border-color .18s, transform .18s; }
.footer__top:hover .footer__top-arrow { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

@media (max-width: 1040px) {
  .nav__actions { gap: 12px; }
  .hero__grid { grid-template-columns: 1fr .86fr; gap: 28px; }
  .hero__visual { min-height: 610px; }
  .hero-shot { width: min(30vw, 300px); }
  .supporting-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-card--compact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav__inner { min-height: 62px; }
  .nav__link { display: none; }
  .nav__actions { gap: 8px; }
  .brand span { font-size: .88rem; }
  .language a { min-width: 29px; padding-inline: 5px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { min-height: auto; padding: 66px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 42px; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.8rem); }
  .hero__visual { min-height: 500px; }
  .hero-shot { width: min(55vw, 230px); }
  .hero-shot--front { right: 1%; }
  .hero-shot--back { left: 1%; }
  .audio-field { opacity: .08; }
  .audio-field svg { height: 52%; margin-top: 12%; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof p { min-height: 125px; padding: 20px 14px; }
  .proof p:nth-child(2) { border-right: 0; }
  .proof p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof p:first-child { padding-left: 0; }
  .proof p:nth-child(3) { padding-left: 0; }
  .proof p:last-child { padding-right: 0; }
  .section { padding: 90px 0; }
  .section-intro h2, .section-heading h2, .privacy-band h2, .final-cta h2 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .update-strip { grid-template-columns: auto 1fr; gap: 12px 18px; }
  .update-strip .text-link { grid-column: 1 / -1; width: fit-content; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 220px; padding: 23px; }
  .feature-card h3 { margin-top: 25px; font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
  .supporting-grid { grid-template-columns: 1fr 1fr; }
  .glass-card { min-height: 205px; padding: 21px; }
  .glass-card .eyebrow { margin-bottom: 34px; }
  .section-heading--row { grid-template-columns: 1fr; gap: 24px; }
  .screens-rail { width: calc(100% - 16px); margin-left: 16px; grid-auto-columns: minmax(220px, 72vw); gap: 14px; padding-right: 18px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 270px; padding: 27px; }
  .trial-note { grid-template-columns: auto 1fr; padding: 21px; }
  .trial-note .text-link { grid-column: 1 / -1; width: fit-content; }
  .version-card { grid-template-columns: 1fr; gap: 22px; padding: 25px; }
  .privacy-band { padding: 82px 0; }
  .privacy-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card--compact { grid-column: auto; min-height: 140px; }
  .final-cta { padding: 92px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .audio-field svg { animation: none; }
  .feature-card, .app-card, .app-store-button, .theme-toggle, .footer__top-arrow { transition: none; }
}

/* Language navigation keeps the existing pill layout with native links. */
.language a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
