:root {
  color-scheme: light;
  --ink: #0e2233;
  --muted: #56697a;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --forest: #0b3d5f;
  --moss: #6e93ac;
  --mint: #dce8f2;
  --line: rgba(14, 34, 51, .14);
  --amber: #ffb020;
  --amber-deep: #9a5a00;
  --orange: var(--amber-deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
::selection { background: rgba(255, 176, 32, .32); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
section[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 14px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, .9);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand img, .footer-brand img { border-radius: 10px; box-shadow: 0 6px 18px rgba(11, 61, 95, .22); }
.site-header nav, footer nav { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.site-header nav a, footer nav a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; padding: 10px 17px; border-radius: 999px; background: var(--forest); color: white; font-size: .9rem; font-weight: 720; text-decoration: none; transition: background .25s ease; }
.header-cta:hover { background: #0a4f7a; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.site-header .language-picker { display: flex; gap: 7px; }
.site-header .language-picker a { padding: 5px 3px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.site-header .language-picker a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--amber); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 120px) clamp(20px, 6vw, 96px);
  background:
    radial-gradient(circle at 74% 22%, rgba(110, 147, 172, .28), transparent 26rem),
    linear-gradient(120deg, var(--paper), #eef3f7 72%, #dce8f1);
}

.hero-copy { position: relative; z-index: 2; max-width: 790px; }
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid rgba(11, 61, 95, .18);
  border-radius: 999px;
  background: rgba(255, 253, 248, .74);
  color: var(--forest);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .01em;
  text-decoration: none;
}
.version-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 176, 32, .22); }
.version-pill:hover { background: var(--surface); }
.eyebrow { margin: 0 0 16px; color: #3f6380; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h2, h3, summary { text-wrap: balance; }
h1 { text-wrap: pretty; }
p { text-wrap: pretty; }
h1, h2 { font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-weight: 520; letter-spacing: -.047em; }
h1 { max-width: 830px; margin-bottom: 28px; font-size: clamp(3.5rem, 7vw, 7.2rem); line-height: .91; }
h2 { margin-bottom: 22px; font-size: clamp(2.4rem, 4.8vw, 4.9rem); line-height: .98; }
h3 { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.7; }
.hero-lede { max-width: 650px; margin-bottom: 34px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.app-store-button { display: inline-flex; align-items: center; gap: 11px; min-width: 184px; padding: 11px 18px 12px; border-radius: 13px; background: #0b0d0c; color: white; text-decoration: none; box-shadow: 0 14px 34px rgba(14, 34, 51, .2); }
.app-store-button:hover { background: #161a18; }
.app-store-button:active { transform: translateY(1px); }
.app-store-button span:last-child { display: flex; flex-direction: column; font-size: 1.23rem; font-weight: 650; line-height: 1.05; }
.app-store-button small { margin-bottom: 3px; font-size: .63rem; font-weight: 500; letter-spacing: .02em; }
.apple-mark { width: 23px; height: 27px; flex: none; }
.text-link { color: var(--ink); font-size: .95rem; font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(14, 34, 51, .42); }
.text-link:hover { color: var(--forest); border-color: var(--forest); }
.proof-list { display: flex; gap: 20px; flex-wrap: wrap; margin: 40px 0 0; padding: 0; color: var(--muted); font-size: .83rem; font-weight: 700; list-style: none; }
.proof-list li::before { content: "✓"; margin-right: 7px; color: #3f7256; }

.hero-visual { position: relative; min-height: 650px; }
.phone { overflow: hidden; margin: 0; border: 8px solid #0a1d2b; border-radius: 42px; background: #0f1714; box-shadow: 0 30px 80px rgba(11, 61, 95, .28); }
.phone picture { display: block; width: 100%; height: 100%; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .phone { position: absolute; width: min(310px, 48vw); aspect-ratio: 1206 / 2622; }
.phone-main { z-index: 3; right: 3%; bottom: -10%; transform: rotate(4deg); }
.phone-back { z-index: 1; right: 43%; bottom: 1%; transform: rotate(-8deg) scale(.9); opacity: .88; }
.field-card { position: absolute; z-index: 4; bottom: 13%; left: 0; display: grid; gap: 5px; min-width: 220px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .62); border-radius: 16px; background: rgba(255, 253, 248, .84); box-shadow: 0 24px 65px rgba(11, 61, 95, .18); backdrop-filter: blur(15px); transform: rotate(-3deg); }
.field-card span { color: var(--muted); font-size: .72rem; }
.field-card strong { font-size: .94rem; }

.use-cases { padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 96px); border-block: 1px solid var(--line); background: var(--surface); }
.use-cases-title { max-width: 720px; margin-bottom: 38px; font-family: ui-serif, Georgia, serif; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 520; letter-spacing: -.035em; line-height: 1.1; }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.use-case-grid li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.use-case-grid h3 { font-size: 1rem; }
.use-case-grid p { margin: 0; font-size: .9rem; line-height: 1.6; }
.use-case-footnote { margin: 24px 0 0; color: #5f707c; font-size: .82rem; }

.section { padding: clamp(88px, 12vw, 168px) clamp(20px, 8vw, 130px); }
.section-heading { max-width: 900px; margin-bottom: 64px; }
.section-heading > p:last-child { max-width: 650px; font-size: 1.08rem; }

.manifesto { padding: clamp(96px, 13vw, 190px) clamp(20px, 8vw, 130px); border-block: 1px solid var(--line); background: var(--paper); }
.manifesto .eyebrow { margin-bottom: 30px; }
.manifesto-text { max-width: 1120px; margin: 0; font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; font-size: clamp(3rem, 8.2vw, 7.4rem); font-weight: 520; line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.js .manifesto-text span { display: inline-block; opacity: .24; transform: translateY(.1em); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.js .manifesto-text span.is-on { opacity: 1; transform: none; }

.overview { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 7vw, 100px); align-items: start; background: var(--paper); }
.overview-copy h2 { max-width: 640px; }
.overview-lede { max-width: 620px; margin-bottom: 22px; color: var(--ink); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.62; }
.overview-copy p:last-child { max-width: 620px; margin-bottom: 0; }
.facts { margin: 0; padding-top: 6px; border-top: 2px solid var(--forest); }
.facts div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: #5f707c; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: 0; color: var(--ink); font-size: .94rem; font-weight: 650; line-height: 1.5; }

.workflow { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 34px clamp(18px, 3vw, 42px) 10px 0; }
.steps li + li { padding-left: clamp(18px, 3vw, 42px); border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 48px; color: var(--amber-deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; }
.steps p { max-width: 34ch; }

.feature-showcase { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(50px, 10vw, 150px); align-items: center; color: white; background: var(--forest); }
.showcase-phone { display: grid; place-items: center; min-height: 650px; }
.showcase-phone .phone { width: min(360px, 80vw); aspect-ratio: 1206 / 2622; border-color: #06253c; transform: rotate(-3deg); box-shadow: 0 35px 100px rgba(0, 0, 0, .42); }
.showcase-copy .eyebrow { color: #a9c6da; }
.showcase-copy h2 { max-width: 780px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .18); }
.feature-list p { color: #bfd3e1; font-size: .91rem; }

.release { background: #e8eff5; }
.release-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 84px); padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 30px 70px rgba(11, 61, 95, .1); }
.release-card h2 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); }
.release-meta { margin-bottom: 26px; color: #5f707c; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.release-list { margin: 0; padding: 0; list-style: none; }
.release-list li { position: relative; margin-bottom: 18px; padding: 0 0 18px 34px; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.release-list li:last-child { margin-bottom: 0; border-bottom: 0; }
.release-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, .18);
}
.release-footnote { margin: 22px 0 0; font-size: .8rem; }

.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 9vw, 130px); background: #dfeaf2; }
.privacy h2 { max-width: 620px; margin-bottom: 0; }
.privacy > div:last-child { align-self: end; max-width: 700px; }

.plans { background: var(--surface); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan-grid article { min-height: 260px; padding: clamp(28px, 4vw, 54px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.plan-grid .plan-featured { color: white; border-color: var(--forest); background: var(--forest); }
.plan-grid .plan-featured p { color: #bfd3e1; }
.plan-label { color: var(--amber-deep) !important; font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.plan-grid .plan-featured .plan-label { color: var(--amber) !important; }
.plan-grid h3 { margin-top: 38px; font-family: ui-serif, Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; }
.fine-print { max-width: 720px; margin-top: 22px; font-size: .81rem; }

.faq { background: #eef1ec; }
.faq-list { max-width: 1040px; margin-left: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 26px 54px 26px 0; font-size: clamp(1.06rem, 1.8vw, 1.28rem); font-weight: 730; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 800px; padding-bottom: 24px; }
.faq details p a { font-weight: 650; }

.closing-cta { display: flex; min-height: 690px; padding: 90px 20px; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: linear-gradient(150deg, #d9e7f1, #f6f2e8 55%, #f2dfc4); }
.closing-cta > img { margin-bottom: 30px; border-radius: 26px; box-shadow: 0 24px 60px rgba(11, 61, 95, .22); }
.closing-cta h2 { max-width: 900px; }
.closing-cta .version-note { margin: 18px 0 0; font-size: .8rem; color: #5f707c; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 46px clamp(20px, 6vw, 96px); color: white; background: #08283d; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span, footer p, footer nav a { color: #aec2d0; }
footer p { grid-column: 1 / -1; margin: 0; font-size: .75rem; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 92px; }
  .hero-visual { min-height: 620px; margin-top: 40px; }
  .hero-visual .phone { width: 300px; }
  .phone-main { right: 14%; }
  .phone-back { right: 48%; }
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
  .overview { grid-template-columns: 1fr; }
  .facts { max-width: 720px; }
  .feature-showcase { grid-template-columns: 1fr; }
  .showcase-phone { min-height: 560px; }
  .feature-list { grid-template-columns: 1fr; }
  .release-card { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > nav { display: none; }
}

@media (max-width: 760px) {
  .site-header .language-picker { display: flex; }
  .header-actions { gap: 10px; }
  .header-cta { padding-inline: 13px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .hero { padding-inline: 20px; }
  .hero-visual { min-height: 500px; }
  .hero-visual .phone { width: 230px; border-width: 6px; border-radius: 33px; }
  .phone-main { right: 2%; }
  .phone-back { right: 42%; }
  .field-card { bottom: 6%; left: 0; transform: scale(.85) rotate(-3deg); }
  .use-case-grid { grid-template-columns: 1fr; }
  .steps, .privacy, .plan-grid { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-number { margin-bottom: 25px; }
  .feature-showcase { padding-inline: 20px; }
  .showcase-phone { min-height: 510px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; }
  footer p { grid-column: auto; }
  .release-card { border-radius: 20px; }
}

@media (max-width: 600px) {
  .manifesto-text { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero-visual { min-height: 540px; margin-top: 28px; }
  .hero-visual .phone { width: 236px; }
  .phone-back { display: none; }
  .phone-main { right: 50%; bottom: 0; transform: translateX(50%); }
  .field-card { bottom: auto; top: 4%; left: auto; right: 0; transform: scale(.9) rotate(-2deg); }
}

@media (max-width: 520px) {
  footer nav { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 18px; justify-content: start; }
  .hero-actions { gap: 16px; }
  .proof-list { gap: 12px 18px; }
  .use-cases { padding-inline: 20px; }
  .section { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.notfound { display: flex; min-height: 72vh; padding: clamp(80px, 12vw, 170px) clamp(20px, 8vw, 130px); flex-direction: column; justify-content: center; background: linear-gradient(120deg, var(--paper), #eef3f7 72%, #dce8f1); }
.notfound h1 { max-width: 940px; }
.notfound p:not(.eyebrow) { max-width: 560px; font-size: 1.05rem; }
.notfound .hero-actions { margin-top: 18px; }
