/* ==========================================================================
   Onwords — site styles
   Dark "prompter booth" theme: near-black ground, warm orange marker,
   cool cyan for supporting signal. Colours taken from the app itself and
   from the Chaos Created palette (F17022 / F68B1F / 62C2CC / EEF66C).
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */

:root {
  --bg:            #07080a;
  --bg-raise:      #0d0f13;
  --panel:         #111418;
  --panel-2:       #171b21;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --text:          #eceef2;
  --text-dim:      #a8b0bb;
  --text-faint:    #78818e;

  --orange:        #f17022;
  --orange-lift:   #ff8a3d;
  --amber:         #f68b1f;
  --cyan:          #62c2cc;
  --cyan-lift:     #8ae6ef;
  --lime:          #eef66c;

  --speaker-a:     #f4ecab;
  --speaker-a-bg:  rgba(238, 246, 108, 0.10);
  --speaker-b:     #b9e6ec;
  --speaker-b-bg:  rgba(98, 194, 204, 0.12);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap:      1180px;
  --wrap-tight: 800px;
  --radius:    14px;
  --radius-lg: 22px;

  --pad-section: clamp(4.5rem, 9vw, 8rem);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
}

/* Visually hidden, still read by screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--orange); color: #0b0500; }

:focus-visible {
  outline: 2px solid var(--cyan-lift);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--tight { width: min(100% - 2.5rem, var(--wrap-tight)); }

.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--raise { background: var(--bg-raise); }

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--orange);
  color: #100600;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; }

/* --- Shared bits ---------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--center { justify-content: center; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 62ch;
}

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* The guide line — the app's centre rule, reused as a divider */
.guide-rule {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-block: 0;
}
.guide-rule::before,
.guide-rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px; height: 7px;
  background: var(--orange);
}
.guide-rule::before { left: 0; }
.guide-rule::after { right: 0; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 600 0.98rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.btn:hover { border-color: var(--text-faint); background: rgba(255, 255, 255, 0.04); transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(180deg, var(--orange-lift), var(--orange));
  border-color: transparent;
  color: #170800;
  box-shadow: 0 10px 30px -12px rgba(241, 112, 34, 0.75);
}
.btn--primary:hover { background: linear-gradient(180deg, #ff9954, var(--orange-lift)); color: #170800; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

/* Microsoft Store call to action.
   Ships as a "Coming soon" badge; assets/js/config.js turns every one of
   these into a real Store link the moment ONWORDS_STORE_URL is filled in. */
.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 1.35rem 0.78rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--text);
  text-decoration: none;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.store-cta:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  transform: translateY(-1px);
}
.store-cta__glyph { flex: none; width: 24px; height: 24px; }
.store-cta__text { display: grid; gap: 2px; }
.store-cta__top {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.store-cta__main { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }

.store-cta--lg {
  padding: 0.9rem 1.6rem 0.95rem;
  border-color: rgba(241, 112, 34, 0.38);
  background: linear-gradient(180deg, rgba(241, 112, 34, 0.15), rgba(241, 112, 34, 0.04));
}
a.store-cta--lg:hover {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(241, 112, 34, 0.28), rgba(241, 112, 34, 0.1));
}
.store-cta--lg .store-cta__main { font-size: 1.14rem; }
.store-cta--lg .store-cta__glyph { width: 28px; height: 28px; }

.reassure {
  font-size: 0.92rem;
  color: var(--text-faint);
  margin: 1.1rem 0 0;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 10, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand span { position: relative; }
.brand span::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.28s ease;
}
.brand:hover span::after { width: 100%; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-dim);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.18s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.24s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }
.site-nav a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

.header-cta { flex: none; }
.site-nav .nav-cta { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(9, 10, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 0.95rem 0; font-size: 1.05rem; }
  .site-nav .nav-cta { display: block; padding-top: 1.25rem; border: 0; }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  /* warm bloom behind the prompter, like light off a screen */
  content: "";
  position: absolute;
  left: 50%; top: -10%;
  width: 1200px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(241, 112, 34, 0.16), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
  pointer-events: none;
  opacity: 0.6;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__grid > * { min-width: 0; }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.35rem);
  max-width: 20ch;
  text-wrap: normal;
  margin-bottom: 1.35rem;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.1em;
  height: 5px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(241, 112, 34, 0.65);
  transform-origin: left;
  animation: marker-in 0.9s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes marker-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
