/*
  Wombat marketing site.

  Tokens are copied from app/globals.css rather than imported — this page is a standalone
  static site with no build step and must not depend on the Electron app's Tailwind pipeline.
  If the app's palette changes, mirror it here.
*/

:root {
  color-scheme: dark;

  --bg: #0a0a0a;
  --surface-1: #111111;
  --surface-2: #171717;
  --surface-3: #1e1e1e;
  --surface-4: #232323;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --text-quaternary: rgba(255, 255, 255, 0.34);

  /*
    Accent comes from the app icon (#F23C07 family), not the app UI's indigo. An orange
    logo above an indigo page reads as a template with a logo dropped into it.

    Two tokens, because one orange can't do both jobs on near-black:
    --accent      fills. 4.6:1 against white button text — AA for normal text.
    --accent-text accent used AS text. 7.6:1 on --bg. The fill orange only manages
                  5.1:1 as text, so headings and eyebrows use this lighter one.
    Don't collapse them: white-on-#F23C07 is 3.9:1, which fails AA for button labels.
  */
  --accent: #d93504;
  --accent-hover: #f23c07;
  --accent-active: #a82803;
  --accent-fg: #ffffff;
  --accent-text: #ff7a4d;
  --accent-glow: rgba(242, 60, 7, 0.4);
  --accent-tint: rgba(242, 60, 7, 0.14);

  --red: #ff5f57;
  --amber: #ffa502;
  --green: #2ecc71;

  /* The "sleek" recipe: inset hairline ring + top highlight + tight drop shadow. */
  --ring-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  --ring-inset-strong: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 40px 90px rgba(0, 0, 0, 0.65), 0 8px 24px rgba(0, 0, 0, 0.45);

  --sleek: var(--ring-inset), var(--highlight-top), var(--shadow-xs);
  --sleek-strong: var(--ring-inset-strong), var(--highlight-top), var(--shadow-sm);

  --page: 1120px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Anchored sections must clear the sticky nav. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  /* Inter if the visitor has it (the app self-hosts it); system stack otherwise, so the
     page never blocks on a network font. */
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.026em;
  line-height: 1.12;
  font-weight: 650;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--accent-tint);
  color: var(--text-primary);
}

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

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* ---------------------------------------------------------------- buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out),
    color 0.15s var(--ease-out), transform 0.1s var(--ease-out);
  height: 40px;
  padding-inline: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--sleek-strong);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--ring-inset-strong), var(--highlight-top), var(--shadow-md);
}

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

.btn--secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  box-shadow: var(--sleek);
}

.btn--secondary:hover {
  background: var(--surface-3);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

/* No release published yet: the button must read as inert rather than broken. */
.btn--waiting {
  cursor: default;
  color: var(--text-quaternary);
  background: var(--surface-2);
  box-shadow: var(--ring-inset);
}

.btn--waiting:hover {
  background: var(--surface-2);
  color: var(--text-quaternary);
}

.btn--waiting:active {
  transform: none;
}

.btn--lg {
  height: 48px;
  padding-inline: 22px;
  font-size: 15px;
}

/* Two-line button: label over "v1.2.3 · 84 MB". Empty until the release resolves, so the
   button must not reserve space for a sub-line that never arrives. */
.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn__sub {
  font-weight: 500;
  font-size: 11.5px;
  opacity: 0.72;
}

.btn__sub:empty {
  display: none;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}

.nav[data-scrolled="true"] {
  border-bottom-color: var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.018em;
}

/*
  The logo is a self-contained icon (its own background and rounded corners), so this
  must NOT paint a fill behind it — an accent square would peek out past the artwork's
  corners. 15% matches the SVG's own 65.7/441 radius, so the shadow follows the shape.
*/
.brand__mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 15%;
  box-shadow: var(--sleek-strong);
  flex: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.nav__links a {
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.nav__links a:hover {
  color: var(--text-primary);
  background: var(--surface-2);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* At phone width the brand + two buttons crowd each other; Download is the one that matters. */
@media (max-width: 480px) {
  .nav__actions .btn--ghost {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

/* Single soft accent bloom behind the headline — the only "glow" on the page, so it
   still reads as restrained. */
.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 60, 7, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding-inline: 12px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: var(--ring-inset);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  flex: none;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 6.4vw, 68px);
  letter-spacing: -0.032em;
  max-width: 15ch;
  margin-inline: auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-text);
}

.hero__sub {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 60ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
}

.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero__meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-quaternary);
}

