/* ==========================================================================
   CPNS 2026–2027 Design System & Stylesheet
   Strictly vanilla CSS. No frameworks, no external imports.
   ========================================================================== */

:root {
  --paper: #FAF6EF;
  --paper-2: #F2EADD;
  --ink: #0A1C2B;
  --ink-2: #15334A;
  --muted: #5D6F7C;
  --line: #E4DACA;
  --card: #FFFFFF;
  --gold: #B4761F;
  --gold-soft: #F0C987;
  --gold-bright: #E8A33D;
  --red: #B5121B;
  --green: #1E6B4F;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10,28,43,.05), 0 12px 32px -16px rgba(10,28,43,.18);
  --maxw: 1180px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top 200ms ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ink-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}

a:hover {
  color: var(--gold);
}

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Layout Containers */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section--alt {
  background-color: var(--paper-2);
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.col-12 { grid-column: span 12; }
.col-10 { grid-column: span 10; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }
.col-2  { grid-column: span 2; }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 246, 239, 0.88);
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-badge {
  position: relative;
  width: 36px;
  height: 36px;
  background-color: var(--ink);
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.brand-badge::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 50%, #FFFFFF 50%);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background-color: rgba(10, 28, 43, 0.04);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--ink);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(180, 118, 31, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(30, 107, 79, 0.10), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: #FFFFFF;
  padding-block: clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero h1 {
  color: #FFFFFF;
}

.hero p {
  color: #D3DEE5;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  max-width: 640px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 28, 43, 0.12);
}

.btn--primary {
  background-color: var(--gold-bright);
  color: var(--ink);
}

.btn--primary:hover {
  background-color: #f1b04f;
  color: var(--ink);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  background-color: var(--card);
  border-color: var(--ink);
  color: var(--ink);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.badge--resmi {
  background-color: rgba(30, 107, 79, 0.12);
  color: var(--green);
  border: 1px solid rgba(30, 107, 79, 0.25);
}

.badge--rencana {
  background-color: rgba(180, 118, 31, 0.12);
  color: var(--gold);
  border: 1px solid rgba(180, 118, 31, 0.25);
}

.badge--belum {
  background-color: rgba(93, 111, 124, 0.12);
  color: var(--muted);
  border: 1px solid rgba(93, 111, 124, 0.22);
}

.badge--hero {
  background-color: rgba(255, 255, 255, 0.10);
  color: #F0C987;
  border: 1px solid rgba(240, 201, 135, 0.3);
  margin-bottom: 1.25rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.5vw, 28px);
  position: relative;
}

.card--gold {
  border-top: 3px solid var(--gold-bright);
}

.card--dark {
  background-color: var(--ink);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
}

.card--dark h2, .card--dark h3 {
  color: #FFFFFF;
}

.card--dark p {
  color: #CFDAE2;
}

.card-num {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Stats */
.stat-strip {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-item {
  padding: clamp(20px, 2.5vw, 28px);
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Countdown Box */
.countdown-card {
  background: rgba(21, 51, 74, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(240, 201, 135, 0.35);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 12px;
}

.countdown-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.cd-tile {
  background: rgba(10, 28, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
}

.cd-tile-num {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cd-tile-unit {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9FB2C0;
  margin-top: 4px;
}

.countdown-note {
  font-size: 0.8125rem;
  color: #BDCED9;
  line-height: 1.4;
}

#status-seleksi {
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-soft);
}

/* Tabs Component */
.tab-nav {
  display: inline-flex;
  gap: 8px;
  background: var(--paper-2);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 180ms ease;
}

.tab-btn[aria-selected="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(10, 28, 43, 0.08);
}

.tab-panel {
  display: block;
}

.tab-panel[hidden] {
  display: none;
}

/* Vertical Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: var(--line);
}

.tl-item {
  position: relative;
  margin-bottom: 2rem;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -28px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px var(--paper);
}

.tl-item.is-done::before {
  background: var(--green);
  border-color: var(--green);
}

.tl-item.is-active::before {
  background: var(--gold-bright);
  border-color: var(--ink);
}

.tl-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.tl-date {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.tl-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.tl-desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Table styles */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

th {
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  background-color: var(--paper-2);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

/* Callouts */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border-left: 4px solid var(--gold);
  margin-top: 1.5rem;
}

.callout--warn {
  border-left-color: var(--red);
  background: #FFF5F5;
  color: #7A0A10;
}

.callout--warn h3 {
  color: var(--red);
}

.callout--info {
  border-left-color: var(--ink-2);
}

/* Checklist */
.checklist-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background-color: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 999px;
  transition: width 200ms ease;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.check-label:hover {
  background-color: #FFFFFF;
  border-color: var(--gold-soft);
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
  margin-top: 2px;
}

.check-text {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.check-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.checklist-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Accordion (FAQ) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}

details.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 180ms ease;
}

details.faq-item[open] {
  border-color: var(--gold-soft);
}

summary.faq-q {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

summary.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform 200ms ease;
}

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

.faq-a {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

details[open] .faq-a {
  border-top: 1px solid var(--paper-2);
  padding-top: 14px;
}

/* Quiz / Tryout Styles */
.tryout-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3.5vw, 40px);
}

.quiz-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.quiz-timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

#quiz-timer {
  font-size: 1.25rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.question-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  margin-bottom: 20px;
}

.q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.q-subtes {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.q-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 180ms ease;
  font-size: 0.9375rem;
}

.option-label:hover {
  border-color: var(--gold-soft);
  background-color: var(--paper);
}

.option-label input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--gold);
}

.quiz-result-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-top: 24px;
}

.result-score {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.subtes-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.subtes-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.review-item {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.review-item.correct {
  border-left: 4px solid var(--green);
}

.review-item.incorrect {
  border-left: 4px solid var(--red);
}

.review-pembahasan {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 6px;
}

/* Footer */
.site-footer {
  background-color: var(--ink);
  color: #E8EFF4;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 32px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  color: #B8CBD8;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2.5fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #D3DEE5;
}

.footer-disclaimer-box strong {
  color: #FFFFFF;
}

.footer-sources {
  margin-top: 12px;
  padding-left: 18px;
  font-size: 0.75rem;
  color: #9EB2C1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #8C9FAE;
  flex-wrap: wrap;
  gap: 12px;
}

/* Reveal on scroll animations */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.js [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    box-shadow: 0 12px 24px rgba(10, 28, 43, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-link[aria-current="page"]::after {
    left: 16px;
    right: auto;
    width: 24px;
  }

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

  .col-12, .col-10, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2 {
    grid-column: span 1;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .checklist-items {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .subtes-summary {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
