/* Sheepdog — SheepDogPay.com */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/IBMPlexSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  --sd-ink: #0f1e3a;
  --sd-ink-tint: #2f5da8;
  --sd-canvas: #f3f6fb;
  --sd-card: #ffffff;
  --sd-fg: #0f1e3a;
  --sd-muted: #3e4c63;
  --sd-faint: #5c6b82;
  --sd-line: rgba(15, 30, 58, 0.1);
  --sd-line-strong: rgba(15, 30, 58, 0.18);
  --sd-nav-fg: #f4f7fb;
  --sd-nav-dim: #c5d0e0;
  --sd-tint: #e7eef8;

  --sd-verified: #0f6b45;
  --sd-verified-bg: #e5f6ee;
  --sd-review: #8a5a10;
  --sd-review-bg: #f8efd8;
  --sd-threat: #8e2f2a;
  --sd-threat-bg: #f8e4df;

  --cream: #f4f1ea;
  --gold: #d6c7a1;

  --sd-font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sd-font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sd-font-serif: "IBM Plex Serif", Georgia, serif;

  --sd-radius-control: 12px;
  --sd-radius-card: 16px;
  --sd-radius-pill: 999px;

  --sd-shadow-1: 0 1px 2px rgba(15, 30, 58, 0.06);
  --sd-shadow-2: 0 10px 30px rgba(15, 30, 58, 0.06);
  --shadow-stage: 0 1px 2px rgba(15, 30, 58, 0.06), 0 24px 60px -12px rgba(15, 30, 58, 0.18), 0 60px 120px -40px rgba(15, 30, 58, 0.22);
  --shadow-float: 0 1px 2px rgba(15, 30, 58, 0.08), 0 18px 40px -10px rgba(15, 30, 58, 0.22);

  --sd-ease: cubic-bezier(0.2, 0, 0, 1);
  --sd-dur-1: 180ms;
  --sd-dur-2: 240ms;

  --sd-focus: 0 0 0 3px rgba(47, 93, 168, 0.45);
  --focus-light: 0 0 0 3px rgba(214, 199, 161, 0.6);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--sd-canvas);
  color: var(--sd-fg);
  font-family: var(--sd-font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
a { color: var(--sd-ink-tint); }
button { font: inherit; color: inherit; }
.mono { font-family: var(--sd-font-mono); font-variant-numeric: tabular-nums; }

:focus-visible { outline: none; box-shadow: var(--sd-focus); border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--sd-card); color: var(--sd-fg); padding: 10px 16px; border-radius: var(--sd-radius-pill);
  box-shadow: var(--shadow-float); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--sd-faint);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--sd-nav-dim); }
