/* ==========================================================================
   yandexby.com — Yandex.by 入口导航
   Design language: Yandex orange gradients, layered translucent sheets,
   generous whitespace, soft orange elevation.
   ========================================================================== */

:root {
  --brand: #fc3f1d;
  --brand-deep: #b32d0a;
  --brand-bright: #ff8a4c;
  --link: #b32d0a;
  --ink: #1b100c;
  --body: #3a2a24;
  --muted: #745a4e;
  --bg: #ffffff;
  --bg-light: #fff7f1;
  --bg-tint: #ffeadf;
  --border: #f0d8cc;
  --border-soft: #f8e9e1;

  --ok-bg: #e7f8ee;
  --ok-text: #0d6b3b;
  --ok-dot: #16a34a;
  --warn-bg: #fff4e3;
  --warn-text: #8a4a00;
  --warn-dot: #d97706;
  --info-bg: #fff0e6;
  --info-text: #9a3412;
  --info-dot: #ea580c;

  --shadow-card: 0 0 8px 0 rgba(120, 72, 50, 0.10);
  --shadow-card-hover: 0 4px 50px 0 rgba(252, 63, 29, 0.30);
  --shadow-header: 0 6px 24px rgba(120, 50, 20, 0.08);

  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "PingFang SC", "Noto Sans SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono",
    monospace;

  --wrap: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #ffd6c2;
  color: #2a130b;
}

:focus-visible {
  outline: 2px solid #7c2d12;
  outline-offset: 3px;
}

.container {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: #ffffff;
  color: var(--brand-deep);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.skip-link:focus {
  top: 12px;
}

.nowrap {
  white-space: nowrap;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.94em;
  letter-spacing: -0.01em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand-deep) 0%, var(--brand-bright) 100%);
  box-shadow: 0 6px 16px rgba(179, 45, 10, 0.28);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #3b2a23;
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--brand-deep);
  background: var(--bg-light);
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--brand-deep);
  font-weight: 600;
  background: #fff1e8;
}

.header-cta {
  margin-left: 8px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Mobile navigation
   -------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  padding: 20px 24px 32px;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav nav {
  padding: 4px 0 18px;
}

.mobile-nav > .btn {
  width: 100%;
  margin-top: 4px;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--ink);
  font-size: 15.5px;
}

.mobile-nav nav a::after {
  content: "↗";
  color: var(--muted);
  font-size: 13px;
}

.mobile-nav nav a:hover {
  color: var(--brand-deep);
  text-decoration: none;
}

.mobile-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #d9480f 0%, #b32d0a 100%);
  box-shadow: 0 8px 22px rgba(179, 45, 10, 0.25);
  font-weight: 500;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
  background: linear-gradient(180deg, #b32d0a 0%, #9a3412 100%);
}

.btn-secondary {
  color: var(--brand-deep);
  background: #ffffff;
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: #fff3ec;
  transform: translateY(-1px);
}

.btn-secondary:active {
  background: var(--bg-tint);
  transform: translateY(0);
}

.btn-white {
  color: var(--brand-deep);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(80, 30, 10, 0.22);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(80, 30, 10, 0.28);
}

.btn-outline-white {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none !important;
  box-shadow: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  color: #ffffff;
  background: linear-gradient(248deg, var(--brand-bright) 0%, var(--brand-deep) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 440px at 78% 18%, rgba(255, 255, 255, 0.2), transparent 62%),
    radial-gradient(520px 360px at 12% 96%, rgba(70, 25, 8, 0.28), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.05),
    0 0 0 150px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 980px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a7f3c8;
  box-shadow: 0 0 0 3px rgba(167, 243, 200, 0.18);
}

.hero h1 {
  max-width: 1040px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 78px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-light {
  background: var(--bg-light);
}

.section-tint {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright));
}

.section h2 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-lead {
  margin-top: 14px;
  color: #5a4135;
  font-size: 15.5px;
  line-height: 1.8;
}

