/* Chrysos Dossiers — shared design system.
   Tokens + components used across every page in website/. Centralized here
   (SHARED:base) so a color/spacing change happens once, not in 15 files.
   Nav/footer HTML itself is still duplicated per page (see _partials/) —
   only the CSS lives in one place. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; color: #0E1720; background: #FAF8F4; -webkit-font-smoothing: antialiased; }

/* ── TOKENS ── */
:root {
  --gold:       #B8922A;
  --gold-l:     #CFA84A;
  --gold-pale:  #F5EDD6;
  --slate:      #15202C;
  --slate-mid:  #1D2C3A;
  --ink:        #0E1720;
  --warm:       #FAF8F4;
  --warm-off:   #F2EFE9;
  --muted:      #7A7368;
  --border:     #DDD8CF;
  --ff:         'Fraunces', Georgia, serif;
  --fs:         'Inter', system-ui, sans-serif;
}

/* ── NAV ── */
.nav {
  background: var(--slate);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 22px; display: block; }
.nav-r { display: flex; align-items: center; gap: 2rem; }
.nav-r > a, .nav-drop > summary {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
  list-style: none;
}
.nav-r > a:hover, .nav-drop > summary:hover { color: var(--gold-l); }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  background: var(--slate-mid);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 220px;
  display: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.nav-drop:hover .nav-drop-panel,
.nav-drop[open] .nav-drop-panel { display: block; }
.nav-drop-panel a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.nav-drop-panel a:hover { color: var(--gold-l); background: rgba(255,255,255,0.03); }
.nav-try {
  color: var(--gold-l) !important;
  border-bottom: 1px solid rgba(184,146,42,0.4);
  padding-bottom: 1px;
}

/* ── HERO (homepage) ── */
.hero-wrap { background: var(--slate); }
.hero { max-width: 900px; margin: 0 auto; padding: 6rem 2.5rem 5.5rem; }
.hero-label {
  font-size: 11px; font-weight: 500; color: var(--gold-l);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--ff); font-weight: 300; font-size: 50px; line-height: 1.15;
  color: rgba(255,255,255,0.92); margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero-divider { width: 40px; height: 1px; background: rgba(184,146,42,0.5); margin-bottom: 2.25rem; }
.hero-body { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.5); max-width: 560px; margin-bottom: 2.5rem; }

/* ── PAGE HERO (subpages — smaller, single-column) ── */
.page-hero-wrap { background: var(--slate); }
.page-hero { max-width: 900px; margin: 0 auto; padding: 3.5rem 2.5rem 3rem; }
.page-hero-label {
  font-size: 11px; font-weight: 500; color: var(--gold-l);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--ff); font-weight: 300; font-size: 38px; line-height: 1.2;
  color: rgba(255,255,255,0.92); margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-l); }
.page-hero-body { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.5); max-width: 620px; }

/* ── UPLOAD CARD ── */
.upload-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 2rem; max-width: 540px;
}
.upload-card-head { font-family: var(--ff); font-weight: 300; font-size: 19px; color: rgba(255,255,255,0.88); margin-bottom: 0.4rem; }
.upload-card-sub { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 1.5rem; }
.doc-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.5rem; }
.dtype {
  font-size: 11px; color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 3px;
}
.btn-upload {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--gold); color: #fff; font-family: var(--fs); font-size: 14px; font-weight: 500;
  padding: 12px 20px; border-radius: 5px; border: none; cursor: pointer; text-decoration: none;
  transition: background 0.15s; letter-spacing: 0.01em;
}
.btn-upload:hover { background: var(--gold-l); }
.upload-note { font-size: 11.5px; color: rgba(255,255,255,0.28); margin-top: 1rem; line-height: 1.6; }

/* ── SECTIONS ── */
.sec-wrap-light  { background: var(--warm); }
.sec-wrap-off    { background: var(--warm-off); }
.sec-wrap-slate  { background: var(--slate); }
.sec-wrap-mid    { background: var(--slate-mid); }

.sec { max-width: 900px; margin: 0 auto; padding: 5rem 2.5rem; display: grid; grid-template-columns: 200px 1fr; gap: 4rem; }
.sec-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 7px; }
.sec-label.on-light { color: var(--gold); }
.sec-label.on-dark  { color: var(--gold-l); }

.sec-content h2 { font-family: var(--ff); font-weight: 300; font-size: 32px; line-height: 1.25; margin-bottom: 1.25rem; }
.sec-content h2.on-light { color: var(--ink); }
.sec-content h2.on-light em { font-style: italic; color: var(--gold); }
.sec-content h2.on-dark  { color: rgba(255,255,255,0.9); }
.sec-content h2.on-dark em  { font-style: italic; color: var(--gold-l); }

