/* Steady Capital — "The Open Ledger" design system v2 (post-panel) */
:root {
  --paper: #F7F7F2;
  --paper-deep: #EEF0E8;
  --ink: #1E2823;
  --ink-muted: #5A665E;
  --forest: #1E4B38;
  --forest-deep: #163A2B;
  --brass: #8F6B2A;
  --brass-deep: #6E5220;
  --brass-bright: #C9A85C;
  --rule: #D8DBD0;
  --field-border: #C3C7B8;
  --serif: 'Besley', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 920px) { .container { padding: 0 20px; } }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 4.5vw, 49px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
footer :focus-visible, .form-head :focus-visible { outline-color: var(--brass-bright); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep); margin: 0 0 14px;
}
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 1.6; }
.brass-accent { color: var(--brass-deep); font-style: normal; }

/* ---------- Header ---------- */
.utility {
  background: var(--paper-deep); border-bottom: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-muted);
}
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; padding-top: 5px; padding-bottom: 5px; }
.utility a { color: var(--ink-muted); }
@media (max-width: 920px) {
  .utility .container { flex-direction: column; align-items: flex-start; gap: 2px; }
  .utility .id-line { font-size: 11.5px; }
}

.mainbar { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mainbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.wordmark { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; line-height: 1.2; }
.wordmark .cap { display: block; }
.wordmark .cap::before { content: ""; display: block; width: 100%; height: 3px; background: var(--brass); margin-bottom: 3px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); border-bottom-color: var(--brass); }
.nav a.btn { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--ink); border-bottom: none; }
.nav a.btn:hover { background: #D4B96E; border-color: #D4B96E; color: var(--ink); }
.menu-toggle {
  display: none; font-family: var(--sans); font-weight: 600; font-size: 14px;
  background: none; border: 1px solid var(--rule); border-radius: 2px;
  color: var(--ink); padding: 9px 14px; cursor: pointer;
}
@media (max-width: 860px) {
  .nav .navlink { display: none; }
  .menu-toggle { display: inline-block; }
}
.mobile-nav { display: none; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 20px; font-size: 15px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-top: 1px solid var(--rule);
}
.mobile-nav a:hover { background: var(--paper-deep); }
@media (min-width: 861px) { .mobile-nav { display: none !important; } }

.btn {
  display: inline-block; background: var(--forest); color: var(--paper);
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border: 1px solid var(--forest); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--forest-deep); color: var(--paper); }
.btn:active { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn-block { display: block; width: 100%; text-align: center; font-size: 16px; padding: 15px 24px; }

/* ---------- Hero (dark banknote treatment) ---------- */
.hero {
  background-color: var(--forest-deep);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700'%3E%3Cg fill='none' stroke='%23C9A85C' stroke-opacity='.10'%3E%3Cellipse cx='350' cy='350' rx='330' ry='104'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(15 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(30 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(45 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(60 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(75 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(90 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(105 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(120 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(135 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(150 350 350)'/%3E%3Cellipse cx='350' cy='350' rx='330' ry='104' transform='rotate(165 350 350)'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(to right, transparent max(31px, calc(50% - 570px + 31px)), rgba(201,168,92,.55) max(31px, calc(50% - 570px + 31px)), rgba(201,168,92,.55) max(32px, calc(50% - 570px + 32px)), transparent max(32px, calc(50% - 570px + 32px))),
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(247, 247, 242, 0.05) 31px, rgba(247, 247, 242, 0.05) 32px);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: calc(50% - 640px) -230px, 0 0, 0 0;
  padding: 76px 0 84px;
  color: var(--paper);
}
.hero .eyebrow { color: var(--brass-bright); }
.hero h1 { color: var(--paper); font-size: clamp(36px, 4.8vw, 54px); }
.hero .dek { color: rgba(247, 247, 242, 0.92); }
.hero .dek a { color: var(--brass-bright); }
.hero .dek a:hover { color: #E2CE93; }
.hero .small.muted { color: rgba(247, 247, 242, 0.72); }
.hero .kv .k { color: rgba(247, 247, 242, 0.7); }
.hero .kv .v { color: var(--paper); }
.hero .kv .leader { border-bottom-color: rgba(247, 247, 242, 0.3); }
@media (max-width: 400px) { .hero .kv { border-bottom-color: rgba(247, 247, 242, 0.3); } }
.hero .hero-links { border-top-color: rgba(247, 247, 242, 0.3); }
.hero .hero-links a { color: rgba(247, 247, 242, 0.85); text-decoration-color: rgba(247, 247, 242, 0.4); }
.hero .hero-links a:hover { color: var(--brass-bright); }
.hero .form-card { border-color: rgba(22, 58, 43, 0.4); border-top-color: var(--brass-bright); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
@media (max-width: 920px) { .hero { padding: 44px 0 56px; background-position: right -320px top -260px, 0 0, 0 0; } }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; gap: 24px 48px; align-items: start;
  grid-template-areas: "copy form" "extra form";
}
.hero-copy { grid-area: copy; }
.hero-grid .form-card { grid-area: form; }
.hero-extra { grid-area: extra; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; grid-template-areas: "copy" "form" "extra"; }
}
.hero .dek { font-size: 19px; line-height: 1.68; max-width: 56ch; }
.hero .hero-links { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 400; }
.hero .hero-links a { color: var(--ink-muted); }
.hero .hero-links a:hover { color: var(--forest); }