.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
  text-wrap: balance;
}
.h2--light { color: var(--sd-nav-fg); }
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--sd-muted); max-width: 36em; text-wrap: pretty; }
.lede + .lede { margin-top: 16px; }
.section__head .lede { margin-top: 20px; }
.section__head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.section__head--center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--sd-radius-pill); border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--sd-dur-1) var(--sd-ease), border-color var(--sd-dur-1) var(--sd-ease), transform var(--sd-dur-1) var(--sd-ease), box-shadow var(--sd-dur-1) var(--sd-ease);
}
.btn:focus-visible { border-radius: var(--sd-radius-pill); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--ink { background: var(--sd-ink); color: #fff; box-shadow: 0 1px 2px rgba(15,30,58,.2), inset 0 1px 0 rgba(255,255,255,.08); }
.btn--ink:hover { background: #1a2d52; }
.btn--quiet { background: var(--sd-card); color: var(--sd-fg); border-color: var(--sd-line-strong); }
.btn--quiet:hover { border-color: rgba(15,30,58,.32); }
.btn--light { background: rgba(244,247,251,.08); color: var(--sd-nav-fg); border-color: rgba(244,247,251,.28); }
.btn--light:hover { background: rgba(244,247,251,.14); }
.btn--light:focus-visible, .btn--cream:focus-visible { box-shadow: var(--focus-light); }
.btn--cream { background: var(--cream); color: var(--sd-ink); }
.btn--cream:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn__play { width: 14px; height: 14px; fill: currentColor; }
.btn__meta { font-family: var(--sd-font-mono); font-weight: 400; font-size: 13px; opacity: .7; }

.link-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 4px;
  color: var(--sd-ink-tint); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.link-btn:hover { text-decoration-thickness: 2px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 246, 251, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--sd-dur-2) var(--sd-ease), background-color var(--sd-dur-2) var(--sd-ease);
}
.nav.is-scrolled { border-bottom-color: var(--sd-line); background: rgba(243, 246, 251, 0.9); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__brand { display: inline-flex; padding: 6px 4px; margin-left: -4px; }
.nav__brand img { height: 22px; width: auto; }
.nav__links { display: none; gap: 4px; margin-left: auto; }
.nav__links a {
  color: var(--sd-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--sd-radius-pill);
  transition: color var(--sd-dur-1) var(--sd-ease), background-color var(--sd-dur-1) var(--sd-ease);
}
.nav__links a:hover { color: var(--sd-fg); background: rgba(15,30,58,.05); }
.nav__links a:focus-visible { border-radius: var(--sd-radius-pill); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 12px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 9vw, 128px);
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(231,238,248,.9), rgba(231,238,248,0) 70%),
    var(--sd-canvas);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,30,58,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,30,58,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: clamp(48px, 6vw, 72px); }
.hero__copy { max-width: 640px; }
.hero__title {
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 680;
  font-variation-settings: "opsz" 32;
  text-wrap: balance;
}
.hero__lede { margin-top: 28px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--sd-muted); max-width: 32em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__stage { position: relative; padding: 0 0 40px; }

.frame {
  margin: 0; position: relative; overflow: hidden;
  background: var(--sd-card);
  border-radius: 14px;
  border: 1px solid var(--sd-line);
}
.frame__bar {
  display: flex; gap: 7px; align-items: center; height: 30px; padding: 0 14px;
  background: linear-gradient(#fbfcfe, #f5f7fb); border-bottom: 1px solid var(--sd-line);
}
.frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(15,30,58,.12); }
.frame img { width: 100%; }
.frame--hero { box-shadow: var(--shadow-stage); }

.float {
  position: absolute; background: var(--sd-card); border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius-card); box-shadow: var(--shadow-float);
}
.float--next { display: none; }
.float--compare { right: 4%; bottom: 0; width: min(440px, 88%); padding: 6px; }
.float__label { font-size: 15px; font-weight: 650; margin-top: 14px; letter-spacing: -0.01em; }
.float__text { font-size: 14px; color: var(--sd-muted); margin-top: 2px; }

@media (min-width: 640px) {
  .float--next { display: block; left: -2%; top: 46%; width: 250px; padding: 16px 18px; }
}
@media (min-width: 1200px) {
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .hero__stage { margin-right: calc(var(--gutter) * -1 - 120px); padding-bottom: 56px; }
  .float--next { left: -64px; top: 52%; }
  .float--compare { right: 140px; }
}

/* Pills & comparison rows (mirroring the desk) */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px;
  border-radius: var(--sd-radius-pill); font-size: 12px; font-weight: 650; line-height: 1.4;
}
.pill i { width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid currentColor; }
.pill--threat { color: var(--sd-threat); background: var(--sd-threat-bg); }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--sd-card); border-radius: 12px; }
.cmp > div { padding: 14px 16px; }
.cmp > div + div { border-left: 1px solid var(--sd-line); }
.cmp__k { font-size: 12px; font-weight: 650; color: var(--sd-fg); }
.cmp__v { margin-top: 6px; font-size: 15px; color: var(--sd-fg); letter-spacing: 0; overflow-wrap: anywhere; }
.cmp mark { background: var(--sd-threat-bg); color: var(--sd-threat); border-radius: 3px; padding: 0 1px; font-weight: 500; }
.cmp--flat { border: 1px solid var(--sd-line); margin-top: 16px; }
.cmp--card { border: 1px solid var(--sd-line); margin-top: 24px; box-shadow: var(--sd-shadow-1); }