a.chip {
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.chip:hover { color: var(--text); border-color: var(--orange); background: rgba(241, 112, 34, 0.08); }
.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

/* --- The prompter widget -------------------------------------------------- */

.prompter {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0e12, #08090c);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}

.prompter__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-wrap: wrap;
}
.prompter__mic { color: var(--text-dim); }
.prompter__mic b { color: var(--text); font-weight: 500; }

.meter {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: auto;
}
.meter i {
  display: block;
  width: 3px;
  height: 20%;
  background: var(--cyan);
  border-radius: 1px;
  opacity: 0.45;
  transition: height 0.12s linear, opacity 0.12s linear;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
}
.status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: blip 2s ease-in-out infinite;
}
@keyframes blip { 50% { opacity: 0.35; } }

.prompter__stage {
  position: relative;
  height: clamp(300px, 46vh, 420px);
  overflow: hidden;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  contain: paint;
}

.prompter__guide {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
  z-index: 2;
  pointer-events: none;
}
.prompter__guide::before,
.prompter__guide::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 2px; height: 9px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(241, 112, 34, 0.8);
}
.prompter__guide::before { left: 0; }
.prompter__guide::after { right: 0; }

.prompter__reel {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 3vw, 2.5rem);
  top: 0;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.prompter__line {
  font-size: clamp(1.15rem, 2.05vw, 1.7rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--text-faint);
  margin: 0 0 1.35em;
  opacity: 0.5;
  transition: opacity 0.5s ease, color 0.5s ease;
}
.prompter__line.is-done { opacity: 0.22; }
.prompter__line.is-active {
  color: #fff;
  opacity: 1;
  font-weight: 600;
}
.prompter__line[data-speaker] {
  padding: 0.25em 0.7em;
  margin-inline: -0.7em;
  border-radius: 8px;
  border-left: 2px solid transparent;
}
.prompter__line[data-speaker="A"] { background: var(--speaker-a-bg); border-left-color: rgba(238, 246, 108, 0.5); }
.prompter__line[data-speaker="B"] { background: var(--speaker-b-bg); border-left-color: rgba(98, 194, 204, 0.5); }
.prompter__line[data-speaker="A"].is-active { color: var(--speaker-a); }
.prompter__line[data-speaker="B"].is-active { color: var(--speaker-b); }

.prompter__tag {
  font-family: var(--font-mono);
  font-size: 0.62em;
  letter-spacing: 0.12em;
  vertical-align: 0.22em;
  margin-right: 0.6em;
  opacity: 0.75;
}
.prompter__line[data-speaker="A"] .prompter__tag { color: var(--lime); }
.prompter__line[data-speaker="B"] .prompter__tag { color: var(--cyan); }

.prompter__marker {
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(241, 112, 34, 0.9);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.28s ease, opacity 0.3s ease;
  pointer-events: none;
  left: 0; top: 0;
}
.prompter__marker.is-on { opacity: 1; }

.prompter__mask {
  position: absolute;
  left: 0; right: 0;
  height: 34%;
  z-index: 3;
  pointer-events: none;
}
.prompter__mask--top { top: 0; background: linear-gradient(180deg, #0a0c0f 8%, rgba(10, 12, 15, 0)); }
.prompter__mask--bottom { bottom: 0; background: linear-gradient(0deg, #08090c 12%, rgba(8, 9, 12, 0)); }

.prompter__heard {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  min-height: 44px;
  overflow: hidden;
}
.prompter__heard b {
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  flex: none;
}
.prompter__heard span {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
  text-align: left;
}

.prompter__caption {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--text-faint);
  text-align: center;
}

/* --- Cards & grids -------------------------------------------------------- */

.grid { display: grid; gap: 1.25rem; }
.grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--text-dim); font-size: 0.98rem; margin: 0; }

.card__icon {
  width: 38px; height: 38px;
  margin-bottom: 1.1rem;
  color: var(--orange);
}
.card__icon svg { width: 100%; height: 100%; }
.card--cyan .card__icon { color: var(--cyan); }

/* Linked cards (use-case pointers) */
.link-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.link-card:hover { border-color: rgba(241, 112, 34, 0.55); transform: translateY(-3px); }
.link-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.link-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.link-card:hover .link-card__media img { transform: scale(1.04); opacity: 0.9; }
.link-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.1), rgba(7, 8, 10, 0.85));
}
.link-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.link-card__body h3 { margin-bottom: 0.4rem; }
.link-card__body p { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 1rem; }
.link-card__more {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.link-card:hover .link-card__more { color: var(--orange-lift); }
.link-card__more::after { content: "→"; transition: transform 0.22s ease; }
.link-card:hover .link-card__more::after { transform: translateX(4px); }

/* --- Split (image + text) ------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split > * { min-width: 0; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}
.split--flip .split__media { order: 2; }
@media (max-width: 880px) { .split--flip .split__media { order: -1; } }

.split__media img,
.framed {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.figure { margin: 0; }
.figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* --- Feature list (ticks) ------------------------------------------------- */

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-dim);
  font-size: 1rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.ticks li b { color: var(--text); font-weight: 600; }

