/* 4018 网络倒计时 · Stitch 定稿的浅色精密工具气质。
   字体用系统栈：Inter / JetBrains Mono 装了就用，否则 Segoe UI、苹方、雅黑。
   不打包字体文件，避免把下载体积抬上去。 */
:root {
  color-scheme: light;
  --bg: #f8f9ff;
  --ink: #0b1c30;
  --muted: #45464d;
  --faint: #64748b;
  --ghost: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --card: #ffffff;
  --soft: #eff4ff;
  --soft-2: #e5eeff;
  --soft-3: #dce9ff;
  --blue: #0051d5;
  --blue-hot: #316bf3;
  --green: #069669;
  --slate: #131b2e;
  --danger: #ba1a1a;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(226, 232, 240, 0.95);
  --shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.1), 0 4px 12px -4px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --sans: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", "Sarasa Mono SC", Consolas, ui-monospace, monospace;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100dvh;
}

::selection { background: #dbe1ff; color: var(--ink); }

a { color: var(--blue); }

img { display: block; max-width: 100%; }

svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex: 0 0 auto;
  overflow: hidden;
  vertical-align: middle;
}

button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 249, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.top-in,
.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.top-in {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--slate);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.brand-name { font-size: 16px; }

.brand .logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
  object-fit: cover;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.menu {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.nav-toggle:focus-visible + .menu {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 550;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover { color: var(--ink); background: var(--soft); }

.nav a.here {
  color: var(--ink);
  background: var(--soft-3);
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
}

.btn-dark {
  background: var(--slate);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-dark:hover { background: #1e293b; }

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover { background: var(--blue-hot); }

.btn-blue:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn svg { width: 20px; height: 20px; }

.hero {
  padding: 72px 0 28px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ghost);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.18);
}

.led[data-on="1"] {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(6, 150, 105, 0.16);
}

.mono, .kicker, .time, .tel input, .combo input {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.kicker {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: -0.02em; font-weight: 650; }

h1 {
  margin: 18px 0 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 40rem;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.checks svg { width: 20px; height: 20px; color: var(--blue); }

.panel {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 36px);
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--soft-2);
}

.panel-head h2,
.section-head h2,
.cta h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: rgba(239, 244, 255, 0.72);
}

.step-no {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--slate);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.num.blue { background: var(--blue); }

.step-no span { color: var(--blue); font-size: 13px; font-weight: 700; }

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

.step p { margin: 8px 0 0; color: var(--muted); }

.dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--slate);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(19, 27, 46, 0.18);
}

.dl:hover { background: #1e293b; }

.dl strong { display: block; font-size: 16px; letter-spacing: -0.01em; }

.dl small {
  display: block;
  margin-top: 2px;
  color: #cbd5e1;
  font-family: var(--mono);
  font-size: 12px;
}

.dl svg { width: 20px; height: 20px; flex: 0 0 auto; }

.fine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 2px 0;
  color: var(--faint);
  font-size: 12px;
}

.pair-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.tel {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.combo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.combo span {
  padding: 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 700;
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
}

.combo input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.combo input:focus,
.combo input:focus-visible {
  outline: none;
  box-shadow: none;
}

.combo input::placeholder { color: var(--ghost); letter-spacing: 0; font-family: var(--sans); font-size: 15px; }

.combo:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 81, 213, 0.18);
}

.tel .btn { min-height: 52px; padding: 0 18px; border-radius: 12px; font-size: 16px; }

.warn:empty { display: none; }

.warn {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 14px;
}

.assure {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 2px 0;
  color: var(--faint);
  font-size: 13px;
}

.assure svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }

.section { padding: 72px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p { max-width: 22rem; margin: 0; color: var(--faint); font-size: 14px; }

.stage {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 18px;
  background: rgba(220, 233, 255, 0.45);
}

.stage-label, .phone-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 650;
}

.stage-label span, .phone-label span { color: var(--faint); font-weight: 500; font-family: var(--mono); font-size: 12px; }

.screen {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 18px 22px 16px;
  border-radius: 16px;
  background:
    radial-gradient(800px 240px at 20% 0%, rgba(49, 107, 243, 0.35), transparent 60%),
    linear-gradient(160deg, #1b2438, var(--slate) 55%, #0b1220);
  color: #f8f9ff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.screen-bar, .screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #bec6e0;
  font-family: var(--mono);
  font-size: 12px;
}

.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #76777d; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #002114;
  color: #85f8c4;
}

