:root {
  --bg: #f8f5e4;
  --surface: #fffdf3;
  --surface-soft: #f0ebca;
  --ink: #201f16;
  --muted: #686451;
  --line: #ddd6af;
  --accent: #a89d00;
  --accent-2: #f5e700;
  --teal: #d3c600;
  --nav-bg: rgba(248, 245, 228, .84);
  --shadow: rgba(55, 49, 0, .16);
  --warp-bg: rgba(248, 245, 228, .16);
}

[data-theme="dark"] {
  --bg: #121210;
  --surface: #1a1a17;
  --surface-soft: #202018;
  --ink: #f8f4d6;
  --muted: #bcb79b;
  --line: #3e3c2d;
  --accent: #f5e700;
  --accent-2: #d4c800;
  --teal: #f5e700;
  --nav-bg: rgba(18, 18, 16, .86);
  --shadow: rgba(0, 0, 0, .34);
  --warp-bg: rgba(18, 18, 16, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: var(--warp-color, var(--warp-bg));
  opacity: 0;
  clip-path: circle(0 at var(--warp-x, 50%) var(--warp-y, 50%));
  backdrop-filter: blur(3px) saturate(.95);
}
html.theme-warp::before { animation: theme-warp .76s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes theme-warp {
  0% { opacity: 1; clip-path: circle(0 at var(--warp-x, 50%) var(--warp-y, 50%)); }
  68% { opacity: 1; clip-path: circle(100vmax at var(--warp-x, 50%) var(--warp-y, 50%)); }
  100% { opacity: 0; clip-path: circle(100vmax at var(--warp-x, 50%) var(--warp-y, 50%)); }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.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 color-mix(in srgb, var(--line) 75%, transparent);
  background: var(--nav-bg);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}
.nav__inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; letter-spacing: -.02em; }
.brand img { border-radius: 9px; box-shadow: 0 3px 12px var(--shadow); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__link { color: var(--muted); font-size: .86rem; transition: color .15s; }
.nav__link:hover { color: var(--accent); }
.language { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language button { min-width: 32px; padding: 4px 7px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .7rem; font-weight: 680; letter-spacing: .04em; }
.language button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme-toggle { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { grid-area: 1/1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: 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: 760px; display: grid; align-items: center; padding: 86px 0 74px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .75rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 12%, transparent); }
.release-status { width: fit-content; display: flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 11px 15px 11px 13px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.release-status__icon { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 13%, transparent); }
.release-status p { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 0; line-height: 1.35; }
.release-status strong { font-size: .84rem; }
.release-status p span { color: var(--muted); font-size: .79rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(4rem, 7.4vw, 7.2rem); font-weight: 780; letter-spacing: -.075em; line-height: .88; text-wrap: balance; }
.hero__lead { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.55; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.app-store-button { min-width: 170px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border-radius: 13px; background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px var(--shadow); transition: transform .2s, box-shadow .2s; }
.app-store-button:hover { transform: translateY(-2px); box-shadow: 0 14px 36px var(--shadow); }
.app-store-button svg { width: 28px; height: 28px; fill: currentColor; }
.app-store-button span { display: flex; flex-direction: column; line-height: 1.05; }
.app-store-button small { font-size: .62rem; }
.app-store-button strong { font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 650; transition: color .15s, border-color .15s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero__note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }
.hero__visual { position: relative; min-height: 610px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb--one { width: 460px; height: 460px; right: 2%; top: 9%; background: linear-gradient(145deg, color-mix(in srgb, var(--accent-2) 72%, transparent), color-mix(in srgb, #dc4d76 58%, transparent)); opacity: .72; }
.orb--two { width: 280px; height: 280px; left: 1%; bottom: 5%; background: color-mix(in srgb, var(--teal) 40%, transparent); opacity: .48; }
.hero-shot { position: absolute; width: 272px; border-radius: 30px; box-shadow: 0 38px 90px var(--shadow); }
.hero-shot--front { right: 7%; top: 0; z-index: 2; transform: rotate(3deg); }
.hero-shot--back { left: 7%; bottom: 0; transform: rotate(-5deg); }

.proof { border-block: 1px solid var(--line); background: var(--surface); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof p { margin: 0; padding: 28px 26px; 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: 3px; font-size: .88rem; }
.proof span { color: var(--muted); font-size: .78rem; }

.section { padding: 130px 0; }
.section-heading { max-width: 770px; margin-bottom: 58px; }
.section-heading h2, .privacy-band h2, .final-cta h2 { margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 750; letter-spacing: -.065em; line-height: .94; }
.section-heading > p:last-child { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { min-height: 340px; position: relative; overflow: hidden; padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.feature-card--wide { grid-column: span 2; min-height: 390px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 68px; border-radius: 14px; background: color-mix(in srgb, var(--teal) 12%, var(--surface)); color: var(--teal); }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-kicker { margin-bottom: 5px; color: var(--accent); font-size: .72rem; font-weight: 740; letter-spacing: .11em; text-transform: uppercase; }
.feature-card h3 { margin-bottom: 12px; font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.045em; line-height: 1; }
.feature-card > p:last-of-type, .feature-card > div > p:last-of-type { max-width: 520px; margin-bottom: 0; color: var(--muted); }
.countdown-art { position: absolute; right: 6%; bottom: 15%; display: flex; align-items: center; gap: 22px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 18px 42px var(--shadow); transform: rotate(-2deg); }
.countdown-art__ring { width: 104px; height: 104px; position: relative; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--accent) 0 78%, var(--line) 78% 100%); }
.countdown-art__ring::before { content: ""; position: absolute; inset: 9px; border-radius: inherit; background: var(--surface); }
.countdown-art__ring b { position: relative; font-size: 1.15rem; letter-spacing: -.04em; }
.countdown-art__time { color: var(--accent); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: clamp(1.45rem, 3vw, 2.45rem); font-weight: 780; letter-spacing: -.065em; }
.feature-card--folders { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; background: linear-gradient(130deg, var(--surface) 20%, color-mix(in srgb, var(--accent-2) 12%, var(--surface))); }
.schedule-art { min-height: 250px; display: grid; align-content: center; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); box-shadow: 0 18px 42px var(--shadow); transform: rotate(2deg); }
.schedule-art span { height: 24px; display: block; border-radius: 999px; background: var(--accent); box-shadow: 0 8px 18px var(--shadow); }
.schedule-art span:nth-child(1) { width: 56%; margin-left: 8%; }
.schedule-art span:nth-child(2) { width: 64%; margin-left: 23%; background: var(--accent-2); }
.schedule-art span:nth-child(3) { width: 48%; margin-left: 16%; background: var(--teal); }
.schedule-art span:nth-child(4) { width: 70%; margin-left: 5%; background: var(--accent-2); }
.schedule-art span:nth-child(5) { width: 52%; margin-left: 34%; }

.screenshots-section { padding-bottom: 150px; background: var(--surface-soft); border-block: 1px solid var(--line); }
.section-heading--row { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.section-heading--row h2 { margin-bottom: 0; }
.screens-rail { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 310px); gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding: 8px max(24px, calc((100vw - 1180px) / 2)) 30px; scrollbar-width: thin; scrollbar-color: var(--accent) var(--line); }
.screens-rail figure { margin: 0; scroll-snap-align: start; }
.screens-rail img { width: 100%; border-radius: 25px; box-shadow: 0 20px 50px var(--shadow); }
.screens-rail figcaption { padding-top: 15px; color: var(--muted); font-size: .8rem; text-align: center; }

.pricing-section { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price-card { min-height: 310px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.price-card::before { content: ""; width: 220px; height: 220px; position: absolute; top: -110px; right: -70px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 12%, 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) 8%, var(--surface)), var(--surface) 62%); box-shadow: 0 20px 55px color-mix(in srgb, var(--accent) 12%, transparent); }
.price-card--featured::before { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.price-card__badge { position: absolute; top: 26px; left: 28px; padding: 6px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.price-card__name { margin-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; }
.price-card__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-card__price span { font-size: clamp(3.4rem, 7vw, 5.7rem); font-weight: 780; letter-spacing: -.075em; line-height: .9; }
.price-card__price small { color: var(--muted); font-size: .84rem; }
.price-card__copy { max-width: 420px; margin: 0; color: var(--muted); }
.trial-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 18px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.trial-note__number { color: var(--accent); font-size: 3rem; font-weight: 800; letter-spacing: -.06em; 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: .86rem; }

.updates-section { border-block: 1px solid var(--line); background: var(--surface-soft); }
.version-list { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.version-list::before { content: ""; width: 1px; position: absolute; top: 28px; bottom: 28px; left: 8px; background: var(--line); }
.version-card { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 44px; padding: 30px 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.version-card::before { content: ""; width: 11px; height: 11px; position: absolute; top: 36px; left: -28px; border: 4px solid var(--surface-soft); border-radius: 50%; background: var(--muted); box-sizing: content-box; }
.version-card--current { border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 54%); }
.version-card--current::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); }
.version-card__meta span { display: block; color: var(--accent); font-size: 2.2rem; font-weight: 790; letter-spacing: -.055em; line-height: 1; }
.version-card__meta time { display: block; margin-top: 8px; color: var(--muted); font-size: .76rem; }
.version-card h3 { margin-bottom: 7px; font-size: 1.35rem; letter-spacing: -.03em; }
.version-card p { max-width: 720px; margin: 0; color: var(--muted); font-size: .93rem; }

.privacy-band { padding: 110px 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.05rem; }
.privacy-band .text-link { border-color: color-mix(in srgb, var(--bg) 25%, transparent); }

.section-heading--compact { margin-bottom: 46px; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-card { min-height: 210px; display: grid; grid-template-columns: 72px 1fr auto; align-items: start; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); transition: transform .2s, border-color .2s; }
.app-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.app-card img { border-radius: 17px; box-shadow: 0 8px 24px var(--shadow); }
.app-card h3 { margin: 5px 0 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.app-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.app-card > span { color: var(--accent); }

.final-cta { padding: 120px 0; overflow: hidden; background: linear-gradient(145deg, #f5e700, #eadb00 52%, #c9ba00); color: #211f00; 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(78, 23, 13, .26); }
.final-cta .eyebrow { color: rgba(33, 31, 0, .68); }
.final-cta h2 { margin-bottom: 18px; }
.final-cta p:not(.eyebrow) { max-width: 560px; margin: 0 auto 30px; color: rgba(33, 31, 0, .74); font-size: 1.05rem; }
.app-store-button--light { margin-inline: auto; background: #fff; color: #171513; }

.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.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); }

.prose { min-height: calc(100vh - 160px); padding: 90px 0 120px; }
.prose .shell { max-width: 760px; }
.prose h1 { margin-bottom: 12px; font-size: clamp(3rem, 7vw, 5rem); }
.prose h2 { margin: 52px 0 12px; font-size: 1.5rem; letter-spacing: -.025em; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__date { padding-bottom: 30px; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 70px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 700px; }
  .hero__visual { min-height: 630px; }
  .hero-shot--front { right: 14%; }
  .hero-shot--back { left: 14%; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof p:nth-child(2) { border-right: 0; }
  .proof p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-card--folders { grid-template-columns: 1fr .8fr; }
  .privacy-band__inner { gap: 50px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav__inner { min-height: 60px; }
  .nav__link { display: none; }
  .nav__actions { gap: 9px; }
  .brand span { font-size: .9rem; }
  .language button { min-width: 29px; padding-inline: 5px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { padding: 56px 0 40px; }
  .hero__grid { gap: 38px; }
  .release-status { align-items: flex-start; margin-bottom: 24px; }
  .release-status p { display: block; }
  .release-status p span { display: block; margin-top: 2px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5.7rem); }
  .hero__visual { min-height: 475px; }
  .hero-shot { width: min(55vw, 230px); border-radius: 23px; }
  .hero-shot--front { right: 2%; }
  .hero-shot--back { left: 2%; }
  .orb--one { width: 330px; height: 330px; }
  .proof p { padding: 20px 14px; }
  .proof p:first-child { padding-left: 0; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .privacy-band h2, .final-cta h2 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card--wide { grid-column: auto; min-height: 330px; padding: 28px; }
  .feature-icon { margin-bottom: 56px; }
  .feature-card--countdown { min-height: 520px; }
  .countdown-art { right: 24px; bottom: 26px; left: 24px; justify-content: center; gap: 16px; padding: 15px; }
  .countdown-art__ring { width: 76px; height: 76px; }
  .countdown-art__ring::before { inset: 7px; }
  .countdown-art__ring b { font-size: .95rem; }
  .countdown-art__time { font-size: 1.45rem; }
  .feature-card--folders { display: block; min-height: 580px; }
  .schedule-art { min-height: 220px; margin-top: 40px; padding: 22px; }
  .section-heading--row { grid-template-columns: 1fr; gap: 24px; }
  .screens-rail { grid-auto-columns: minmax(235px, 72vw); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 285px; padding: 30px; }
  .trial-note { grid-template-columns: auto 1fr; padding: 22px; }
  .trial-note .text-link { grid-column: 1 / -1; width: fit-content; }
  .version-list { padding-left: 22px; }
  .version-list::before { left: 5px; }
  .version-card { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .version-card::before { left: -23px; }
  .privacy-band { padding: 80px 0; }
  .privacy-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 60px 1fr auto; padding: 24px; gap: 16px; }
  .app-card img { width: 60px; height: 60px; }
  .final-cta { padding: 90px 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; }
  html.theme-warp::before { animation: none; }
  body, .app-card, .app-store-button, .theme-toggle { transition: none; }
}
