/* VoiceKeyboard site — vintage tube-amplifier chassis.
   Palette and spacing follow design/site-concepts/out/NOTES.md. */

/* Green displays: DotGothic16 for short status lines, PT Mono for running text (SIL OFL; licences in assets/fonts). */
@font-face { font-family: "DotGothic16"; src: url("../fonts/dotgothic16-latin-cyrillic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "PT Mono"; src: url("../fonts/ptmono-latin-cyrillic.woff2") format("woff2"); font-display: swap; }

:root {
  --tolex: #10110F;
  --metal: #242421;
  --recess: #090A08;
  --brass: #D6B260;
  --brass-hi: #F4D78C;
  --brass-lo: #8C6727;
  --ivory: #F5EBD0;
  --ivory-2: #CABC96;
  --ink: #231C10;
  --amber: #FFC869;
  --lcd: #07120A;
  --lcd-text: #A9DF8A;
  --focus: #FFF3C4;

  --font-body: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, "Noto Sans", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-engraved: "Cinzel", "Trajan Pro", "Trajan Pro 3", Georgia, "Times New Roman", serif;
  --font-lcd: "DotGothic16", "Cascadia Mono", Consolas, monospace;
  --font-lcd-text: "PT Mono", "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: 24px;
  --radius: 10px;
  --content: 1240px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--tolex);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(16, 17, 15, 0) 0%, rgba(8, 9, 7, .55) 100%),
    url("../img/tolex.jpg");
  background-size: 100% 100%, 480px 480px;
  background-attachment: fixed, scroll;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

:lang(ja) { font-family: "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Hiragino Sans", sans-serif; }
:lang(hi) { font-family: "Nirmala UI", "Noto Sans Devanagari", Mangal, sans-serif; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  padding: 10px 16px; border-radius: 6px;
  background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Chassis and corner guards ---------- */

.chassis {
  position: relative;
  padding: clamp(18px, 3vw, 40px) var(--gutter) clamp(28px, 4vw, 56px);
}
.chassis > header, .chassis > main, .chassis > footer {
  position: relative; z-index: 1;
  max-width: var(--content);
  margin-inline: auto;
}

.corner {
  position: absolute; z-index: 0;
  width: clamp(40px, 6vw, 84px); aspect-ratio: 1;
  background: url("../img/corner.png") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.corner--tl { top: 0; left: 0; }
.corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner--br { bottom: 0; right: 0; transform: scale(-1, -1); }

/* ---------- Materials ---------- */

/* Black brushed-metal bar with a thin brass rim and screw heads at both ends. */
.bar-metal {
  position: relative;
  background: #1c1c1a url("../img/bar.jpg") center / cover;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px #000,
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 2px rgba(0, 0, 0, .55),
    0 10px 24px rgba(0, 0, 0, .55);
}
.bar-metal::before, .bar-metal::after {
  content: "";
  position: absolute; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background: url("../img/screw.png") center / contain no-repeat;
  pointer-events: none;
}
.bar-metal::before { left: 14px; }
.bar-metal::after { right: 14px; }

/* Plates screwed to the chassis. Two surfaces, as in the app:
   brushed brass (POWER panel) and black brushed metal with a thin brass rim (INPUT / RECOGNITION).
   Each surface is a set of custom properties, so a block can switch surface without new rules.
   Text sits on the calm centre, screws stay in the corners. */
.plate {
  --pl-bg: var(--brass) url("../img/brass.jpg") center / cover;
  --pl-fg: var(--ink);
  --pl-muted: #2e2515;
  --pl-title: var(--ink);
  --pl-title-font: var(--font-body);
  --pl-title-spacing: -.005em;
  --pl-accent: var(--ink);
  --pl-shadow:
    0 0 0 1px #000,
    inset 0 1px 0 rgba(255, 244, 205, .75),
    inset 0 -2px 0 rgba(92, 62, 18, .55),
    inset 0 0 0 1px rgba(110, 76, 24, .65),
    0 12px 26px rgba(0, 0, 0, .6);

  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--pl-bg);
  color: var(--pl-fg);
  box-shadow: var(--pl-shadow);
}
.plate--black {
  /* 35% dark veil keeps every text colour >= 5.3:1 even on the brightest brushed highlight */
  --pl-bg: linear-gradient(rgba(14, 14, 13, .35), rgba(14, 14, 13, .35)), #1d1d1b url("../img/metal.jpg") center / cover;
  --pl-fg: var(--ivory);
  --pl-muted: var(--ivory-2);
  --pl-title: #F1DCA0;
  --pl-title-font: var(--font-engraved);
  --pl-title-spacing: .04em;
  --pl-accent: var(--brass-hi);
  --pl-shadow:
    0 0 0 1px #000,
    inset 0 0 0 1.5px rgba(214, 178, 96, .85),
    inset 0 0 0 3px rgba(0, 0, 0, .55),
    inset 0 2px 0 rgba(255, 255, 255, .05),
    0 12px 26px rgba(0, 0, 0, .6);
}
.plate::before {
  content: "";
  position: absolute; inset: 9px;
  pointer-events: none;
  background:
    url("../img/screw.png") left top / 14px 14px no-repeat,
    url("../img/screw.png") right top / 14px 14px no-repeat,
    url("../img/screw.png") left bottom / 14px 14px no-repeat,
    url("../img/screw.png") right bottom / 14px 14px no-repeat;
}
.plate h3 {
  font-family: var(--pl-title-font);
  font-size: 1.25rem; line-height: 1.25; font-weight: 700;
  letter-spacing: var(--pl-title-spacing);
  color: var(--pl-title);
}
.plate p { color: var(--pl-muted); }

/* ---------- Buttons (9-slice faces taken from the app skin) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 10px 28px;
  border: 0 solid transparent;
  border-radius: 12px;
  border-image-slice: 30 fill;
  border-image-width: 12px;
  border-image-repeat: stretch;
  background: transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease, box-shadow .2s ease;
}
.btn--amber {
  border-image-source: url("../img/button-on.png");
  color: var(--ink);
  font-weight: 700;
  filter: saturate(1.3) brightness(1.12);
  box-shadow: 0 0 22px rgba(255, 190, 90, .28), 0 6px 14px rgba(0, 0, 0, .5);
}
.btn--dark {
  border-image-source: url("../img/button-off.png");
  color: var(--ivory);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .5);
}
.btn:hover { filter: brightness(1.1); }
.btn--amber:hover { filter: saturate(1.35) brightness(1.22); }
.btn--amber:hover { box-shadow: 0 0 30px rgba(255, 200, 105, .45), 0 6px 14px rgba(0, 0, 0, .5); }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn:focus-visible { outline-offset: 4px; border-radius: 12px; }
.btn--lg { min-height: 60px; padding-inline: 34px; font-size: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed;
  color: #9d9682;
  filter: saturate(.4) brightness(.85);
  box-shadow: none;
}
.btn[disabled]:hover { filter: saturate(.4) brightness(.85); }

/* ---------- LCD ---------- */

.lcd {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--lcd);
  color: var(--lcd-text);
  font: 500 .95rem/1.4 var(--font-lcd);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(169, 223, 138, .45);
  border: 1px solid #000;
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, .9),
    0 0 0 2px #2b2a24,
    0 0 0 3px rgba(214, 178, 96, .45),
    0 6px 14px rgba(0, 0, 0, .5);
}

