@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
/* Metric-matched stand-in while Manrope loads, so the swap doesn't reflow the page. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  ascent-override: 103.31%;
  descent-override: 29.07%;
  line-gap-override: 0%;
  size-adjust: 103.19%;
}

:root {
  color-scheme: light dark;

  --background: oklch(0.982 0.006 80);
  --foreground: oklch(0.255 0.022 245);
  --surface: oklch(0.997 0.003 80);
  --sunken: oklch(0.955 0.009 80);
  --muted-foreground: oklch(0.47 0.02 245);
  --hover: oklch(0.94 0.012 80);
  --line: oklch(0.9 0.012 80);

  --primary: oklch(0.43 0.085 222);
  --primary-foreground: oklch(0.985 0.005 222);
  --primary-soft: oklch(0.94 0.03 222);
  --brand: oklch(0.76 0.15 68);
  --brand-hover: oklch(0.72 0.15 66);
  --brand-foreground: oklch(0.27 0.06 55);
  --ring: oklch(0.55 0.11 222);
  --panel: oklch(0.36 0.07 222);
  --panel-raised: oklch(0.41 0.07 222);
  --panel-foreground: oklch(0.97 0.008 222);
  --panel-muted: oklch(0.84 0.03 222);
  --panel-line: oklch(0.47 0.06 222);

  --ok-ink: oklch(0.42 0.11 155);
  --ok-soft: oklch(0.95 0.04 155);
  --info-ink: oklch(0.43 0.11 240);
  --info-soft: oklch(0.95 0.03 240);
  --bad: oklch(0.53 0.19 27);
  --bad-ink: oklch(0.46 0.17 27);
  --bad-soft: oklch(0.96 0.03 27);
  --bad-line: oklch(0.86 0.07 27);
  --ok-line: oklch(0.85 0.07 155);

  --primary-hover: oklch(0.38 0.08 222);
  --backdrop: oklch(0.2 0.03 240 / 0.55);
  --shadow-lift: 0 1px 2px oklch(0.3 0.03 240 / 0.06), 0 12px 32px -12px oklch(0.3 0.05 240 / 0.22);
  --shadow-dialog: 0 24px 64px -16px oklch(0.2 0.04 240 / 0.45);

  --font-sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-xs: 0.8125rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-lg: 1.125rem;
  --t-xl: 1.375rem;
  --t-2xl: 1.875rem;
  --t-3xl: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);

  --radius: 0.75rem;
  --radius-lg: 1.125rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(0.175 0.014 235);
    --foreground: oklch(0.93 0.01 230);
    --surface: oklch(0.215 0.016 235);
    --sunken: oklch(0.155 0.013 235);
    --muted-foreground: oklch(0.71 0.018 230);
    --hover: oklch(0.27 0.018 235);
    --line: oklch(0.3 0.018 235);

    --primary: oklch(0.74 0.1 215);
    --primary-foreground: oklch(0.2 0.03 225);
    --primary-soft: oklch(0.29 0.05 225);
    --brand: oklch(0.79 0.14 70);
    --brand-hover: oklch(0.83 0.13 72);
    --brand-foreground: oklch(0.24 0.05 55);
    --ring: oklch(0.74 0.1 215);
    --panel: oklch(0.25 0.04 225);
    --panel-raised: oklch(0.3 0.045 225);
    --panel-foreground: oklch(0.95 0.01 222);
    --panel-muted: oklch(0.8 0.025 222);
    --panel-line: oklch(0.36 0.045 225);

    --ok-ink: oklch(0.8 0.13 155);
    --ok-soft: oklch(0.29 0.05 155);
    --info-ink: oklch(0.8 0.1 240);
    --info-soft: oklch(0.29 0.05 240);
    --bad: oklch(0.72 0.16 25);
    --bad-ink: oklch(0.8 0.13 25);
    --bad-soft: oklch(0.3 0.06 25);
    --bad-line: oklch(0.42 0.09 25);
    --ok-line: oklch(0.42 0.08 155);

    --primary-hover: oklch(0.8 0.09 215);
    --backdrop: oklch(0.08 0.01 240 / 0.7);
    --shadow-lift: 0 1px 2px oklch(0 0 0 / 0.3), 0 16px 40px -16px oklch(0 0 0 / 0.6);
    --shadow-dialog: 0 24px 64px -16px oklch(0 0 0 / 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html.demo-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 400 var(--t-base) / 1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

.sprite {
  display: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--brand-foreground);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.mono {
  font-family: var(--font-mono);
}

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

.icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo {
  width: 2rem;
  height: 2rem;
}

.logo-tile {
  fill: var(--primary);
}

.logo-dot {
  fill: var(--brand);
}

.logo-arc {
  fill: none;
  stroke: var(--primary-foreground);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.header-band .logo-tile {
  fill: var(--panel-foreground);
}

.header-band .logo-arc {
  stroke: var(--panel);
}

.wordmark-sm {
  font-size: var(--t-base);
}

.wordmark-sm .logo {
  width: 1.625rem;
  height: 1.625rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 700 var(--t-base) / 1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: var(--t-sm);
}

@media (pointer: coarse) {
  .btn-sm {
    min-height: 2.75rem;
  }
}

.btn-brand {
  background: var(--brand);
  color: var(--brand-foreground);
}

.btn-brand:hover {
  background: var(--brand-hover);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--hover);
}

.btn-on-panel {
  border-color: var(--panel-line);
  color: var(--panel-foreground);
}

.btn-on-panel:hover {
  background: var(--panel-raised);
}

.btn[aria-busy="true"] {
  cursor: progress;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--hover);
  color: var(--foreground);
}


.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  font-size: var(--t-xs);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.chip::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: currentColor;
}

.tone-ok {
  background: var(--ok-soft);
  color: var(--ok-ink);
}

.tone-info {
  background: var(--info-soft);
  color: var(--info-ink);
}

.tone-bad {
  background: var(--bad-soft);
  color: var(--bad-ink);
}

.tone-muted {
  background: var(--sunken);
  color: var(--muted-foreground);
}


/* One glow across both bands: the header (exactly 4.5rem tall) shows its top, the hero the rest. */
.header-band,
.hero-band {
  --glow: radial-gradient(60rem 30rem at 85% var(--glow-y), color-mix(in oklch, var(--brand), transparent 86%), transparent 70%);
  background: var(--glow), var(--panel);
  color: var(--panel-foreground);
}

