/* =========================================================================
   Mstudio website — Phase 1 (frontend only)
   Visual language: the rear panel of a studio amplifier, used sparingly.
   Fonts are the same ones the MSFX panel ships with.
   ========================================================================= */

@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/BebasNeue-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../assets/fonts/SourceSans3.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  /* Surfaces */
  --bg: #09090a;
  --bg-2: #0e0e10;
  --plate-top: #1b1b1d;
  --plate-mid: #0d0d0e;
  --plate-bot: #131315;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  /* Text */
  --fg: #ecebe6;
  --dim: #a6a49d;
  --faint: #6f6d68;
  /* Hardware colours */
  --amber: #ffb347;
  --amber-hot: #ff8a1f;
  --amber-glow: rgba(255, 140, 40, .55);
  --red: #ff3b2f;
  --green: #5be37a;
  --silver: linear-gradient(100deg, #98989d, #e2e2e6 30%, #a8a8ad 50%, #e6e6ea 75%, #9c9ca1);
  --bezel: 0 0 0 1px #2c2c2f, 0 0 0 2px #77777c;
  /* Type */
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 12vw, 168px);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(255, 160, 60, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- Typography */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .95; margin: 0; }
h1 { font-size: clamp(56px, 9vw, 128px); }
h2 { font-size: clamp(44px, 6vw, 80px); }
h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: .04em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--dim); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.sv { color: transparent; background-image: var(--silver); -webkit-background-clip: text; background-clip: text; }
.glow { color: var(--amber); text-shadow: 0 0 18px rgba(255, 150, 50, .55), 0 0 2px rgba(255, 200, 120, .8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 22px;
}
.eyebrow .led { width: 7px; height: 7px; }
.label { font: 400 15px/1 var(--display); letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 + .lead { margin-top: 22px; }

/* --------------------------------------------------------------- Hardware */
.led {
  display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 8%, var(--c, var(--amber)) 30%, color-mix(in srgb, var(--c, var(--amber)) 50%, #000) 100%);
  box-shadow: 0 0 6px var(--c, var(--amber)), 0 0 14px color-mix(in srgb, var(--c, var(--amber)) 60%, transparent);
}
.led.green { --c: var(--green); }
.led.red { --c: var(--red); }
.led.off { background: radial-gradient(circle at 35% 35%, #555 0 10%, #2a2a2c 60%, #111); box-shadow: inset 0 0 2px #000; }
.led.blink { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Brushed, grooved panel with a thin metal bevel */
.plate {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--plate-top), var(--plate-mid) 55%, var(--plate-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .8),
              0 0 0 1px #2a2a2d, 0 0 0 2px #5f5f63, 0 24px 60px rgba(0, 0, 0, .7);
}
.plate::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px),
              linear-gradient(100deg, rgba(255, 255, 255, .06), transparent 30%, transparent 70%, rgba(255, 255, 255, .04));
}
.plate > * { position: relative; z-index: 1; }
.plate.recessed {
  background: linear-gradient(180deg, #0c0c0d, #111113);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .06);
}

/* Mounting screws: <i class="screw tl"></i> etc. */
.screw {
  position: absolute; z-index: 2; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8d8dc, #6a6a70 55%, #2a2a2e);
  box-shadow: 0 1px 2px #000, inset 0 0 1px #000;
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5.5px; height: 2px; background: #2a2a2e; transform: rotate(var(--r, 35deg)); }
.screw.tl { top: 14px; left: 14px; }
.screw.tr { top: 14px; right: 14px; --r: -20deg; }
.screw.bl { bottom: 14px; left: 14px; --r: 70deg; }
.screw.br { bottom: 14px; right: 14px; --r: 10deg; }

/* Silver hairline rule, like the dividers on the back panel */
.rule-v { width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, #8a8a8f 20%, #c6c6ca 50%, #8a8a8f 80%, transparent); opacity: .6; }
.rule-h { height: 1px; background: linear-gradient(90deg, transparent, #8a8a8f 15%, #c6c6ca 50%, #8a8a8f 85%, transparent); opacity: .45; border: 0; margin: 0; }

/* Tolex (amp covering) background */
.tolex { background: #0b0b0c url("../assets/hw/tolex-A.png") 0 0 / 160px 160px; }
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px),
              radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, .04), transparent 70%);
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border: 0; border-radius: 10px;
  font: 400 21px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Primary: an illuminated amber key */
.btn-lit {
  color: #1a0d02;
  background: linear-gradient(180deg, #ffd08a, #ffab3d 45%, #f08a1c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(120, 50, 0, .45),
              0 0 0 1px #6a3a0a, 0 0 0 3px #2a2a2d, 0 0 0 4px #6a6a6f, 0 8px 30px rgba(255, 140, 40, .35);
}
.btn-lit:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(120, 50, 0, .45),
              0 0 0 1px #6a3a0a, 0 0 0 3px #2a2a2d, 0 0 0 4px #8a8a8f, 0 10px 44px rgba(255, 150, 50, .6); }
.btn-lit .free { padding: 4px 7px 3px; border-radius: 4px; background: rgba(40, 18, 0, .85); color: var(--amber); font-size: 15px; letter-spacing: .12em; box-shadow: inset 0 1px 2px #000; }

/* Secondary: brushed metal key */
.btn-metal {
  color: var(--fg);
  background: linear-gradient(180deg, #2c2c30, #18181b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px #000, 0 0 0 2px #4a4a4f, 0 6px 18px rgba(0, 0, 0, .5);
}
.btn-metal:hover { background: linear-gradient(180deg, #36363a, #1e1e21); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px #000, 0 0 0 2px #77777c, 0 6px 18px rgba(0, 0, 0, .5); }
.btn-ghost { color: var(--dim); background: transparent; padding: 0 10px; }
.btn-ghost:hover { color: var(--fg); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 17px; }
.btn-lg { --h: 62px; padding: 0 34px; font-size: 25px; }
.btn-block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .cta-row { justify-content: center; }
.cta-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.cta-note span { display: inline-flex; align-items: center; gap: 8px; }
.center .cta-note { justify-content: center; }

/* "100% FREE" — an illuminated display window */
.free-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 8px; border-radius: 8px;
  background: linear-gradient(180deg, #120b05, #1b1108);
  box-shadow: inset 0 2px 6px #000, 0 0 0 1px #000, 0 0 0 2px #55555a, 0 0 24px rgba(255, 140, 40, .15);
  font: 400 19px/1 var(--display); letter-spacing: .16em; color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 150, 50, .7);
}
.free-tag small { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: rgba(255, 179, 71, .65); text-shadow: none; }
.free-tag.big { padding: 14px 20px 12px; font-size: 30px; gap: 14px; }
.free-tag.big small { font-size: 12px; }

/* -------------------------------------------------------------------- Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled, .nav.solid {
  background: rgba(10, 10, 11, .78);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.logo .wing { width: 30px; height: 16px; background: var(--silver); -webkit-mask: url("../assets/img/wing.svg") center / 100% 100% no-repeat; mask: url("../assets/img/wing.svg") center / 100% 100% no-repeat; }
.logo .wing.r { transform: scaleX(-1); }
.logo .word { width: 104px; aspect-ratio: 628 / 220; background: var(--silver); -webkit-mask: url("../assets/img/mstudio.png") center / contain no-repeat; mask: url("../assets/img/mstudio.png") center / contain no-repeat; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; font: 400 18px/1 var(--display); letter-spacing: .12em; color: var(--dim); border-radius: 6px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--fg); transition: transform .25s, opacity .25s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------- Hero */
.hero {
  --bh: max(37.5vw, 460px);           /* banner height: the banner is 8:3 */
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--bh) * .64) 0 clamp(64px, 8vw, 104px);
}
.hero-media { position: absolute; left: 0; right: 0; top: 0; height: var(--bh); z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 10, .6) 0%, rgba(9, 9, 10, 0) 16%, rgba(9, 9, 10, 0) 44%, rgba(9, 9, 10, .78) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9, 9, 10, .55), transparent 18%, transparent 82%, rgba(9, 9, 10, .55));
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: calc(var(--bh) * .58); width: min(1100px, 100%); height: 520px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(9, 9, 10, .7), transparent 70%);
}
.hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 26px; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.hero h1 .sv { filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .8)); }
.hero h1 .line2 { display: block; font-size: .42em; letter-spacing: .06em; margin-top: 14px; color: var(--fg); }
.hero .lead { margin: 0 auto 36px; color: #c9c7c0; }
.hero .free-tag { margin-bottom: 26px; }

/* ------------------------------------------------- Spec strip (faceplate) */
.specs { margin-top: -10px; }
.spec-plate { display: flex; align-items: stretch; padding: 34px 20px; }
.spec { flex: 1 1 0; text-align: center; padding: 0 12px; }
.spec b { display: block; font: 400 clamp(36px, 4vw, 52px)/1 var(--display); letter-spacing: .03em; }
.spec span { display: block; margin-top: 8px; font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ------------------------------------------------------- Product showcase */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.15fr; }
.split.rev > :first-child { order: 2; }

.bezel {
  position: relative; border-radius: 14px; padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #121214 40%, #1c1c1f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px #000, 0 0 0 2px #4d4d52, 0 40px 80px rgba(0, 0, 0, .75);
}
.bezel img { width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px #000; background: #111; }
.bezel .tag { position: absolute; left: 22px; bottom: -14px; z-index: 2; }
.bezel.glow-under::before { content: ""; position: absolute; inset: 10% 8% -8%; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(255, 130, 30, .28), transparent 70%); filter: blur(30px); }

.app-tile {
  width: 92px; height: 92px; border-radius: 20px; flex: none; position: relative;
  display: grid; place-items: center;
  background: #0b0b0c url("../assets/hw/tolex-A.png") 0 0 / 90px 90px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px #000, 0 0 0 2px #77777c, 0 12px 30px rgba(0, 0, 0, .6);
}
.app-tile img { width: 72%; filter: drop-shadow(0 2px 4px #000); }
.app-tile.lg { width: 120px; height: 120px; border-radius: 26px; }

.product-id { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.product-id .meta { display: flex; flex-direction: column; gap: 8px; }
.product-id h2 { font-size: clamp(56px, 6vw, 84px); }
.product-copy p + p { margin-top: 16px; }
.product-copy .lead { color: var(--fg); }
.product-copy p:not(.lead) { color: var(--dim); }
.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: baseline; color: #d6d4cd; }
.checks li .led { transform: translateY(-2px); }

/* ---------------------------------------------------------------- Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.benefit { background: var(--bg-2); padding: 40px 34px 44px; transition: background .3s ease; }
.benefit:hover { background: #131315; }
.benefit .well {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px;
  background: radial-gradient(circle at 50% 40%, #1a1a1c, #08080a 70%);
  box-shadow: inset 0 3px 8px #000, 0 0 0 1px #000, 0 0 0 2px #3c3c40, 0 1px 0 3px rgba(255, 255, 255, .04);
}
.benefit .well img { max-width: 46px; max-height: 50px; filter: drop-shadow(0 2px 3px #000); }
.benefit .well .knob { width: 48px; height: 48px; background: url("../assets/hw/knob-A.png") 0 0 / 100% auto no-repeat; filter: drop-shadow(0 2px 3px #000); }
.benefit h3 { font-size: 30px; margin-bottom: 12px; }
.benefit p { color: var(--dim); font-size: 16px; }

/* ---------------------------------------------------------- Coming (rack) */
.rack-section { overflow: hidden; }
.rack-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.rack { position: relative; padding: 22px 34px; border-radius: 16px; display: grid; gap: 14px; }
.rack::before, .rack::after { content: ""; position: absolute; top: 16px; bottom: 16px; width: 12px; border-radius: 3px;
  background: repeating-linear-gradient(180deg, #2a2a2d 0 6px, #0a0a0b 6px 9px, #2a2a2d 9px 22px); box-shadow: inset 0 0 0 1px #000; }
.rack::before { left: 10px; } .rack::after { right: 10px; }
.unit {
  position: relative; display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 0 30px 0 44px; border-radius: 6px;
  background: linear-gradient(180deg, #1c1c1f, #0f0f11 60%, #151517);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px #000, 0 0 0 2px #45454a, 0 10px 20px rgba(0, 0, 0, .5);
}
.unit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px); }
.unit .screw { top: 50%; margin-top: -6.5px; }
.unit .screw.l { left: 14px; } .unit .screw.r { right: 14px; left: auto; }
.unit .slot { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--faint); width: 30px; }
.unit .name { font: 400 28px/1 var(--display); letter-spacing: .08em; }
.unit .state { margin-left: auto; display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.unit.blank .name { color: #3e3e42; text-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
.unit.live { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px #000, 0 0 0 2px #77777c, 0 10px 30px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 140, 40, .08); }
.unit.live img { height: 30px; width: auto; }
.unit.dev .name { color: var(--dim); }
.unit .vents { display: flex; gap: 5px; }
.unit .vents i { width: 4px; height: 26px; border-radius: 2px; background: #050506; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, .06); }

/* ----------------------------------------------------------------- Reviews */
.placeholder-flag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px; border-radius: 6px;
  font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #ffcf8a;
  background: rgba(255, 160, 50, .08); box-shadow: inset 0 0 0 1px rgba(255, 160, 50, .3);
}
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 34px 32px 30px; border-radius: 14px; display: flex; flex-direction: column; gap: 22px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.review::before { content: "Placeholder"; position: absolute; top: 18px; right: 18px; padding: 4px 8px; border-radius: 4px;
  font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line-2); }
.review .stars { display: flex; gap: 6px; }
.review .stars i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2d; box-shadow: inset 0 1px 2px #000; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--dim); font-style: italic; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: repeating-linear-gradient(45deg, #1b1b1e 0 6px, #141416 6px 12px); box-shadow: inset 0 0 0 1px var(--line-2); }
.review .who b { display: block; font: 400 20px/1 var(--display); letter-spacing: .08em; color: var(--dim); }
.review .who span { font-size: 14px; color: var(--faint); }

/* --------------------------------------------------- Contact + newsletter */
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.connect-grid .plate { padding: clamp(36px, 4vw, 56px); }
.connect-grid h3 { font-size: clamp(36px, 3.4vw, 48px); margin-bottom: 14px; }
.connect-grid p.sub { color: var(--dim); margin-bottom: 30px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 400 15px/1 var(--display); letter-spacing: .16em; color: var(--dim); }
.input, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 8px;
  background: linear-gradient(180deg, #070708, #0e0e10);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), inset 0 0 0 1px #000, 0 1px 0 rgba(255, 255, 255, .07);
  font-size: 16px; transition: box-shadow .2s;
}
.textarea { height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #55534f; }
.input:focus, .textarea:focus { outline: none; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 170, 70, .7), 0 0 0 3px rgba(255, 150, 50, .12); }
.input.invalid { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 70, 50, .8); }
.inline-form { display: flex; gap: 12px; }
.inline-form .input { flex: 1; }
.form-status { display: none; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: 15px; line-height: 1.45; color: #e8d7bf;
  background: rgba(255, 160, 50, .07); box-shadow: inset 0 0 0 1px rgba(255, 160, 50, .25); }
.form-status.show { display: flex; }
.form-status .led { margin-top: 6px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--faint); }
.contact-lines { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.contact-lines li { display: flex; align-items: center; gap: 14px; color: var(--dim); }
.contact-lines .k { width: 96px; font: 400 15px/1 var(--display); letter-spacing: .16em; color: var(--faint); }

/* ----------------------------------------------------------------- Footer */
.footer { padding: 72px 0 48px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer .logo .word { width: 128px; }
.footer .tagline { margin-top: 16px; max-width: 320px; color: var(--faint); font-size: 15px; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 88px); }
.footer-cols h4 { font-size: 16px; letter-spacing: .18em; color: var(--faint); margin-bottom: 16px; }
.footer-cols a, .footer-cols button { display: block; padding: 0; margin-bottom: 10px; color: var(--dim); font-size: 15px; background: none; border: 0; text-align: left; }
.footer-cols a:hover, .footer-cols button:hover { color: var(--fg); }
.maker { display: flex; align-items: center; gap: 16px; }
.maker img { width: 130px; opacity: .9; }
.maker span { font: 600 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; color: var(--faint); }

/* ====================================================== MSFX product page */
.p-hero { padding: 150px 0 clamp(72px, 8vw, 110px); position: relative; overflow: hidden; isolation: isolate; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 60% at 75% 40%, rgba(255, 130, 30, .14), transparent 70%), radial-gradient(ellipse 50% 40% at 10% 0%, rgba(255, 255, 255, .04), transparent 70%); }
.p-hero-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.p-hero h1 { font-size: clamp(88px, 12vw, 168px); line-height: .85; }
.p-hero .subtitle { margin: 14px 0 26px; font: 400 clamp(26px, 2.6vw, 34px)/1.05 var(--display); letter-spacing: .06em; color: #d9d7d0; }
.p-hero .lead { margin-bottom: 30px; }
.p-hero .free-tag { margin-bottom: 30px; }
.download-box { padding: 26px; border-radius: 14px; }
.download-box .row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.download-box .req { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.download-box .req span { display: inline-flex; align-items: center; gap: 8px; }
.lock { width: 14px; height: 14px; flex: none; }

.backpanel { padding-top: 0; }
.backpanel figure { margin: 0; }
.backpanel img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3e, 0 40px 90px rgba(0, 0, 0, .8); }
.backpanel img.portrait { display: none; }
.backpanel figcaption { margin-top: 18px; text-align: center; font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* Amp design selector: three lit keys like the MSFX settings page */
.amp-switch { display: inline-flex; gap: 8px; padding: 8px; border-radius: 12px; }
.amp-switch button {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 0; border-radius: 7px;
  font: 400 18px/1 var(--display); letter-spacing: .12em; color: var(--dim);
  background: linear-gradient(180deg, #232326, #141416); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px #000;
  transition: color .2s, background .2s, box-shadow .2s;
}
.amp-switch button:hover { color: var(--fg); }
.amp-switch button[aria-pressed="true"] { color: #2a1400; background: linear-gradient(180deg, #ffcf8a, #f59a2c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 1px #5a3008, 0 0 22px rgba(255, 140, 40, .4); }
.amp-switch button[aria-pressed="true"] .led { --c: #3a1a00; box-shadow: none; background: #4a2200; }
.amp-switch-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 36px; }
.amp-switch-wrap .label { color: var(--faint); }

.feature { padding: clamp(64px, 8vw, 110px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .num { display: block; margin-bottom: 18px; font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.feature h3 { font-size: clamp(42px, 4.6vw, 64px); margin-bottom: 22px; }
.feature .what { color: var(--fg); font-size: 19px; margin-bottom: 18px; }
.feature .how { color: var(--dim); }
.feature .how + .how { margin-top: 14px; }
.why { margin-top: 26px; padding: 18px 20px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.why .label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--amber); }
.why p { color: #d1cfc8; font-size: 16px; }
.kv { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.kv li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 15.5px; color: var(--dim); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv li b { font: 400 18px/1.3 var(--display); letter-spacing: .1em; color: var(--fg); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 7px 11px 6px; border-radius: 6px; font: 400 15px/1 var(--display); letter-spacing: .1em; color: #cfcdc6;
  background: linear-gradient(180deg, #202023, #141416); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px #000; }
.chip[title] { cursor: help; }
.keys { display: inline-flex; gap: 4px; }
kbd { display: inline-block; min-width: 24px; padding: 2px 6px; border-radius: 4px; font: 500 12px/1.5 var(--mono); text-align: center; color: var(--fg); background: #1d1d20; box-shadow: inset 0 -2px 0 #000, 0 0 0 1px #3a3a3e; }

.shot-swap { position: relative; }
.shot-swap img { transition: opacity .35s ease; }
.shot-swap img.fading { opacity: 0; }

/* Live Nixie clock, built from the MSFX tube renders */
.nixie-stage { padding: 26px; border-radius: 16px; }
.nixtubes { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: 1880 / 684; border-radius: 10px;
  background: #0b0807 url("../assets/nixie/row-base.webp") center / 100% 100% no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 0 90px rgba(255, 100, 20, .18); }
.nixtubes i { position: absolute; display: block; mix-blend-mode: screen; background-repeat: no-repeat; background-size: 1000% 100%; pointer-events: none; }
.nixie-caption { display: flex; justify-content: space-between; margin-top: 16px; font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.also .plate { padding: 32px 30px; }
.also h4 { font-size: 26px; letter-spacing: .06em; margin-bottom: 10px; }
.also p { color: var(--dim); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 34px 30px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.step .n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%;
  font: 400 24px/1 var(--display); color: var(--amber); background: #0a0a0b; box-shadow: inset 0 2px 5px #000, 0 0 0 1px #000, 0 0 0 2px #45454a; }
.step h4 { font-size: 28px; letter-spacing: .05em; margin-bottom: 10px; }
.step p { color: var(--dim); font-size: 15.5px; }
.req-plate { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: stretch; padding: 26px 20px; }
.req-plate > div:not(.rule-v) { flex: 1 1 180px; padding: 6px 18px; }
.req-plate .label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--faint); }
.req-plate b { font: 400 24px/1.1 var(--display); letter-spacing: .06em; font-weight: 400; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font: 400 26px/1.1 var(--display); letter-spacing: .06em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .led { transition: opacity .2s; }
.faq details:not([open]) summary .led { background: radial-gradient(circle at 35% 35%, #555 0 10%, #2a2a2c 60%, #111); box-shadow: inset 0 0 2px #000; }
.faq details p { padding: 0 0 26px; color: var(--dim); max-width: 720px; }

/* Final promotional banner: the one place the tubes light up */
.promo { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.promo-panel { padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 72px); text-align: center; overflow: hidden; border-radius: 18px; }
.promo-panel h2 { font-size: clamp(54px, 8vw, 112px); margin: 8px 0 22px; }
.promo-panel .lead { margin: 0 auto 36px; }
.tube-window {
  position: relative; height: clamp(150px, 18vw, 210px); margin: 0 auto clamp(36px, 5vw, 56px); max-width: 880px; border-radius: 12px; overflow: hidden;
  display: flex; justify-content: space-evenly; align-items: flex-end;
  background: radial-gradient(ellipse 60% 90% at 50% 110%, rgba(255, 130, 30, var(--warm, 0)), transparent 70%), linear-gradient(180deg, #050505, #120c08);
  box-shadow: inset 0 8px 24px #000, inset 0 0 0 2px #000, 0 0 0 2px #3a3a3e, 0 0 0 4px #77777c, 0 0 0 5px #1a1a1c;
  transition: --warm 1s;
}
.tube-window::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(170, 170, 176, .18) 46px 48px, transparent 48px 50px), linear-gradient(170deg, rgba(255, 255, 255, .08), transparent 30%); }
.tube { position: relative; width: clamp(60px, 9vw, 104px); margin-bottom: -6px; }
.tube img { width: 100%; }
.tube .on { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; filter: drop-shadow(0 0 22px rgba(255, 140, 40, .75)) brightness(1.06); }
.warm .tube .on { opacity: 1; }
.warm .tube:nth-child(2) .on { transition-delay: .15s; } .warm .tube:nth-child(3) .on { transition-delay: .3s; }
.warm .tube:nth-child(4) .on { transition-delay: .45s; } .warm .tube:nth-child(5) .on { transition-delay: .6s; }
.tube-window .glowfill { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 50% 110%, rgba(255, 130, 30, .4), transparent 70%); opacity: 0; transition: opacity 1.6s ease .3s; }
.warm .tube-window .glowfill { opacity: 1; }
.power-row { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.power-row img { width: 30px; filter: drop-shadow(0 0 10px rgba(255, 60, 30, .5)); }
.power-row .label { color: var(--dim); }

/* ============================================================ Sign-in modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 5, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s ease; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(480px, 100%); max-height: calc(100svh - 40px); overflow: auto; overscroll-behavior: contain;
  border-radius: 16px; padding: 36px clamp(22px, 5vw, 40px) 30px;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #2a2a2d, #151517); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px #000, 0 0 0 2px #45454a; color: var(--dim);
}
.modal-close:hover { color: var(--fg); }
.modal-close svg { width: 14px; height: 14px; }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.modal-head .app-tile { width: 54px; height: 54px; border-radius: 13px; }
.modal-head .t { font: 400 15px/1.2 var(--display); letter-spacing: .14em; color: var(--dim); }
.modal-head .t b { display: block; font-size: 24px; color: var(--fg); font-weight: 400; letter-spacing: .08em; }
.modal-head .free-tag { margin-left: auto; font-size: 15px; padding: 7px 10px 6px; }

/* Two-position selector between Sign in and Create account */
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 10px; margin-bottom: 26px;
  background: #070708; box-shadow: inset 0 2px 6px #000, 0 0 0 1px #000, 0 1px 0 1px rgba(255, 255, 255, .06); }
.mode-switch button { position: relative; z-index: 1; height: 42px; border: 0; background: none; font: 400 18px/1 var(--display); letter-spacing: .12em; color: var(--faint); transition: color .25s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mode-switch button[aria-selected="true"] { color: var(--fg); }
.mode-switch .knob-slide { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 7px;
  background: linear-gradient(180deg, #2e2e32, #1a1a1d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px #000, 0 2px 6px rgba(0, 0, 0, .6);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.modal[data-mode="register"] .mode-switch .knob-slide { transform: translateX(100%); }
.mode-switch .led { width: 6px; height: 6px; }
.mode-switch button[aria-selected="false"] .led { background: radial-gradient(circle at 35% 35%, #555 0 10%, #2a2a2c 60%, #111); box-shadow: inset 0 0 2px #000; }

.views { position: relative; overflow: hidden; transition: height .35s cubic-bezier(.2, .8, .2, 1); }
.view { transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.view[hidden] { display: block; position: absolute; inset: 0 0 auto; visibility: hidden; opacity: 0; }
.view.signin[hidden] { transform: translateX(-24px); }
.view.register[hidden] { transform: translateX(24px); }
.view h3 { font-size: 34px; margin-bottom: 6px; }
.view .sub { color: var(--dim); font-size: 15.5px; margin-bottom: 22px; }
.pw { position: relative; }
.pw .input { padding-right: 64px; }
.pw button { position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 10px; border: 0; border-radius: 6px; background: #1b1b1e; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--dim); box-shadow: 0 0 0 1px #000; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; font-size: 14.5px; }
.link { color: var(--amber); background: none; border: 0; padding: 0; font-size: inherit; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { width: 34px; height: 20px; border-radius: 10px; position: relative; background: #070708; box-shadow: inset 0 2px 4px #000, 0 0 0 1px #3a3a3e; transition: background .2s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(180deg, #d8d8dc, #8a8a8f); box-shadow: 0 1px 2px #000; transition: transform .2s; }
.toggle input:checked + .sw { background: #3a2408; box-shadow: inset 0 2px 4px #000, 0 0 0 1px #8a5a1a; }
.toggle input:checked + .sw::after { transform: translateX(14px); background: linear-gradient(180deg, #ffe0b0, #ffab3d); box-shadow: 0 0 8px rgba(255, 150, 50, .8); }
.toggle input:focus-visible + .sw { outline: 2px solid var(--amber); outline-offset: 2px; }
.switch-line { margin-top: 22px; text-align: center; color: var(--dim); font-size: 15px; }
.preview-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--faint); }
.preview-note .led { margin-top: 5px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .err { display: none; font-size: 13px; color: #ff8a7a; }
.field.has-err .err { display: block; }
.field.has-err .input { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 90, 70, .8); }
body.modal-open { overflow: hidden; }

/* ------------------------------------------------------- Scroll reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

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

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .spec-plate { flex-wrap: wrap; row-gap: 28px; }
  .spec-plate .rule-v { display: none; }
  .spec { flex: 1 1 30%; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 10px var(--gutter) 24px;
    background: rgba(10, 10, 11, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav.open { background: rgba(10, 10, 11, .96); }
  .nav-links a { padding: 16px 4px; font-size: 22px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--amber); }
  .nav-actions { margin-left: auto; }
  .nav-actions .signin { display: none; }
  .nav-toggle { display: block; }
  .split, .split.rev, .rack-grid, .p-hero-grid, .connect-grid { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .reviews, .also, .steps { grid-template-columns: 1fr; }
  .backpanel img.wide { display: none; }
  .backpanel img.portrait { display: block; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-actions .btn .long { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .spec { flex: 1 1 45%; }
  .hero { --bh: 400px; padding-top: 250px; }
  .hero-media img { object-position: 50% 40%; }
  .btn-lg { --h: 56px; padding: 0 24px; font-size: 22px; }
  .cta-row .btn { width: 100%; }
  .inline-form { flex-direction: column; }
  .unit { padding: 0 26px 0 36px; gap: 12px; min-height: 72px; }
  .unit .name { font-size: 22px; }
  .unit .vents { display: none; }
  .unit .state span:not(.led) { display: none; }
  .kv li { grid-template-columns: 1fr; gap: 4px; }
  .two { grid-template-columns: 1fr; }
  .amp-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .amp-switch button { padding: 0 8px; justify-content: center; font-size: 15px; gap: 6px; }
  .modal-head .free-tag { display: none; }
  .modal { padding: 10px; }
  .modal-close { right: 16px; }
}

/* Fixes after review */
.field label.toggle { font: 400 14.5px/1.3 var(--body); letter-spacing: 0; color: var(--dim); }
.views { margin: 0 -12px; padding: 0 12px; }
.view[hidden] { left: 12px; right: 12px; }
.promo-panel.tolex::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); pointer-events: none; }
.free-tag { white-space: nowrap; }
.free-tag.big small { white-space: normal; }
@media (max-width: 640px) { .free-tag.big { font-size: 26px; } }

/* ------------------------------------------- Round 2: hosts, banner, brand */
/* Pr / Ae badges, styled like the silver app keys on the MSFX back panel */
.hosts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.center-hosts { justify-content: center; margin-top: 26px; }
.app-badge {
  position: relative; z-index: 0; display: inline-grid; place-items: center; width: 44px; height: 43px; border-radius: 9px; flex: none;
  background: linear-gradient(145deg, #d9d9de, #7c7c82 45%, #c4c4c9 70%, #6c6c72);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .6);
  font: 700 20px/1 var(--body); letter-spacing: -.01em; color: #e4e4e8; text-shadow: 0 1px 1px #000;
}
.app-badge::before { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 6px; background: linear-gradient(160deg, #1c1c1f, #0b0b0c); box-shadow: inset 0 2px 4px #000, inset 0 -1px 0 rgba(255, 255, 255, .12); }
.hosts-label { margin-left: 4px; font: 400 17px/1.1 var(--display); letter-spacing: .14em; color: var(--dim); }

/* Rendered back-panel banner shown as a product visual */
.banner-frame { position: relative; }
.banner-frame img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3a3a3e, 0 40px 80px rgba(0, 0, 0, .75); }
.banner-frame.glow-under::before { content: ""; position: absolute; inset: 10% 8% -8%; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(255, 130, 30, .28), transparent 70%); filter: blur(30px); }
.banner-frame .tag { position: absolute; left: 22px; bottom: -14px; z-index: 2; }

/* Warning-label intro on the MSFX page */
.warning-lead { font: 600 15px/1.75 var(--body) !important; letter-spacing: .08em; text-transform: uppercase; color: #cfcdc6 !important; max-width: 560px; }
.warning-lead b { color: var(--fg); }

/* Mstudio brand plate (where the newsletter used to be) */
.brand-plate { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; }
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark .wing { width: clamp(56px, 7vw, 84px); height: clamp(30px, 3.7vw, 44px); background: var(--silver); -webkit-mask: url("../assets/img/wing.svg") center / 100% 100% no-repeat; mask: url("../assets/img/wing.svg") center / 100% 100% no-repeat; }
.brand-mark .wing.r { transform: scaleX(-1); }
.brand-mark .word { width: clamp(180px, 22vw, 280px); aspect-ratio: 628 / 220; background: var(--silver); -webkit-mask: url("../assets/img/mstudio.png") center / contain no-repeat; mask: url("../assets/img/mstudio.png") center / contain no-repeat; }
.brand-plate .rule-h { width: 70%; }
.brand-line { font: 400 22px/1.2 var(--display); letter-spacing: .18em; color: var(--fg); }
.brand-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.brand-meta span { display: inline-flex; align-items: center; gap: 8px; }
.connect-grid > * { min-width: 0; }
@media (max-width: 640px) { .brand-mark .word { width: 150px; } .brand-mark .wing { width: 44px; height: 24px; } .brand-line { font-size: 19px; } }

/* Window-stack FREE banner: its background matches the page, so it sits on the page with no frame */
.free-stack { position: relative; }
.free-stack img { width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 97%, transparent);
  mask-composite: intersect; }
.free-stack .tag { display: none; }

/* Hero video: the still shows until the video plays, and stays if it can't (reduced motion, no autoplay) */
.hero-media { background: var(--bg); overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-video { opacity: 0; transition: opacity .25s linear; }
.hero-video.on { opacity: 1; }
.hero-still { transition: opacity .6s ease; }
.hero-media.playing .hero-still, .hero-media.starting .hero-still { opacity: 0; }