/* term sheet — dot leaders */
.kv { display: flex; align-items: baseline; gap: 8px; font-size: 15px; margin: 6px 0; }
.kv .k { color: var(--ink-muted); white-space: nowrap; }
.kv .leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-0.28em); min-width: 24px; }
.kv .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.termsheet { margin-top: 8px; max-width: 46ch; }
@media (max-width: 920px) { .termsheet .hide-m { display: none; } }
@media (max-width: 400px) {
  .kv { flex-direction: column; gap: 2px; border-bottom: 1px dotted var(--rule); padding-bottom: 4px; }
  .kv .leader { display: none; }
  .kv .v { text-align: left; }
}

/* form card */
.form-card { background: #FFFFFF; color: var(--ink); border: 1px solid var(--rule); border-top: 3px solid var(--forest); border-radius: 2px; }
.form-card .form-head { background: var(--forest); color: var(--paper); padding: 18px 26px 15px; }
.form-card .form-head h2 { color: var(--paper); font-size: 22px; margin: 0 0 4px; }
.form-card .form-head p { margin: 0; font-size: 13.5px; color: rgba(247, 247, 242, 0.85); }
.assure { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 26px; background: var(--paper-deep); border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-muted); }
.assure span { white-space: nowrap; }
.form-body { padding: 24px 26px 26px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--field-border); border-radius: 2px; padding: 11px 12px;
}
.field input::placeholder { color: var(--ink-muted); opacity: 1; }
.field select:invalid { color: var(--ink-muted); }
.field input:focus, .field select:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
.field .hint { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; line-height: 1.45; }
.field .hint-strong { font-size: 12.5px; color: var(--ink); font-weight: 500; margin-top: 4px; line-height: 1.5; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .two-col { grid-template-columns: 1fr; } }

/* consent blocks */
.optional-head { margin: 18px 0 4px; }
.optional-head .eyebrow { margin: 0 0 2px; }
.optional-head p { font-size: 12.5px; color: var(--ink-muted); margin: 0 0 8px; }
label.consent {
  display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 0; padding: 16px 14px;
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--brass);
  border-radius: 2px; cursor: pointer;
}
label.consent input[type="checkbox"] { margin-top: 2px; width: 24px; height: 24px; flex: none; accent-color: var(--forest); cursor: pointer; }
.consent-text { font-size: 13.5px; line-height: 1.55; color: var(--ink); font-weight: 400; }
.consent-fine { opacity: 0.85; }
.data-promise { font-size: 13px; color: var(--ink); font-weight: 500; margin: 14px 0 0; }
.pre-submit-strip {
  display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--forest);
  margin: 16px 0 0; padding-top: 12px; border-top: 1px dotted var(--rule);
}
.form-body .btn-block { margin-top: 10px; background: var(--brass-bright); border-color: var(--brass-bright); color: var(--ink); font-weight: 700; }
.form-body .btn-block:hover { background: #D4B96E; border-color: #D4B96E; color: var(--ink); }
.post-submit { font-size: 12.5px; color: var(--ink-muted); line-height: 1.55; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.post-submit .micro-head { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Facts strip ---------- */
.facts { border-top: 3px solid var(--forest); border-bottom: 3px solid var(--forest); position: relative; }
.facts::before, .facts::after { content: ""; display: block; height: 1px; background: var(--rule); position: absolute; left: 0; right: 0; }
.facts::before { top: 3px; } .facts::after { bottom: 3px; }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact .label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.fact .figure { font-family: var(--serif); font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.25; min-height: 2.5em; }
.fact .note { font-size: 12.5px; color: var(--ink-muted); margin-top: 5px; line-height: 1.45; }
@media (max-width: 860px) {
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 18px; }
  .fact .figure { min-height: 0; }
  .fact:nth-child(odd) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .facts .container { grid-template-columns: 1fr; }
  .fact { border-left: none; padding-left: 0; }
  .fact:nth-child(n+2) { border-top: 1px solid var(--rule); }
}

/* ---------- Sections ---------- */
section.band { padding: 96px 0; }
section.band.deep { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 920px) { section.band { padding: 64px 0; } }
.section-sub { color: var(--ink-muted); max-width: 62ch; margin-bottom: 40px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 26px; border-left: 1px solid var(--rule); }
.step:first-child { border-left: none; padding-left: 0; }
.step .num { font-family: var(--serif); font-weight: 800; font-size: 30px; color: var(--brass); display: block; margin-bottom: 10px; }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; color: var(--ink-muted); }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { border-left: none; padding: 22px 0 0; border-top: 1px solid var(--rule); }
  .step:first-child { border-top: none; padding-top: 0; }
}
.vetting { margin-top: 52px; border: 1px solid var(--rule); background: #FFFFFF; padding: 30px 32px; }
.vetting h3 { margin-bottom: 14px; }
.vetting ul { columns: 2; column-gap: 40px; margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-muted); }
.vetting li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 700px) { .vetting ul { columns: 1; } }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.card { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 2px; padding: 30px 32px; }
.card .tab { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-muted); }
.card .kv { font-size: 14px; }
@media (max-width: 1020px) and (min-width: 861px) {
  .card .kv { flex-wrap: wrap; row-gap: 2px; }
  .card .kv .leader { display: none; }
  .card .kv .v { flex-basis: 100%; text-align: left; border-bottom: 1px dotted var(--rule); padding-bottom: 3px; }
}