.plate .lcd { color: var(--lcd-text); }

/* ---------- Header ---------- */

.site-header {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 40px 14px 44px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  margin-right: auto;
  border-radius: 6px;
}
.logo__mark { width: 40px; height: 26px; fill: url(#brass-grad); flex: none; }
.logo__text {
  font: 800 1.45rem/1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(#F7DE9A, #D6B260 55%, #A57C33);
  -webkit-background-clip: text; background-clip: text;
  color: var(--brass);
  -webkit-text-fill-color: transparent;
}
.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px;
  color: var(--ivory-2);
  text-decoration: none; font-weight: 500;
  border-radius: 6px;
}
.site-nav a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.site-header__cta { flex: none; }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px 16px;
  }
  .site-header::before, .site-header::after { top: 30px; }
  .site-header::before { left: 8px; }
  .site-header::after { right: 8px; }
  .logo { padding-left: 14px; }
  .logo__text { font-size: 1.2rem; }
  .logo__mark { width: 34px; height: 22px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 44px; margin-right: 12px;
    background: transparent; border: 0; border-radius: 6px;
    color: var(--brass); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 26px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--brass-hi), var(--brass));
    position: relative; transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -8px; }
  .menu-toggle__bars::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

  .site-nav { order: 3; width: 100%; }
  .js .site-nav { display: none; }
  .js .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-wrap: wrap; gap: 4px; padding: 4px 0; border-top: 1px solid rgba(214, 178, 96, .35); }
  .js .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 1.05rem; }
  .site-header__cta { order: 4; width: 100%; min-height: 54px; font-size: 1.1rem; }
}
@media (max-width: 380px) {
  .logo__text { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
}
.hero__title {
  font: 800 clamp(3rem, 7.2vw, 5.75rem)/.95 var(--font-display);
  letter-spacing: -.035em;
  color: var(--ivory);
  text-shadow: 0 2px 0 #000, 0 8px 24px rgba(0, 0, 0, .6);
}
.hero__lead {
  margin-top: 24px;
  max-width: 32ch;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ivory);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__lcd { margin-top: 28px; }
.hero__visual img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .8);
}

