@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
  --accent: #0F766E;
  --accent-deep: #0B5E58;
  --navy: #0A2738;
  --bg: #f4f7f6;
  --bg-soft: #e7f1ef;
  --white: #ffffff;
  --text: #0A2738;
  --muted: #5a7080;
  --line: #c7d8d4;
  --danger: #b42318;
  --header-h: 72px;
  --notice-h: 0px;
  --shadow: 0 18px 40px rgba(10, 39, 56, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--notice-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 10000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #2dd4bf);
  z-index: 10050;
  transition: width 0.05s linear;
}

/* Notice */
.notice-bar {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.notice-text { flex: 1; min-width: 0; }
.notice-bar p { font-size: 13px; color: #c5d5e0; line-height: 1.45; }
.notice-bar strong { color: #fff; }
.notice-short { display: none; }
.notice-bar .badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}
.notice-close {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 10px;
  opacity: 0.7;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}
.notice-close:hover { opacity: 1; }
.notice-bar.is-hidden { display: none; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  position: sticky;
  top: var(--notice-h);
  z-index: 1100;
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(10,39,56,0.08); }
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(15,118,110,0.35);
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-drawer {
  display: none;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a.active { color: var(--accent); background: var(--bg-soft); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(115deg, rgba(10,39,56,0.92) 0%, rgba(10,39,56,0.75) 42%, rgba(15,118,110,0.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(15,118,110,0.45), transparent 45%),
    linear-gradient(160deg, #0A2738, #14506e 55%, #0F766E);
  color: #fff;
  padding: 72px 24px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
  animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}
.hero-signal {
  position: absolute;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  right: -80px; top: -60px;
  animation: pulse-ring 5s ease-in-out infinite;
}
.hero-signal::before,
.hero-signal::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}
.hero-signal::after { inset: 90px; }
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #9fd8cf; }
.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: rgba(255,255,255,0.84);
  max-width: 38em;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}
.hero-trust span::before {
  content: '✓ ';
  color: #9fd8cf;
  font-weight: 700;
}

.btn-primary,
.btn-ghost,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Stats */
.stats {
  padding: 36px 24px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
}
.stat { text-align: center; padding: 8px; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* Sections */
section { padding: 88px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--navy);
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.prose strong { color: var(--navy); }
.highlight-panel {
  background: linear-gradient(160deg, var(--navy) 0%, #0f3a52 100%);
  color: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  position: sticky;
  top: calc(var(--header-h) + var(--notice-h) + 16px);
}
.highlight-panel h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.highlight-panel p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.year-chip {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.context-list { display: grid; gap: 18px; }
.context-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.context-row:last-child { border-bottom: none; }
.context-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}
.context-row p { color: var(--muted); font-size: 0.98rem; }

/* Tabs / filters */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  min-height: 44px;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tab-panel { display: none; animation: fade-up 0.35s ease; }
.tab-panel.active { display: block; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Guide steps */
.guide {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.guide-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.guide-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.2s;
}
.guide-step-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.guide-step-dot.done {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.guide-panel h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.guide-panel p { color: var(--muted); margin-bottom: 20px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-panel[hidden] { display: none; }

/* Allies */
.allies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ally-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ally-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ally-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.ally-card p { color: var(--muted); font-size: 0.98rem; }
.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.keyword-chips span {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
}

/* Timeline */
.timeline-section {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline { position: relative; max-width: 820px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.tl-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  min-width: 0;
}
.tl-item.is-filtered-out { display: none; }
.tl-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  flex-shrink: 0;
  z-index: 1;
}
.tl-item.featured .tl-dot {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(15,118,110,0.18);
}
.tl-content { min-width: 0; flex: 1; }
.tl-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tl-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.tl-content p { color: var(--muted); font-size: 0.98rem; }
.tl-item.featured .tl-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.98rem;
}
.faq-item.open .faq-a { display: block; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.form-grid { display: grid; gap: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
  background: #fff;
}
.form-field .error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}
.form-field.invalid .error { display: block; }
.form-field.invalid input,
.form-field.invalid textarea { border-color: var(--danger); }
.form-success {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  color: var(--accent-deep);
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: block; }
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.checkbox-row input { margin-top: 4px; }

/* Legal pages */
.page-hero {
  background: linear-gradient(160deg, var(--navy), #0f3a52);
  color: #fff;
  padding: 64px 24px 48px;
}
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 1100px;
  margin: 0 auto 10px;
}
.page-hero p {
  max-width: 1100px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.info-box h3 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
}
.info-box p { color: var(--muted); margin-bottom: 10px; font-size: 0.95rem; }

/* Quote / learn */
.learn-section { background: var(--white); }
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.learn-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--navy);
}
.learn-item p { color: var(--muted); font-size: 0.95rem; }
.learn-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}
.quote-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.quote-section blockquote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.quote-section cite {
  color: rgba(255,255,255,0.6);
  font-style: normal;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #061820;
  color: #8aa0ae;
  padding: 56px 24px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand span { color: var(--accent); }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  color: #8aa0ae;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: #2dd4bf; }
.footer-disclaimer {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 0.85rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.footer-disclaimer strong { color: #c5d5e0; }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #5a7080;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10040;
  max-width: 720px;
  margin: 0 auto;
  background: #061820;
  color: #c5d5e0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: none;
}
.cookie-banner.show { display: block; animation: fade-up 0.3s ease; }
.cookie-banner p { font-size: 0.9rem; margin-bottom: 14px; }
.cookie-banner a { color: #2dd4bf; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Back to top */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(15,118,110,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10030;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover { transform: translateY(-2px); }

/* Tablet / mobile nav */
@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .site-header { padding: 0 16px; }
  .site-header-inner { min-height: 64px; }
  :root { --header-h: 64px; }

  .nav-desktop { display: none !important; }

  .nav-drawer {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + var(--notice-h));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #f4f7f6;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1090;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    visibility: hidden;
  }
  .nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-drawer a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border: 1px solid var(--line);
    background: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid,
  .learn-grid,
  .allies-grid,
  .contact-grid,
  .footer-top { grid-template-columns: 1fr; }
  .highlight-panel { position: static; }
  .context-row { grid-template-columns: 1fr; gap: 6px; }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-right: -8px;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }

  .notice-bar {
    padding: 8px 12px;
    gap: 8px;
    align-items: flex-start;
  }
  .notice-full,
  .notice-bar .badge { display: none; }
  .notice-short { display: block; font-size: 12px; }
  .notice-close {
    min-width: 40px;
    min-height: 40px;
    padding: 4px;
    margin-top: -2px;
  }

  .site-header { padding: 0 12px; }
  .site-header-inner { min-height: 60px; gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; font-size: 13px; flex-shrink: 0; }
  .brand-name { font-size: 1rem; }

  .hero {
    min-height: auto;
    align-items: center;
    padding: 40px 16px 56px;
  }
  .hero-signal {
    width: 260px;
    height: 260px;
    right: -120px;
    top: -40px;
    opacity: 0.55;
  }
  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    max-width: none;
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 1rem;
    margin-bottom: 22px;
    max-width: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 14px 18px;
  }
  .hero-trust {
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
  }

  .stats {
    padding: 0 12px 24px;
    margin-top: -20px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 14px;
  }
  .stat {
    padding: 14px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n + 3) { border-bottom: none; }
  .stat-number { font-size: 1.45rem; }
  .stat-label { font-size: 0.72rem; line-height: 1.35; }

  section { padding: 48px 16px; }
  .container { max-width: 100%; }
  .lead { font-size: 1rem; margin-bottom: 28px; }
  h2 { font-size: clamp(1.45rem, 6.5vw, 2rem); }

  .intro-grid { gap: 20px; }
  .highlight-panel { padding: 22px 18px; border-radius: 14px; }
  .prose p { font-size: 0.98rem; }

  .context-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .guide { padding: 18px 14px; border-radius: 14px; }
  .guide-steps { gap: 8px; margin-bottom: 18px; }
  .guide-step-dot { width: 32px; height: 32px; font-size: 0.78rem; }
  .guide-panel h3 { font-size: 1.1rem; }
  .guide-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-actions .btn-accent,
  .guide-actions .btn-secondary,
  .guide-actions a {
    width: 100%;
    min-height: 48px;
  }

  .ally-card { padding: 20px 16px; }
  .keyword-chips { gap: 8px; margin-top: 20px; }
  .keyword-chips span {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .timeline::before { left: 15px; }
  .tl-item { gap: 12px; margin-bottom: 24px; }
  .tl-dot {
    width: 32px;
    height: 32px;
    font-size: 0.62rem;
  }
  .tl-item.featured .tl-dot { box-shadow: 0 0 0 4px rgba(15,118,110,0.16); }
  .tl-content h3 { font-size: 1.02rem; }
  .tl-content p { font-size: 0.92rem; }
  .tl-item.featured .tl-content { padding: 14px 12px; }

  .learn-grid { gap: 20px; }
  .learn-num { font-size: 1.6rem; }

  .faq-q {
    padding: 16px;
    font-size: 0.95rem;
    align-items: flex-start;
    gap: 12px;
  }
  .faq-a { padding: 0 16px 16px; font-size: 0.92rem; }

  .quote-section { padding: 48px 16px; }
  .quote-section blockquote { font-size: 1.2rem; }

  .page-hero { padding: 40px 16px 32px; }
  .legal-content { padding: 32px 16px 56px; }
  .contact-grid { padding: 28px 16px 56px; gap: 20px; }
  .form-card { padding: 20px 16px; }
  .info-box { padding: 18px 16px; }

  footer { padding: 40px 16px 24px; }
  .footer-top { gap: 24px; margin-bottom: 24px; }
  .footer-disclaimer {
    padding: 16px;
    font-size: 0.8rem;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
    border-radius: 14px;
    max-height: min(50vh, 320px);
    overflow-y: auto;
  }
  .cookie-banner p { font-size: 0.85rem; }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions .btn-accent,
  .cookie-actions .btn-ghost,
  .cookie-actions a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .back-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
  body.cookies-open .back-top { display: none; }
}

@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child { border-bottom: none; }
  .hero h1 { font-size: 1.6rem; }
}
