:root {
  color-scheme: light;
  --paper: oklch(0.985 0.004 84);
  --ink: oklch(0.18 0.004 84);
  --muted: oklch(0.47 0.006 84);
  --line: oklch(0.22 0.004 84);
  --clay: oklch(0.62 0.102 68);
  --clay-dark: oklch(0.35 0.055 61);
  --seal: oklch(0.68 0.155 78);
  --soft: oklch(0.94 0.008 84);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  font-family:
    Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

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

.site-frame {
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-v2 {
  background: var(--paper);
}

.artifact-hero {
  position: relative;
  min-height: 100vh;
  padding: 78px 6vw 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.artifact-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  height: clamp(260px, 34vh, 380px);
  min-height: 0;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.tablet-trigger {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: help;
  transform-style: preserve-3d;
}

.tablet-trigger:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 10px;
}

.artifact-tablet {
  width: clamp(230px, 27vw, 390px);
  height: auto;
  filter:
    drop-shadow(0 16px 16px rgb(33 25 17 / 0.13))
    drop-shadow(0 38px 46px rgb(33 25 17 / 0.22))
    drop-shadow(0 72px 86px rgb(33 25 17 / 0.12));
  transform-style: preserve-3d;
  transition: opacity 180ms ease;
  will-change: transform;
}

.hero-clock {
  position: relative;
  z-index: 2;
  width: min(1040px, 88vw);
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(14px, 2.1vw, 32px);
  white-space: nowrap;
  color: var(--ink);
  pointer-events: none;
  will-change: transform;
}

.hero-clock-part {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(6px, 0.8vw, 14px);
}

.hero-clock-number {
  font-size: clamp(4rem, 8.2vw, 7.1rem);
  line-height: 0.88;
  font-weight: 440;
  font-variant-numeric: tabular-nums;
}

.hero-clock-label {
  font-size: clamp(0.92rem, 1.25vw, 1.12rem);
}

.tablet-tooltip {
  position: absolute;
  z-index: 7;
  left: calc(50% + clamp(130px, 16vw, 240px));
  top: 50%;
  width: min(390px, 30vw);
  max-height: min(56vh, 430px);
  overflow: auto;
  padding: 18px 20px 20px;
  background: oklch(0.15 0.004 84);
  color: var(--paper);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgb(15 12 8 / 0.28);
  opacity: 0;
  transform: translate(12px, -50%);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 180ms var(--ease-out);
}

.tablet-tooltip::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}

.tablet-tooltip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 520;
}

.tablet-tooltip span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.55;
  color: oklch(0.9 0.004 84);
}

.tablet-trigger:hover + .tablet-tooltip,
.tablet-trigger:focus-visible + .tablet-tooltip,
.tablet-trigger[aria-expanded="true"] + .tablet-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

.protocol-section {
  position: relative;
  min-height: auto;
  padding: clamp(48px, 6vw, 78px) 6vw clamp(48px, 5.4vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  grid-template-areas:
    "copy ."
    "features features"
    "cta cta";
  gap: clamp(24px, 3.6vw, 46px);
  align-items: end;
}

.protocol-copy {
  grid-area: copy;
  width: min(760px, 100%);
  margin: 0;
  text-align: left;
  align-self: start;
}

.protocol-title {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2rem, 4.35vw, 4.8rem);
  line-height: 1;
  font-weight: 430;
}

.title-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  margin-right: 0.16em;
  white-space: nowrap;
}

.title-logo {
  display: inline-block;
  width: auto;
  object-fit: contain;
  vertical-align: -0.08em;
}

.title-logo-postgres {
  height: 0.58em;
  vertical-align: -0.07em;
  margin-inline: 0.03em 0.07em;
}

.title-logo-stripe {
  height: 0.72em;
  vertical-align: -0.12em;
  margin-right: 0.08em;
}

.protocol-copy p:not(.section-kicker) {
  max-width: 55ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.62;
}