@media (max-width: 959px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__lead { max-width: 34ch; }
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__lcd { display: block; text-align: center; font-size: .82rem; letter-spacing: .08em; }
}

/* ---------- Sections ---------- */

.section { padding-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: 16px; }
.section-bar {
  margin-bottom: var(--gap);
  padding: 14px 48px;
  text-align: center;
  font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--font-engraved);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 244, 205, .55);
}
/* Section headers are brass plates (header and footer stay black bars). */
.section-bar.bar-metal {
  /* light veil: dark engraved title stays >= 3:1 (large text) on the darkest grain */
  background: linear-gradient(rgba(244, 215, 140, .2), rgba(244, 215, 140, .2)), var(--brass) url("../img/brass.jpg") center / cover;
  border: 0;
  box-shadow:
    0 0 0 1px #000,
    inset 0 1px 0 rgba(255, 244, 205, .75),
    inset 0 -2px 0 rgba(92, 62, 18, .55),
    inset 0 0 0 1px rgba(110, 76, 24, .65),
    0 10px 24px rgba(0, 0, 0, .55);
}

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .grid--features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .grid--features { grid-template-columns: minmax(0, 1fr); }
  .plate { padding: 28px 24px; }
}

/* How it works (black panels, amber step numbers) */
.step { text-align: center; padding-top: 28px; }
.step__num {
  position: absolute; top: 22px; left: 30px;
  font: 700 1.35rem/1 var(--font-lcd);
  color: var(--pl-accent);
}
.plate--black .step__num { color: var(--amber); text-shadow: 0 0 10px rgba(255, 200, 105, .45); }
.step__icon { display: flex; align-items: center; justify-content: center; height: 72px; margin-bottom: 14px; }
.step p { margin-top: 4px; }
.keycap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 108px; height: 56px; padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(#2a2a27, #121210);
  color: var(--ivory);
  font: 600 1.15rem/1 var(--font-body);
  box-shadow: 0 0 0 3px #0b0b0a, 0 0 0 5px rgba(140, 103, 39, .9), inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 10px rgba(0, 0, 0, .45);
}
.icon { width: 52px; height: 52px; color: var(--pl-accent, var(--ink)); }
.icon--wave { width: 84px; height: 54px; fill: var(--pl-accent, var(--ink)); }

