/* ── CSS Custom Properties ── */
:root {
  --navy: #0f3a7d;
  --navy-dark: #0a2a5e;
  --navy-deeper: #071e44;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dim: rgba(212, 175, 55, 0.25);
  --text-light: #f5f7fa;
  --text-muted: #c8d0dc;
  --text-dim: #8a97a8;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(212, 175, 55, 0.2);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
  --section-pad: 5rem 2rem;
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--navy-deeper);
  color: var(--text-light);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  z-index: 1000;
}
.skip-link:focus {
  top: 1rem;
}

/* ── Top-left brand wordmark ── */
.brand {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  z-index: 250;
  pointer-events: none;
}

/* ── Sticky Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 30, 68, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-light);
  flex-shrink: 0;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 5rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    linear-gradient(170deg, var(--navy-dark) 0%, var(--navy-deeper) 60%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(212, 175, 55, 0.4));
  animation: float 5s ease-in-out infinite;
  margin-bottom: 2rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-light);
  line-height: 1.05;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

/* ── Hero headline: "Written by Cadets, for Cadets" ── */
.hero .hero-title {
  font-size: clamp(2.1rem, 8vw, 4.75rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.03;
  color: var(--text-light);
  margin: 0.35rem auto 0.9rem;
  max-width: 15ch;
  text-wrap: balance;
}

.hero .hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0.75rem auto 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn-ghost {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}

.cta-btn-ghost:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.cta-btn-lg {
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

/* ── Section base ── */
.section {
  padding: var(--section-pad);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-alt {
  background: rgba(15, 58, 125, 0.3);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── About — strand cards ── */
.strand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.strand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.strand-card:hover {
  background: var(--surface-hover);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.strand-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.strand-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.strand-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Ranks — timeline ── */
.rank-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 1.5rem;
}

.rank-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.rank-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  position: relative;
}

.rank-badge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.rank-abbr {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.rank-num {
  font-size: 0.6rem;
  color: var(--text-dim);
}

.rank-body {
  flex: 1;
  padding-top: 0.5rem;
}

.rank-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.rank-body .rank-meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.rank-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 560px;
}

.rank-first .rank-badge {
  border-color: var(--text-muted);
}

.rank-first .rank-abbr {
  color: var(--text-muted);
}

.rank-ref {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.rank-ref a {
  color: var(--gold);
}

/* ── Ribbons ── */
.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ribbon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.ribbon-card:hover {
  background: var(--surface-hover);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.ribbon-img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.ribbon-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.ribbon-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.ribbon-ref {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

.ribbon-ref a {
  color: var(--gold);
}

.ribbon-chart-btn {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ribbon-chart-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.ribbon-chart-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ── Events ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.event-card:hover {
  background: var(--surface-hover);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.event-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.event-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.event-meta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── New Cadet checklist ── */
.checklist {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 760px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: background var(--transition);
}

.checklist li:hover {
  background: var(--surface-hover);
}

.check-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 0.2rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-deeper);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(7, 30, 68, 0.98);
    padding: 1rem;
    border-bottom: 2px solid var(--gold);
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: sticky;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .nav-brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .nav-brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-timeline::before {
    left: 38px;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 600px) {
  :root {
    --section-pad: 3.5rem 1.25rem;
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 1.25rem 3rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .rank-item {
    gap: 1rem;
  }

  .rank-badge {
    width: 64px;
    height: 64px;
  }

  .rank-timeline::before {
    left: 30px;
  }
}

/* ── Responsive: small mobile ── */
@media (max-width: 480px) {
  :root {
    --section-pad: 2.5rem 1rem;
  }

  .site-nav {
    gap: 0.4rem;
    padding: 0 0.6rem;
  }

  .nav-brand span {
    display: none;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
  }

  .rank-badge {
    width: 56px;
    height: 56px;
  }

  .rank-timeline::before {
    left: 26px;
  }

  .checklist li {
    padding: 0.875rem 1rem;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 8vw, 2rem);
    letter-spacing: 0.02em;
  }

  .site-footer {
    padding: 2rem 1rem;
  }

  .footer-links {
    gap: 0.875rem;
  }
}

/* ── Overflow safety for long inline tokens ── */
code, strong, a {
  overflow-wrap: break-word;
}

/* ── Topic info buttons ── */
.topic-btn {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.topic-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.topic-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ── Info Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-dialog {
  background: var(--navy-dark);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 580px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}

.modal-close:hover {
  color: var(--text-light);
  background: var(--surface-hover);
}

.modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.85rem;
  padding-right: 2.5rem;
  line-height: 1.2;
}

.modal-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.modal-attribution {
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin: 0;
}

.modal-attribution a {
  color: var(--gold);
}

/* ── QR button (nav) ── */
.qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.qr-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.qr-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.qr-btn-icon {
  display: block;
}

/* ── QR modal ── */
.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-overlay[hidden] {
  display: none;
}

.qr-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.qr-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #6a7688;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.qr-close:hover {
  color: #0b1d3a;
  background: rgba(0, 0, 0, 0.06);
}

.qr-close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.qr-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.qr-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b1d3a;
  line-height: 1.25;
  margin-bottom: 1.1rem;
  padding: 0 0.5rem;
}

.qr-code-img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  display: block;
  margin: 0 auto 0.9rem;
  image-rendering: pixelated;
}

.qr-url {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.qr-help {
  font-size: 0.85rem;
  color: #47536a;
  line-height: 1.5;
}
