:root {
  --primary: #2457A7;
  --primary-ink: #16386f;
  --accent: #A044C5;
  --accent-ink: #6b2488;
  --background: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #E9EEF7;
  --text: #1B2638;
  --muted: #4A5B70;
  --border: #CDD8E8;
  --primary-border: #8eafdc;
  --soft-border: #d7e0ee;
  --danger: #9b1c2c;
  --ok: #1f6b45;
  --ink: #1B2638;
  --paper: #F6F8FC;
  --shadow: 0 10px 28px rgba(27, 38, 56, 0.08);
  --radius: 6px;
  --header-h: 72px;
  --font-display: "Roboto", "Roboto Fallback", system-ui, sans-serif;
  --font-body: "Roboto", "Roboto Fallback", system-ui, sans-serif;
  --font-mono: "Roboto", "Roboto Fallback", ui-monospace, monospace;
  --max: 1180px;
  --cta: #16386f;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Fallback";
  src: local("Liberation Sans"), local("DejaVu Sans"), local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 99.65%;
  ascent-override: 92.83%;
  descent-override: 24.42%;
  line-gap-override: 0%;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  min-width: 0;
}
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: var(--primary-ink); text-underline-offset: 2px; }
.prose a { text-decoration: underline; }
button, .btn, .cta, .sticky-cta { white-space: nowrap; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin: 0 0 16px; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
p { margin: 0 0 14px; }
p, li, td, th, figcaption { overflow-wrap: break-word; word-break: normal; }
section[id] { scroll-margin-top: 88px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 400;
}
.skip:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; min-width: 0; }
.container-wide { width: min(1280px, calc(100% - 24px)); margin: 0 auto; min-width: 0; }

.site-header {
  position: sticky; top: 0; z-index: 320;
  background: rgba(246, 248, 252, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 16px;
  border-radius: 4px;
}
.brand-name { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 15px; }
.brand-tag { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.main-nav a {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em; white-space: nowrap;
}
.main-nav a[aria-current="page"] { color: var(--primary); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff !important; text-decoration: none;
  padding: 10px 16px; border-radius: 4px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em;
}
.header-cta-ghost {
  display: inline-flex; align-items: center; color: var(--primary-ink); font-weight: 700;
  text-decoration: none; font-size: 13px; white-space: nowrap;
}
.hamburger {
  display: none; position: relative; z-index: 360;
  width: 44px; height: 44px; border: 1px solid var(--border); background: #fff;
  border-radius: 4px; padding: 10px 9px; margin-left: auto;
}
.hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hamburger span {
  display: block; height: 2px; background: var(--ink); margin: 5px 0;
}
.score-tick {
  background: var(--ink); color: #e8eef8; font-size: 12px; letter-spacing: 0.04em;
}
.score-tick-inner {
  display: flex; gap: 22px; overflow: auto; padding: 8px 0; white-space: nowrap;
}
.score-tick b { color: #fff; font-weight: 700; margin-right: 6px; }

.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(27, 38, 56, 0.42);
}
.mobile-drawer.open, .mobile-drawer.is-open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(360px, calc(100vw - 56px)); height: 100%;
  background: #fff; padding: 20px 20px 120px; overflow: auto;
  border-left: 1px solid var(--border);
}
.drawer-close {
  position: relative;
  width: 44px; height: 44px; border: 1px solid var(--border); background: #fff;
  border-radius: 4px; cursor: pointer;
  pointer-events: auto; touch-action: manipulation;
}
.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  background: var(--ink);
}
.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after { transform: rotate(-45deg); }
.drawer-nav { list-style: none; margin: 20px 0 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid var(--surface-2); }
.drawer-nav a {
  display: block; padding: 14px 0; color: var(--ink); text-decoration: none;
  font-weight: 700; white-space: nowrap;
}
.drawer-cta {
  display: flex; margin-top: 18px; background: var(--primary); color: #fff;
  text-decoration: none; justify-content: center; padding: 14px; font-weight: 700;
  border-radius: 4px;
}