.header-band {
  --glow-y: 4.5rem;
}

.hero-band {
  --glow-y: 0rem;
  padding-bottom: 5rem;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.5rem;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: var(--t-sm);
  font-weight: 600;
}

.site-nav a {
  color: var(--panel-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--panel-foreground);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-on-panel {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 3.5rem;
}

.hero h1 {
  font-size: var(--t-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.accent {
  color: var(--brand);
}

.lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--panel-muted);
  font-size: var(--t-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--panel-muted);
  font-size: var(--t-sm);
  font-weight: 600;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.hero-facts .icon {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
  stroke-width: 2.5;
}

/* The example file: product UI at rest, settling in once on load. */
.file-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--foreground);
  box-shadow: var(--shadow-lift);
}

.file-card-head,
.file-card-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
}

.file-card-head {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.file-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 500;
}

.file-name .icon {
  color: var(--muted-foreground);
}

.file-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-row {
  display: grid;
  grid-template-columns: 1fr auto 6.75rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.who {
  display: grid;
  min-width: 0;
}

.who .name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.who .ref {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
}

.file-row .amount {
  font-weight: 700;
  text-align: right;
}

.file-row .chip {
  justify-self: start;
}

.file-card-foot {
  background: var(--sunken);
}

.progress-label {
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
  font-size: var(--t-xs);
  font-weight: 700;
  white-space: nowrap;
}

.meter {
  flex: 1;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ok-ink);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.meter-third {
  transform: scaleX(0.3333);
}

.total {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 800;
}

.total-label {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .file-card {
    animation: rise 240ms var(--ease-out) both;
  }

  .file-row {
    animation: rise 200ms var(--ease-out) both;
  }

  .file-row:nth-child(1) { animation-delay: 60ms; }
  .file-row:nth-child(2) { animation-delay: 100ms; }
  .file-row:nth-child(3) { animation-delay: 140ms; }
  .file-row:nth-child(4) { animation-delay: 180ms; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}


.section {
  padding-block: 5.5rem;
}

.section h2 {
  max-width: 40rem;
  font-size: var(--t-2xl);
  font-weight: 800;
}

.section-lead {
  max-width: 38rem;
  margin-top: 0.875rem;
  color: var(--muted-foreground);
  font-size: var(--t-lg);
}

.section-sunken {
  background: var(--sunken);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.card h3 {
  font-size: var(--t-lg);
  font-weight: 800;
}

.card p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: var(--t-sm);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.step-card {
  padding: 1.5rem;
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: var(--t-sm);
  font-weight: 800;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.safe-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.125rem;
  padding: 1.5rem;
}

.safe-card h3,
.safe-card p {
  grid-column: 2;
}

.safe-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.safe-icon .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.try-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40rem 20rem at 100% 100%, color-mix(in oklch, var(--brand), transparent 85%), transparent 70%),
    var(--panel);
  color: var(--panel-foreground);
}

.try-band p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: var(--panel-muted);
}