.section-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.section-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-bright);
  background: rgba(255, 255, 255, 0.7);
  color: #5a4135;
  font-size: 13px;
  line-height: 1.75;
}

.section-foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.section-foot a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Filter + entry cards
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #4b332a;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: #f5b28f;
  color: var(--brand-deep);
}

.filter-btn[aria-pressed="true"] {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: #ffffff;
}

.filter-count {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entry-card {
  position: relative;
  display: flex;
  -webkit-touch-callout: none;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid #f3e4dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.entry-card:hover {
  transform: translateY(-4px);
  border-color: #f3c7b1;
  box-shadow: var(--shadow-card-hover);
}

.entry-card--primary {
  border-color: #f3c7b1;
  background: linear-gradient(180deg, #fff9f5 0%, #ffffff 46%);
}

.entry-card--primary::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright));
}

.entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.entry-region {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--ok {
  color: var(--ok-text);
  background: var(--ok-bg);
}

.status--warn {
  color: var(--warn-text);
  background: var(--warn-bg);
}

.status--info {
  color: var(--info-text);
  background: var(--info-bg);
}

.entry-domain {
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.entry-desc {
  margin-top: 9px;
  color: #5a4135;
  font-size: 13px;
  line-height: 1.72;
  flex: 1;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.entry-meta span {
  padding: 2px 7px;
  border: 1px solid #f4e2d8;
  border-radius: 4px;
  background: #fffaf7;
  color: #6f5447;
  font-size: 10.5px;
  line-height: 1.6;
}

.entry-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #faf0ea;
}

.entry-actions .btn-primary {
  flex: 1;
}

.entry-actions svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Status section
   -------------------------------------------------------------------------- */

.check-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #f3ded2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.check-panel p {
  flex: 1 1 360px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.65;
}

.check-summary {
  flex-basis: 100%;
  color: #4b332a;
  font-size: 12.5px;
}

.check-summary:empty {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.status-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: #4b332a;
  font-size: 12.5px;
}

.status-table th,
.status-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #faf0ea;
}

.status-table th {
  background: #fffaf7;
  color: #6b4f42;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-table tbody tr:last-child td {
  border-bottom: none;
}

.status-table tbody tr:hover {
  background: #fffdfb;
}