.body-p { font-size: 15px; line-height: 1.8; }
.body-p.on-light { color: var(--muted); }
.body-p.on-dark  { color: rgba(255,255,255,0.48); }
.body-p + .body-p { margin-top: 1rem; }

/* single-column long-form page body (services/who-we-work-with/about) */
.page-sec { max-width: 760px; margin: 0 auto; padding: 4rem 2.5rem; }
.page-sec h2 { font-family: var(--ff); font-weight: 300; font-size: 26px; color: var(--ink); margin: 2.5rem 0 1rem; line-height: 1.3; }
.page-sec h2:first-child { margin-top: 0; }
.page-sec h2 em { font-style: italic; color: var(--gold); }
.page-sec p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 1rem; }
.page-sec ul { margin: 0 0 1rem 1.25rem; }
.page-sec li { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 0.4rem; }
.page-cta { margin-top: 2.5rem; display: flex; gap: 12px; flex-wrap: wrap; }
.page-cta a {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: 5px; text-decoration: none; letter-spacing: 0.01em;
}
.page-cta .cta-primary { background: var(--gold); color: #fff; }
.page-cta .cta-primary:hover { background: var(--gold-l); }
.page-cta .cta-secondary { background: var(--warm-off); color: var(--ink); border: 0.5px solid var(--border); }
.page-cta .cta-secondary:hover { border-color: var(--gold); }

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 1.5rem; }
.pill { font-size: 12px; color: #7A5A1A; background: var(--gold-pale); padding: 5px 12px; border-radius: 20px; text-decoration: none; }
.pill:hover { background: var(--gold-l); color: #fff; }

/* UBO bullet points */
.ubo-pts { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 16px; }
.ubo-pt  { display: flex; gap: 14px; align-items: flex-start; }
.pt-line { width: 20px; height: 1px; background: var(--gold-l); flex-shrink: 0; margin-top: 11px; }
.pt-text { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.58); }
.pt-text strong { color: rgba(255,255,255,0.88); font-weight: 500; }

/* pro cards */
.pro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.75rem; }
.pro-card { background: var(--warm); border: 0.5px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.pro-card-title { font-family: var(--ff); font-size: 15px; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.pro-card-body { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* enables grid */
.enables-sec { max-width: 900px; margin: 0 auto; padding: 5rem 2.5rem; }
.enables-eyebrow { font-size: 11px; font-weight: 500; color: var(--gold-l); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.enables-sec h2 { font-family: var(--ff); font-weight: 300; font-size: 32px; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; line-height: 1.25; }
.enables-sec h2 em { font-style: italic; color: var(--gold-l); }
.enables-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.07); border-radius: 10px; overflow: hidden; border: 0.5px solid rgba(255,255,255,0.07);
}
.en-cell { background: var(--slate-mid); padding: 1.75rem 1.5rem; transition: background 0.15s; text-decoration: none; display: block; }
.en-cell:hover { background: #243144; }
.en-icon { font-size: 18px; color: var(--gold-l); margin-bottom: 0.85rem; display: block; }
.en-title { font-family: var(--ff); font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.82); margin-bottom: 0.4rem; line-height: 1.3; }
.en-body { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.38); }

/* ── TRIAL / LADDER SECTION ── */
.trial-inner { max-width: 900px; margin: 0 auto; padding: 5rem 2.5rem; border-top: 0.5px solid var(--border); }
.trial-inner h2 { font-family: var(--ff); font-weight: 300; font-size: 38px; line-height: 1.18; color: var(--ink); margin-bottom: 0.75rem; }
.trial-inner h2 em { font-style: italic; color: var(--gold); }
.trial-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 560px; margin-bottom: 2.5rem; }
.trial-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 0.5px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 2.5rem; }
.trial-step { padding: 1.5rem 1.25rem; background: var(--warm-off); border-right: 0.5px solid var(--border); text-decoration: none; display: block; }
.trial-step:last-child { border-right: none; }
.step-n { font-family: var(--ff); font-size: 28px; font-weight: 300; color: var(--gold-pale); margin-bottom: 0.5rem; }
.step-title { font-family: var(--ff); font-size: 15px; font-weight: 400; color: var(--ink); margin-bottom: 0.35rem; }
.step-body { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* UPLOAD BIG */
.upload-big { background: var(--slate); border-radius: 12px; padding: 2.5rem; }
.upload-big-head { font-family: var(--ff); font-weight: 300; font-size: 22px; color: rgba(255,255,255,0.88); margin-bottom: 0.5rem; }
.upload-big-sub { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.65; margin-bottom: 1.75rem; max-width: 480px; }
.upload-types-b { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 1.75rem; }
.utypeb { font-size: 11.5px; color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.1); padding: 5px 11px; border-radius: 4px; }
.btn-upload-big {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff;
  font-family: var(--fs); font-size: 14px; font-weight: 500; padding: 12px 26px; border-radius: 5px;
  border: none; cursor: pointer; text-decoration: none; transition: background 0.15s; letter-spacing: 0.01em;
}
.btn-upload-big:hover { background: var(--gold-l); }
.upload-promise { margin-top: 1.25rem; font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.upload-promise strong { color: rgba(255,255,255,0.55); font-weight: 500; }

/* ── BOUNDARY / COMPARE TABLE (audit-coordination page) ── */
.compare-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 0.5px solid var(--border); border-radius: 10px; overflow: hidden; margin: 1.5rem 0 2rem; }
.compare-col { background: var(--warm); padding: 1.5rem; }
.compare-col.compare-yes { background: #F2F7F0; }
.compare-col.compare-no  { background: #FBF0EF; }
.compare-head { font-family: var(--ff); font-size: 15px; color: var(--ink); margin-bottom: 0.75rem; }
.compare-col ul { margin-left: 1.1rem; }
.compare-col li { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin-bottom: 0.35rem; }

/* FAQ */
.faq-item { border-bottom: 0.5px solid var(--border); padding: 1.25rem 0; }
.faq-q { font-family: var(--ff); font-size: 16px; color: var(--ink); margin-bottom: 0.5rem; }
.faq-a { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ── NOTICE BANNERS (draft legal pages / unverified tool) ── */
.banner {
  max-width: 900px; margin: 0 auto; padding: 0.9rem 2.5rem;
  font-size: 13px; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start;
}
.banner-draft { background: #FBF0EF; color: #7A2E28; border-bottom: 1px solid #E8C9C4; }
.banner-verify { background: var(--gold-pale); color: #7A5A1A; border-bottom: 1px solid #E4CE8E; }
.banner b { font-weight: 600; }

/* ── DEADLINES CALCULATOR ── */
.calc-form { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; margin-bottom: 2.5rem; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-size: 12px; color: var(--muted); font-weight: 500; }
.calc-field input {
  font-family: var(--fs); font-size: 14px; padding: 10px 12px; border-radius: 5px;
  border: 0.5px solid var(--border); background: var(--warm); color: var(--ink);
}
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.calc-card { background: var(--warm); border: 0.5px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.calc-card-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.calc-card-date { font-family: var(--ff); font-size: 20px; color: var(--ink); margin-bottom: 0.35rem; }
.calc-card-date.pending { font-size: 13px; font-style: italic; color: var(--muted); }
.calc-card-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 2.5rem 2.5rem 2rem; }
.ft-inner { max-width: 900px; margin: 0 auto; }
.ft-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.75rem; }
.ft-logo img { height: 20px; display: block; margin-bottom: 0.75rem; }
.ft-tag { font-size: 12px; color: rgba(255,255,255,0.3); max-width: 260px; line-height: 1.6; }
.ft-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.ft-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 0.75rem; }
.ft-col a { display: block; font-size: 12.5px; color: rgba(255,255,255,0.4); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.15s; }
.ft-col a:hover { color: rgba(255,255,255,0.75); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 0.5px solid rgba(255,255,255,0.08); }
.ft-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.ft-reg { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 28px; }
  .sec { grid-template-columns: 1fr; gap: 1.5rem; }
  .sec-label { padding-top: 0; }
  .pro-cards { grid-template-columns: 1fr; }
  .enables-grid { grid-template-columns: 1fr 1fr; }
  .trial-flow { grid-template-columns: 1fr; }
  .trial-step { border-right: none; border-bottom: 0.5px solid var(--border); }
  .trial-step:last-child { border-bottom: none; }
  .nav-r > a:not(.nav-try):not(.nav-drop-toggle), .nav-drop { display: none; }
  .compare-table { grid-template-columns: 1fr; }
  .ft-top { flex-direction: column; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .page-hero { padding: 2.5rem 1.5rem 2rem; }
  .hero h1 { font-size: 28px; }
  .sec { padding: 3.5rem 1.5rem; }
  .page-sec { padding: 2.5rem 1.5rem; }
  .enables-grid { grid-template-columns: 1fr; }
  .trial-inner { padding: 3.5rem 1.5rem; }
  .upload-big { padding: 1.75rem; }
  .nav { padding: 0 1.5rem; }
  .banner { padding: 0.9rem 1.5rem; }
  .calc-form { flex-direction: column; align-items: stretch; }
}
