/* ColdSmokeDS: brand tokens come from the Brand Blueprint. */
:root {
  --midnight: #06172D;
  --deep: #0B2D59;
  --locomotive: #1265A8;
  --frost: #2999E8;
  --arctic: #6DC5F2;
  --snow: #F7F9FB;
  --ice: #C7D9E7;
  --muted: #3E5068;
  --radius: 14px;
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--midnight);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--locomotive); }
a:hover { color: var(--deep); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--arctic); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section--dark { background: radial-gradient(1200px 500px at 80% -10%, var(--deep), var(--midnight) 70%); color: var(--snow); }
.section--dark a:not(.btn) { color: var(--arctic); }
.section--ice { background: var(--ice); }
.lead { font-size: 1.25rem; max-width: 40rem; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--arctic); margin-bottom: 0.75rem; }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--ice); }

.btn {
  display: inline-block;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.btn--primary { background: var(--frost); color: var(--midnight); }
.btn--primary:hover { background: var(--arctic); color: var(--midnight); }
.btn--ghost { border-color: var(--arctic); color: var(--snow); }
.btn--ghost:hover { background: var(--arctic); color: var(--midnight); }
.btn--small { padding: 0.55em 1.1em; font-size: 0.95rem; }

/* Header */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--midnight); color: var(--snow); padding: 0.75rem 1rem; z-index: 20; }
.skip-link:focus { left: 8px; top: 8px; }
.site-header { background: var(--snow); border-bottom: 1px solid var(--ice); position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 180px; height: auto; }
.nav-toggle { background: none; border: 2px solid var(--midnight); border-radius: 8px; color: var(--midnight); font: inherit; font-weight: 700; padding: 0.4em 0.9em; cursor: pointer; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--snow); border-bottom: 1px solid var(--ice); padding: 8px 16px 20px; flex-direction: column; gap: 4px; }
.site-nav[data-open="true"] { display: flex; }
.site-nav a { padding: 0.7em 0.25em; text-decoration: none; color: var(--midnight); font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--locomotive); }
.site-nav .btn { align-self: flex-start; margin-top: 8px; color: var(--midnight); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .site-nav .btn { margin: 0; }
}

/* Hero */
.hero { padding: 72px 0; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__badge { max-width: 340px; margin: 0 auto; border-radius: 50%; }
.hero .lead { color: var(--ice); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
@media (min-width: 860px) { .hero__grid { grid-template-columns: 1.4fr 1fr; } }

/* Cards and grids */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--ice); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 24px rgba(6, 23, 45, 0.06); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.section--dark .card { background: rgba(247, 249, 251, 0.06); border-color: rgba(109, 197, 242, 0.3); box-shadow: none; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--ice); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--frost); line-height: 1; margin-bottom: 0.4rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--ice); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 0.75em 0 0; color: var(--muted); }

/* Prose (blog, privacy, contact) */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 2rem; }
.prose ul { padding-left: 1.2em; }
.post-meta { color: var(--muted); font-size: 0.95rem; }
.post-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.sources { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--ice); margin-top: 2rem; padding-top: 1rem; }
.form-embed { background: #fff; border: 1px solid var(--ice); border-radius: var(--radius); padding: 24px; min-height: 120px; }

/* Footer */
.site-footer { background: var(--midnight); color: var(--ice); padding: 48px 0 32px; }
.site-footer a { color: var(--arctic); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.footer-badge { width: 96px; height: 96px; margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--snow); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer-legal { font-size: 0.95rem; margin: 0; }

#contact-form + .muted { margin-top: 1.5rem; }
.reveal-email { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
