:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f2eee5;
  --ink: #111827;
  --paper: #f2eee5;
  --cream: #fffdf7;
  --signal: #d8ff54;
  --blue: #2447ff;
  --line: rgba(17, 24, 39, 0.18);
  --muted: #687081;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(22px, 4vw, 68px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: white; text-decoration: none; font-size: 13px; font-weight: 800; line-height: .98; letter-spacing: -.02em; }
.wordmark-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; letter-spacing: -.12em; }
.wordmark-mark span { color: var(--signal); }
.site-header nav { display: flex; gap: 30px; font-size: 13px; }
.site-header nav a, .header-action { text-decoration: none; }
.site-header nav a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.site-header nav a:hover { color: white; }
.header-action { justify-self: end; font-size: 13px; font-weight: 750; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 5px; }
.header-action span, .button span { display: inline-block; transition: transform .2s ease; }
.header-action:hover span, .button:hover span { transform: translate(3px, -3px); }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(440px, .97fr);
  align-items: stretch;
  overflow: hidden;
  color: white;
  background: var(--ink);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; max-width: 840px; padding: 136px clamp(28px, 6vw, 104px) 76px; }
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6.3vw, 108px); font-weight: 400; line-height: .89; letter-spacing: -.058em; }
.hero h1 em { color: var(--signal); font-weight: 400; }
.hero-summary { max-width: 620px; margin: 34px 0 0; color: rgba(255,255,255,.7); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 22px; border: 1px solid currentColor; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.button-dark { color: white; background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.text-link { display: inline-flex; gap: 10px; align-items: center; width: max-content; text-underline-offset: 5px; font-size: 13px; font-weight: 760; }
.text-link[aria-disabled="true"], .button[aria-disabled="true"] { opacity: .48; text-decoration: none; cursor: not-allowed; }
.browser-status { margin-top: 28px; max-width: 570px; padding-left: 15px; color: rgba(255,255,255,.58); border-left: 2px solid rgba(255,255,255,.25); font-size: 12px; line-height: 1.5; }
.browser-status.is-supported { color: var(--signal); border-left-color: var(--signal); }

.hero-step { opacity: 0; transform: translateY(18px); animation: hero-in .7s cubic-bezier(.2,.75,.25,1) forwards; }
.hero-step:nth-child(1) { animation-delay: .08s; }
.hero-step:nth-child(2) { animation-delay: .15s; }
.hero-step:nth-child(3) { animation-delay: .23s; }
.hero-step:nth-child(4) { animation-delay: .31s; }
.hero-step:nth-child(5) { animation-delay: .38s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

.hero-visual { position: relative; min-height: 720px; background: #3555ff; isolation: isolate; overflow: hidden; }
.visual-orbit { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; inset: 12% auto auto 6%; box-shadow: 0 0 0 72px rgba(255,255,255,.055), 0 0 0 144px rgba(255,255,255,.04); }
.product { position: absolute; margin: 0; filter: drop-shadow(0 28px 35px rgba(9,17,57,.28)); }
.product img { width: 100%; height: 100%; object-fit: contain; }
.product figcaption { position: absolute; padding: 8px 10px; color: white; background: rgba(17,24,39,.88); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.product-sock { z-index: 3; width: min(64%, 520px); height: 62%; left: -5%; top: 8%; animation: drift-a 7s ease-in-out infinite alternate; }
.product-sock figcaption { left: 18%; bottom: 4%; }
.product-tote { z-index: 2; width: min(66%, 540px); height: 57%; right: -10%; bottom: -3%; animation: drift-b 8s ease-in-out infinite alternate; }
.product-tote figcaption { right: 22%; top: 2%; }
@keyframes drift-a { to { transform: translate3d(8px, -10px, 0) rotate(-1deg); } }
@keyframes drift-b { to { transform: translate3d(-10px, 8px, 0) rotate(1deg); } }
.proposal-stamp, .decision-stamp { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.65); backdrop-filter: blur(8px); color: white; background: rgba(17,24,39,.23); transform: rotate(-3deg); }
.proposal-stamp { top: 25%; right: 6%; }
.decision-stamp { left: 9%; bottom: 9%; color: var(--ink); background: var(--signal); border-color: var(--signal); transform: rotate(2deg); }
.proposal-stamp span, .decision-stamp span { font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.proposal-stamp strong, .decision-stamp strong { font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.proposal-stamp small, .decision-stamp small { font-size: 10px; opacity: .7; }

.proof-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--cream); }
.proof-rail p { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 26px clamp(18px, 3vw, 42px); border-right: 1px solid var(--line); }
.proof-rail p:last-child { border-right: 0; }
.proof-rail strong { font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.proof-rail span { color: var(--muted); font-size: 11px; line-height: 1.3; }

.section { padding: clamp(88px, 10vw, 160px) clamp(24px, 6vw, 104px); }
.section-heading { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(360px, 1fr) minmax(260px, .5fr); gap: clamp(28px, 5vw, 86px); align-items: start; }
.section-heading h2, .boundary h2, .release h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 5.5vw, 86px); font-weight: 400; line-height: .96; letter-spacing: -.045em; }
.section-heading > p:last-child, .boundary-copy > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.workflow { background: var(--cream); }
.workflow-line { display: grid; grid-template-columns: repeat(5, 1fr); margin: 90px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.workflow-line li { position: relative; display: flex; min-height: 220px; flex-direction: column; padding: 20px 20px 24px 0; border-right: 1px solid var(--line); }
.workflow-line li:not(:first-child) { padding-left: 20px; }
.workflow-line li:last-child { border-right: 0; }
.workflow-line span { color: var(--muted); font-size: 10px; font-weight: 850; }
.workflow-line strong { margin-top: auto; font-family: Georgia, serif; font-size: clamp(25px, 2.2vw, 38px); font-weight: 400; }
.workflow-line small { margin-top: 10px; max-width: 170px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.workflow-line .human-step { margin-top: -1px; padding-left: 22px; color: var(--ink); background: var(--signal); border-top: 1px solid var(--ink); }
.workflow-line .human-step span, .workflow-line .human-step small { color: var(--ink); }

.demos { padding-left: 0; padding-right: 0; padding-bottom: 0; background: var(--paper); }
.demos > .section-heading { padding: 0 clamp(24px, 6vw, 104px) clamp(76px, 8vw, 122px); }
.section-heading.compact { grid-template-columns: .35fr 1.5fr; }
.demo-row { display: grid; grid-template-columns: 160px minmax(360px, .9fr) minmax(380px, 1.1fr); min-height: 720px; border-top: 1px solid var(--ink); }
.demo-index { padding: 26px; border-right: 1px solid var(--line); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.demo-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(48px, 6vw, 96px); }
.demo-kicker { margin: 0 0 24px; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.demo-copy h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(43px, 4.5vw, 74px); font-weight: 400; line-height: .94; letter-spacing: -.04em; }
.demo-copy blockquote { max-width: 650px; margin: 34px 0; padding: 0 0 0 20px; color: var(--muted); border-left: 2px solid currentColor; font-size: 13px; line-height: 1.65; }
.demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.demo-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: #d5dae7; }
.demo-visual img { width: min(74%, 620px); max-height: 620px; object-fit: contain; transition: transform .55s cubic-bezier(.2,.75,.25,1); filter: drop-shadow(0 28px 38px rgba(20,26,47,.18)); }
.demo-row:hover .demo-visual img { transform: scale(1.025) rotate(-1deg); }
.demo-result { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; max-width: 220px; padding: 18px; background: var(--cream); border: 1px solid var(--ink); }
.demo-result span { font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.demo-result strong { margin-top: 8px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.demo-result small { margin-top: 4px; color: var(--muted); }
.demo-tote { color: var(--cream); background: #1e2424; }
.demo-tote .demo-index { border-color: rgba(255,255,255,.2); }
.demo-tote blockquote { color: rgba(255,255,255,.65); }
.demo-tote .demo-visual { background: #bf6b50; }
.demo-tote .demo-result { color: var(--ink); }

.boundary { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 180px); color: white; background: var(--blue); }
.boundary .eyebrow { color: var(--signal); }
.boundary-copy > p:last-child { color: rgba(255,255,255,.7); max-width: 620px; }
.boundary-list { border-top: 1px solid rgba(255,255,255,.6); }
.boundary-list p { display: grid; grid-template-columns: 160px 1fr; gap: 24px; margin: 0; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.boundary-list span { font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.boundary-list strong { font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.25; }

.release { background: var(--signal); }
.release > div:first-child { display: grid; grid-template-columns: .32fr 1fr; gap: clamp(30px, 5vw, 80px); }
.release-actions { display: flex; align-items: center; gap: 26px; margin: 58px 0 80px calc(32% + 26px); }
.build-data { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); }
.build-data div { padding: 20px 20px 0 0; border-right: 1px solid rgba(17,24,39,.24); }
.build-data div:not(:first-child) { padding-left: 20px; }
.build-data dt { font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.build-data dd { margin: 10px 0 0; font-family: Georgia, serif; font-size: 18px; }
.build-data code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

footer { display: flex; justify-content: space-between; gap: 40px; padding: 28px clamp(24px, 6vw, 104px); color: rgba(255,255,255,.64); background: var(--ink); font-size: 10px; line-height: 1.5; }
footer p { margin: 0; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 720px; }
  .hero-visual { min-height: 620px; }
  .section-heading { grid-template-columns: .35fr 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .workflow-line { grid-template-columns: repeat(3, 1fr); }
  .workflow-line li:nth-child(3) { border-right: 0; }
  .workflow-line li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .demo-row { grid-template-columns: 80px 1fr; }
  .demo-visual { grid-column: 1 / -1; min-height: 560px; }
  .boundary { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header { height: 76px; padding: 0 18px; }
  .header-action { font-size: 0; }
  .header-action span { font-size: 18px; }
  .hero-copy { min-height: 680px; padding: 112px 22px 58px; }
  .hero h1 { font-size: clamp(48px, 14.5vw, 72px); }
  .hero-summary { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 520px; }
  .product-sock { width: 72%; height: 58%; left: -12%; }
  .product-tote { width: 75%; height: 53%; right: -17%; }
  .proposal-stamp { top: 10%; right: 5%; }
  .decision-stamp { left: 5%; bottom: 7%; }
  .proof-rail { grid-template-columns: 1fr 1fr; }
  .proof-rail p:nth-child(2) { border-right: 0; }
  .proof-rail p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 86px 22px; }
  .section-heading, .section-heading.compact, .release > div:first-child { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p:last-child { grid-column: auto; }
  .section-heading h2, .boundary h2, .release h2 { font-size: 48px; }
  .workflow-line { grid-template-columns: 1fr; margin-top: 54px; }
  .workflow-line li { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-line li:not(:first-child) { padding-left: 0; }
  .workflow-line li:nth-child(n+4) { border-top: 0; }
  .workflow-line .human-step { padding-left: 18px; }
  .demos > .section-heading { padding: 0 22px 72px; }
  .demo-row { grid-template-columns: 1fr; min-height: auto; }
  .demo-index { writing-mode: horizontal-tb; transform: none; padding: 20px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-copy { padding: 64px 22px; }
  .demo-copy h3 { font-size: 48px; }
  .demo-visual { grid-column: auto; min-height: 460px; }
  .demo-visual img { width: 88%; }
  .demo-result { right: 12px; bottom: 12px; }
  .boundary-list p { grid-template-columns: 1fr; gap: 10px; }
  .release-actions { align-items: flex-start; flex-direction: column; margin: 42px 0 62px; }
  .build-data { grid-template-columns: 1fr; }
  .build-data div, .build-data div:not(:first-child) { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(17,24,39,.24); }
  footer { flex-direction: column; }
}

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