/* Features */
.feature { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.feature .icon { margin-bottom: 6px; }
.feature p { max-width: 34ch; }
.langs { font-weight: 500; }
.drums {
  display: inline-flex; gap: 3px;
  padding: 5px; margin-bottom: 6px;
  border-radius: 6px;
  background: #1b1a17;
  box-shadow: 0 0 0 2px var(--brass-lo), inset 0 2px 4px #000;
}
.drums span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 36px;
  border-radius: 3px;
  background: linear-gradient(#bdb294, #f7efd8 35%, #f7efd8 65%, #b3a887);
  color: #1d1810;
  font: 700 1.25rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* ---------- Pricing ---------- */

.billing { display: flex; justify-content: center; margin: 8px 0 36px; }
.billing__plate { padding: 22px 40px 26px; }

/* Slide switch, after the app's click-sound selector: recessed slot, thin line with two
   stop rings, ribbed chrome knob, engraved labels with a dot and tick above each stop. */
.slide { --slide-w: 240px; --knob-w: 60px; --inset: 8px; width: var(--slide-w); }
.slide__stops { position: relative; height: 46px; }
.slide__stop {
  position: absolute; top: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  font: 700 .78rem/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--pl-muted);
  cursor: pointer; user-select: none;
  padding: 0 6px;
}
.slide__stop::before { /* dot */
  content: ""; order: 2;
  width: 6px; height: 6px; margin-top: 6px; border-radius: 50%;
  background: var(--pl-accent);
}
.slide__stop::after { /* tick */
  content: ""; order: 3;
  width: 2px; height: 10px; margin-top: 4px;
  background: var(--pl-accent);
}
.slide__stop[data-billing="monthly"] { left: calc(var(--inset) + var(--knob-w) / 2); }
.slide__stop[data-billing="yearly"] { left: calc(var(--slide-w) - var(--inset) - var(--knob-w) / 2); }
.slide__stop.is-active { color: var(--pl-title); }
.plate--black .slide__stop.is-active { color: var(--amber); text-shadow: 0 0 8px rgba(255, 200, 105, .35); }

.slide__track {
  --stop-a: calc(var(--inset) + var(--knob-w) / 2);
  --stop-b: calc(var(--slide-w) - var(--inset) - var(--knob-w) / 2);
  position: relative; display: block;
  width: var(--slide-w); height: 56px;
  padding: 0; border: 0; border-radius: 16px;
  cursor: pointer;
  background:
    radial-gradient(circle at var(--stop-a) 50%, transparent 0 3.5px, #8f7f5a 4px 5.5px, transparent 6px),
    radial-gradient(circle at var(--stop-b) 50%, transparent 0 3.5px, #8f7f5a 4px 5.5px, transparent 6px),
    linear-gradient(#5f5338, #5f5338) center / calc(var(--slide-w) - 2 * var(--inset)) 2px no-repeat,
    linear-gradient(#030303, #14130f 70%, #1c1a14);
  box-shadow:
    inset 0 4px 8px #000,
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 0 0 2px #241d10,
    0 0 0 4px #b8923f,
    0 1px 0 4px rgba(255, 240, 200, .55);
}
.slide__knob {
  position: absolute; top: var(--inset); left: var(--inset);
  width: var(--knob-w); height: calc(56px - 2 * var(--inset));
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), #4a4740 calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .26) 0 1px, rgba(255, 255, 255, .45) 1px 2px, transparent 2px 4px),
    linear-gradient(#f6f3ea, #d6d1c4 40%, #a9a397 100%);
  box-shadow:
    0 0 0 1px #3c3830,
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(0, 0, 0, .28),
    0 5px 9px rgba(0, 0, 0, .75);
  transform: translateX(0);
  transition: transform .22s cubic-bezier(.3, .7, .2, 1);
}
.slide__track[aria-checked="true"] .slide__knob {
  transform: translateX(calc(var(--slide-w) - 2 * var(--inset) - var(--knob-w)));
}
.slide__track:hover .slide__knob { filter: brightness(1.05); }
.slide__track:focus-visible { outline-offset: 6px; border-radius: 16px; }

.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 40px 40px 36px; }
.plan .plan__name { font-size: 1.6rem; }
.plan__price { margin-top: 10px; line-height: 1; }
.plan__amount { font: 800 clamp(2.75rem, 5vw, 4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--pl-fg); }
.plan__unit { font: 700 1.4rem/1 var(--font-display); color: var(--pl-fg); }
.plan__note { margin-top: 10px; min-height: 1.6em; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--amber);
  color: var(--ink);
  font: 700 .78rem/1.2 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 0 0 1px #000, 0 0 10px rgba(255, 200, 105, .3);
}
.tag:empty { display: none; }
.checks { margin: 22px 0 28px; display: grid; gap: 10px; flex: 1 0 auto; align-content: start; }
.checks li { position: relative; padding-left: 36px; font-weight: 500; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .1em;
  width: 22px; height: 22px; border-radius: 4px;
  background: #17140e;
  box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 240, 200, .5);
}
.plate--black .checks li::before { background: #0a0a09; box-shadow: inset 0 1px 2px #000, 0 0 0 1.5px var(--brass); }
.checks li::after {
  content: ""; position: absolute; left: 7px; top: calc(.1em + 4px);
  width: 7px; height: 12px;
  border: solid var(--ivory); border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
/* Pro stays the highlight on black: amber glow rim, amber price, lit button. */
.plan--pro {
  box-shadow:
    0 0 0 1px #000,
    0 0 0 3px rgba(255, 200, 105, .75),
    0 0 40px rgba(255, 190, 90, .30),
    inset 0 0 0 1.5px rgba(255, 200, 105, .9),
    inset 0 0 0 3px rgba(0, 0, 0, .55),
    0 12px 26px rgba(0, 0, 0, .6);
}
.plan--pro .plan__amount { color: var(--amber); text-shadow: 0 0 18px rgba(255, 200, 105, .3); }
.badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 6px;
  background: linear-gradient(#ffe3a0, var(--amber) 55%, #e5a443);
  color: var(--ink);
  font: 700 .82rem/1.2 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 0 1px #000, 0 0 0 3px #8c6727, 0 0 18px rgba(255, 200, 105, .4);
  white-space: nowrap;
}
.plate .badge { color: var(--ink); }
@media (max-width: 760px) {
  .plans { gap: 40px; }
  .plan { padding: 36px 24px 28px; }
}

/* FAQ sits inside one black panel */
.faq-panel { padding: 32px; }
@media (max-width: 639px) { .faq-panel { padding: 24px 14px; } }
/* ---------- Download: two options ---------- */

.download__lead { text-align: center; margin-bottom: var(--gap); }
.downloads { align-items: stretch; }
.download { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 36px 32px; }
.download__mark { width: 64px; height: 40px; fill: url(#brass-grad); }
.plate .download__title { font-size: 1.45rem; }
.download__kind { font-weight: 600; color: var(--ivory) !important; }
.download__size {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  border-radius: 4px; background: var(--lcd); color: var(--lcd-text);
  font: 500 .9rem/1.5 var(--font-lcd); letter-spacing: .04em;
  box-shadow: 0 0 0 1px rgba(214, 178, 96, .5);
  white-space: nowrap;
}
.download__desc { max-width: 36ch; flex: 1 0 auto; }
.download .btn { margin-top: 12px; }
@media (max-width: 760px) {
  .download { padding: 30px 22px 26px; }
  .download__lead .lcd { font-size: .82rem; letter-spacing: .08em; }
}
/* ---------- FAQ: green readout rows ---------- */

.faq { display: grid; gap: 14px; }
.faq details {
  border-radius: 8px;
  background: linear-gradient(#0b160d, var(--lcd));
  border: 1px solid rgba(214, 178, 96, .6);
  box-shadow: 0 0 0 1px #000, inset 0 0 18px rgba(0, 0, 0, .85), 0 6px 14px rgba(0, 0, 0, .45);
}
.faq summary {
  position: relative;
  display: block;
  min-height: 56px;
  padding: 15px 64px 15px 24px;
  cursor: pointer;
  list-style: none;
  font: 400 1.05rem/1.45 var(--font-lcd-text);
  color: var(--lcd-text);
  text-shadow: 0 0 6px rgba(169, 223, 138, .35);
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 18px; height: 3px; margin-top: -1.5px; border-radius: 2px;
  background: var(--brass-hi);
  transition: transform .18s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: #fff; }
.faq__body { padding: 0 24px 20px; color: #d3e7c6; display: grid; gap: 10px; }
.faq__body a { color: var(--lcd-text); }
.faq__list { display: grid; gap: 6px; padding-left: 0; }
.faq__list li { position: relative; padding-left: 22px; }
.faq__list li::before { content: "›"; position: absolute; left: 4px; color: var(--lcd-text); font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 48px;
  font-size: .95rem;
  color: var(--ivory-2);
}
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; }
.site-footer__links li { display: flex; align-items: center; }
.site-footer__links li + li::before { content: "·"; padding: 0 4px; color: var(--brass); }
.site-footer__links a, .site-footer__links .is-soon {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  text-decoration: none; border-radius: 6px;
}
.site-footer__links a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--brass); }
.site-footer__links .is-soon { color: #8f866d; }
@media (max-width: 640px) {
  .site-footer { justify-content: center; text-align: center; padding: 12px 28px; }
  .site-footer__links { justify-content: center; }
  .site-footer__copy { width: 100%; }
}

/* ---------- Stub pages ---------- */

.stub { padding: clamp(48px, 8vw, 96px) 0; display: grid; place-items: center; }
.stub .plate { width: min(640px, 100%); text-align: center; padding: 48px 40px; }
.stub h1 { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--font-engraved); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.stub .lcd { margin: 22px 0 28px; }

/* ---------- Great for: wide green terminal with a running line ---------- */

.ticker__screen {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  border-radius: 10px;
  background: linear-gradient(#0b160d, var(--lcd));
  border: 2px solid #b8913f;
  box-shadow: 0 0 0 1px #000, inset 0 0 24px rgba(0, 0, 0, .9), 0 8px 18px rgba(0, 0, 0, .5);
  color: var(--lcd-text);
  font: 500 1.15rem/1.4 var(--font-lcd);
  letter-spacing: .1em; text-transform: uppercase;
  text-shadow: 0 0 7px rgba(169, 223, 138, .55);
}
.ticker__prompt { flex: none; color: var(--amber); text-shadow: 0 0 8px rgba(255, 200, 105, .5); }
.ticker__window {
  position: relative; flex: 1 1 auto; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__track { display: inline-flex; animation: ticker-run 48s linear infinite; }
.ticker__track span { padding-right: .6em; }
.ticker__screen:hover .ticker__track { animation-play-state: paused; }
.ticker__cursor { flex: none; width: .6em; height: 1.1em; background: var(--lcd-text); box-shadow: 0 0 8px rgba(169, 223, 138, .6); animation: ticker-blink 1.1s steps(1) infinite; }
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-blink { 50% { opacity: 0; } }
@media (max-width: 560px) {
  .ticker__screen { font-size: .95rem; padding: 12px 14px; gap: 10px; }
  .ticker__cursor { display: none; }
}
/* No motion: show the list once, wrapped, instead of a running line. */
@media (prefers-reduced-motion: reduce) {
  .ticker__window { white-space: normal; -webkit-mask-image: none; mask-image: none; }
  .ticker__track span + span { display: none; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Forced colours (Windows High Contrast) ---------- */

@media (forced-colors: active) {
  .btn, .plate, .bar-metal, .faq details, .lcd, .slide__track, .slide__knob { border: 1px solid CanvasText; border-image: none; }
  .logo__text { -webkit-text-fill-color: CanvasText; }
}
