/* ============================================================
   BullnB — design tokens
   ============================================================ */
:root {
  --ink: #10192E;
  --ink-2: #1B2740;
  --ink-3: #253552;
  --paper: #FFFFFF;
  --stone: #EEF0EF;
  --stone-2: #E3E5E1;
  --brass: #B98A3E;
  --brass-deep: #8C6427;
  --brass-light: #E4C88C;
  --slate: #5B6472;
  --slate-light: #8A93A1;
  --line: #DEDFDA;
  --line-dark: #33435F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  --max-w: 1180px;
  --gap: 0.5px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  display: block;
}

.eyebrow.on-dark { color: var(--brass-light); }

p { margin: 0; }

.lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46ch;
}

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.wordmark img { height: 30px; display: block; }
.footer-logo { height: 26px; margin-bottom: 14px; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a { color: var(--ink); opacity: 0.72; transition: opacity 0.15s; }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 11px 22px;
  border-radius: 3px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 1 !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--brass-deep); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 10px;
  flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 8px 32px 16px;
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu.open { display: flex; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; order: -1; }
  .site-nav .wrap { justify-content: flex-start; gap: 14px; }
  .wordmark { flex: 1; }
}
@media (min-width: 761px) {
  .mobile-menu { display: none !important; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-deep); color: var(--paper); }

.btn-ghost { border-color: var(--line-dark); color: var(--paper); }
.btn-ghost:hover { background: var(--ink-3); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  color: var(--paper);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero p.lede { color: #B9C0CE; max-width: 44ch; margin-bottom: 34px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--brass-light);
  display: block;
}
.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-top: 4px;
}

/* Night grid signature (hero mini version) */
.night-panel {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 28px;
}

.night-panel .panel-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 4px;
}

.night-panel .panel-value {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  color: var(--paper);
  margin-bottom: 18px;
  display: block;
}

.night-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
}

.night-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 1px;
  background: var(--ink-3);
}

.night-grid i.peak { background: var(--brass); }
.night-grid i.open { background: var(--line-dark); }

.night-panel .panel-note {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 16px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }
}

/* ============================================================
   Section basics
   ============================================================ */
section, header { scroll-margin-top: 90px; }
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }

.on-dark { background: var(--ink); color: var(--paper); }
.on-dark .section-head p { color: #B9C0CE; }
.on-stone { background: var(--stone); }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
}

.card .card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  margin-bottom: 14px;
  display: block;
}

.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.95rem; }

.card.on-ink { background: var(--ink-2); border-color: var(--line-dark); }
.card.on-ink h3 { color: var(--paper); }
.card.on-ink p { color: #ADB6C4; }

/* ============================================================
   Legislation alert block
   ============================================================ */
.alert-block {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 40px;
}

.alert-block .alert-date {
  font-family: var(--font-mono);
  color: var(--brass-light);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.alert-block h3 { color: var(--paper); font-size: 1.5rem; margin-bottom: 24px; }

.alert-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.alert-item h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--paper);
  margin: 0 0 8px;
  font-weight: 600;
}
.alert-item p { color: #ADB6C4; font-size: 0.9rem; }

@media (max-width: 760px) {
  .alert-items { grid-template-columns: 1fr; }
  .alert-block { padding: 28px; }
}

/* ============================================================
   90-night strategy section
   ============================================================ */
.strategy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.strategy-copy ol {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.strategy-copy li {
  display: flex;
  gap: 16px;
}

.strategy-copy .step-mark {
  font-family: var(--font-mono);
  color: var(--brass);
  font-size: 0.85rem;
  padding-top: 3px;
  flex: none;
  width: 28px;
}

.strategy-copy .step-body h4 {
  font-size: 1rem;
  margin: 0 0 4px;
  font-weight: 600;
}
.strategy-copy .step-body p { color: var(--slate); font-size: 0.92rem; }

.night-panel-large { max-width: 460px; margin-left: auto; }

@media (max-width: 900px) {
  .strategy-grid { grid-template-columns: 1fr; }
  .night-panel-large { margin: 0; max-width: 100%; }
}

/* ============================================================
   Platform table
   ============================================================ */
.platform-table {
  width: 100%;
  border-collapse: collapse;
}

.platform-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  padding: 0 20px 14px 0;
  border-bottom: 1px solid var(--line);
}

.platform-table td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.platform-table td.p-name { font-weight: 600; white-space: nowrap; }
.platform-table td.p-desc { color: var(--slate); font-size: 0.92rem; }

@media (max-width: 700px) {
  .platform-table thead { display: none; }
  .platform-table, .platform-table tbody, .platform-table tr, .platform-table td { display: block; width: 100%; }
  .platform-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .platform-table td { border: none; padding: 4px 0; }
}

/* ============================================================
   Coverage / map-ish section
   ============================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.coverage-cell {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
}
.coverage-cell:last-child { border-right: none; }

.coverage-cell .stage {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.coverage-cell.active { background: var(--ink); color: var(--paper); }
.coverage-cell.active .stage { color: var(--brass-light); }
.coverage-cell.active p { color: #B9C0CE; }

.coverage-cell.next .stage { color: var(--brass); }
.coverage-cell.next p { color: var(--slate); }

.coverage-cell.future .stage { color: var(--slate-light); }
.coverage-cell.future p { color: var(--slate); }

.coverage-cell h4 { font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; margin-bottom: 10px; }
.coverage-cell p { font-size: 0.92rem; }

@media (max-width: 760px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-cell { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--brass);
  color: var(--ink);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { max-width: 46ch; margin: 0 auto 32px; color: #4A3A18; font-size: 1.05rem; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--slate-light);
  padding: 56px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 0 0 16px;
}

.footer-grid a, .footer-grid p { color: #C7CDD6; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--brass-light); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--slate-light);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 64px;
}
.contact-hero h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); margin-bottom: 16px; }
.contact-hero p.lede { color: #B9C0CE; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  padding: 80px 0;
}

.contact-info-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-item:first-child { padding-top: 0; }

.contact-info-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  display: block;
}
.contact-info-item .val { font-size: 1.15rem; font-weight: 500; }
.contact-info-item .val a:hover { color: var(--brass-deep); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.82rem; color: var(--slate); margin-top: 16px; }

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
}
.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--brass);
}
.consent-field label {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
  font-weight: 400;
}
.consent-field label a { color: var(--brass-deep); text-decoration: underline; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Rolling window timeline (on-market page)
   ============================================================ */
.timeline-track {
  position: relative;
  height: 14px;
  background: var(--ink-3);
  border-radius: 7px;
  overflow: hidden;
  margin: 28px 0 14px;
}
.timeline-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 22%;
  background: var(--brass);
  border-radius: 7px;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-light);
}
.timeline-labels .today { color: var(--brass-light); }

.window-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.window-steps li {
  display: flex;
  gap: 14px;
  list-style: none;
}
.window-steps .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 8px;
}
.window-steps h4 { font-size: 1rem; margin: 0 0 4px; font-weight: 600; }
.window-steps p { color: var(--slate); font-size: 0.92rem; }

/* ============================================================
   Legal / policy pages
   ============================================================ */
.legal-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 48px;
}
.legal-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.legal-hero .updated { color: var(--slate-light); font-family: var(--font-mono); font-size: 0.82rem; }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.legal-body h2 {
  font-size: 1.35rem;
  margin: 48px 0 16px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-body ul { padding-left: 22px; margin: 0 0 14px; }
.legal-body a { color: var(--brass-deep); text-decoration: underline; }
.legal-body strong { color: var(--ink); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
