﻿:root {
  color-scheme: light;
  --bg: #f6f2ec;
  --surface: #fffdf9;
  --line: rgba(98, 74, 55, 0.14);
  --text: #201713;
  --muted: #6b5a50;
  --brand: #bb4d1f;
  --brand-soft: #fff1e7;
  --accent: #245948;
  --shadow: 0 18px 40px rgba(48, 29, 14, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(187, 77, 31, 0.12), transparent 26%),
    linear-gradient(180deg, #fbf8f4 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

h1,
h2,
p,
ol,
ul {
  margin: 0;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 16px 52px;
}

.hero,
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow);
}

.hero {
  margin-bottom: 16px;
}

.panel {
  margin-bottom: 16px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  margin-bottom: 8px;
}

.hero-text,
.section-note,
.site-footer p,
.number-list li,
.gear-list li,
.link-card p,
.cutoff-table td,
.cutoff-table th {
  color: var(--muted);
  line-height: 1.82;
}

.hero-text a,
.site-footer a,
.link-card a {
  color: var(--brand);
  font-weight: 700;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-nav a,
.link-card a,
.footer-links a {
  text-decoration: none;
}

.quick-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

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

.number-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.number-list li {
  padding-left: 4px;
}

.reminder-title {
  color: var(--text);
  font-weight: 700;
}

.reminder-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.reminder-line {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(187, 77, 31, 0.06);
  color: var(--text);
  line-height: 1.7;
}

.link-list,
.cutoff-groups {
  display: grid;
  gap: 12px;
}

.link-card,
.cutoff-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.link-card-top,
.cutoff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.link-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(36, 89, 72, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.link-card strong,
.cutoff-head strong {
  font-size: 1.06rem;
}

.link-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.cutoff-card {
  padding: 0;
  overflow: hidden;
}

.cutoff-head {
  margin-bottom: 0;
  padding: 14px 16px;
  background: rgba(36, 89, 72, 0.08);
}

.cutoff-note {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.cutoff-table {
  width: 100%;
  border-collapse: collapse;
}

.cutoff-table th,
.cutoff-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cutoff-table th {
  color: var(--text);
  font-size: 0.88rem;
}

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

.gear-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-left: 18px;
}

.site-footer {
  padding: 6px 4px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 16px 12px 32px;
  }

  .hero,
  .panel {
    padding: 18px;
  }

  .gear-list {
    grid-template-columns: 1fr;
  }

  .link-card-top,
  .cutoff-head {
    display: grid;
  }

  .cutoff-table,
  .cutoff-table thead,
  .cutoff-table tbody,
  .cutoff-table tr,
  .cutoff-table th,
  .cutoff-table td {
    display: block;
    width: 100%;
  }

  .cutoff-table thead {
    display: none;
  }

  .cutoff-table tr {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .cutoff-table td {
    padding: 3px 0;
    border-bottom: none;
  }

  .cutoff-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
  }
}

.extra-notes-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.extra-notes-head {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.extra-notes {
  display: grid;
  gap: 12px;
}

.extra-note-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(36, 89, 72, 0.05);
}

.extra-note-title {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.7;
}

.extra-note-lines {
  display: grid;
  gap: 6px;
}

.extra-note-line {
  color: var(--muted);
  line-height: 1.78;
}
