/* ═══════════════════════════════════════════════
   SDGDC HL — Sub-pages Stylesheet (standalone)
   contact.html · privacy.html · terms.html
   Does NOT depend on style.css
   ═══════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────── */
:root {
  --black:     #000000;
  --white:     #ffffff;
  --red:       #CC1C2E;
  --red-vivid: #E82035;
  --muted:     rgba(255,255,255,0.45);
  --dim:       rgba(255,255,255,0.10);
  --font:      'Space Grotesk', sans-serif;
  --mono:      'Space Mono', monospace;
  --hdr-h:     64px;
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overscroll-behavior-x: none;
}

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

/* ── Header ──────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dim);
}

.hdr-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  height: 100%;
  padding: 0 clamp(16px, 4vw, 48px);
}

#main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex: 1;
}
#main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
#main-nav a:hover { color: var(--white); }

.hdr-cta {
  padding: 8px 20px;
  margin-right: clamp(110px, 14vw, 160px);
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.hdr-cta:hover { background: var(--red-vivid); }

/* ── Fixed logo top-right ─────────────────────── */
#hdr-logo {
  position: fixed;
  top: 0;
  right: clamp(16px, 4vw, 48px);
  height: var(--hdr-h);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
}
#hdr-ring  { width: 28px; height: auto; }
#hdr-brand { display: flex; gap: 4px; align-items: baseline; }
#hdr-sdgdc { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
#hdr-hl    { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--red-vivid); }

/* ── Shared eyebrow ───────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-vivid);
  font-family: var(--mono);
}

/* ── Page layout ──────────────────────────────── */
.page-main {
  flex: 1;
  padding-top: calc(var(--hdr-h) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(60px, 8vw, 120px);
}

.page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
}

.page-heading {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
}

.page-intro {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}

/* ── Contact cards ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.contact-card {
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--dim);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease;
}
.contact-card:hover { border-color: rgba(255,255,255,0.15); }
.contact-card.active-card {
  border-color: rgba(204,28,46,0.4);
  background: rgba(204,28,46,0.04);
}
.contact-card h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-card p {
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--muted);
  line-height: 1.6;
}
.contact-placeholder {
  font-family: var(--mono);
  font-size: 11px !important;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2) !important;
  border-top: 1px solid var(--dim);
  padding-top: 10px;
  margin-top: 4px;
}

/* Live badge */
.card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-family: var(--mono);
  width: fit-content;
}
.card-badge.live {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

/* ── Policy sections ──────────────────────────── */
.policy-sections {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dim);
}

.policy-section {
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-section h2 {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.policy-section p {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--muted);
  line-height: 1.7;
}
.policy-section a { color: var(--red-vivid); text-decoration: underline; text-underline-offset: 3px; }
.policy-section a:hover { color: var(--white); }

/* ── Placeholder note ────────────────────────── */
.page-note {
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
  border: 1px solid var(--dim);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.page-note p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ── Page footer ──────────────────────────────── */
.page-footer {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--dim);
}
.page-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Brand row */
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.footer-ring { width: 28px; height: auto; }
.footer-ngn-logo {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  opacity: 0.45;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.footer-ngn-logo:hover { opacity: 0.75; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* Footer bottom row: links + socials */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Social icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
  text-decoration: none;
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.social-icon.instagram:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: rgba(225,48,108,0.07);
}
.social-icon.linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  background: rgba(10,102,194,0.07);
}

/* ── Buttons ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--red-vivid);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover { background: #c41a2b; color: var(--white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* CTA row */
.page-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

/* Live badge row on edition/register pages */
.live-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.edition-org {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Active nav link */
#main-nav a.active { color: var(--white); }
.hdr-cta.active-cta { background: #a01522; }

/* Checklist */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 8px 0;
}
.check-list li {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.check-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--red-vivid);
  font-weight: 700;
}

/* ── FAQ page list ────────────────────────────── */
.faq-page-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dim);
}
.faq-page-item {
  padding: clamp(18px, 2.5vw, 28px) 0;
  border-bottom: 1px solid var(--dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-page-item h2 {
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.faq-page-item p {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--muted);
  line-height: 1.7;
}
.faq-page-item a { color: var(--red-vivid); text-decoration: underline; text-underline-offset: 3px; }
.faq-page-item a:hover { color: var(--white); }

/* ── Register page CTA block ─────────────────── */
.register-free-banner-page {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: clamp(13px, 1.3vw, 15px);
  color: rgba(255,255,255,0.85);
  margin: 4px 0 8px;
}
.register-free-banner-page .free-star {
  color: #22c55e;
  font-size: 16px;
  flex-shrink: 0;
}
.register-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2rem;
}
.btn-primary.large-cta {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 8px;
}
.register-cta-note {
  font-size: 12px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ── Timeline page ────────────────────────────── */
.timeline-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 0;
}
.tl-page-step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
}
.tl-page-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}
.tl-page-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: var(--black);
  flex-shrink: 0;
  margin-top: 4px;
}
.tl-page-step.active-step .tl-page-dot {
  border-color: #22c55e;
  background: rgba(34,197,94,0.15);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.1);
}
.tl-page-line {
  width: 2px;
  flex: 1;
  background: var(--dim);
  margin-top: 6px;
  min-height: 32px;
}
.tl-page-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}
.tl-page-tag {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.tl-page-tag.live-tag { color: #22c55e; }
.tl-page-content h2 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.tl-page-content p {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--muted);
  line-height: 1.7;
}
.tl-page-content a { color: var(--red-vivid); text-decoration: underline; text-underline-offset: 3px; }
.tl-page-content a:hover { color: var(--white); }

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  #main-nav { display: none; }
  .hdr-cta  { margin-right: clamp(56px, 14vw, 72px); }
  #hdr-ring { width: 22px; }
  #hdr-sdgdc, #hdr-hl { font-size: 13px; }
  .page-cta-row { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 14px; }
  .footer-ngn-logo { width: 72px; }
}

@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
  .register-cta-block { width: 100%; }
  .btn-primary.large-cta { width: 100%; justify-content: center; }
}