/* Who we are */
.who { max-width: 760px; }
.who p { font-size: 16.5px; line-height: 1.7; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.35;
  padding: 18px 0; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-wrap: balance;
}
.faq summary:hover { color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--brass-deep); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; font-size: 15px; color: var(--ink-muted); max-width: 68ch; }

/* Final CTA (dark band) */
section.band.final { background: var(--forest-deep); color: var(--paper); border-top: 3px solid var(--brass-bright); }
.final h2 { color: var(--paper); }
.final .section-sub { margin-bottom: 22px; color: rgba(247, 247, 242, 0.85); }
.final .btn { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--ink); font-weight: 700; }
.final .btn:hover { background: #D4B96E; border-color: #D4B96E; color: var(--ink); }
.final .support { margin-top: 14px; font-size: 14px; color: rgba(247, 247, 242, 0.75); }
.final .support a { color: var(--paper); }
.final :focus-visible { outline-color: var(--brass-bright); }

/* ---------- Footer ---------- */
footer { background: var(--forest); color: var(--paper); padding: 64px 0 36px; }
footer a { color: var(--paper); }
footer a:hover, footer a:focus-visible { color: var(--paper); text-decoration: underline; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } }
footer .colhead { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #D4B96E; margin-bottom: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
footer li { margin-bottom: 9px; }
footer .id { font-size: 13.5px; line-height: 1.7; color: rgba(247, 247, 242, 0.85); }
footer .wordmark { color: var(--paper); }
footer .wordmark .cap::before { background: var(--brass-bright); }
footer .disclosures { border-top: 1px solid rgba(247, 247, 242, 0.25); margin-top: 44px; padding-top: 26px; font-size: 13.5px; line-height: 1.65; color: rgba(247, 247, 242, 0.92); max-width: 780px; }
footer .disclosures .colhead { margin-bottom: 10px; }
footer .legalrow { border-top: 1px solid rgba(247, 247, 242, 0.25); margin-top: 26px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: rgba(247, 247, 242, 0.8); }
footer .legalrow .reviewed { font-variant-numeric: tabular-nums; }

/* ---------- Policy pages ---------- */
.policy { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.policy h1 { font-size: 34px; }
.policy h2 { font-size: 22px; margin-top: 36px; }
.policy p, .policy li { font-size: 15.5px; color: var(--ink); }
.policy .meta { color: var(--ink-muted); font-size: 14px; margin-bottom: 28px; }
.policy ul { padding-left: 22px; }

/* thanks page */
.thanks { max-width: 640px; margin: 0 auto; padding: 96px 32px; }

/* narrow phones: compact header */
@media (max-width: 480px) {
  .mainbar .container { min-height: 64px; gap: 10px; }
  .nav { gap: 10px; }
  .nav .btn { padding: 11px 12px; font-size: 13px; }
  .wordmark { font-size: 15px; }
  .menu-toggle { padding: 8px 10px; font-size: 13px; }
}