.status-table .domain {
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-table .final-url {
  max-width: 280px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6f5447;
  font-family: var(--font-mono);
  font-size: 11px;
}

.status-table .check-cell {
  min-width: 78px;
  color: var(--muted);
  font-size: 11.5px;
}

.check-ok {
  color: var(--ok-text);
}

.check-warn {
  color: var(--warn-text);
}

.check-fail {
  color: #b42318;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11.5px;
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.ok {
  background: var(--ok-dot);
}

.legend-dot.warn {
  background: var(--warn-dot);
}

.legend-dot.info {
  background: var(--info-dot);
}

/* --------------------------------------------------------------------------
   Outage section
   -------------------------------------------------------------------------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.timeline-item {
  position: relative;
  padding: 20px;
  border: 1px solid #f4e2d8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.timeline-item h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.timeline-item p {
  margin-top: 7px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.7;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.cause-card {
  padding: 22px;
  border: 1px solid #f3e4dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.cause-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-tint);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.cause-card h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.cause-card p {
  margin-top: 7px;
  color: #6b4f42;
  font-size: 13px;
  line-height: 1.75;
}

.callout {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #f1d4c5;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: linear-gradient(120deg, #fff7f1 0%, #ffffff 78%);
}

.callout h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.callout p {
  margin-top: 8px;
  color: #5a4135;
  font-size: 13.5px;
  line-height: 1.8;
}

.callout p + p {
  margin-top: 6px;
}

.diagnose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.diagnose-item {
  padding: 16px 18px;
  border: 1px solid #f3e4dc;
  border-radius: 8px;
  background: #ffffff;
}

.diagnose-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.diagnose-item h3 span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--brand-deep);
  font-size: 10px;
}

.diagnose-item p {
  margin-top: 5px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Guide
   -------------------------------------------------------------------------- */

.guide-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.guide-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 22px;
  border: 1px solid #f3ded2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.guide-aside h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.guide-aside p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.guide-aside .btn {
  width: 100%;
  margin-top: 10px;
}

.guide-aside .aside-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.guide-aside .aside-links a {
  display: block;
  padding: 6px 0;
  color: var(--link);
  font-size: 12.5px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #f3e4dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffefe5, #fff9f5);
  border: 1px solid #f1d4c5;
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.step h3 {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.step p {
  margin-top: 5px;
  color: #5a4135;
  font-size: 13px;
  line-height: 1.75;
}

.step p + p {
  margin-top: 4px;
}

.step code,
.inline-code {
  padding: 1px 5px;
  border: 1px solid #f4e2d8;
  border-radius: 4px;
  background: #fff9f5;
  color: #9a3412;
  font-family: var(--font-mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Image + region sections
   -------------------------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 24px;
  border: 1px solid #f3e4dc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.info-card h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.info-card > p {
  margin-top: 8px;
  color: #5a4135;
  font-size: 13.5px;
  line-height: 1.8;
}

.info-card ul {
  margin-top: 12px;
  padding-left: 0;
}

.info-card li {
  position: relative;
  padding-left: 18px;
  color: #5a4135;
  font-size: 13px;
  line-height: 1.75;
  list-style: none;
}

.info-card li + li {
  margin-top: 7px;
}

.info-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.url-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.url-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #f3e4dc;
  border-radius: 6px;
  background: #fffaf7;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9a3412;
  overflow-wrap: anywhere;
}

.url-item span {
  flex: 1;
}

.url-item a {
  font-family: var(--font-sans);
  font-size: 11.5px;
  white-space: nowrap;
}

.region-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.region-table th,
.region-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid #faf0ea;
}

.region-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: #fffaf7;
}

.region-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.region-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   USA carousel tutorial
   -------------------------------------------------------------------------- */

.region-concepts {
  max-width: 900px;
  margin: 0 auto 22px;
}

.region-concepts .region-table {
  max-width: 820px;
}

.usa-tutorial {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.usa-carousel {
  max-width: 360px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.usa-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: center;
}

.usa-swiper {
  width: 100%;
  border-radius: 10px;
  background: var(--bg-light);
  overflow: hidden;
}

.usa-swiper .swiper-slide {
  background: var(--bg-light);
}

.usa-swiper img {
  display: block;
  width: 100%;
  height: auto;
}

.usa-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.usa-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-deep);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.usa-nav:hover {
  background: var(--bg-light);
  border-color: var(--brand);
}

.usa-nav svg {
  width: 16px;
  height: 16px;
}

.usa-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.usa-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e5c9bb;
  cursor: pointer;
  transition: width 0.2s var(--ease), background-color 0.2s var(--ease);
}

.usa-pagination button.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--brand);
}

.usa-steps-wrap {
  max-width: 900px;
  margin: 30px auto 0;
}

.usa-steps-wrap h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.usa-intro {
  margin-top: 6px;
  color: #6b4f42;
  font-size: 13.5px;
  line-height: 1.75;
}

.usa-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.usa-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.usa-step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.usa-steps strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
}

.usa-steps p {
  margin-top: 3px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.7;
}

.usa-tip {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid #f3e4dc;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(120, 72, 50, 0.04);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 17px 52px 17px 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 1px solid #efd7ca;
  border-radius: 50%;
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item:hover {
  border-color: #eecbb9;
}

.faq-body {
  padding: 0 20px 18px;
  color: #5a4135;
  font-size: 13.5px;
  line-height: 1.8;
}

.faq-body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}

.about-copy p {
  color: #5a4135;
  font-size: 14px;
  line-height: 1.85;
}

