/* Solstice Capital — shared stylesheet */

:root{
  --ink:#10241d;
  --ink-soft:#1c3229;
  --ink-deep:#0a1810;
  --paper:#efe8d8;
  --paper-soft:#e5ddc9;
  --cream:#f6f1e4;
  --gold:#c9a227;
  --gold-soft:#e3c467;
  --line-dark:rgba(246,241,228,0.16);
  --line-light:rgba(16,36,29,0.13);
  --serif:"Fraunces", Georgia, serif;
  --sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw:1160px;
}

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

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

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

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

h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; margin:0; }

/* ---------- Buttons ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--sans);
  font-weight:600;
  font-size:15px;
  padding:13px 26px;
  border-radius:2px;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary{ background:var(--ink); color:var(--cream); }
.btn-primary:hover{ background:var(--ink-soft); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--cream); }
.btn-gold{ background:var(--gold); color:var(--ink-deep); }
.btn-gold:hover{ background:var(--gold-soft); }
.btn-ghost-light{ background:transparent; color:var(--cream); border-color:var(--line-dark); }
.btn-ghost-light:hover{ border-color:var(--gold-soft); color:var(--gold-soft); }

/* ---------- Header / Nav ---------- */

header.site{
  position:sticky; top:0; z-index:30;
  background:rgba(239,232,216,0.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line-light);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 40px; max-width:var(--maxw); margin:0 auto;
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }

.brand .mark{
  width:32px; height:32px; border-radius:50%;
  background:var(--ink); color:var(--gold-soft);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:16px; font-weight:600;
  border:1px solid var(--gold);
  flex-shrink:0;
}

.brand .name{ font-family:var(--serif); font-size:20px; font-weight:600; }

.nav-links{ list-style:none; display:flex; gap:34px; margin:0; padding:0; }

.nav-links a{
  text-decoration:none; color:var(--ink-soft); font-size:15px; font-weight:500;
  border-bottom:1px solid transparent; padding-bottom:3px;
  transition:border-color .18s ease, color .18s ease;
}
.nav-links a:hover{ border-color:var(--gold); }
.nav-links a[aria-current="page"]{ color:var(--ink); border-color:var(--gold); }

.nav-right{ display:flex; align-items:center; gap:22px; }

.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{
  display:block; width:22px; height:2px; background:var(--ink); margin:5px 0;
}

@media (max-width:860px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--cream); border-bottom:1px solid var(--line-light);
    flex-direction:column; gap:0; padding:8px 0; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:14px 40px; width:100%; border-bottom:none; }
  .nav-links a[aria-current="page"]{ background:var(--paper-soft); }
  .nav-toggle{ display:block; }
  .nav-cta-desktop{ display:none; }
}

/* ---------- Sub-hero (page header used on inner pages) ---------- */

.subhero{
  background:var(--ink); color:var(--cream);
  padding:72px 0 64px;
}
.subhero .eyebrow-plain{
  font-size:14px; color:var(--gold-soft); margin-bottom:14px; font-weight:600;
}
.subhero h1{
  font-size:clamp(32px,4.2vw,48px); line-height:1.1; max-width:18ch; margin-bottom:18px;
}
.subhero p{
  font-size:17px; color:rgba(246,241,228,0.78); max-width:56ch; margin:0;
}

/* ---------- Hero (home) ---------- */

.hero{ padding:88px 0 0; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; padding-bottom:72px; }
.hero h1{
  font-size:clamp(38px,5vw,58px); line-height:1.07; margin-bottom:24px; max-width:15ch;
}
.hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:44ch; margin:0 0 32px; }
.hero-actions{ display:flex; gap:16px; margin-bottom:28px; flex-wrap:wrap; }
.hero-foot{ font-size:13px; color:var(--ink-soft); opacity:0.75; }

/* ledger card */