.hero-cover {
  position: relative; min-height: 560px; background: #132033; color: #fff;
  overflow: hidden;
}
.hero-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 62% center;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 38, 0.82) 0%, rgba(15, 24, 38, 0.45) 52%, rgba(15, 24, 38, 0.18) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px; align-items: end; padding: 88px 0 40px; min-width: 0;
}
.hero-grid > * { min-width: 0; }
.photo-note {
  background: rgba(246, 248, 252, 0.9);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  max-width: 560px;
}
.photo-note .kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); font-weight: 700; margin-bottom: 8px;
}
.photo-note h1 { color: var(--ink); }
.photo-note p { color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 4px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; font-size: 14px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary-ink); border-color: var(--primary-border); }
.proof-rail {
  display: grid; gap: 8px; min-width: 0;
}
.proof-cell {
  background: rgba(255,255,255,0.88); color: var(--ink);
  border: 1px solid rgba(255,255,255,0.5); padding: 10px 12px;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start;
}
.proof-cell b { display: block; font-size: 13px; }
.proof-cell span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.num { font-family: var(--font-mono); font-weight: 700; color: var(--primary); font-size: 14px; }

.band { padding: 56px 0; }
.band-ink { background: var(--ink); color: #e8eef8; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-paper { background: var(--surface); }
.band-soft { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 24px; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); font-weight: 700; margin-bottom: 8px;
}

.compliance {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-size: 14px; color: var(--muted); padding: 14px 0;
}
.compliance strong { color: var(--ink); }

.proof-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.proof-strip article {
  background: var(--surface); padding: 18px 16px; min-width: 0;
}
.proof-strip h3 { font-size: 15px; margin-bottom: 6px; }
.proof-strip p { margin: 0; color: var(--muted); font-size: 15px; }

.chapter-rail {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.chapter-rail a {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); padding: 16px;
  min-width: 0;
}
.chapter-rail .idx { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 0.1em; }
.chapter-rail h3 { font-size: 16px; margin: 6px 0; }
.chapter-rail p { margin: 0; color: var(--muted); font-size: 14px; }

.field-guide {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px;
  align-items: stretch;
}
.field-guide > * { min-width: 0; }
.field-photo { position: relative; overflow: hidden; background: #d7deea; min-height: 320px; }
.field-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.note-stack { display: grid; gap: 10px; align-content: start; }
.note-chip {
  background: var(--surface); border: 1px solid var(--border); padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.note-chip .idx { color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }

.ranked { display: grid; gap: 0; border-top: 1px solid var(--border); }
.ranked-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border); min-width: 0;
}
.ranked-row .rank {
  font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1;
}
.ranked-row p { margin: 0; color: var(--muted); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px;
  align-items: start;
}
.split > * { min-width: 0; }
.split img { aspect-ratio: 16 / 10; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.ledger-wrap { overflow-x: auto; border: 1px solid var(--border); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--surface-2);
  vertical-align: top; font-size: 15px;
}
.data-table th { background: var(--surface-2); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

.action-rail {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 20px;
  background: var(--ink); color: #e8eef8; padding: 28px;
}
.action-rail h2 { color: #fff; }
.action-rail .btn-primary { background: #fff; color: var(--primary-ink); }
.action-rail p { color: #c5d0e0; }

.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-list li { border-bottom: 1px solid var(--border); padding: 16px 0; }
.feed-list a { text-decoration: none; color: inherit; display: grid; gap: 4px; }
.feed-list time { color: var(--muted); font-size: 13px; }
.feed-list strong { font-size: 18px; }

.faq-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px;
}
.faq-item, details.faq-item, details.q-item {
  background: #fff; border: 1px solid var(--border); padding: 4px 14px;
}
.faq-item summary, .q-item summary {
  cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.q-body, .faq-item p { color: var(--muted); }

.next-panel {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
  gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); padding: 28px;
}
.dest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dest-list a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 8px; display: block; }

.inline-image-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px; align-items: center; margin: 28px 0;
}
.inline-image-row img, .inline-image-row > img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid var(--border);
}
.page-hero { padding: 36px 0 10px; }
.page-hero-img { margin: 18px 0 8px; background: #d7deea; }
.page-hero-img img { aspect-ratio: 16 / 7; object-fit: cover; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

.card, .data-card, .step-card, .loose-card, .hub-card {
  background: #fff; border: 1px solid var(--border); padding: 18px; border-radius: var(--radius);
}
.step-num { font-weight: 700; color: var(--primary); }
.band { }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 28px; }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li {
  padding: 10px 0 10px 28px; border-bottom: 1px solid var(--surface-2); position: relative;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px;
  border: 2px solid var(--primary);
}

.site-footer {
  background: #101820; color: #c8d2df; padding: 48px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.site-footer h2 { color: #fff; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #c8d2df; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-note { margin-top: 28px; border-top: 1px solid #243041; padding-top: 16px; font-size: 13px; color: #93a0b3; }

.mobile-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 24, 32, 0.96);
}
.mobile-sticky .sticky-cta {
  display: flex; width: 100%; justify-content: center; align-items: center;
  min-height: 48px; background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 700; letter-spacing: 0.08em; border-radius: 4px;
}

