:root {
  --bg: #161c1a;
  --surface: #1f2725;
  --surface-alt: #27322e;
  --paper: #e3e2da;
  --ink: #e3e2da;
  --paper-ink: #161c1a;
  --muted: #a6aca5;
  --accent: #9fc7b8;
  --accent-ink: #161c1a;

  --step-small: 15px;
  --step-body: 18px;
  --step-lead: 24px;
  --step-head: clamp(2rem, 1.6rem + 1.8vw, 3rem);

  --radius: 8px;
  --gap: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Albert Sans", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: var(--gap);
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-ink);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: var(--gap);
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.tile {
  background-color: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

/* Entrance animations */
@keyframes tileIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shutterClip {
  from {
    clip-path: inset(0 100% 0 0 round var(--radius));
  }
  to {
    clip-path: inset(0 0 0 0 round var(--radius));
  }
}

@keyframes shutterScale {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.reveal-tile {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 520ms var(--ease-out), opacity 420ms var(--ease-out);
}

.reveal-tile.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.shutter-reveal {
  animation: shutterClip 1.1s var(--ease-out) both;
}

.shutter-reveal .hero-video {
  animation: shutterScale 1.15s var(--ease-out) both;
}

/* Top bar */
.topbar {
  min-height: 60px;
}

.topbar-mark {
  grid-column: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background-color: var(--surface-alt);
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), transform 140ms var(--ease-out);
}

.topbar-nav {
  grid-column: span 9;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  min-height: 60px;
}

.topbar-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
  padding: 10px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms var(--ease-out);
}

.topbar-cta {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: var(--step-small);
  text-decoration: none;
  padding: 0 18px;
  transition: opacity 160ms var(--ease-out), transform 140ms var(--ease-out);
}

/* Hero: Calm two-tile opening above the fold */
.hero-board {
  align-items: stretch;
}

