/* ==========================================================================
   WHIRLWIND STEELS — design tokens
   Display: Oswald (condensed, industrial, rolled-steel proportions)
   Body:    IBM Plex Sans
   Utility: IBM Plex Mono (specs, labels, data)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --graphite:      #14171A;   /* primary dark bg */
  --charcoal:       #1E2329;   /* secondary dark bg / cards */
  --charcoal-line:  #2C333B;   /* hairline on dark */
  --steel-fog:      #ECEAE4;   /* light bg */
  --steel-fog-dim:  #DEDBD3;   /* light bg secondary */
  --ash:            #8B909A;   /* muted text */
  --ash-dark:       #5B616C;   /* muted text on light */
  --forge:          #FF7A1A;   /* primary accent — molten amber */
  --forge-dim:      #C95E10;   /* accent, pressed/hover */
  --cold-blue:      #4C6B8A;   /* secondary accent */
  --white:          #FAF9F6;
  --ink:            #14171A;

  --radius: 2px;
  --shear: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  --shear-rev: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
}

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

html{ scroll-behavior:smooth; }

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

body{
  font-family:'IBM Plex Sans', sans-serif;
  background:var(--white);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Oswald', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:1.08;
  font-weight:600;
}

a{ color:inherit; text-decoration:none; }

.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:0.04em;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}

img,svg{ display:block; max-width:100%; }

/* ---------- Nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:var(--graphite);
  border-bottom:1px solid var(--charcoal-line);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:var(--white);
  font-family:'Oswald', sans-serif;
  font-size:20px;
  font-weight:600;
  letter-spacing:0.03em;
}
.brand .mark{ width:30px; height:30px; }
.brand .mark path{ stroke:var(--forge); }
.brand .sub{
  display:block;
  font-family:'IBM Plex Mono', monospace;
  font-size:9px;
  letter-spacing:0.18em;
  color:var(--ash);
  text-transform:uppercase;
  font-weight:400;
  margin-top:2px;
}
.brand-stack{ display:flex; flex-direction:column; }

.nav-links{
  display:flex; align-items:center; gap:36px;
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.nav-links a{
  color:var(--ash);
  position:relative;
  padding-bottom:4px;
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; bottom:0; width:100%; height:2px; background:var(--forge);
}
.nav-cta{
  background:var(--forge);
  color:var(--graphite) !important;
  padding:10px 18px;
  font-weight:500;
  border-radius:var(--radius);
  transition:background .2s ease;
}
.nav-cta:hover{ background:#FF8F3F; }

.nav-toggle{ display:none; }

/* ---------- Footer ---------- */
footer{
  background:var(--graphite);
  color:var(--ash);
  padding:64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:48px;
  padding-bottom:40px;
  border-bottom:1px solid var(--charcoal-line);
}
.footer-grid h4{
  color:var(--white);
  font-size:13px;
  letter-spacing:0.1em;
  margin-bottom:16px;
}
.footer-grid p{ font-size:14px; max-width:34ch; }
.footer-grid ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-grid a{ font-size:14px; color:var(--ash); transition:color .2s; }
.footer-grid a:hover{ color:var(--forge); }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:24px;
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  letter-spacing:0.04em;
  color:var(--ash-dark);
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom a{ color:var(--ash-dark); }
.footer-bottom a:hover{ color:var(--forge); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'IBM Plex Mono', monospace;
  font-size:13px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:14px 26px;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
}
.btn-primary{ background:var(--forge); color:var(--graphite); font-weight:500; }
.btn-primary:hover{ background:#FF8F3F; transform:translateY(-1px); }
.btn-outline{ border-color:var(--charcoal-line); color:var(--white); }
.btn-outline:hover{ border-color:var(--forge); color:var(--forge); }
.btn-outline-dark{ border-color:#C9C5B8; color:var(--ink); }
.btn-outline-dark:hover{ border-color:var(--forge-dim); color:var(--forge-dim); }

/* ---------- Simple content pages (Contact/Privacy/Terms) ---------- */
.page-hero{
  background:
    linear-gradient(115deg, rgba(20,23,26,0.94) 0%, rgba(20,23,26,0.86) 45%, rgba(76,107,138,0.55) 100%),
    url('https://images.unsplash.com/photo-1507486076008-3c60cfcce36f?w=1800&q=80&auto=format&fit=crop') center 65% / cover no-repeat;
  color:var(--white);
  padding:88px 0 64px;
  position:relative;
  overflow:hidden;
}
.page-hero .eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.16em;
  color:var(--forge);
  text-transform:uppercase;
  margin-bottom:14px;
}
.page-hero h1{ font-size:clamp(34px,5vw,52px); color:var(--white); max-width:16ch; }
.page-hero p{ margin-top:16px; max-width:56ch; color:var(--ash); font-size:16px; }

.legal-shell{
  padding:56px 0 96px;
}
.legal-layout{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:56px;
  align-items:start;
}
.legal-toc{
  position:sticky; top:100px;
  border-left:2px solid var(--steel-fog-dim);
  padding-left:20px;
}
.legal-toc .mono{ font-size:11px; color:var(--ash-dark); text-transform:uppercase; margin-bottom:14px; display:block; }
.legal-toc ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.legal-toc a{
  font-size:13.5px; color:var(--ash-dark); line-height:1.4; display:block;
  transition:color .2s ease;
}
.legal-toc a:hover{ color:var(--forge-dim); }

.legal-body h2{
  font-size:22px;
  margin-top:48px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--steel-fog-dim);
  display:flex;
  align-items:baseline;
  gap:12px;
}
.legal-body h2:first-child{ margin-top:0; }
.legal-body h2 .num{
  font-family:'IBM Plex Mono', monospace;
  color:var(--forge-dim);
  font-size:14px;
  font-weight:400;
}
.legal-body h3{
  font-size:15px;
  text-transform:none;
  letter-spacing:0;
  margin-top:24px;
  margin-bottom:8px;
  color:var(--ink);
  font-family:'IBM Plex Sans', sans-serif;
  font-weight:600;
}
.legal-body p{ font-size:15px; color:#33383F; margin-bottom:12px; max-width:72ch; }
.legal-body ul, .legal-body ol{ margin:0 0 16px 22px; font-size:15px; color:#33383F; }
.legal-body li{ margin-bottom:6px; max-width:70ch; }
.legal-body strong{ color:var(--ink); font-weight:600; }
.callout{
  background:var(--steel-fog);
  border-left:3px solid var(--forge);
  padding:16px 20px;
  border-radius:var(--radius);
  margin:18px 0;
  font-size:14px;
}
.callout p{ margin-bottom:0; font-size:14px; }
.updated{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:var(--ash-dark);
  margin-top:10px;
}

@media (max-width: 860px){
  .legal-layout{ grid-template-columns:1fr; }
  .legal-toc{ position:static; border-left:none; border-top:2px solid var(--steel-fog-dim); padding-left:0; padding-top:16px; }
  .legal-toc ul{ flex-direction:row; flex-wrap:wrap; gap:14px; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .nav-links{ display:none; }
}
