:root {
  color-scheme: light;
  --ink: #151411;
  --muted: #5f5d52;
  --paper: #f7f4e7;
  --surface: #fffef7;
  --surface-2: #ebe5c9;
  --line: #d3c98c;
  --black: #151411;
  --yellow: #e4cc48;
  --lime: #8ba84d;
  --teal: #248f8b;
  --red: #bd4f3a;
  --shadow: 0 18px 50px rgba(21, 20, 17, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21,20,17,.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #fbf7db 0, var(--paper) 440px, #f2ead0 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(255, 254, 247, .92);
  border-bottom: 1px solid rgba(21,20,17,.16);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 900;
}
.brand img { border-radius: 8px; box-shadow: 0 0 0 2px var(--black); }
nav { display: flex; align-items: center; flex: 1; gap: 14px; flex-wrap: wrap; }
nav a {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 800;
  padding: 6px 2px;
}
nav a[aria-current="page"] { color: var(--red); }
select {
  border: 1px solid rgba(21,20,17,.2);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 10px;
  max-width: 190px;
}
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 66px);
  padding: 42px 0 34px;
}
.hero-copy {
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 254, 247, .78);
  border: 1px solid rgba(21,20,17,.16);
  box-shadow: var(--shadow);
}
.kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: .97;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
h2 { letter-spacing: 0; }
.hero-lead, .lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 72ch;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border-radius: 7px;
  background: var(--black);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 0 rgba(21,20,17,.18);
}
.button.ghost {
  color: var(--black);
  background: var(--yellow);
}
.button.outline {
  color: var(--black);
  background: transparent;
  border: 2px solid var(--black);
  box-shadow: none;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.hero-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.status-card {
  min-height: 116px;
  padding: 13px;
  background: #fff;
  border: 1px solid rgba(21,20,17,.16);
  border-left: 6px solid var(--teal);
}
.status-card:nth-child(2) { border-left-color: var(--yellow); }
.status-card:nth-child(3) { border-left-color: var(--red); }
.status-card:nth-child(4) { border-left-color: var(--lime); }
.status-card span, .card-tag {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.status-card strong {
  display: block;
  margin: 5px 0;
  line-height: 1.2;
}
.status-card small { color: var(--muted); }
figure { margin: 0; }
img { max-width: 100%; }
.hero-media {
  position: relative;
  background: var(--black);
  padding: 10px;
  border: 1px solid rgba(21,20,17,.28);
  box-shadow: var(--shadow);
  transform: rotate(.4deg);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(228,204,72,.85);
  pointer-events: none;
}
.hero-media img, .wide img, .hub-card img, .visual-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #d8d095;
}
figcaption {
  margin-top: 9px;
  color: #6b684d;
  font-size: .9rem;
}
.hero-media figcaption {
  color: #ebe5c9;
}
.section {
  padding: 44px 0;
  border-top: 1px solid rgba(21,20,17,.14);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-head h2, .article h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.05;
}
.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: stretch;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid rgba(21,20,17,.16);
  box-shadow: 0 10px 30px rgba(21,20,17,.08);
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(21,20,17,.12);
  text-align: left;
  vertical-align: top;
}
th { width: 190px; background: #efe7af; }
.source-panel {
  padding: 20px;
  color: #f7f4e7;
  background: var(--black);
  border: 1px solid rgba(21,20,17,.24);
  box-shadow: var(--shadow);
}
.source-panel p { color: #d8d095; }
.source-panel a { color: var(--yellow); font-weight: 900; }
.guide-hero {
  min-height: auto;
  padding-top: 54px;
}
.today-answer {
  margin-top: 18px;
  padding: 16px 18px;
  color: #fffef7;
  background: #1f2f2d;
  border-left: 7px solid var(--yellow);
}
.today-answer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: .9rem;
  text-transform: uppercase;
}
.today-answer p { margin: 0; color: #ece4ba; }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dashboard-grid article {
  min-height: 188px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(21,20,17,.16);
  border-top: 7px solid var(--teal);
  box-shadow: 0 12px 28px rgba(21,20,17,.08);
}
.dashboard-grid article:nth-child(2) { border-top-color: var(--yellow); }
.dashboard-grid article:nth-child(3) { border-top-color: var(--red); }
.dashboard-grid article:nth-child(4) { border-top-color: var(--lime); }
.dashboard-grid span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.dashboard-grid h3 {
  margin: 8px 0;
  line-height: 1.15;
}
.dashboard-grid p {
  margin: 0;
  color: var(--muted);
}
.step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.step-list li {
  counter-increment: steps;
  min-height: 230px;
  padding: 18px;
  background: var(--black);
  color: #fffef7;
  border-bottom: 7px solid var(--yellow);
}
.step-list li::before {
  content: counter(steps);
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 950;
}
.step-list h3 { margin: 0 0 8px; line-height: 1.15; }
.step-list p { margin: 0; color: #ddd6ad; }
.guide-table thead th {
  color: #fffef7;
  background: #263b38;
}
.guide-table td:first-child {
  font-weight: 900;
  color: var(--black);
}
.note {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: #fffef7;
  border-left: 6px solid var(--red);
  color: #37342c;
}
.guide-article {
  max-width: 1040px;
}
.guide-article .section {
  padding: 34px 0;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hub-card {
  background: var(--surface);
  border: 1px solid rgba(21,20,17,.16);
  box-shadow: 0 12px 28px rgba(21,20,17,.08);
}
.hub-card div { padding: 15px; }
.hub-card h2 {
  margin: 7px 0 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}
.hub-card p { color: var(--muted); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.timeline article {
  min-height: 190px;
  padding: 18px;
  background: var(--black);
  color: #fff;
  border-top: 7px solid var(--yellow);
}
.timeline article:nth-child(2) { border-top-color: var(--teal); }
.timeline article:nth-child(3) { border-top-color: var(--red); }
.timeline article:nth-child(4) { border-top-color: var(--lime); }
.timeline span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  font-weight: 950;
}
.timeline h3 { margin: 14px 0 8px; }
.timeline p { color: #ddd6ad; }
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.visual-grid figure, .wide {
  padding: 10px;
  background: var(--surface);
  border: 1px solid rgba(21,20,17,.16);
}
.article {
  max-width: 930px;
  padding: 50px 0;
}
.article h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}
.route-status { margin: 28px 0; }
.content-block {
  padding: 24px 0;
  border-top: 1px solid rgba(21,20,17,.12);
}
.content-block p, .article > p {
  color: #37342c;
  font-size: 1.03rem;
}
.faq {
  padding: 26px 0 56px;
}
details {
  margin: 10px 0;
  padding: 15px 17px;
  background: var(--surface);
  border: 1px solid rgba(21,20,17,.16);
  border-radius: 7px;
}
summary {
  cursor: pointer;
  font-weight: 900;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(16px, 4vw, 54px);
  background: var(--black);
  color: #ebe5c9;
}
.site-footer p { margin: 6px 0; max-width: 76ch; }
.site-footer a { color: var(--yellow); margin-right: 14px; font-weight: 800; }
.legal { min-height: 62vh; }
@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; position: static; }
  nav { width: 100%; }
  .hero, .decision-grid { grid-template-columns: 1fr; min-height: auto; }
  .hub-grid, .timeline, .dashboard-grid, .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
}
@media (max-width: 560px) {
  main { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .hero { padding-top: 24px; gap: 20px; }
  .hero-copy { width: 100%; max-width: 100%; padding: 18px; }
  h1, .article h1 { max-width: 100%; font-size: 1.46rem; line-height: 1.15; word-break: break-word; overflow-wrap: anywhere; }
  .hero h1 { max-width: 13ch; }
  .hero-lead, .lead, .content-block p { overflow-wrap: anywhere; }
  .hero-lead { max-width: 22ch; }
  .hero-status, .hub-grid, .timeline, .dashboard-grid, .step-list { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  th, td { display: block; width: 100%; }
  .source-panel { padding: 16px; }
  .site-footer { display: block; }
  .brand span { max-width: 260px; overflow-wrap: anywhere; }
  nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
  nav a { min-width: 0; overflow-wrap: anywhere; }
}
