:root {
  --ink: #10110f;
  --paper: #f2f1ea;
  --muted: #a6a69d;
  --line: rgba(16, 17, 15, .18);
  --accent: #ff5c35;
  --radius: 2px;
  --display-weight: 650;
  --surface-gap: 1px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: "Geist", Arial, sans-serif; letter-spacing: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.page-shell { width: 100%; max-width: 100%; overflow-x: hidden; background: var(--paper); }

.nav { height: 76px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 16px; height: 16px; background: var(--accent); display: block; clip-path: polygon(0 0, 100% 0, 100% 38%, 38% 38%, 38% 100%, 0 100%); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-export { justify-self: end; border: 0; background: var(--ink); color: #fff; height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 9px; cursor: pointer; border-radius: var(--radius); }
.nav-export svg, .primary-action svg { width: 16px; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(60px, 8vw, 128px) 4vw 60px; position: relative; z-index: 3; }
.eyebrow, .section-heading > p, .principle-intro > p { text-transform: uppercase; font-size: 11px; font-weight: 700; margin: 0 0 34px; }
.hero h1 { margin: 0; max-width: 1120px; font-size: clamp(4rem, 7vw, 7.8rem); line-height: .86; font-weight: var(--display-weight); letter-spacing: 0; }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 530px; margin: 42px 0 32px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; }
.mode-switch { display: inline-grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); margin-bottom: 18px; }
.mode { min-width: 92px; height: 46px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 650; }
.mode:last-child { border-right: 0; }
.mode.active { background: var(--ink); color: #fff; }
.hero-actions { display: flex; align-items: stretch; gap: 8px; }
.color-control { height: 48px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); padding: 0 14px; background: rgba(255,255,255,.4); font-size: 12px; font-weight: 650; }
.color-control input { width: 24px; height: 24px; padding: 0; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.color-control output { font-variant-numeric: tabular-nums; color: #616159; }
.icon-button { width: 48px; height: 48px; border: 1px solid var(--line); background: rgba(255,255,255,.4); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-button svg { width: 17px; }
.status { min-height: 18px; margin: 14px 0 0; color: #595951; font-size: 12px; }

.hero-stage { position: relative; overflow: hidden; min-height: 680px; background: #cbcbc1; display: grid; place-items: center; padding: 8%; }
.stage-photo { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,17,15,.22), rgba(16,17,15,.72)), url("https://picsum.photos/seed/interstate-product-studio/1600/1400") center / cover; filter: grayscale(1) contrast(1.2); }
.stage-window { width: min(720px, 90%); aspect-ratio: 1.32; background: var(--paper); position: relative; z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,.32); border-radius: var(--radius); overflow: hidden; transform: translate(3%, 2%); }
.window-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #c0c0b6; }
.window-bar b { margin-left: auto; font-size: 9px; font-weight: 600; color: #77776e; }
.window-body { height: calc(100% - 42px); display: grid; grid-template-columns: 74px 1fr; }
.window-side { background: var(--ink); color: #fff; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.window-side strong { font-size: 18px; color: var(--accent); margin-bottom: 18px; }
.window-side i { width: 19px; height: 2px; background: #74746e; }
.window-main { padding: 9%; }
.window-main > p { margin: 0 0 10px; color: #686860; font-size: 11px; }
.window-main > strong { font-size: clamp(36px, 4vw, 58px); line-height: 1; font-weight: 600; }
.hero-chart { height: 38%; display: flex; align-items: end; gap: 5%; border-bottom: 1px solid var(--line); margin-top: 9%; }
.hero-chart i { flex: 1; background: var(--accent); opacity: .75; }
.hero-chart i:nth-child(1) { height: 32%; }.hero-chart i:nth-child(2) { height: 45%; }.hero-chart i:nth-child(3) { height: 38%; }.hero-chart i:nth-child(4) { height: 65%; }.hero-chart i:nth-child(5) { height: 52%; }.hero-chart i:nth-child(6) { height: 82%; }.hero-chart i:nth-child(7) { height: 94%; }
.window-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 7%; gap: 8px; }
.window-grid span { display: flex; flex-direction: column; font-size: 9px; color: #77776e; }
.window-grid b { color: var(--ink); font-size: 13px; margin-top: 5px; }
.floating-note { position: absolute; z-index: 4; right: 4%; bottom: 8%; background: var(--accent); color: var(--ink); padding: 18px 22px; min-width: 210px; box-shadow: 0 16px 32px rgba(0,0,0,.2); }
.floating-note span { display: block; font-size: 9px; text-transform: uppercase; margin-bottom: 6px; }
.floating-note strong { font-size: 11px; }

.surfaces { padding: 150px 4vw 180px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 70px; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 5.5rem); line-height: .98; margin: 0; max-width: 980px; font-weight: 580; }
.surface-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--surface-gap); background: var(--ink); border: 1px solid var(--ink); }
.surface { background: var(--paper); overflow: hidden; min-height: 520px; border-radius: 0; }
.surface > header { height: 52px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 10px; text-transform: uppercase; }
.surface > header b { color: #73736a; font-weight: 500; }
.web-surface { grid-column: span 7; }
.mobile-surface { grid-column: span 5; }
.token-surface { grid-column: span 4; min-height: 420px; }
.x-surface { grid-column: span 8; min-height: 420px; }
.web-shell { height: calc(100% - 52px); display: grid; grid-template-columns: 150px 1fr; padding: 28px; background: #d9d8d0; }
.web-shell aside { background: var(--ink); color: #77776f; padding: 24px 18px; display: flex; flex-direction: column; gap: 24px; font-size: 9px; }
.web-shell aside strong { color: #fff; margin-bottom: 30px; }
.web-shell aside span:first-of-type { color: var(--accent); }
.web-content { background: #f7f6ef; padding: 26px; }
.web-top { display: flex; justify-content: space-between; align-items: center; }
.web-top p { margin: 0; font-size: 12px; font-weight: 600; }
.web-top button { background: var(--accent); border: 0; height: 32px; padding: 0 14px; font-size: 9px; font-weight: 700; color: var(--ink); border-radius: var(--radius); }
.balance { margin-top: 44px; display: flex; flex-direction: column; }
.balance span { font-size: 9px; color: #77776e; }.balance strong { font-size: clamp(26px, 3vw, 44px); margin: 8px 0; }.balance small { font-size: 9px; color: #238757; }
.bars { height: 120px; display: flex; align-items: end; gap: 3px; margin-top: 24px; border-bottom: 1px solid #bcbcb5; }
.bars i { flex: 1; background: var(--accent); opacity: .7; height: 45%; }.bars i:nth-child(2n) { height: 60%; }.bars i:nth-child(3n) { height: 75%; }.bars i:nth-child(5n) { height: 90%; }
.token-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.token-row span { border-top: 1px solid var(--line); padding-top: 10px; font-size: 9px; display: flex; justify-content: space-between; }
.phone { width: 258px; height: 498px; margin: 34px auto 0; background: var(--ink); color: #fff; border-radius: 34px 34px 0 0; border: 7px solid #252622; border-bottom: 0; padding: 16px 18px; box-shadow: 0 22px 50px rgba(0,0,0,.2); }
.phone-top { font-size: 8px; display: flex; justify-content: space-between; }.phone-top b { width: 52px; height: 13px; background: #050505; border-radius: 10px; }
.phone-brand { margin: 28px 0 52px; font-size: 11px; font-weight: 650; display: flex; justify-content: space-between; }.phone-brand i { width: 8px; height: 8px; background: var(--accent); }
.phone > p { color: #8d8e86; font-size: 9px; margin: 0 0 8px; }.phone > strong { font-size: 29px; display: block; }.phone > small { color: var(--accent); font-size: 9px; }
.phone-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 28px 0; }.phone-actions span { height: 45px; display: grid; place-items: center; background: #272824; font-size: 8px; border-radius: var(--radius); }
.phone-asset { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid #32332f; padding: 14px 0; font-size: 9px; }.phone-asset > i { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); }.phone-asset span { display: flex; flex-direction: column; gap: 4px; }.phone-asset small { color: #77786f; }.phone-asset b { font-size: 9px; }
.token-stack { padding: 20px; }.token-stack > div { min-height: 72px; display: grid; grid-template-columns: 1fr 38px 90px; align-items: center; border-bottom: 1px solid var(--line); font-size: 11px; }.token-stack b { text-align: right; font-size: 10px; }.swatch { width: 26px; height: 26px; border: 1px solid var(--line); }.swatch-accent { background: var(--accent); }.swatch-ink { background: var(--ink); }.swatch-canvas { background: var(--paper); }.radius-demo { width: 28px; height: 28px; background: var(--ink); border-radius: var(--radius); }
.x-card { padding: 24px; max-width: 680px; margin: 0 auto; }.x-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }.x-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 700; }.x-head p { margin: 0; display: flex; flex-direction: column; font-size: 11px; }.x-head small { color: #77776e; margin-top: 3px; }.x-copy { margin: 16px 0; font-size: 13px; }.x-media { min-height: 230px; position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 24px; }.x-media span { color: var(--accent); font-size: 8px; font-weight: 700; }.x-media strong { display: block; font-size: clamp(32px, 4vw, 52px); line-height: .87; margin-top: 22px; font-weight: 560; position: relative; z-index: 2; }.x-media em { color: var(--accent); font-style: normal; }.x-media i { position: absolute; width: 220px; height: 220px; border: 40px solid var(--accent); right: -44px; bottom: -80px; transform: rotate(24deg); opacity: .8; }.x-meta { display: flex; gap: 30px; color: #77776e; font-size: 9px; padding-top: 12px; }

.principles { background: var(--ink); color: #fff; padding: 190px 4vw; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(460px, 1.2fr); gap: 9vw; }
.principle-intro { position: relative; align-self: start; }
.principle-intro h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1.02; max-width: 680px; font-weight: 520; }
.principle-stack { position: relative; }
.principle-stack article { min-height: 360px; background: var(--paper); color: var(--ink); border-top: 6px solid var(--accent); padding: 44px; margin-bottom: 42px; box-shadow: 0 -20px 50px rgba(0,0,0,.24); border-radius: var(--radius); }
.principle-stack span { text-transform: uppercase; font-size: 10px; font-weight: 700; }
.principle-stack h3 { font-size: clamp(30px, 4vw, 56px); line-height: 1; max-width: 590px; margin: 70px 0 24px; font-weight: 570; }
.principle-stack p { font-size: 16px; line-height: 1.5; max-width: 520px; color: #54544e; }

.action-band { padding: 170px 4vw 150px; background: var(--accent); text-align: center; }
.action-band > p { margin: 0 0 34px; font-size: 12px; text-transform: uppercase; font-weight: 700; }
.action-band h2 { margin: 0 auto 52px; font-size: clamp(4rem, 8.5vw, 10rem); line-height: .84; max-width: 1300px; font-weight: 650; }
.primary-action { min-height: 58px; border: 0; background: var(--ink); color: #fff; padding: 0 24px; display: inline-flex; align-items: center; gap: 12px; font-weight: 650; cursor: pointer; border-radius: var(--radius); }
footer { min-height: 110px; background: var(--ink); color: #fff; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 11px; } footer span { color: #77786f; } footer a { justify-self: end; color: #fff; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }.nav-links { display: none; }.nav-export span { display: none; }.nav-export { width: 40px; padding: 0; justify-content: center; }
  .hero { grid-template-columns: 1fr; }.hero-copy { padding-top: 76px; }.hero h1 { font-size: clamp(3.7rem, 15vw, 6.2rem); }.hero-stage { min-height: 560px; }
  .section-heading { display: block; }.section-heading > p { margin-bottom: 28px; }
  .web-surface, .mobile-surface, .token-surface, .x-surface { grid-column: span 12; }.surface { min-height: 460px; }
  .principles { grid-template-columns: 1fr; padding-top: 130px; }.principle-intro { margin-bottom: 80px; }.principle-stack article { min-height: 330px; }
}

@media (max-width: 560px) {
  .nav { height: 64px; padding: 0 18px; }.hero { min-height: auto; }.hero-copy { padding: 58px 18px 46px; }.hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }.hero-lede { margin-top: 30px; }.mode-switch { width: 100%; }.mode { min-width: 0; }.hero-actions { width: 100%; }.color-control { flex: 1; }
  .hero-stage { min-height: 430px; padding: 4%; }.stage-window { width: 94%; transform: none; }.window-body { grid-template-columns: 48px 1fr; }.window-main { padding: 7%; }.window-grid { display: none; }.floating-note { right: 18px; bottom: 18px; }
  .surfaces { padding: 100px 18px 120px; }.section-heading h2 { font-size: 2.8rem; }.web-shell { padding: 12px; grid-template-columns: 76px 1fr; }.web-shell aside { padding: 18px 10px; }.web-content { padding: 18px 12px; }.token-row { grid-template-columns: 1fr; }.x-card { padding: 16px; }
  .principles { padding: 110px 18px; }.principle-intro h2 { font-size: 2.8rem; }.principle-stack article { padding: 28px; min-height: 300px; }.principle-stack h3 { margin-top: 54px; }
  .action-band { padding: 110px 18px; }.action-band h2 { font-size: 4rem; } .primary-action { width: 100%; justify-content: center; }
  footer { padding: 30px 18px; grid-template-columns: 1fr auto; gap: 16px; } footer span { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