/* ---------------------------------------------------------- app mock-up */

/*
  A stylised illustration of Wombat's own editor, drawn in HTML/CSS rather than a
  screenshot so it stays crisp at any size and can't go stale. Swap in real PNGs when
  there are some — see site/README.md.
*/
.shot {
  margin-top: 56px;
  position: relative;
}

.window {
  max-width: 940px;
  margin-inline: auto;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset), var(--shadow-xl);
  overflow: hidden;
  text-align: left;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding-inline: 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}

.window__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.window__version {
  font-size: 12px;
  color: var(--text-quaternary);
  font-variant-numeric: tabular-nums;
}

.window__spacer {
  flex: 1;
}

.window__dots {
  display: flex;
  gap: 6px;
}

.window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-4);
  display: block;
}

.window__body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.stepcard {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: var(--ring-inset);
}

.stepcard__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-4);
  box-shadow: var(--ring-inset);
  font-size: 13px;
  font-weight: 650;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.stepcard__text {
  font-size: 15px;
  font-weight: 550;
}

.stepcard__text b {
  font-weight: 650;
}

.stepcard__hint {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-quaternary);
}

/* The fake captured screenshot: an abstract app frame, deliberately not a real UI. */
.capture {
  position: relative;
  margin-top: 12px;
  aspect-ratio: 16 / 8;
  border-radius: 10px;
  background: linear-gradient(160deg, #16161a, #0f0f12 60%);
  box-shadow: var(--ring-inset);
  overflow: hidden;
}

.capture__chrome {
  height: 26px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 10px;
}

.capture__chrome i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.capture__grid {
  position: absolute;
  inset: 26px 0 0 0;
  display: grid;
  grid-template-columns: 92px 1fr;
}

.capture__side {
  border-right: 1px solid var(--border-subtle);
  padding: 12px 10px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.capture__main {
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bar--w70 { width: 70%; }
.bar--w50 { width: 50%; }
.bar--w40 { width: 40%; }
.bar--w85 { width: 85%; }

/* Target outline + click marker — the two overlays the real editor draws. */
.capture__target {
  position: absolute;
  left: 58%;
  top: 46%;
  width: 118px;
  height: 30px;
  border-radius: 7px;
  border: 2px solid var(--accent-hover);
  background: rgba(242, 60, 7, 0.16);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.marker {
  position: absolute;
  left: calc(58% + 59px);
  top: calc(46% + 15px);
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 999px;
  border: 2.5px solid var(--accent-hover);
  background: rgba(242, 60, 7, 0.22);
}

.marker::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid var(--accent-hover);
  animation: pulse 2s var(--ease-out) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.75; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* The floating recorder pill, overlapping the window like it does on screen. */
.widget {
  position: absolute;
  right: max(24px, calc(50% - 500px));
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding-inline: 14px;
  border-radius: 999px;
  background: var(--surface-3);
  box-shadow: var(--ring-inset-strong), var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
}

.widget__rec {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 95, 87, 0.16);
}

.widget__time {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.widget__stop {
  height: 28px;
  padding-inline: 12px;
  border-radius: 999px;
  background: rgba(255, 95, 87, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 95, 87, 0.28);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 12px;
}

@media (max-width: 720px) {
  .widget {
    display: none;
  }
  .capture__side {
    display: none;
  }
  .capture__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marker::after { animation: none; }
}

/* ---------------------------------------------------------------- strip */

.strip {
  margin-top: 76px;
  border-block: 1px solid var(--border-subtle);
  background: var(--surface-1);
}

.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}

.strip__cell {
  background: var(--surface-1);
  padding: 26px 24px;
}

.strip__cell b {
  display: block;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.018em;
}

.strip__cell span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

@media (max-width: 820px) {
  .strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------- sections */

.section {
  padding-block: 96px;
}

.section--tight {
  padding-block: 72px;
}

.section__head {
  max-width: 62ch;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section h2 {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 42px);
}

.section__lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------- steps */

.steps {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 26px;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset);
}

.step__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px rgba(242, 60, 7, 0.3);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin-top: 18px;
  font-size: 18px;
}

.step p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-tertiary);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- features */

.features {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 24px;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset);
  transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.feature:hover {
  background: var(--surface-2);
  box-shadow: var(--ring-inset-strong), var(--shadow-md);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-3);
  box-shadow: var(--ring-inset);
  color: var(--accent-text);
}