/* --- Comparison table ----------------------------------------------------- */

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th, .compare td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 500;
}
.compare thead th:last-child { color: var(--orange); }
.compare tbody th { font-weight: 500; color: var(--text-dim); width: 30%; }
.compare td:last-child { color: var(--text); background: rgba(241, 112, 34, 0.05); }
.compare td:nth-child(2) { color: var(--text-faint); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) { .compare { min-width: 520px; } }

/* --- Steps ---------------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  counter-increment: step;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps p { color: var(--text-dim); font-size: 0.96rem; margin: 0; }

/* --- Screenshot viewer ---------------------------------------------------- */

.shots__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.shot-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.18s ease;
}
.shot-tab:hover { color: var(--text); border-color: var(--line-strong); }
.shot-tab[aria-selected="true"] {
  color: #180800;
  background: var(--orange);
  border-color: var(--orange);
}
.shots__panel { display: none; }
.shots__panel.is-active { display: block; animation: fade-in 0.4s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }
.shots__panel img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots__panel figcaption { margin-top: 1rem; color: var(--text-dim); font-size: 0.95rem; text-align: center; }

/* --- Quote / callout ------------------------------------------------------ */

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(241, 112, 34, 0.05);
  padding: 1.4rem 1.6rem;
  color: var(--text-dim);
  font-size: 1rem;
}
.callout--cyan { border-left-color: var(--cyan); background: rgba(98, 194, 204, 0.05); }
.callout strong { color: var(--text); }

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}

/* --- Banner (photo band) -------------------------------------------------- */

.banner {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.banner__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(7, 8, 10, 0.55) 60%, var(--bg));
}
.banner .wrap { position: relative; z-index: 2; }

/* --- Use-case hero -------------------------------------------------------- */

.uc-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.uc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.uc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 12%, rgba(7, 8, 10, 0.72) 48%, rgba(7, 8, 10, 0.3)),
    linear-gradient(0deg, var(--bg) 2%, transparent 60%);
}
.uc-hero .wrap { position: relative; z-index: 2; }
.uc-hero__inner { max-width: 40rem; }
.uc-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

.crumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.4rem;
}
.crumbs a { color: var(--text-faint); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin-inline: 0.5rem; opacity: 0.5; }

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.012em;
  color: var(--text);
  list-style: none;
  transition: color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-lift); }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 0.35em;
  background:
    linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  color: var(--orange);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body {
  padding: 0 0 1.6rem;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: 1rem;
}
.faq__body ol, .faq__body ul { padding-left: 1.2rem; margin: 0 0 1em; }
.faq__body li { margin-bottom: 0.4rem; }
.faq__body kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--text);
}
.faq__body a { color: var(--cyan-lift); text-decoration-color: rgba(138, 230, 239, 0.4); text-underline-offset: 3px; }

.faq-group + .faq-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 1rem; }

/* --- Spec list ------------------------------------------------------------ */

.specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } }
.specs > div {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.specs dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.specs dd { margin: 0; color: var(--text); font-size: 0.98rem; }

/* --- CTA band ------------------------------------------------------------- */

.cta-band {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(241, 112, 34, 0.14), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  background: var(--bg-raise);
  font-size: 0.94rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about p { color: var(--text-faint); max-width: 32ch; font-size: 0.92rem; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer a { color: var(--text-dim); text-decoration: none; transition: color 0.18s ease; }
.footer a:hover { color: var(--orange); }
.footer__ext::after { content: "↗"; font-size: 0.75em; margin-left: 0.3em; opacity: 0.6; }

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer__brand img { width: 28px; height: 28px; border-radius: 7px; }

.footer__base {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer__cc { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer__cc img { width: 138px; opacity: 0.85; transition: opacity 0.2s ease; }
.footer__cc:hover img { opacity: 1; }

/* --- Reveal on scroll ----------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Motion / print ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta-band, .prompter__chrome, .prompter__heard { display: none; }
  body { background: #fff; color: #000; }
}