.try-band .btn {
  flex: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 3rem;
  color: var(--muted-foreground);
  font-size: var(--t-sm);
}

.site-footer .wordmark {
  color: var(--foreground);
}


.demo {
  width: min(58rem, calc(100vw - 2rem));
  max-width: none;
  height: min(42rem, calc(100dvh - 2rem));
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--foreground);
  box-shadow: var(--shadow-dialog);
}

.demo[open] {
  display: flex;
  flex-direction: column;
}

.demo::backdrop {
  background: var(--backdrop);
}

@media (prefers-reduced-motion: no-preference) {
  .demo[open] {
    animation: dialog-in 200ms var(--ease-out);
  }

  .demo[open]::backdrop {
    animation: fade-in 200ms var(--ease-out);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.demo-head,
.demo-foot {
  flex: none;
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.demo-title .eyebrow {
  margin-bottom: 0.125rem;
}

.demo-title h2 {
  font-size: var(--t-xl);
  font-weight: 800;
}

.demo-steps {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
  font-size: var(--t-xs);
  font-weight: 700;
}

.demo-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.demo-steps .dot {
  width: 0.625rem;
  height: 0.625rem;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.demo-steps li[data-state="done"] .dot {
  border-color: var(--ok-ink);
  background: var(--ok-ink);
}

.demo-steps li[aria-current="step"] {
  color: var(--foreground);
}

.demo-steps li[aria-current="step"] .dot {
  border-color: var(--brand);
  background: var(--brand);
}

.demo-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 1.5rem;
  background: var(--sunken);
}

.demo-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 0.875rem 1.5rem;
  border-top: 1px solid var(--line);
}

.demo-foot .spacer {
  flex: 1;
}

.foot-note {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
}

.step-heading {
  font-size: var(--t-lg);
  font-weight: 800;
}

.step-heading:focus {
  outline: none;
}

.step-sub,
.note,
.outcome p {
  max-width: 65ch;
}

.step-sub {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: var(--t-sm);
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.pick {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pick:hover {
  border-color: var(--ring);
  box-shadow: var(--shadow-lift);
}

.pick .icon {
  grid-row: span 3;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  color: var(--primary);
}

.pick-title {
  font-weight: 800;
}

.pick-meta {
  color: var(--muted-foreground);
  font-size: var(--t-sm);
}

.pick .chip {
  justify-self: start;
  margin-top: 0.375rem;
}

.drop {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  padding: 1.5rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.drop.is-over {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.drop .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--muted-foreground);
}

.drop-title {
  font-weight: 700;
}

.drop-hint {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
}

.drop .btn {
  margin-top: 0.25rem;
}

.field-error {
  margin-top: 0.75rem;
  color: var(--bad-ink);
  font-size: var(--t-sm);
  font-weight: 600;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: 700 var(--t-sm) / 1.4 var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.check-list {
  margin: 1.25rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  list-style: none;
}

.check {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.check:last-child {
  border-bottom: 0;
}

.check-mark {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--sunken);
  color: var(--muted-foreground);
}

.check-mark .icon {
  width: 0.875rem;
  height: 0.875rem;
  stroke-width: 3;
}

.check[data-result="pass"] .check-mark {
  background: var(--ok-soft);
  color: var(--ok-ink);
}

.check[data-result="fail"] .check-mark {
  background: var(--bad-soft);
  color: var(--bad-ink);
}

.check-name {
  font-weight: 700;
  font-size: var(--t-sm);
}

.check-desc {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
}

.check-result {
  color: var(--muted-foreground);
  font-size: var(--t-xs);
  font-weight: 700;
}

.outcome {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ok-line);
  border-radius: var(--radius);
  background: var(--ok-soft);
}

.outcome-bad {
  border-color: var(--bad-line);
  background: var(--bad-soft);
}

.outcome-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.outcome-title .icon {
  stroke-width: 2.5;
}

.outcome-ok .outcome-title {
  color: var(--ok-ink);
}

.outcome-bad .outcome-title {
  color: var(--bad-ink);
}

.outcome p {
  margin-top: 0.25rem;
  font-size: var(--t-sm);
}

.problems {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
}

.problems li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--bad-line);
}

.problems .row-tag {
  color: var(--bad-ink);
  font-weight: 800;
}

.problems .fix {
  display: block;
  color: var(--muted-foreground);
}

.table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}

.table th {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--line);
  background: var(--sunken);
  color: var(--muted-foreground);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table .r {
  text-align: right;
}

.table td.mono {
  font-size: var(--t-xs);
}

.table tfoot td {
  border-bottom: 0;
  background: var(--sunken);
  font-weight: 800;
}

.table .muted {
  color: var(--muted-foreground);
}

.status-cell {
  display: grid;
  justify-items: start;
  gap: 0.125rem;
}

.status-note {
  color: var(--bad-ink);
  font-size: var(--t-xs);
  font-weight: 600;
  white-space: normal;
}

.summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.summary .meter {
  flex: 1 1 12rem;
}

.summary-counts {
  display: flex;
  gap: 0.5rem;
}

.note {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: var(--t-sm);
}

.note strong {
  color: var(--foreground);
}


@media (max-width: 64rem) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .demo-steps {
    display: none;
  }

  .demo-title {
    margin-right: auto;
  }
}

@media (max-width: 52rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }

  .safe-grid,
  .pick-grid {
    grid-template-columns: 1fr;
  }

  .try-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 40rem) {
  .container {
    padding-inline: 1rem;
  }

  .site-nav {
    display: none;
  }

  .site-header .btn {
    margin-left: auto;
  }

  .hero-band {
    padding-bottom: 3.5rem;
  }

  .section {
    padding-block: 4rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .file-row {
    grid-template-columns: 1fr auto;
  }

  .file-row .chip {
    grid-column: 2;
    justify-self: end;
  }

  .file-row .amount {
    grid-row: 1;
    grid-column: 2;
  }

  .try-band {
    padding: 1.75rem;
  }

  .demo {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .demo-body {
    padding: 1rem;
  }

  .demo-foot {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
