:root {
  --bg: #ebe9e5;
  --bg-2: #e2dfd9;
  --tile: #dcd7cf;
  --ink: #151514;
  --ink-2: #4a4843;
  --muted: #8a867e;
  --line: rgba(21, 21, 20, 0.12);
  --accent: #8a6d4e;
  --btn-bg: #151514;
  --btn-ink: #f5f3ef;
  --particle-a: 32, 28, 24;
  --particle-b: 138, 109, 78;
  --particle-c: 201, 180, 154;
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --pad: clamp(16px, 3.2vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #12110f; --bg-2: #1a1916; --tile: #201e1b; --ink: #efece6; --ink-2: #bdb8ae; --muted: #85807a;
    --line: rgba(239, 236, 230, 0.12); --accent: #c9a77f; --btn-bg: #efece6; --btn-ink: #12110f;
    --particle-a: 239, 230, 216; --particle-b: 201, 167, 127; --particle-c: 120, 100, 80; color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #12110f; --bg-2: #1a1916; --tile: #201e1b; --ink: #efece6; --ink-2: #bdb8ae; --muted: #85807a;
  --line: rgba(239, 236, 230, 0.12); --accent: #c9a77f; --btn-bg: #efece6; --btn-ink: #12110f;
  --particle-a: 239, 230, 216; --particle-b: 201, 167, 127; --particle-c: 120, 100, 80; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background 0.4s, color 0.4s;
}
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
h2 { font-size: clamp(40px, 6.6vw, 96px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); border-color: var(--line); }
.logo { font-weight: 600; letter-spacing: -0.03em; font-size: 17px; }
.logo sup { font-size: 9px; font-weight: 500; }
.links { display: flex; gap: 34px; font-size: 13px; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pill { font-size: 13px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, white 0%); }
.pill:hover { background: var(--ink); color: var(--bg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px; background: var(--btn-bg); color: var(--btn-ink); padding: 14px 26px;
  border-radius: 999px; font-size: 15px; font-weight: 500; transition: transform 0.25s, gap 0.25s;
}
.btn:hover { transform: translateY(-1px); gap: 20px; }
.btn.wide { width: 100%; justify-content: center; }
.link { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: gap 0.25s; }
.link:hover { gap: 16px; border-color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 100svh; padding: 0 var(--pad) 56px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.wordmark {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-size: clamp(110px, 21vw, 360px);
  font-weight: 600; letter-spacing: -0.07em; color: var(--ink); opacity: 0.05; white-space: nowrap; pointer-events: none; user-select: none;
}
.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .field { height: 56%; top: 7%; }
.hint { position: absolute; right: var(--pad); top: 58%; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-copy { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(54px, 8.6vw, 128px); }
.hero-side { max-width: 440px; justify-self: end; }
.hero-side p { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* statement */
.statement { padding: 160px var(--pad) 120px; }
.statement-side { margin: 70px 0 0 auto; width: min(560px, 100%); margin-left: 38%; }
.statement-side p { color: var(--ink-2); font-size: 17px; margin-bottom: 28px; }

/* features */
.features { padding: 60px var(--pad) 120px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 70px; flex-wrap: wrap; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px 32px; }
.feature.lg { grid-column: span 7; }
.feature.sm { grid-column: 9 / span 4; margin-top: 120px; }
.feature:nth-child(3) { grid-column: 2 / span 4; margin-top: 0; }
.feature:nth-child(4) { grid-column: 7 / span 6; margin-top: 60px; }
.tile {
  position: relative; aspect-ratio: 4 / 3; background: var(--tile); border-radius: 4px; overflow: hidden;
  display: grid; place-items: center; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.feature.sm .tile { aspect-ratio: 4 / 5; }
.feature:hover .tile { transform: scale(0.985); }
.feature-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 8px; }
.feature-meta span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.feature > p { color: var(--ink-2); font-size: 14px; max-width: 440px; }

/* feature illustrations */
.art { width: 78%; position: relative; }
.art-label { margin-top: 18px; font-size: 12px; color: var(--muted); text-align: center; }
.art-label b { color: var(--ink); font-weight: 600; }
.art-cores { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: 60%; }
.art-cores span {
  height: var(--h); min-height: 14px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent));
  animation: bar 2.6s ease-in-out var(--d) infinite alternate; transform-origin: bottom;
}
.art-cores span.e { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent), transparent); }
.art-cores .art-label { grid-column: 1 / -1; }
@keyframes bar { to { transform: scaleY(0.55); } }
.art-storage { text-align: center; }
.art-storage .big { font-size: clamp(48px, 6vw, 84px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.art-storage .big small { font-family: var(--serif); font-style: italic; font-size: 0.45em; margin-left: 6px; color: var(--accent); }
.stack { display: flex; height: 10px; gap: 3px; margin-top: 26px; }
.stack i { width: var(--w); border-radius: 2px; background: var(--accent); }
.stack i:nth-child(2) { opacity: 0.7; } .stack i:nth-child(3) { opacity: 0.45; } .stack i:nth-child(4) { opacity: 0.25; }
.art-apps { display: grid; gap: 10px; }
.art-apps .row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 13px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line);
}
.art-apps .row em { margin-left: auto; font-size: 15px; color: var(--muted); }
.art-apps .ic { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, hsl(var(--hue) 45% 62%), hsl(var(--hue) 40% 38%)); }
.art-apps .row:last-child { opacity: 0.45; text-decoration: line-through; }
.art-shield { display: grid; place-items: center; aspect-ratio: 1; width: 52%; }
.art-shield svg { width: 34%; fill: none; stroke: var(--ink); stroke-width: 1.2; position: relative; z-index: 1; }
.art-shield .tick { stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 20; stroke-dashoffset: 20; animation: tick 3s ease-in-out infinite; }
@keyframes tick { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -20; } }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); animation: pulse 4s ease-out infinite; }
.ring.r2 { animation-delay: 1.3s; } .ring.r3 { animation-delay: 2.6s; }
@keyframes pulse { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }

/* approach (sticky, scroll-driven) */
.approach { height: 380vh; position: relative; }
.approach-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 var(--pad); }
.approach-copy { max-width: 520px; position: relative; z-index: 1; }
.approach h2 { font-size: clamp(40px, 5.2vw, 76px); margin-bottom: 34px; }
.steps { list-style: none; padding: 0; margin: 0 0 34px; display: flex; gap: 22px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.steps li { cursor: pointer; transition: color 0.3s; }
.steps li span { font-size: 10px; margin-right: 6px; }
.steps li.on { color: var(--ink); }
.step-body { position: relative; min-height: 130px; }
.step-text { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s; }
.step-text.on { opacity: 1; transform: none; }
.step-text h3 { font-size: 26px; margin-bottom: 16px; }
.step-text p { color: var(--ink-2); font-size: 15px; max-width: 440px; }
.progress { margin-top: 30px; height: 2px; width: 70%; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.15s linear; }
.step-canvas { position: relative; inset: auto; height: 78svh; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 120px var(--pad) 70px; gap: 24px; }
.stats div { border-left: 1px solid var(--line); padding-left: 20px; }
.stats b { display: block; font-size: clamp(48px, 6vw, 88px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--muted); }

/* marquee */
.marquee { overflow: hidden; padding: 50px 0 120px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 80px; width: max-content; animation: scroll 38s linear infinite; }
.track span { font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.04em; color: var(--ink); opacity: 0.55; white-space: nowrap; }
.track span.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding: 120px var(--pad); align-items: center; border-top: 1px solid var(--line); }
.pricing-copy > p:last-child { color: var(--ink-2); font-size: 17px; max-width: 460px; margin-top: 30px; }
.price-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.badge { display: inline-block; font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.price { font-size: clamp(64px, 7vw, 104px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; margin: 26px 0; }
.price span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.32em; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.price-card li { display: flex; gap: 12px; }
.price-card li::before { content: '—'; color: var(--accent); }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding: 80px var(--pad) 140px; }
.faq h2 { font-size: clamp(40px, 5vw, 72px); }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 18px; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 22px; line-height: 1; transition: transform 0.3s; color: var(--muted); }
details[open] summary span { transform: rotate(45deg); }
details p { color: var(--ink-2); font-size: 15px; margin-top: 14px; max-width: 620px; }

/* footer */
.footer { padding: 90px var(--pad) 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-cta h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; max-width: 320px; margin-bottom: 24px; }
.col { display: grid; align-content: start; gap: 10px; font-size: 14px; }
.col a { color: var(--ink-2); } .col a:hover { color: var(--ink); }
.giant { font-size: clamp(90px, 21vw, 340px); font-weight: 600; letter-spacing: -0.075em; line-height: 0.85; margin: 80px 0 24px -0.04em; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 12px; flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 900px) {
  .links { display: none; }
  .hero-copy, .pricing, .faq, .approach-sticky { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; }
  .hero { min-height: auto; justify-content: flex-start; padding-top: 72px; padding-bottom: 64px; }
  .hero .field { position: relative; inset: auto; height: min(52svh, 440px); top: 0; }
  .wordmark { top: calc(72px + min(26svh, 220px)); }
  .hint { position: relative; right: auto; top: auto; text-align: center; margin: 4px 0 40px; }
  .statement-side { margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 56px; }
  .feature.lg, .feature.sm, .feature:nth-child(3), .feature:nth-child(4) { grid-column: auto; margin-top: 0; }
  .feature.sm .tile { aspect-ratio: 4 / 3; }
  .approach { height: 320vh; }
  .approach-sticky { align-content: center; gap: 0; }
  .step-canvas { height: 38svh; order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .statement { padding-top: 110px; }
  .stats b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
