/* ── 420Ledger State Pages — Shared Stylesheet ──────────────────────────── */
:root {
  --ink:          #0b1a10;
  --ink-2:        #162a1d;
  --green:        #1a5c3a;
  --green-mid:    #2d7a52;
  --green-vivid:  #00875a;
  --green-pale:   #e6f4ec;
  --green-subtle: #f0f8f3;
  --gold:         #b8953a;
  --gold-pale:    #f5e9c8;
  --cream:        #faf9f6;
  --white:        #ffffff;
  --rule:         #d6e8de;
  --text:         #283830;
  --muted:        #526059;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Instrument Sans', system-ui, sans-serif;
  --mono:   'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(250,249,246,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--green); letter-spacing: -0.02em; text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.025em; transition: color 0.18s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--ink) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 4px;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.18s !important;
}
.nav-cta:hover { background: var(--green) !important; }
.nav-login {
  font-size: 12px !important; color: var(--muted) !important;
  border-left: 1px solid var(--rule); padding-left: 20px !important; margin-left: -8px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb {
  padding: 82px 80px 0;
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.breadcrumb a { color: var(--green-vivid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--rule); }

/* ── Shared section styles ────────────────────────────────────────────────── */
section { padding: 72px 80px; }

.sec-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-vivid);
  margin-bottom: 18px;
}
.sec-eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: currentColor; }
.sec-eyebrow.gold { color: var(--gold); }
.sec-eyebrow.gold::before { background: var(--gold); }

.sec-title {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 56px);
  font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.022em;
  margin-bottom: 20px;
}
.sec-title em { font-style: italic; font-weight: 300; color: var(--green); }
.sec-title.light { color: var(--white); }
.sec-title.light em { color: var(--gold-pale); }

.sec-sub { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 620px; margin-bottom: 48px; }
.sec-sub.light { color: rgba(255,255,255,0.55); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.state-hero {
  padding: 108px 80px 72px;
  background: var(--cream); border-bottom: 1px solid var(--rule);
}
.state-hero h1 {
  font-family: var(--serif); font-size: clamp(44px, 5vw, 70px);
  font-weight: 600; color: var(--ink); line-height: 1.05;
  letter-spacing: -0.025em; margin-bottom: 24px; max-width: 780px;
}
.state-hero h1 em { font-style: italic; font-weight: 300; color: var(--green); }
.state-hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.8;
  max-width: 620px; margin-bottom: 36px;
}

/* Chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 13px; background: var(--green-subtle);
  border: 1px solid var(--rule); border-radius: 20px;
  font-size: 12px; font-weight: 500; color: var(--green);
}
.chip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-vivid); flex-shrink: 0; }
.chip.gold { background: rgba(184,149,58,0.1); border-color: rgba(184,149,58,0.25); color: var(--gold); }
.chip.gold .chip-dot { background: var(--gold); }
.chip.dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }
.chip.dark .chip-dot { background: var(--green-vivid); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 14px 30px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.02em; transition: all 0.2s;
}
.btn-primary:hover { background: var(--green); box-shadow: 0 8px 28px rgba(26,92,58,0.28); }
.btn-outline {
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--green);
  padding: 12px 20px; border-radius: 4px; font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--rule); transition: all 0.2s; width: 100%;
}
.btn-outline:hover { border-color: var(--green); background: var(--green-subtle); }
.btn-gold {
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--white);
  padding: 12px 20px; border-radius: 4px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; width: 100%;
}
.btn-gold:hover { background: #a07e2e; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white);
  padding: 14px 32px; border-radius: 4px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-cta:hover { background: #a07e2e; }

/* ── Regulatory profile card ──────────────────────────────────────────────── */
.reg-section { background: var(--white); border-top: 1px solid var(--rule); }
.reg-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.reg-card {
  background: var(--ink); border-radius: 10px; padding: 32px;
}
.reg-card-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px;
}
.reg-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); gap: 16px;
}
.reg-row:last-child { border-bottom: none; }
.reg-lbl { font-size: 13px; color: rgba(255,255,255,0.55); }
.reg-val { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.88); text-align: right; }
.reg-val.pos { color: #6effc0; }
.reg-val.warn { color: #ffe48a; }
.reg-val.neut { color: rgba(255,255,255,0.88); }

/* ── Services ─────────────────────────────────────────────────────────────── */
.svc-section { background: var(--cream); border-top: 1px solid var(--rule); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
}
.svc-card {
  background: var(--white); padding: 30px 26px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: background 0.2s; position: relative; overflow: hidden;
}
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:nth-child(4), .svc-card:nth-child(5), .svc-card:nth-child(6) { border-bottom: none; }
.svc-card:hover { background: var(--green-subtle); }
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.2; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.svc-list li { font-size: 12px; color: var(--text); display: flex; gap: 7px; align-items: flex-start; }
.svc-list li::before { content: '✓'; color: var(--green-vivid); font-weight: 700; flex-shrink: 0; font-size: 10px; margin-top: 2px; }

/* ── 280E highlight ───────────────────────────────────────────────────────── */
.e280-section { background: var(--green); position: relative; }
.e280-section .sec-eyebrow { color: var(--gold-pale); }
.e280-section .sec-eyebrow::before { background: var(--gold-pale); }
.e280-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.e280-pts { display: flex; flex-direction: column; gap: 22px; }
.e280-pt { display: flex; gap: 14px; }
.e280-pt-icon { width: 36px; height: 36px; flex-shrink: 0; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.e280-pt h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.e280-pt p { font-size: 13px; color: rgba(255,255,255,0.58); line-height: 1.65; }
.e280-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.13); border-radius: 10px; padding: 28px; }
.e280-panel-title { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.e280-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 12px; }
.e280-row:last-of-type { border-bottom: none; }
.e280-lbl { font-size: 13px; color: rgba(255,255,255,0.72); }
.e280-val { font-family: var(--mono); font-size: 12px; color: var(--white); font-weight: 500; }
.etag { font-family: var(--mono); font-size: 8px; font-weight: 500; padding: 2px 7px; border-radius: 3px; letter-spacing: 0.08em; text-transform: uppercase; flex-shrink: 0; }
.etag-g { background: rgba(0,255,120,0.13); color: #6effc0; border: 1px solid rgba(0,200,100,0.25); }
.etag-r { background: rgba(255,80,80,0.15); color: #ffaaaa; border: 1px solid rgba(255,80,80,0.25); }
.etag-y { background: rgba(255,228,138,0.15); color: #ffe48a; border: 1px solid rgba(255,200,50,0.25); }
.e280-note { margin-top: 16px; padding: 12px 14px; background: rgba(184,149,58,0.14); border-radius: 7px; border: 1px solid rgba(184,149,58,0.28); font-size: 12px; color: var(--gold-pale); line-height: 1.65; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section { background: var(--white); border-top: 1px solid var(--rule); }
.faq-list { max-width: 760px; }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--green-subtle); border-top: 1px solid var(--rule); }
.price-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.price-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px; transition: all 0.2s; }
.price-card:hover:not(.featured) { box-shadow: 0 8px 36px rgba(26,92,58,0.10); transform: translateY(-2px); }
.price-card.featured { background: var(--ink); border-color: var(--ink); }
.price-tier { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-vivid); margin-bottom: 10px; }
.price-card.featured .price-tier { color: rgba(255,255,255,0.4); }
.price-range { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price-card.featured .price-range { color: var(--white); }
.price-period { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price-card.featured .price-period { color: rgba(255,255,255,0.4); }
.price-rule { height: 1px; background: var(--rule); margin-bottom: 18px; }
.price-card.featured .price-rule { background: rgba(255,255,255,0.1); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.price-feats li { font-size: 13px; color: var(--text); display: flex; gap: 8px; }
.price-card.featured .price-feats li { color: rgba(255,255,255,0.65); }
.price-feats li::before { content: '✓'; color: var(--green-vivid); font-weight: 700; flex-shrink: 0; font-size: 11px; margin-top: 2px; }
.price-card.featured .price-feats li::before { color: var(--gold-pale); }

/* ── CTA ──────────────────────────────────────────────────────────────────── */
.cta-section { background: var(--ink); padding: 80px; text-align: center; }
.cta-section .sec-eyebrow { justify-content: center; color: var(--gold); }
.cta-section .sec-eyebrow::before { background: var(--gold); }

/* ── Related states ───────────────────────────────────────────────────────── */
.related-section { background: var(--cream); border-top: 1px solid var(--rule); }
.related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.related-chip { display: inline-flex; padding: 7px 14px; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; font-size: 12px; color: var(--green); text-decoration: none; transition: all 0.18s; }
.related-chip:hover { border-color: var(--green); background: var(--green-subtle); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { background: var(--ink); padding: 52px 80px 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 44px; }
.footer-brand { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.65; max-width: 230px; }
.footer-head { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.18); text-decoration: none; transition: color 0.18s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  nav { padding: 0 28px; }
  .breadcrumb { padding: 82px 40px 0; }
  section, .state-hero, .cta-section { padding: 56px 40px; }
  .reg-layout, .e280-layout { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:nth-child(2n) { border-right: none; }
  footer { padding: 44px 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 66px; left: 0; right: 0;
    background: rgba(250,249,246,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: 8px 0 16px; z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 14px; }
  .nav-cta { margin: 8px 24px 0; text-align: center; border-radius: 4px !important; }
  .nav-login { border-left: none !important; padding-left: 24px !important; margin-left: 0 !important; }
  .breadcrumb { padding: 82px 20px 0; }
  section, .state-hero, .cta-section { padding: 48px 20px; }
  .svc-grid, .price-row { grid-template-columns: 1fr; }
  .svc-card { border-right: none !important; }
  footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