.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.screen-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  text-align: center;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #85f8c4;
  font-size: 12px;
}

.time {
  margin: 0;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.track {
  width: min(420px, 100%);
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.track b {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--blue-hot);
}

.screen-foot { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.phone {
  width: min(320px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 36px;
  background: #0b1220;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.phone-screen {
  padding: 18px 14px 14px;
  border-radius: 26px;
  background: #fff;
}

.notch {
  width: 96px;
  height: 16px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #0b1220;
}

.phone-top, .phone-sync {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-top { padding-bottom: 10px; border-bottom: 1px solid var(--soft-2); }

.phone-top strong, .phone-sync { font-size: 13px; }

.phone-top small, .phone-sync { color: var(--green); font-family: var(--mono); font-size: 12px; }

.latency {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.phone-time {
  margin: 18px 0 4px;
  text-align: center;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.phone-sync { justify-content: center; margin-bottom: 12px; }

.grid2, .grid3, .cards, .scenes-row {
  display: grid;
  gap: 10px;
}

.grid2 { grid-template-columns: 1fr 1fr; }
.grid3 { grid-template-columns: 1fr 1fr 1fr; margin-top: 10px; }

.mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  border: 0;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.mock.green { background: #002114; color: #85f8c4; }
.mock:hover { filter: brightness(0.98); }
.mock small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--faint); }
.mock.green small { color: #68dba9; }

.chip {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.caption {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}

.cards { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 240px;
  padding: 22px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card h3 { margin: 12px 0 0; font-size: 18px; }
.card p { margin: 8px 0 0; color: var(--muted); }

.mark-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--blue);
}

.mark-ico svg { width: 20px; height: 20px; }

.card footer {
  padding-top: 12px;
  border-top: 1px solid var(--soft);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
}

.scenes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
  background: var(--soft);
}

.scenes h2 { margin: 4px 0 0; font-size: 24px; }
.scenes p { margin: 8px 0 0; color: var(--muted); }

.scenes-row { grid-template-columns: repeat(3, auto); justify-content: end; }

.scene {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 650;
}

.scene svg { width: 20px; height: 20px; color: var(--blue); }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 18px;
  background: linear-gradient(135deg, #eff4ff, #e5eeff);
  border: 1px solid #d7e3ff;
  color: var(--ink);
}

.cta p { margin: 8px 0 0; max-width: 36rem; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cta .btn-ghost:hover { background: var(--soft); }

.foot {
  padding: 28px var(--pad) 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.foot p { margin: 0; }

.narrow {
  width: min(760px, calc(100% - var(--pad) * 2));
  margin: 36px auto 72px;
}

.prose h1 { font-size: clamp(32px, 5vw, 48px); text-align: left; }
.prose .lede { margin-left: 0; text-align: left; }
.prose p, .prose li { color: var(--ink); font-size: 16px; line-height: 1.75; }
.prose ul { padding-left: 1.2em; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .scenes, .cta, .section-head, .panel-head { flex-direction: column; align-items: flex-start; }
  .scenes-row { justify-content: start; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-in {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 56px;
  }

  .brand { min-width: 0; }
  .brand-name { display: none; }
  .menu { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    width: auto;
    max-height: 132px;
    margin: 0;
    padding: 10px 16px 14px;
    overflow: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: rgba(248, 249, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  }

  .nav-toggle:checked ~ .nav { display: flex; }

  .nav a { flex: 0 0 auto; }

  .top-in > .btn {
    margin-left: auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero { padding: 36px 0 20px; }
  .lede { font-size: 16px; }
  .checks { gap: 8px 14px; }
  .section { padding: 40px 0; }
  .steps, .stage, .cards, .scenes-row { grid-template-columns: 1fr; }
  .stage { padding: 14px; }
  .screen { min-height: 220px; padding: 16px; }
  .screen-body { min-height: 180px; }
  .time { font-size: clamp(40px, 16vw, 64px); }
  .tel { flex-direction: column; }
  .tel .combo,
  .tel .btn, .dl, .cta-actions .btn { width: 100%; }
  .fine { flex-direction: column; }
  .panel { padding: 16px; }
  .step { padding: 16px; gap: 18px; }
  .phone-time { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}

/* Homepage v2: photographic hero + four scene cards. */
.pair-band { padding: 28px 0 8px; }

.home-section { padding: 36px 0 8px; }

#desktop-download.home-section { padding-top: 20px; padding-bottom: 56px; }

.btn-on-dark {
  background: #fff;
  color: var(--slate);
}

.btn-on-dark:hover { background: #f8f9ff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.hero-banner {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #0b1c30;
}

.hero-banner picture,
.hero-banner img {
  width: 100%;
  display: block;
}

.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  /* Keep the corner pill bright. Cover the photo's bottom caption so HTML copy stays readable. */
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.05) 0%, rgba(11, 28, 48, 0.08) 36%, rgba(11, 28, 48, 0.94) 54%, #0b1c30 68%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px var(--pad) 32px;
  z-index: 1;
}

.hero-copy-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  max-width: 36rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(26px, 6.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 750;
  text-align: left;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-copy .hero-sub {
  margin: 8px 0 0;
  max-width: 36rem;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-copy .lede {
  margin: 12px 0 0;
  max-width: 34rem;
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.7;
  text-align: left;
}

.hero-copy .site-host {
  display: inline-block;
  margin: 0 0.08em;
  padding: 0 0.22em 0.04em;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
  vertical-align: -0.08em;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.hero-copy .site-host:hover {
  background: #e8f0ff;
  color: #003ea6;
}

.hero-copy .flow-tail,
.hero-copy .size-note {
  white-space: nowrap;
}

.hero-copy .size-note {
  color: #fde68a;
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-copy .hero-flow-aside {
  margin: 6px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
  text-align: left;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-ctas .btn { min-height: 44px; padding: 0 16px; }

#scenes .section-head p {
  max-width: 28rem;
  color: var(--muted);
}

.scenes-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin: 0 calc(var(--pad) * -1);
  padding: 4px var(--pad) 12px;
  -webkit-overflow-scrolling: touch;
}

.scenes-scroll::-webkit-scrollbar { height: 6px; }

.scenes-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.scene-card {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: inherit;
}

.scene-card figure { margin: 0; }

.scene-card picture { display: block; }

.scene-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  background: #dbe3f0;
}

.scene-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.scene-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.scene-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.scene-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.scenes-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ghost);
}

@media (min-width: 768px) {
  /* Same column as .wrap: a 16:9 card, not a full-bleed strip. */
  .hero-banner {
    width: min(var(--max), calc(100% - var(--pad) * 2));
    margin: 24px auto 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

  .hero-banner img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
  }

  .hero-copy {
    display: flex;
    align-items: flex-end;
    padding: 48px var(--pad) 56px;
  }

  .hero-copy-inner {
    max-width: 40rem;
    margin: 0;
  }

  .hero-scrim {
    /* Opaque through the photo's baked-in slogan (~34% width) so the HTML title is the only copy. */
    background: linear-gradient(90deg, rgba(11, 28, 48, 0.97) 0%, rgba(11, 28, 48, 0.97) 30%, rgba(11, 28, 48, 0.9) 36%, rgba(11, 28, 48, 0.42) 52%, rgba(11, 28, 48, 0.08) 66%, rgba(11, 28, 48, 0) 78%);
  }

  .scenes-scroll {
    display: grid;
    /* Four cards: 2×2 until the wide row can hold all four. */
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
    gap: 16px;
  }

  .scene-card {
    flex: none;
    width: auto;
  }

  .scene-card img {
    aspect-ratio: 16 / 9;
    object-position: center center;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hero-copy { padding: 28px 24px 32px; }
  .hero-copy-inner {
    max-width: 24rem;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .hero-copy h1 { font-size: 26px; }
  .hero-copy .hero-sub { font-size: 15px; }
  .hero-copy .lede { font-size: 15px; }
  .hero-copy .site-host { font-size: 34px; }
}

@media (min-width: 1100px) {
  .hero-copy .site-host { font-size: 44px; }

  .scenes-scroll { grid-template-columns: repeat(4, 1fr); }

  .scene-card img {
    aspect-ratio: 3 / 4;
    /* Right-align so the corner pill on the screen stays inside the poster crop. */
    object-position: right center;
  }

  .scene-card h3 { font-size: 15px; }
  .scene-card p { font-size: 12px; }
}

@media (max-width: 768px) {
  .hero-copy .hero-sub { font-size: 15px; }
  .hero-copy .lede { font-size: 16px; }
  .hero-copy .site-host { font-size: 30px; }
  .hero-ctas .btn { min-height: 44px; }
}

.announce {
  margin: 0;
  padding: 8px var(--pad);
  background: #e7eefc;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.announce[hidden] { display: none; }