.disclaimer { font-size: 14px; color: var(--muted); }

.live-desk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(220px, 42vh) auto;
}
.live-desk > header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.live-desk .avatar {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.live-desk > header div:nth-child(2) { display: grid; gap: 2px; }
.live-desk > header strong { font-size: 15px; color: var(--ink); }
.live-desk > header span { font-size: 13px; color: var(--muted); }
.live-desk > header i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: 6px;
}
.live-desk .reset {
  margin-left: auto; border: 1px solid var(--border); background: #fff;
  width: 44px; height: 44px; border-radius: 4px; cursor: pointer; font-size: 20px;
}
.live-desk .messages { padding: 18px; overflow: auto; }
.live-desk .day { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.live-desk .bubble { max-width: 86%; margin: 0 0 14px; }
.live-desk .bubble p {
  padding: 12px 14px; margin: 0; border-radius: 8px;
  background: var(--surface-2); color: var(--text); line-height: 1.5; font-size: 15px;
  white-space: pre-wrap;
}
.live-desk .bubble time { display: block; font-size: 11px; color: var(--muted); margin: 6px 4px; }
.live-desk .bubble.user { margin-left: auto; }
.live-desk .bubble.user p { background: var(--primary); color: #fff; }
.live-desk .bubble.user time { text-align: right; }
.live-desk .bubble.pending { opacity: .65; }
.live-desk form { border-top: 1px solid var(--border); padding: 14px 16px 16px; }
.live-desk .identity { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-bottom: 10px; }
.live-desk .identity label { font-size: 12px; color: var(--muted); font-weight: 700; }
.live-desk .identity input {
  display: block; width: 100%; margin-top: 6px;
  border: 1px solid var(--border); border-radius: 4px; padding: 11px; font: inherit;
}
.live-desk .composer {
  display: flex; align-items: flex-end; gap: 10px;
  border: 1px solid var(--border); border-radius: 6px; padding: 8px; background: #fff;
}
.live-desk .composer textarea {
  flex: 1; resize: none; max-height: 120px; border: 0; outline: 0;
  background: transparent; padding: 7px; font: inherit; line-height: 1.45;
}
.live-desk .composer button {
  border: 0; border-radius: 4px; background: var(--primary); color: #fff;
  min-height: 40px; padding: 0 14px; font-weight: 700; cursor: pointer;
}
.live-desk .status { text-align: center; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.live-desk .status.error { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger {
    display: block;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 500;
    margin-left: 0;
  }
  html.is-drawer-open,
  html.is-drawer-open body { overflow: hidden; }
  html.is-drawer-open .site-header {
    position: static;
    z-index: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.is-drawer-open .hamburger span { opacity: 0; }
  html.is-drawer-open [data-support-launcher] { display: none !important; }
  .hero-grid, .field-guide, .split, .action-rail, .next-panel, .faq-grid, .inline-image-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-strip, .chapter-rail, .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-cover { min-height: 520px; max-height: none; height: auto; }
  .hero-grid { padding: 72px 0 28px; }
  .photo-note { max-width: none; }
}

@media (max-width: 899px) {
  .hero-cover { min-height: 480px !important; max-height: none !important; height: auto !important; }
  .hero-cover .proof-rail { display: none !important; }
  #hero-h { font-size: 32px !important; line-height: 1.12 !important; }
  .live-desk .identity { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .proof-strip, .chapter-rail, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .ranked-row { grid-template-columns: 44px minmax(0, 1fr); }
  .mobile-sticky { display: block; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .score-tick { display: none; }
}

@media (max-width: 430px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .photo-note { padding: 18px 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