/* Sections */
.section { padding: var(--section-y) 0; }

/* Danger */
.danger { background: var(--sd-card); border-top: 1px solid var(--sd-line); }
.danger__inner { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .danger__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }

.danger__visual { position: relative; }
.mail {
  background: #f7f8fa; border: 1px solid var(--sd-line); border-radius: var(--sd-radius-card);
  box-shadow: var(--sd-shadow-2); overflow: hidden;
}
.mail__head { padding: 20px 24px 16px; border-bottom: 1px solid var(--sd-line); }
.mail__from { font-size: 13px; color: var(--sd-muted); overflow-wrap: anywhere; }
.mail__from b { color: var(--sd-fg); font-weight: 650; }
.mail__subj { margin-top: 8px; font-size: 18px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.mail__body { padding: 20px 24px 24px; font-size: 15px; color: #2b3344; }
.mail__body p + p { margin-top: 12px; }
.mail__sig { color: var(--sd-muted); font-size: 14px; }

.verdict {
  position: relative; margin: -28px 0 0 auto; width: calc(100% - 24px);
  background: var(--sd-card); border: 1px solid var(--sd-line); border-radius: var(--sd-radius-card);
  box-shadow: var(--shadow-float); padding: 18px 18px 18px;
}
@media (min-width: 640px) { .verdict { width: 92%; margin-right: -16px; } }
.verdict .cmp__v { font-size: 14px; }
.verdict__head { display: flex; align-items: center; gap: 10px; }
.verdict__head img { border-radius: 5px; }
.verdict__title { margin-top: 12px; font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -0.015em; }

/* How it works */
.how { background: var(--sd-canvas); }
.how .section__head { max-width: 720px; }
.steps { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 32px; }
.steps__list { display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 4px; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: var(--sd-radius-card);
  padding: 18px 20px; cursor: pointer;
  transition: background-color var(--sd-dur-2) var(--sd-ease), border-color var(--sd-dur-2) var(--sd-ease), box-shadow var(--sd-dur-2) var(--sd-ease);
}
.step:hover { background: rgba(255,255,255,.6); }
.step:focus-visible { border-radius: var(--sd-radius-card); }
.step[aria-selected="true"] { background: var(--sd-card); border-color: var(--sd-line); box-shadow: var(--sd-shadow-2); }
.step__n { grid-row: span 2; font-size: 13px; color: var(--sd-faint); padding-top: 3px; }
.step[aria-selected="true"] .step__n { color: var(--sd-ink); font-weight: 500; }
.step__t { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.step__d { font-size: 15px; color: var(--sd-muted); line-height: 1.55; }
.step__d em { font-style: normal; font-weight: 600; color: var(--sd-fg); }
.js .step:not([aria-selected="true"]) .step__d { display: none; }
.frame--step { box-shadow: var(--shadow-stage); }

.steps__panels { position: relative; }
.js .steps__panels .frame--step[hidden] { display: none; }
.js .steps__panels .frame--step { animation: fadeIn var(--sd-dur-2) var(--sd-ease); }
html:not(.js) .steps__panels { display: grid; gap: 24px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .steps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .steps__panels { position: sticky; top: 96px; }
}

/* Proof */
.proof { background: var(--sd-card); border-top: 1px solid var(--sd-line); }
.proof__grid { display: grid; gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .proof__grid { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--sd-canvas); border: 1px solid var(--sd-line); border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
}
.card__kicker { font-size: 13px; font-weight: 600; color: var(--sd-faint); margin-bottom: 12px; }
.card__text { margin-top: 12px; color: var(--sd-muted); font-size: 16px; max-width: 34em; }
.proof__card { display: flex; flex-direction: column; overflow: hidden; }
.shot {
  margin: 28px calc(clamp(24px, 3vw, 40px) * -1) calc(clamp(24px, 3vw, 40px) * -1) 24px;
  border-top-left-radius: 12px; overflow: hidden; border: 1px solid var(--sd-line); border-right: 0; border-bottom: 0;
  box-shadow: var(--sd-shadow-2); background: var(--sd-card);
  aspect-ratio: 1380 / 776; margin-top: auto;
}
.proof__card .cmp--card { margin-bottom: 28px; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.actions { margin-top: 24px; display: grid; gap: 28px; }
@media (min-width: 900px) {
  .actions { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; column-gap: 48px; }
  .actions .toast { grid-column: 2; }
}
.quote { display: block; margin-top: 12px; color: var(--sd-fg); font-weight: 600; }
.actions__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .actions__list { grid-template-columns: 1fr 1fr; } }
.actions__list li {
  background: var(--sd-card); border: 1px solid var(--sd-line); border-radius: 14px; padding: 16px;
}
.actions__list p { margin-top: 10px; font-size: 14px; color: var(--sd-muted); line-height: 1.5; }
.chip-btn {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
  border: 1px solid var(--sd-line-strong); border-radius: var(--sd-radius-pill);
  font-size: 14px; font-weight: 650; background: var(--sd-card);
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--sd-verified-bg); color: var(--sd-verified);
  border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 500;
}
.toast svg { width: 18px; height: 18px; flex: none; }
.proof__more { margin-top: 32px; text-align: center; }

/* Film */
.film {
  background: var(--sd-ink); color: var(--sd-nav-fg);
  padding: var(--section-y) 0;
  position: relative; overflow: hidden;
}
.film__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .film__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }
.film__lede { margin: 24px 0 32px; color: var(--sd-nav-dim); font-size: 18px; line-height: 1.65; max-width: 26em; }
.film__screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #0a1428 url("../assets/img/still-watching-poster-1280.webp") center / cover no-repeat;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(244,247,251,.08);
}
.film__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,30,58,0) 55%, rgba(15,30,58,.45));
}
.film__play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; width: 100%;
}
.film__play:focus-visible { box-shadow: inset var(--focus-light); border-radius: 18px; }
.film__play-ring {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(244,241,234,.92); color: var(--sd-ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform var(--sd-dur-2) var(--sd-ease), background-color var(--sd-dur-2) var(--sd-ease);
}
.film__play-ring svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.film__play:hover .film__play-ring { transform: scale(1.06); background: #fff; }
.film__pause {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  background: rgba(15,30,58,.6); color: var(--sd-nav-fg); border: 1px solid rgba(244,247,251,.25);
  border-radius: var(--sd-radius-pill); padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.film__pause:focus-visible { box-shadow: var(--focus-light); border-radius: var(--sd-radius-pill); }

/* Who */
.who { background: var(--sd-canvas); }
.who__top { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .who__top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.who__photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--sd-shadow-2); aspect-ratio: 4 / 3; }
.who__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.who__grid { display: grid; gap: 1px; margin-top: clamp(56px, 7vw, 96px); background: var(--sd-line); border: 1px solid var(--sd-line); border-radius: 22px; overflow: hidden; }
@media (min-width: 900px) { .who__grid { grid-template-columns: repeat(3, 1fr); } }
.who__item { background: var(--sd-card); padding: clamp(24px, 3vw, 36px); }
.who__item p { margin-top: 12px; color: var(--sd-muted); font-size: 16px; }

/* Close */
.close {
  background: var(--sd-ink); color: var(--cream);
  padding: var(--section-y) 0;
  position: relative; overflow: hidden;
}
.close::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 50% 0%, rgba(214,199,161,.10), transparent 70%);
}
.close__inner { position: relative; display: grid; gap: 56px; justify-items: center; text-align: center; }
.close__brand { display: grid; justify-items: center; gap: 22px; }
.close__tag {
  font-family: var(--sd-font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; color: var(--gold); letter-spacing: 0.005em;
}
.close__panel {
  width: 100%; max-width: 640px; text-align: left;
  background: rgba(244,247,251,.04); border: 1px solid rgba(244,247,251,.12);
  border-radius: 24px; padding: clamp(24px, 4vw, 44px);
}
.close__panel .h2 { font-size: clamp(28px, 3.4vw, 38px); }
.close__lede { margin-top: 12px; color: var(--sd-nav-dim); font-size: 16px; }

.form { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .field:nth-child(3) { grid-column: 1 / -1; }
  .form__foot { grid-column: 1 / -1; }
}
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--sd-nav-fg); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: rgba(244,247,251,.06); color: var(--sd-nav-fg);
  border: 1px solid rgba(244,247,251,.22); border-radius: var(--sd-radius-control);
  font: inherit; font-size: 16px;
  transition: border-color var(--sd-dur-1) var(--sd-ease), background-color var(--sd-dur-1) var(--sd-ease);
}
.field input:hover { border-color: rgba(244,247,251,.36); }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(244,247,251,.09); box-shadow: var(--focus-light); }
.field input[aria-invalid="true"] { border-color: #f0b2ac; }
.field__err { min-height: 0; margin-top: 6px; font-size: 13px; color: #f0b2ac; }
.field__err:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--sd-nav-dim); }