.about-copy p + p {
  margin-top: 12px;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.principle-list {
  display: grid;
  gap: 10px;
}

.principle {
  padding: 16px 18px;
  border: 1px solid #f3e4dc;
  border-radius: 10px;
  background: #ffffff;
}

.principle h3 {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.principle p {
  margin-top: 4px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.7;
}

.outage-recovery {
  margin-top: 22px;
}

.card-note {
  margin-top: 12px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.75;
}

.callout--spaced {
  margin-top: 18px;
}

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #f0e2c8;
  border-radius: 8px;
  background: #fffdf7;
  color: #6b5220;
  font-size: 12.5px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Fixed quick-start button + modal carousel
   -------------------------------------------------------------------------- */

body.modal-open {
  overflow: hidden;
}

body.modal-open .usa-fab,
body.modal-open .to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.usa-fab {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, #d9480f 0%, #b32d0a 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(60, 22, 8, 0.32);
  cursor: pointer;
  transform: translateX(-50%);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.usa-fab:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 16px 38px rgba(60, 22, 8, 0.38);
}

.usa-fab:active {
  transform: translateX(-50%) translateY(0);
}

.fab-spacer {
  height: 78px;
  background: #2a130b;
}

.usa-modal {
  width: min(420px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  color: var(--body);
  font-family: var(--font-sans);
  box-shadow: 0 30px 90px rgba(40, 10, 0, 0.45);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.usa-modal::backdrop {
  background: rgba(28, 10, 4, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.usa-modal[open] {
  animation: modal-in 0.22s var(--ease);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.usa-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}

.usa-modal h2 {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.usa-modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--brand-deep);
  border-radius: 50%;
  background: var(--brand-deep);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.usa-modal-close:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.usa-modal-lead {
  padding: 8px 20px 0;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.7;
}

.usa-modal-carousel {
  padding: 12px 20px 0;
}

.usa-modal .usa-swiper {
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.usa-modal .usa-carousel-bar {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.usa-modal-tip {
  padding: 12px 20px 20px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}

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

.site-footer {
  margin-top: 0;
  padding: 54px 0 22px;
  background: #2a130b;
  color: #ffeadf;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand .brand-sub {
  color: #d9a78f;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand > p {
  max-width: 340px;
  margin-top: 14px;
  color: #e7c3b3;
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-meta {
  margin-top: 14px;
  color: #c98f77;
  font-family: var(--font-mono);
  font-size: 11px;
}

.footer-col h2 {
  margin: 3px 0 12px;
  color: #c98f77;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #ffeadf;
  font-size: 12.5px;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9a08c;
  font-size: 11.5px;
}

.footer-bottom p {
  line-height: 1.7;
}

.footer-bottom a {
  color: #ffeadf;
}

/* --------------------------------------------------------------------------
   Jump / go pages
   -------------------------------------------------------------------------- */

.jump-main {
  min-height: calc(100vh - var(--header-h) - 380px);
  padding: 36px 0 70px;
  background: linear-gradient(180deg, #fff8f2 0%, #ffffff 42%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--link);
}

.breadcrumb .sep {
  color: #c9a493;
}

.jump-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid #f3ded2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(179, 45, 10, 0.10);
}

.jump-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 11.5px;
  font-weight: 600;
}

.jump-title {
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.jump-title .mono {
  color: var(--brand-deep);
  font-weight: 600;
}

.jump-lead {
  margin-top: 10px;
  color: #5a4135;
  font-size: 14.5px;
  line-height: 1.8;
}

.target-box {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #f3ded2;
  border-radius: 12px;
  background: #fff9f5;
}

.target-label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.target-domain {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.target-url {
  margin-top: 5px;
  color: #6f5447;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.target-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.target-meta span {
  padding: 4px 9px;
  border: 1px solid #f4e2d8;
  border-radius: 4px;
  background: #ffffff;
  color: #6b4f42;
  font-size: 11.5px;
}

.jump-why {
  margin-top: 22px;
}

.jump-why h2 {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.jump-why p {
  margin-top: 4px;
  color: #5a4135;
  font-size: 13px;
  line-height: 1.8;
}

.jump-tips {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #f3e4dc;
  border-radius: 10px;
  background: #fffdfb;
}

.jump-tips h2 {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.jump-tips ul {
  margin-top: 8px;
  padding-left: 0;
}

.jump-tips li {
  position: relative;
  padding-left: 16px;
  color: #6b4f42;
  font-size: 12.5px;
  line-height: 1.75;
  list-style: none;
}

.jump-tips li + li {
  margin-top: 5px;
}

.jump-tips li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #faf0ea;
}

.jump-actions .btn {
  min-width: 160px;
}

.jump-actions .btn-primary {
  flex: 1 1 220px;
}

.jump-actions .btn-secondary {
  flex: 0 1 160px;
}

.jump-footnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #efd7ca;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-deep);
  box-shadow: 0 10px 26px rgba(179, 45, 10, 0.16);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }


  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .guide-layout,
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    align-items: center;
  }

  .guide-aside h3,
  .guide-aside p {
    grid-column: 1 / -1;
  }

  .guide-aside .btn {
    margin-top: 4px;
  }

  .guide-aside .aside-links {
    grid-column: 1 / -1;
  }

  .timeline,
  .cause-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .header-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

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

  .brand-sub {
    font-size: 9.5px;
  }

  .hero {
    padding: 48px 0 46px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .usa-carousel {
    max-width: 100%;
  }

  .usa-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-lead {
    font-size: 14.5px;
  }

  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .entry-card {
    padding: 19px;
  }

  .entry-domain {
    font-size: 18px;
  }

  .two-col,
  .diagnose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jump-card {
    padding: 24px 18px;
  }

  .btn {
    min-height: 48px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .jump-main {
    padding-top: 24px;
  }

  .jump-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  /* status table -> stacked cards */
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .status-table {
    display: block;
    min-width: 0;
    font-size: 12.5px;
  }

  .status-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .status-table tbody {
    display: block;
  }

  .status-table tr {
    display: block;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #f3e4dc;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
  }

  .status-table tbody tr:hover {
    background: #ffffff;
  }

  .status-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 3px 0;
    border: 0;
    text-align: left;
  }

  .status-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
  }

  .status-table td .status {
    justify-self: start;
  }

  .status-table td.domain {
    display: block;
    padding: 0 0 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid #faf0ea;
    font-size: 15px;
  }

  .status-table td.domain::before {
    display: none;
  }

  .status-table td.final-url {
    max-width: none;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    font-size: 10.5px;
    line-height: 1.6;
  }

  .status-table .check-cell {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .usa-fab {
    padding: 11px 22px;
    font-size: 13px;
  }

  .usa-modal {
    width: calc(100% - 24px);
  }

  .usa-modal-head {
    padding: 16px 16px 0;
  }

  .usa-modal h2 {
    font-size: 18px;
  }

  .usa-modal-lead {
    padding-left: 16px;
    padding-right: 16px;
  }

  .usa-modal-carousel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .usa-modal .usa-swiper,
  .usa-modal .usa-carousel-bar {
    max-width: 100%;
  }

  .guide-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-eyebrow {
    font-size: 10.5px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .check-panel {
    padding: 14px;
  }

  .status-table th {
    padding: 10px 12px;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .mobile-nav,
  .filter-bar,
  .check-panel,
  .to-top,
  .site-footer {
    display: none !important;
  }

  .hero {
    padding: 20px 0;
    color: #000000;
    background: #ffffff;
  }

  .hero-lead,
  .hero h1 {
    color: #000000;
  }

  .section {
    padding: 24px 0;
    break-inside: avoid;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10px;
    color: #555555;
  }
}