.hero-name-tile {
  grid-column: 1 / 6;
  background-color: var(--paper);
  color: var(--paper-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
}

.hero-brand-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-sub {
  margin: 0;
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.35;
  max-width: 34ch;
}

.hero-wordmark {
  margin: 0;
  font-size: clamp(3.6rem, 8.2vw, 7.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.zero-sign {
  background-color: var(--bg);
  color: var(--ink);
  padding: 20px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zero-sign-title {
  margin: 0;
  color: var(--accent);
  font-size: var(--step-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.zero-sign-sub {
  margin: 0;
  font-size: var(--step-small);
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-media-tile {
  grid-column: 6 / 13;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #0e1311;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.video-hud {
  padding: 10px 14px;
  background-color: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.style-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background-color: rgba(22, 28, 26, 0.88);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out);
}

.pill-btn.is-active {
  background-color: var(--accent);
  color: var(--accent-ink);
}

/* Interactive 3-step guide */
.guide-board {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.guide-step-tile {
  grid-column: span 4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.guide-step-head h3 {
  margin: 0 0 6px 0;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.guide-hint {
  margin: 0;
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--muted);
}

.guide-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-choice {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--surface-alt);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 140ms var(--ease-out);
}

.guide-choice-title {
  font-size: var(--step-small);
  font-weight: 700;
  line-height: 1.2;
}

.guide-choice-meta {
  font-size: var(--step-small);
  line-height: 1.3;
  opacity: 0.78;
}

.guide-choice.is-selected {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.guide-choice.is-selected .guide-choice-meta {
  opacity: 0.92;
}

.guide-finish-tile {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.guide-finish-tile .guide-hint {
  color: var(--accent-ink);
  opacity: 0.86;
}

.guide-summary-box {
  background-color: var(--paper);
  color: var(--paper-ink);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.guide-summary-box p {
  margin: 0;
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.4;
}

/* Section heads */
.section-title-tile {
  grid-column: 1 / 6;
  padding: 24px;
  display: flex;
  align-items: flex-end;
}

.section-title-tile h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-summary-tile {
  grid-column: 6 / 13;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  background-color: var(--surface-alt);
}

.section-summary-tile p {
  margin: 0;
  color: var(--ink);
  max-width: 62ch;
}

/* Interactive AI video director studio */
.ai-studio-board {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.ai-composer-tile {
  grid-column: 1 / 6;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ai-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-refine-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-theme-badge {
  padding: 8px 12px;
  border-radius: var(--radius);
  background-color: var(--surface-alt);
  color: var(--accent);
  font-size: var(--step-small);
  font-weight: 600;
}

.caption-lines-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-starters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ai-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.field-caption {
  font-size: var(--step-small);
  font-weight: 600;
}

.ai-form .field input,
.ai-form .field select,
.ai-form .field textarea {
  background-color: var(--bg);
  color: var(--ink);
}

.optional-drawer {
  background-color: var(--surface-alt);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.optional-drawer summary {
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.optional-drawer summary::-webkit-details-marker {
  display: none;
}

.optional-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.ai-submit-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
}

.ai-stage-tile {
  grid-column: 6 / 13;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #0e1311;
}

.ai-canvas-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0e1311;
  overflow: hidden;
}

.ai-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ai-stage-hud {
  padding: 12px 14px;
  background-color: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-time-readout {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--muted);
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
}

/* Three style video cards */
.demos-board {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.demo-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
}

.demo-stage {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #0e1311;
  overflow: hidden;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--ease-out);
}

.demo-meta {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.demo-copy h3 {
  margin: 0 0 8px 0;
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-copy p {
  margin: 0;
  color: var(--muted);
  font-size: var(--step-small);
  line-height: 1.5;
}

.demo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-tile {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--surface-alt);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 140ms var(--ease-out), opacity 180ms var(--ease-out);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.btn-dark {
  background-color: var(--bg);
  color: var(--ink);
}

.btn-large {
  min-height: 50px;
  padding: 0 26px;
  font-size: var(--step-body);
}

.btn-tile[disabled],
.btn-tile[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Process horizontal accordion */
.process-strip {
  display: flex;
  gap: 0;
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
}

.process-panel {
  position: relative;
  flex: 1 1 12%;
  min-width: 76px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  transition: flex-basis 450ms var(--ease-out), flex-grow 450ms var(--ease-out);
}

.panel-tone-1 { background-color: #1b2421; }
.panel-tone-2 { background-color: #222d29; }
.panel-tone-3 { background-color: #2a3833; }
.panel-tone-4 { background-color: #33443e; }

.process-panel.is-open {
  flex: 5 1 56%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.panel-sliver-title {
  position: static;
  margin-top: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  z-index: 2;
  transition: opacity 220ms var(--ease-out);
}

.process-panel.is-open .panel-sliver-title {
  opacity: 0;
  pointer-events: none;
}

.panel-open-body {
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.process-panel.is-open .panel-open-body {
  display: flex;
}

.panel-open-body h3 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-open-body p {
  margin: 0;
  max-width: 36ch;
  color: var(--ink);
  font-size: var(--step-body);
}

.panel-photo {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.process-panel.is-open .panel-photo {
  display: block;
}

/* Pricing large table */
.pricing-wrap {
  padding: 24px;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 14px;
  font-size: var(--step-small);
  vertical-align: top;
}

.pricing-corner {
  width: 24%;
}

.pricing-corner h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.plan-col {
  width: 19%;
}

.plan-name {
  display: block;
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.1;
}

.plan-price {
  display: block;
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1.15;
  margin-top: 6px;
}

.plan-period {
  display: block;
  font-size: var(--step-small);
  font-weight: 400;
  opacity: 0.82;
  margin-top: 4px;
}

.pricing-table tbody tr:nth-child(even) th,
.pricing-table tbody tr:nth-child(even) td:not(.plan-recommended) {
  background-color: var(--surface-alt);
}

.pricing-table tbody th {
  font-weight: 500;
  color: var(--muted);
}

.pricing-table td.plan-recommended,
.pricing-table th.plan-recommended {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.pricing-table thead th.plan-recommended {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.pricing-table tfoot td.plan-recommended {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Order section */
.flank-tile {
  grid-column: 1 / 3;
  min-height: 460px;
}

.flank-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-center-tile {
  grid-column: 3 / 11;
  background-color: var(--accent);
  color: var(--accent-ink);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flank-color {
  grid-column: 11 / 13;
  background-color: var(--surface-alt);
  min-height: 460px;
}

.order-head h2 {
  margin: 0 0 8px 0;
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.order-head p {
  margin: 0;
  max-width: 56ch;
  opacity: 0.88;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: var(--step-small);
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.tx-verify-row input,
.referral-row input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--paper-ink);
  font-size: var(--step-small);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.payment-mode-bar,
.chain-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-btn,
.chain-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background-color: rgba(22, 28, 26, 0.14);
  color: var(--accent-ink);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out);
}

.mode-btn.is-active,
.chain-btn.is-active {
  background-color: var(--bg);
  color: var(--ink);
}

.usdc-drawer {
  background-color: rgba(22, 28, 26, 0.08);
  padding: 18px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.wallet-qr {
  width: 124px;
  height: 124px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.wallet-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.wallet-title {
  margin: 0;
  font-weight: 600;
}

.wallet-address {
  margin: 0;
  font-size: var(--step-small);
  font-weight: 600;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.tx-verify-row,
.referral-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.order-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.status-text {
  margin: 0;
  font-size: var(--step-small);
  font-weight: 600;
}

.confirm-box {
  background-color: var(--paper);
  color: var(--paper-ink);
  padding: 18px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirm-box p {
  margin: 0;
  font-size: var(--step-small);
  font-weight: 500;
}

.confirm-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.delivery-tracker {
  background-color: var(--paper);
  color: var(--paper-ink);
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.delivery-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background-color: #0e1311;
}

/* FAQ accordion of filled tiles */
.faq-left {
  grid-column: 1 / 5;
}

.sticky-head {
  position: sticky;
  top: 24px;
  padding: 28px;
}

.sticky-head h2 {
  margin: 0 0 10px 0;
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.sticky-head p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  grid-column: 5 / 13;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.faq-item {
  background-color: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}

.faq-item[open] {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.faq-item summary {
  list-style: none;
  min-height: 72px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--step-body);
  font-weight: 600;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.plus-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.plus-icon span {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 3px;
  background-color: currentColor;
  transition: transform 220ms var(--ease-out);
}

.plus-icon span:last-child {
  transform: rotate(90deg);
}

.faq-item[open] .plus-icon span:last-child {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  max-width: 52ch;
  font-size: var(--step-body);
}

/* Footer */
.footer-board {
  margin-top: 56px;
}

.footer-hero-mark {
  grid-column: 1 / 13;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.block-wordmark {
  width: 100%;
  height: auto;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-col-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  flex: 1 1 560px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.link-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  text-align: left;
  color: var(--ink);
  font-size: var(--step-small);
  text-decoration: none;
  cursor: pointer;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color 160ms var(--ease-out);
}

.footer-contact p {
  margin: 0 0 8px 0;
  font-size: var(--step-small);
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--step-small);
  color: var(--muted);
}

/* Tactile hover & press states */
@media (hover: hover) and (pointer: fine) {
  .topbar-mark:hover,
  .topbar-cta:hover,
  .btn-tile:hover,
  .pill-btn:hover,
  .mode-btn:hover,
  .chain-btn:hover {
    opacity: 0.9;
  }

  .topbar-nav a:hover,
  .footer-col a:hover,
  .link-btn:hover {
    color: var(--accent);
  }

  .demo-card:hover .demo-video {
    transform: scale(1.04);
  }

  .guide-choice:hover:not(.is-selected) {
    opacity: 0.92;
  }
}

.topbar-mark:active,
.topbar-cta:active,
.btn-tile:active,
.pill-btn:active,
.mode-btn:active,
.chain-btn:active,
.guide-choice:active {
  transform: scale(0.97);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .topbar-mark { grid-column: span 2; }
  .topbar-nav { grid-column: span 7; gap: 16px; }
  .topbar-cta { grid-column: span 3; }

  .hero-board { min-height: auto; }
  .hero-name-tile { grid-column: 1 / 13; min-height: 0; }
  .hero-media-tile { grid-column: 1 / 13; min-height: 0; }
  .hero-video { aspect-ratio: 16 / 9; flex: none; height: auto; }

  .guide-step-tile { grid-column: span 12; }
  .ai-composer-tile { grid-column: 1 / 13; }
  .ai-stage-tile { grid-column: 1 / 13; }
  .demo-card { grid-column: span 12; }

  .flank-tile,
  .flank-color { display: none; }
  .order-center-tile { grid-column: 1 / 13; }

  .faq-left { grid-column: 1 / 13; }
  .sticky-head { position: static; }
  .faq-list { grid-column: 1 / 13; }
}

/* Mobile board */
@media (max-width: 760px) {
  :root {
    --gap: 6px;
  }

  .reveal-tile {
    opacity: 1;
    transform: none;
  }

  .topbar-mark { grid-column: span 2; }
  .topbar-nav { grid-column: span 6; padding: 0 10px; gap: 6px 12px; flex-wrap: wrap; }
  .topbar-nav a { min-height: 36px; padding: 6px 2px; }
  .topbar-cta { grid-column: span 4; padding: 0 10px; text-align: center; }

  .hero-board {
    min-height: auto;
  }

  .hero-name-tile {
    grid-column: 1 / 13;
    min-height: 0;
    padding: 20px;
  }

  .hero-wordmark {
    font-size: clamp(3.2rem, 17vw, 4.8rem);
  }

  .hero-actions .btn-large {
    width: 100%;
  }

  .hero-media-tile,
  .guide-step-tile,
  .ai-composer-tile,
  .ai-stage-tile,
  .section-title-tile,
  .section-summary-tile {
    grid-column: 1 / 13;
  }

  .hero-media-tile { min-height: auto; }
  .hero-video { aspect-ratio: 16 / 9; flex: none; height: auto; }

  .pricing-wrap {
    padding: 16px;
    overflow-x: visible;
  }

  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table tfoot,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .pricing-table thead th.plan-col,
  .pricing-table tbody th,
  .pricing-table .tfoot-spacer {
    display: none;
  }

  .pricing-table .pricing-corner {
    width: 100%;
    padding: 4px 0 16px 0;
  }

  .pricing-table tbody tr {
    margin-bottom: 10px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .pricing-table tbody td {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: var(--surface-alt);
  }

  .pricing-table tbody td::before {
    content: attr(data-label);
    font-size: var(--step-small);
    font-weight: 600;
    opacity: 0.72;
  }

  .pricing-table tbody td.plan-recommended {
    background-color: var(--accent);
    color: var(--accent-ink);
  }

  .pricing-table tfoot td {
    padding: 6px 0;
    background: transparent !important;
  }

  .pricing-table tfoot .btn-tile {
    width: 100%;
  }

  .process-strip {
    flex-direction: column;
    height: auto;
  }

  .process-panel {
    flex: none;
    min-height: 64px;
    justify-content: center;
  }

  .panel-sliver-title {
    position: static;
    transform: none;
  }

  .process-panel.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .process-panel.is-open .panel-sliver-title {
    display: none;
  }

  .field-row,
  .field-row-2,
  .tx-verify-row,
  .referral-row,
  .footer-col-group {
    grid-template-columns: 1fr;
  }

  .footer-col-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .shutter-reveal,
  .shutter-reveal .hero-video,
  .reveal-tile {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