.confirm { margin-top: 28px; padding: 24px; border-radius: 16px; background: rgba(244,241,234,.06); border: 1px solid rgba(214,199,161,.3); }
.confirm:focus-visible { box-shadow: var(--focus-light); border-radius: 16px; }
.confirm__title { margin-top: 16px; font-size: 20px; font-weight: 650; color: var(--cream); letter-spacing: -0.015em; }
.confirm__text { margin-top: 8px; color: var(--sd-nav-dim); font-size: 15px; }

/* Footer */
.footer { background: var(--sd-canvas); border-top: 1px solid var(--sd-line); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer__brand { display: inline-flex; padding: 4px; margin-left: -4px; }
.footer__brand img { height: 18px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__links a { color: var(--sd-muted); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: var(--sd-fg); text-decoration: underline; text-underline-offset: 3px; }
.footer__meta { font-size: 13px; color: var(--sd-faint); margin-left: auto; }
@media (max-width: 639px) { .footer__meta { margin-left: 0; width: 100%; } }

/* Player */
.player {
  width: min(1200px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0;
  background: transparent; color: var(--sd-nav-fg); overflow: visible;
}
.player::backdrop { background: rgba(8, 14, 28, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.player__title { font-size: 15px; font-weight: 600; }
.player__close {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(244,247,251,.1); border: 1px solid rgba(244,247,251,.2); color: var(--sd-nav-fg); cursor: pointer;
}
.player__close svg { width: 16px; height: 16px; }
.player__close:hover { background: rgba(244,247,251,.18); }
.player__close:focus-visible { box-shadow: var(--focus-light); border-radius: 50%; }
.player__video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; }
.player__video:focus-visible { box-shadow: var(--focus-light); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--sd-ease), transform 700ms var(--sd-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Small screens */
.danger__copy .h2 + .lede { margin-top: 24px; }
@media (max-width: 639px) {
  .cmp { grid-template-columns: 1fr; }
  .cmp > div + div { border-left: 0; border-top: 1px solid var(--sd-line); }
  .hero__stage { padding-bottom: 0; }
  .float--compare { position: relative; right: auto; bottom: auto; margin: -36px 0 0 auto; width: 88%; }
  .verdict { width: calc(100% - 16px); }
}

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