.feature h3 {
  margin-top: 16px;
  font-size: 16.5px;
}

.feature p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ split rows */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--flip .split__media {
  order: -1;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split--flip .split__media {
    order: 0;
  }
}

.list {
  margin-top: 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.list svg {
  margin-top: 4px;
  color: var(--green);
}

/* Before/after label comparison. */
.compare {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset);
}

.compare__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: var(--ring-inset);
  font-size: 15px;
}

.compare__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  flex: none;
}

.compare__tag--bad {
  background: rgba(255, 95, 87, 0.14);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 95, 87, 0.26);
}

.compare__tag--good {
  background: rgba(46, 204, 113, 0.13);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(46, 204, 113, 0.26);
}

.compare__row--bad span:last-child {
  color: var(--text-quaternary);
}

.compare__row--good b {
  color: #fff;
}

.compare__note {
  font-size: 13px;
  color: var(--text-quaternary);
  padding-inline: 4px;
}

/* Redaction illustration. */
.redact {
  position: relative;
  border-radius: 14px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.redact__field {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

@media (max-width: 520px) {
  .redact__field {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.redact__value {
  height: 34px;
  border-radius: 8px;
  background: var(--surface-3);
  box-shadow: var(--ring-inset);
  display: flex;
  align-items: center;
  padding-inline: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Pixelation shown as literal blocks — matches what the app actually does (block means),
   rather than a CSS blur, which would misrepresent it. */
.redact__blocks {
  display: flex;
  gap: 3px;
  height: 34px;
  align-items: center;
  border-radius: 8px;
  background: var(--surface-3);
  box-shadow: var(--ring-inset);
  padding-inline: 8px;
}

.redact__blocks i {
  flex: 1;
  height: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.13);
}

.redact__blocks i:nth-child(2n) { background: rgba(255, 255, 255, 0.09); }
.redact__blocks i:nth-child(3n) { background: rgba(255, 255, 255, 0.17); }

/* ------------------------------------------------------------- download */

.download {
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-1);
}

/* Shown only to phones/tablets, which can't run any of the builds below. */
.mobile-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 165, 2, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 165, 2, 0.22);
  color: var(--text-secondary);
  font-size: 14px;
  text-align: left;
}

.mobile-note svg {
  color: var(--amber);
  flex: none;
}

.mobile-note[hidden] {
  display: none;
}

/* Touch targets: 40px is under the 44px comfortable minimum on a finger. */
@media (pointer: coarse) {
  .btn {
    height: 44px;
  }
  .btn--lg {
    height: 50px;
  }
}

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.card {
  padding: 26px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--ring-inset);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
}

.card--featured {
  box-shadow: inset 0 0 0 1px rgba(242, 60, 7, 0.45), var(--shadow-lg);
}

.card__os {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.card h3 {
  margin-top: 14px;
  font-size: 18px;
}

.card__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
  flex: 1;
}

.card__meta {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-quaternary);
  font-variant-numeric: tabular-nums;
  min-height: 18px;
}

.card .btn {
  margin-top: 12px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 999px;
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px rgba(242, 60, 7, 0.32);
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 650;
  margin-left: auto;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Honest install caveats — unsigned builds warn on first launch. */
.notice {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 12px;
  background: rgba(255, 165, 2, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 165, 2, 0.22);
}

.notice svg {
  color: var(--amber);
  margin-top: 2px;
}

.notice h4 {
  font-size: 14.5px;
}

.notice p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ------------------------------------------------------------------- faq */

.faq {
  margin-top: 44px;
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--ring-inset);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.15s var(--ease-out);
}

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

.faq summary:hover {
  background: var(--surface-2);
}

.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-right: 2px solid var(--text-quaternary);
  border-bottom: 2px solid var(--text-quaternary);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------- cta */

.cta {
  text-align: center;
  padding-block: 110px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  width: 820px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 60, 7, 0.2), transparent 70%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 18ch;
  margin-inline: auto;
}

.cta p {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 17px;
}

.cta .hero__cta {
  margin-top: 32px;
}

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 40px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-quaternary);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  color: var(--text-tertiary);
  transition: color 0.15s var(--ease-out);
}

.footer__links a:hover {
  color: var(--text-primary);
}