.ledger-card{
  background:var(--ink); color:var(--cream); border-radius:6px; padding:32px;
  position:relative; overflow:hidden; box-shadow:0 24px 60px -20px rgba(16,36,29,0.45);
}
.ledger-card::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(to bottom, transparent, transparent 27px, var(--line-dark) 28px);
}
.ledger-label{ font-size:13px; color:var(--gold-soft); font-weight:500; position:relative; }
.ledger-figure{ font-family:var(--serif); font-size:44px; font-weight:500; margin:8px 0 20px; position:relative; }
.ledger-figure .delta{ font-size:16px; color:var(--gold-soft); font-family:var(--sans); font-weight:600; margin-left:10px; }
.chart-holder{ position:relative; margin-bottom:18px; }
.chart-holder svg{ width:100%; height:auto; }
.chart-line{
  fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:600; stroke-dashoffset:600; animation:draw 1.8s ease-out forwards 0.3s;
}
.chart-fill{ opacity:0; animation:fadein 1s ease-out forwards 1.4s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes fadein{ to{ opacity:1; } }
.ledger-legend{ display:flex; justify-content:space-between; font-size:12px; color:rgba(246,241,228,0.55); position:relative; }

/* ---------- Stat strip ---------- */

.stat-strip{ border-top:1px solid var(--line-light); border-bottom:1px solid var(--line-light); }
.stat-strip .wrap{ display:grid; grid-template-columns:repeat(4,1fr); }
.stat-strip .cell{
  padding:28px 0; text-align:left; border-left:1px solid var(--line-light);
  padding-left:28px;
}
.stat-strip .cell:first-child{ border-left:none; padding-left:0; }
.stat-strip .num{ font-family:var(--serif); font-size:26px; display:block; margin-bottom:4px; }
.stat-strip .label{ font-size:13px; color:var(--ink-soft); }

@media (max-width:760px){
  .stat-strip .wrap{ grid-template-columns:1fr 1fr; row-gap:24px; }
  .stat-strip .cell:nth-child(3){ border-left:none; padding-left:0; }
}

/* ---------- Sections shared ---------- */

section{ padding:88px 0; }
.section-head{ max-width:56ch; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,38px); margin-bottom:14px; line-height:1.15; }
.section-head p{ font-size:16.5px; color:var(--ink-soft); margin:0; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.band-cream{ background:var(--cream); border-top:1px solid var(--line-light); border-bottom:1px solid var(--line-light); }
.band-paper-soft{ background:var(--paper-soft); }
.band-ink{ background:var(--ink); color:var(--cream); }
.band-ink .section-head p{ color:rgba(246,241,228,0.72); }

/* ---------- Principle / feature cards ---------- */

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-light); border:1px solid var(--line-light); }
.grid-3 .card{ background:var(--cream); padding:36px 32px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line-light); border:1px solid var(--line-light); }
.grid-2 .card{ background:var(--cream); padding:40px; }

.card h3, .card h4{ font-size:21px; margin-bottom:12px; }
.card p{ font-size:15px; color:var(--ink-soft); margin:0; }
.card .mark{ width:34px; height:34px; border-radius:50%; border:1px solid var(--gold); margin-bottom:20px; }

/* ---------- Stats grid (performance / stat cards, plain) ---------- */

.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.stat .num{ font-family:var(--serif); font-size:clamp(30px,3.4vw,42px); display:block; }
.stat .label{ font-size:14px; color:var(--ink-soft); margin-top:6px; }

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

/* ---------- Process steps ---------- */

.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.step{ border-top:1px solid var(--line-dark); padding-top:20px; }
.band-cream .step, .band-paper-soft .step{ border-top:1px solid var(--line-light); }
.step .idx{ font-family:var(--serif); font-size:15px; color:var(--gold-soft); margin-bottom:14px; display:block; }
.band-cream .step .idx, .band-paper-soft .step .idx{ color:var(--gold); }
.step h4{ font-size:17px; font-weight:600; margin:0 0 10px; font-family:var(--sans); }
.step p{ font-size:14.5px; color:rgba(246,241,228,0.68); margin:0; }
.band-cream .step p, .band-paper-soft .step p{ color:var(--ink-soft); }

@media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }

/* ---------- Table ---------- */

table.compare{ width:100%; border-collapse:collapse; background:var(--cream); }
table.compare th, table.compare td{
  text-align:left; padding:16px 20px; border-bottom:1px solid var(--line-light); font-size:15px;
}
table.compare th{ font-family:var(--serif); font-weight:500; font-size:16px; color:var(--ink-soft); }
table.compare td.tier-name{ font-weight:600; }
table.compare tbody tr:last-child td{ border-bottom:none; }
.table-wrap{ overflow-x:auto; border:1px solid var(--line-light); border-radius:4px; }

/* ---------- Pricing cards ---------- */

.plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.plan{
  background:var(--cream); border:1px solid var(--line-light); border-radius:6px; padding:36px 28px;
  display:flex; flex-direction:column;
}
.plan.featured{ background:var(--ink); color:var(--cream); border-color:var(--ink); position:relative; }
.plan .tier{ font-size:14px; font-weight:600; color:var(--gold); margin-bottom:10px; }
.plan.featured .tier{ color:var(--gold-soft); }
.plan .price{ font-family:var(--serif); font-size:36px; margin-bottom:6px; }
.plan .price-note{ font-size:13px; color:var(--ink-soft); margin-bottom:24px; }
.plan.featured .price-note{ color:rgba(246,241,228,0.68); }
.plan ul{ list-style:none; padding:0; margin:0 0 28px; display:flex; flex-direction:column; gap:12px; font-size:14.5px; }
.plan ul li{ padding-left:20px; position:relative; }
.plan ul li::before{ content:"—"; position:absolute; left:0; color:var(--gold); }
.plan .btn{ margin-top:auto; align-self:flex-start; }

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

/* ---------- FAQ ---------- */

.faq{ max-width:760px; }
.faq details{
  border-bottom:1px solid var(--line-light); padding:20px 0;
}
.faq summary{
  cursor:pointer; font-family:var(--serif); font-size:18px; font-weight:500;
  list-style:none; display:flex; justify-content:space-between; align-items:center;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:20px; color:var(--gold); font-family:var(--sans); margin-left:16px; }
.faq details[open] summary::after{ content:"–"; }
.faq p{ margin:14px 0 0; color:var(--ink-soft); font-size:15px; max-width:64ch; }

/* ---------- Quote ---------- */

.quote blockquote{
  font-family:var(--serif); font-size:clamp(24px,3vw,32px); line-height:1.4; font-weight:500;
  max-width:28ch; margin:0 0 24px;
}
.quote cite{ font-style:normal; font-size:14px; color:var(--ink-soft); }

/* ---------- Team ---------- */

.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.person .photo{
  width:100%; aspect-ratio:1; border-radius:6px; background:var(--ink);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  color:var(--gold-soft); font-family:var(--serif); font-size:32px;
}
.person h4{ font-size:16px; margin-bottom:4px; font-family:var(--sans); font-weight:600; }
.person .role{ font-size:13.5px; color:var(--ink-soft); }

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

/* ---------- Offices ---------- */

.offices{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.office h4{ font-family:var(--sans); font-size:16px; font-weight:600; margin-bottom:8px; }
.office p{ font-size:14.5px; color:var(--ink-soft); margin:0; line-height:1.7; }

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

/* ---------- Forms ---------- */

form.signup{ display:flex; flex-direction:column; gap:14px; max-width:440px; }
form.signup .field{ display:flex; flex-direction:column; gap:6px; }
form.signup label{ font-size:13px; font-weight:600; color:var(--ink-soft); }
form.signup input, form.signup select, form.signup textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line-light); border-radius:2px;
  background:var(--cream); font-family:var(--sans); font-size:15px; color:var(--ink);
}
form.signup textarea{ resize:vertical; min-height:110px; }
form.signup input:focus, form.signup select:focus, form.signup textarea:focus{
  outline:2px solid var(--gold); outline-offset:1px;
}
form.signup button{ margin-top:6px; align-self:flex-start; }
.form-note{ font-size:12.5px; color:var(--ink-soft); opacity:0.75; margin-top:4px; }

.cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.cta-grid h2{ font-size:clamp(28px,3.4vw,36px); margin-bottom:14px; max-width:16ch; }
.cta-grid > div > p{ color:var(--ink-soft); max-width:40ch; margin:0; }

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

/* ---------- Footer ---------- */

footer.site{ background:var(--ink); color:rgba(246,241,228,0.62); padding:64px 0 32px; font-size:13.5px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.foot-brand .brand .name{ color:var(--cream); }
.foot-brand p{ color:rgba(246,241,228,0.55); font-size:14px; max-width:32ch; margin:16px 0 0; }
.foot-col h5{
  font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0.03em;
  color:rgba(246,241,228,0.85); margin:0 0 16px;
}
.foot-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.foot-col a{ text-decoration:none; color:rgba(246,241,228,0.6); }
.foot-col a:hover{ color:var(--gold-soft); }
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  padding-top:28px; border-top:1px solid var(--line-dark);
}
.disclosure{
  margin-top:24px; font-size:12px; line-height:1.7; color:rgba(246,241,228,0.4); max-width:80ch;
}

@media (max-width:860px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .foot-grid{ grid-template-columns:1fr; } }

@media (prefers-reduced-motion: reduce){
  .chart-line, .chart-fill{ animation:none; stroke-dashoffset:0; opacity:1; }
}