.offering-grid {
  width: min(1120px, 88vw);
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.offering-grid article {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.offering-grid article:last-child {
  border-right: 0;
}

.offering-grid span {
  font-family: "Courier New", monospace;
  color: var(--muted);
  font-size: 12px;
}

.offering-grid h3 {
  margin: 42px 0 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.95;
  font-weight: 500;
}

.offering-grid p {
  margin: auto 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.feature-line {
  grid-area: features;
  width: min(760px, 100%);
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 38px);
  flex-wrap: wrap;
}

.feature-line span {
  min-height: auto;
  display: block;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 450;
}

.feature-line span:last-child {
  border-right: 0;
}

.launch-cta {
  grid-area: cta;
  width: min(340px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  align-self: end;
  gap: 18px;
  text-align: center;
}

.launch-cta h2 {
  margin: 0;
  max-width: 310px;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.25;
  font-weight: 450;
  color: var(--ink);
}

.launch-cta .button {
  min-height: 40px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  border-radius: 999px;
  padding-inline: 16px;
}

.site-footer {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 0;
  right: 0;
  height: 36px;
  pointer-events: none;
}

.brand-mark,
.github-mark,
.topbar a {
  pointer-events: auto;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar .brand-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.topbar .brand-mark:active {
  transform: translate(-50%, -50%) scale(0.97);
}

.brand-mark:active,
.button:active,
.option-card:active {
  transform: scale(0.97);
}

.github-mark {
  position: absolute;
  top: 50%;
  right: clamp(22px, 6vw, 88px);
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.github-mark svg {
  width: 22px;
  height: 22px;
}

.plain-nav {
  position: absolute;
  top: 50%;
  left: clamp(22px, 6vw, 88px);
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.plain-nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.plain-nav a:hover,
.plain-nav a:focus-visible {
  color: var(--ink);
}

.panel {
  position: relative;
  min-height: 100vh;
  border: 1px solid var(--line);
  margin: 0;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero {
  padding: 112px 6vw 80px;
}

.tablet-orbit {
  position: absolute;
  inset: 112px 0 auto;
  height: 34vh;
  min-height: 190px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.tablet {
  width: clamp(170px, 18vw, 280px);
  height: auto;
  filter: drop-shadow(0 24px 28px rgb(33 25 17 / 0.2));
  transition:
    transform 700ms var(--ease-out),
    opacity 300ms ease;
  will-change: transform;
}

.tablet-caption {
  position: absolute;
  left: calc(50% + clamp(110px, 14vw, 190px));
  top: 42%;
  width: clamp(170px, 18vw, 260px);
  font-family: "Courier New", monospace;
  font-size: 9px;
  line-height: 1.2;
  color: var(--ink);
  opacity: 0.72;
}

.tablet-caption::before {
  content: "lineage sealed | payload encrypted | content hash verified | capability scoped | audit receipt issued";
}

.clock-wrap {
  position: relative;
  z-index: 2;
  width: min(84vw, 1180px);
  margin: 22vh auto 0;
}

.clock {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(10px, 2.2vw, 36px);
  white-space: nowrap;
}

.clock-part {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(6px, 0.8vw, 14px);
}

.clock-number {
  font-size: clamp(4.8rem, 10.8vw, 9.6rem);
  line-height: 0.86;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.clock-label {
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  color: var(--ink);
}

.hero-copy {
  width: min(760px, 82vw);
  margin: 64px auto 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 4.3rem);
  line-height: 0.98;
  font-weight: 520;
}

.hero-copy p {
  margin: 22px auto 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.58;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    background 180ms ease,
    color 180ms ease;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.section-inner {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 144px 0;
}

.section-kicker {
  margin: 0 0 18px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.5rem, 8vw, 8rem);
  line-height: 0.9;
  font-weight: 500;
}

.section-text {
  max-width: 68ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.three-column {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature-cell {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-cell:last-child {
  border-right: 0;
}

.feature-cell h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.95;
  font-weight: 500;
}

.feature-cell p {
  margin: 40px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.brick-wall {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 80px;
  border: 1px solid var(--line);
}

.brick {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 28%, rgb(255 255 255 / 0.18), transparent 28%),
    linear-gradient(135deg, oklch(0.72 0.08 68), oklch(0.54 0.07 63));
  color: var(--ink);
  cursor: pointer;
  padding: 12px;
  text-align: left;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    filter 220ms ease;
}

.brick:hover,
.brick:focus-visible,
.brick.active {
  position: relative;
  z-index: 2;
  transform: scale(1.08);
  box-shadow: 0 18px 42px rgb(34 25 14 / 0.22);
  filter: saturate(1.05);
}

.brick span {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.brick-detail {
  min-height: 180px;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  background: var(--paper);
}

.brick-detail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.brick-detail p {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 2.1rem);
  line-height: 1.02;
}

.privacy-stage {
  margin-top: 72px;
  min-height: 520px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.privacy-controls {
  border-right: 1px solid var(--line);
  padding: 32px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.privacy-controls button,
.step-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  min-height: 42px;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background 180ms ease,
    color 180ms ease;
}

.privacy-controls button.active,
.privacy-controls button:hover,
.privacy-controls button:focus-visible,
.step-button.active,
.step-button:hover,
.step-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.privacy-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
}

.privacy-tablet {
  width: min(48vw, 430px);
  filter: drop-shadow(0 28px 36px rgb(33 25 17 / 0.28));
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.privacy-visual[data-state="query"] .privacy-tablet {
  transform: scale(0.88) translateX(-18%);
  filter: blur(1px) drop-shadow(0 22px 26px rgb(33 25 17 / 0.2));
}

.privacy-visual[data-state="receipt"] .privacy-tablet {
  transform: scale(0.76) translateY(-10%);
  filter: blur(2px) grayscale(0.15) drop-shadow(0 18px 20px rgb(33 25 17 / 0.15));
}

.receipt-card {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: min(300px, 42vw);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 360ms var(--ease-out),
    opacity 260ms ease;
}

.privacy-visual[data-state="receipt"] .receipt-card,
.privacy-visual[data-state="query"] .receipt-card {
  transform: translateY(0);
  opacity: 1;
}

.receipt-card small {
  display: block;
  color: var(--muted);
  font-family: "Courier New", monospace;
  margin-bottom: 12px;
}

.receipt-card p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.flow {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.flow-step {
  padding: 24px;
  min-height: 240px;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step small {
  display: block;
  font-family: "Courier New", monospace;
  color: var(--muted);
  margin-bottom: 18px;
}

.flow-step h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 2.4rem);
  line-height: 0.96;
  font-weight: 500;
}

.flow-step p {
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.cta-panel {
  text-align: center;
}

.cta-panel .section-title,
.cta-panel .section-text {
  margin-left: auto;
  margin-right: auto;
}

.app-shell {
  min-height: 100vh;
  border: 1px solid var(--line);
  padding: 96px 6vw;
}

.app-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}

.app-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.app-sidebar h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.9;
  font-weight: 500;
}

.app-sidebar p {
  color: var(--muted);
  line-height: 1.55;
}

.step-list {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.step-panel {
  display: none;
  border: 1px solid var(--line);
  min-height: 640px;
  padding: clamp(24px, 4vw, 48px);
}

.step-panel.active {
  display: block;
}

.step-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  line-height: 0.9;
  font-weight: 500;
}

.field-grid,
.option-grid {
  margin-top: 48px;
  display: grid;
  gap: 18px;
}

.field-grid label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.field-grid input,
.field-grid textarea,
.field-grid select {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 50px;
  padding: 14px;
  color: var(--ink);
  text-transform: none;
}

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

.option-grid {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 230px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background 180ms ease,
    color 180ms ease;
}

.option-card.active,
.option-card:hover,
.option-card:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.option-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.92;
  font-weight: 500;
}

.option-card span {
  display: block;
  margin-top: 24px;
  color: inherit;
  opacity: 0.72;
  line-height: 1.4;
}

.review {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.review div {
  min-height: 110px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.review div:nth-child(2n) {
  border-right: 0;
}

.review small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.step-actions {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  background: rgb(245 244 240 / 0.78);
  padding: 24px;
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 32px;
}

.modal-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.92;
  font-weight: 500;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  body,
  .site-frame,
  .panel {
    width: 100%;
    max-width: 100vw;
  }

  .topbar {
    width: 100%;
  }

  .artifact-hero {
    min-height: 100vh;
    padding: 78px 20px 40px;
  }

  .artifact-stage {
    height: 32vh;
    min-height: 240px;
  }

  .tablet-trigger:has(+ .tablet-tooltip:hover),
  .tablet-trigger:focus-visible,
  .tablet-trigger[aria-expanded="true"] {
    transform: translateX(-26vw);
  }

  .artifact-tablet {
    width: min(72vw, 280px);
  }

  .hero-clock {
    width: min(300px, 86vw);
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 10px 4px;
    white-space: normal;
  }

  .hero-clock-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-clock-number {
    font-size: clamp(2.45rem, 10.6vw, 3.1rem);
    line-height: 0.92;
  }

  .hero-clock-label {
    font-size: 0.8rem;
  }

  .tablet-tooltip {
    position: absolute;
    left: calc(50% + 6vw);
    right: 12px;
    top: 50%;
    bottom: auto;
    width: auto;
    max-height: min(58dvh, 500px);
    padding: 16px;
    border-radius: 18px;
    transform: translate(14px, -50%);
  }

  .tablet-tooltip::after {
    display: block;
    left: -8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }

  .tablet-trigger:hover + .tablet-tooltip,
  .tablet-trigger:focus-visible + .tablet-tooltip,
  .tablet-trigger[aria-expanded="true"] + .tablet-tooltip {
    transform: translate(0, -50%);
  }

  .protocol-section {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "features"
      "cta";
    gap: 24px;
    padding-top: 44px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .protocol-copy,
  .feature-line {
    width: min(345px, 100%);
  }

  .protocol-title {
    font-size: clamp(1.9rem, 8.6vw, 3rem);
    line-height: 1;
  }

  .title-lockup {
    white-space: normal;
  }

  .launch-cta h2 {
    font-size: clamp(1rem, 4.6vw, 1.35rem);
  }

  .launch-cta {
    width: min(335px, 100%);
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }

  .plain-nav {
    display: none;
  }

  .clock {
    display: grid;
    grid-template-columns: 1fr;
    white-space: normal;
    gap: 8px;
    justify-items: center;
    overflow: hidden;
  }

  .clock-number {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .clock-label {
    font-size: 0.92rem;
  }

  .clock-part {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .tablet-caption {
    display: none;
  }

  .clock-wrap {
    margin-top: 22vh;
    width: 100%;
    overflow: hidden;
  }

  .hero-copy h1 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.6rem, 6.5vw, 2rem);
    line-height: 1.02;
  }

  .hero-copy p {
    max-width: 280px;
    font-size: 0.95rem;
  }

  .hero-copy,
  .section-inner {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .section-title,
  .step-panel h2,
  .app-sidebar h1 {
    overflow-wrap: anywhere;
  }

  .three-column,
  .privacy-stage,
  .flow,
  .app-layout,
  .option-grid,
  .review {
    grid-template-columns: 1fr;
  }

  .feature-cell,
  .privacy-controls,
  .flow-step,
  .review div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brick-wall {
    grid-template-columns: repeat(4, 1fr);
  }

  .brick-detail {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
  }

  .app-shell {
    padding: 88px 18px 48px;
    overflow-x: hidden;
  }

  .app-layout {
    width: 100%;
    max-width: 100%;
    gap: 30px;
    justify-items: center;
  }

  .app-layout,
  .step-panel,
  .step-list,
  .option-card,
  .field-grid input,
  .field-grid textarea,
  .field-grid select {
    min-width: 0;
    max-width: 100%;
  }

  .step-list {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }

  .step-button {
    width: 100%;
  }

  .step-panel h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .step-panel {
    width: min(100%, 280px);
    padding: 24px;
    overflow: hidden;
  }

  .app-sidebar {
    width: min(100%, 280px);
  }

  .app-sidebar p {
    max-width: 280px;
  }

  .field-grid input,
  .field-grid textarea,
  .field-grid select {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
