@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBM-Plex-Sans-400.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/IBM-Plex-Sans-500.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/IBM-Plex-Mono-400.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/IBM-Plex-Mono-600.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/IBM-Plex-Mono-700.ttf') format('truetype'); }

/* ═══ Freeze Frame marketing ═══
 * Mockup 07 (ugc-hub-v2/docs/mockups/07-marketing-site.html), built like the
 * CTRL+SPC marketing site: IBM Plex Mono display over IBM Plex Sans, a strict
 * greyscale canvas and one saturated colour, the record light, on primary
 * actions. */
:root {
  --font-display: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-sm: 5px; --r-md: 8px; --r-lg: 12px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  --bg: oklch(1 0 0); --surface: oklch(.972 0 0);
  --border: oklch(.898 0 0); --border-strong: oklch(.78 0 0);
  --ink: oklch(.225 0 0); --muted: oklch(.465 0 0); --faint: oklch(.52 0 0);
  --rec: oklch(.53 .2 30); --on-rec: oklch(.99 0 0);
  --lift-shadow: 0 10px 30px oklch(0 0 0 / .10), 0 2px 6px oklch(0 0 0 / .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: oklch(.245 0 0); --surface: oklch(.285 0 0);
    --border: oklch(.38 0 0); --border-strong: oklch(.47 0 0);
    --ink: oklch(.93 0 0); --muted: oklch(.76 0 0); --faint: oklch(.68 0 0);
    --rec: oklch(.56 .2 30);
    --lift-shadow: 0 10px 30px oklch(0 0 0 / .45), 0 2px 6px oklch(0 0 0 / .30);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
[hidden] { display: none !important; }
:where(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--rec); outline-offset: 2px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .6rem 1rem; border-radius: var(--r-md); background: var(--ink); color: var(--bg); font: 600 .8125rem/1.4 var(--font-display); }
.skip:focus { top: .75rem; }
.wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }

.logo { display: inline-flex; align-items: center; gap: 7px; min-height: 2.75rem; font: 700 .8125rem/1 var(--font-display); letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.rec { width: .62em; height: .62em; border-radius: 50%; background: var(--rec); flex-shrink: 0; box-shadow: 0 0 0 .18em color-mix(in srgb, var(--rec) 22%, transparent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.15rem; border: 1px solid transparent; border-radius: var(--r-md); background: var(--rec); color: var(--on-rec); font: 600 .8125rem/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), filter 150ms linear; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--lift-shadow); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .75rem; }

section { scroll-margin-top: 4.5rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.steps li { padding: 1.1rem 1.1rem 1.25rem; border: 1px solid var(--border); border-bottom-width: 2.5px; border-radius: var(--r-lg); background: var(--surface); }
.steps .n { font: 700 .75rem/1 var(--font-display); color: var(--faint); }
.steps h3 { margin: .6rem 0 .35rem; font: 600 1.0625rem/1.25 var(--font-display); letter-spacing: -.01em; }
.steps p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* pricing */
.plan { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.plan-body { position: relative; flex: 1; padding: clamp(1.25rem, 3vw, 2rem); }
.plan h3 { margin: 0; font: 600 1.25rem/1.3 var(--font-display); }
.plan { max-width: 34rem; }
.plan .sub { margin: .25rem 0 0; color: var(--muted); font-size: .9375rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; }
.price b { font: 600 clamp(2.25rem, 5vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; }
.price s { font: 400 1.125rem/1 var(--font-display); color: var(--faint); }
.price span { color: var(--muted); font-size: .9375rem; }
.setup { display: block; margin: 1rem 0 0; padding: .75rem 1rem; border: 1px dashed var(--border-strong); border-radius: var(--r-md); font-size: .9375rem; }
.setup b { font: 600 1.125rem/1.2 var(--font-display); }
.setup span { display: block; margin-top: .2rem; color: var(--muted); font-size: .875rem; }
.plan ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.plan li { display: flex; gap: .6rem; font-size: .9375rem; }
.plan li::before { content: ""; flex-shrink: 0; width: .45rem; height: .45rem; margin-top: .55em; border-radius: 2px; background: var(--ink); }
.plan-foot { padding: 1rem clamp(1.25rem, 3vw, 2rem); border-top: 1px solid var(--border); }
.fine { margin: 1rem 0 0; font-size: .8125rem; color: var(--faint); max-width: 34rem; }

.legal a { color: var(--ink); text-underline-offset: .18em; }

/* footer */
.foot { padding: 1.75rem 0 3rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font: 400 .6875rem/1.4 var(--font-display); color: var(--faint); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.foot a:not(.logo) { color: var(--faint); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--ink); }

/* privacy */
.legal { max-width: 70ch; padding-block: clamp(2.5rem, 7vw, 5rem) 4rem; }
.legal h1 { margin: 0; font: 600 clamp(1.75rem, 4vw, 2.5rem)/1.3 var(--font-display); letter-spacing: -.025em; }
.legal h2 { margin: 2rem 0 .5rem; font: 600 1.25rem/1.4 var(--font-display); }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .5rem; align-items: baseline; }
  .steps li .n { grid-row: span 2; }
  .steps h3 { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
