
/* Layout: one deliberate look taken from the logo, gold on deep navy, ruled like a vault ledger. Hero pairs the thesis with a case ledger; a seal sits in the credentials band. */
:root {
  --bg: #0B1220;
  --surface: #111B2D;
  --surface-2: #15213A;
  --ink: #EFE8D6;
  --muted: #9EA9B8;
  --line: #22304A;
  --gold: #C8A24B;
  --gold-pale: #E6D295;
  --on-gold: #0B1220;
  --ok: #6FCF9F;
  --wait: #9EA9B8;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  padding-inline: var(--gutter);
  padding-block: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1160px; margin-inline: auto; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
p { margin: 0; }
em { font-style: italic; color: var(--gold); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.mark { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.mark img { width: 40px; height: 40px; border-radius: 9px; display: block; }
.mark .word { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.mark .word small { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--gold); font-weight: 500; display: block; margin-top: 5px; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--gold-pale); }
nav a.pill-link { color: var(--on-gold); background: var(--gold); padding: 8px 16px; border-radius: 4px; font-weight: 600; }
nav a.pill-link:hover { color: var(--on-gold); filter: brightness(1.08); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 9vw, 104px) clamp(40px, 6vw, 64px); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); margin-block: 18px 24px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; padding: 13px 22px; border-radius: 4px; border: 1px solid var(--gold); cursor: pointer; text-align: center; }
.btn.solid { background: var(--gold); color: var(--on-gold); }
.btn.solid:hover { filter: brightness(1.08); }
.btn.line { background: none; color: var(--gold-pale); border-color: var(--line); }
.btn.line:hover { border-color: var(--gold); }

.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px clamp(16px, 3vw, 26px) 18px; min-width: 0; box-shadow: 0 0 0 1px rgba(200,162,75,.08), 0 24px 60px -30px rgba(0,0,0,.7); }
.ledger-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--gold); flex-wrap: wrap; }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.ref { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case b { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.case span { font-size: 13px; color: var(--muted); }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); } .pill.wip { color: var(--gold); } .pill.wait { color: var(--wait); }
.ledger-foot { font-size: 12px; color: var(--muted); padding-top: 14px; }

/* credentials strip */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--gold); }
.creds > div { padding: 22px clamp(14px, 2.5vw, 28px); border-left: 1px solid var(--line); min-width: 0; }
.creds > div:first-child { border-left: 0; padding-left: 0; }
.creds b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold-pale); line-height: 1.15; }
.creds span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* sections */
section { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line); }
section.first { border-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 5vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p.sub { color: var(--muted); max-width: 56ch; }

.reg-group { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px clamp(16px, 4vw, 48px); padding-block: 22px 8px; }
.reg-group + .reg-group { margin-top: 12px; }
.reg-group .label { color: var(--gold); }
.rows { border-top: 1px solid var(--gold); }
.row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 6px clamp(16px, 4vw, 48px); padding-block: 20px; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.35rem; font-weight: 500; }
.row p { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold); padding-top: 16px; }
.steps li::before { content: "Step " counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.steps h3 { font-size: 1.4rem; margin-block: 10px 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.trio h3 { font-size: 1.5rem; margin-bottom: 10px; }
.trio p { color: var(--muted); }
.seal { margin-top: clamp(32px, 5vw, 56px); padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); background: var(--surface); border-radius: 6px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 40px); align-items: center; }
.seal img { width: clamp(96px, 16vw, 168px); height: auto; border-radius: 50%; display: block; }
.seal h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.seal p { color: var(--muted); max-width: 62ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; background: var(--surface); }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); }
.handles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--gold); }
.handles li { display: flex; justify-content: space-between; gap: 6px 16px; padding-block: 13px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.handles li > span:first-child { color: var(--muted); }
.handles a, .handles .sel { color: var(--gold-pale); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
form { display: grid; gap: 16px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 11px 13px; width: 100%; min-width: 0; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,162,75,.28); }
.out { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--gold); border-radius: 6px; background: var(--surface); }
.out textarea { min-height: 160px; font-family: var(--mono); font-size: 13px; }
.out .row2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.status { font-size: 14px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 32px; display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; align-items: center; }
footer .fl { display: flex; align-items: center; gap: 12px; }
footer img { width: 28px; height: 28px; border-radius: 7px; display: block; }
footer .fr { display: flex; gap: 8px 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .sec-head, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .reg-group { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .creds > div:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .ledger li { grid-template-columns: minmax(0, 1fr) auto; }
  .ledger .ref { grid-column: 1 / -1; }
  nav a.hide-s { display: none; }
  .seal { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, nav a { transition: color .2s, border-color .2s, filter .2s; }
}

/* multi-page additions */
.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 5vw, 48px); }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-pale); }
.page-head h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); margin-bottom: 20px; max-width: 22ch; }
.page-head .lede { max-width: 60ch; }
.prose { max-width: 64ch; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 48px); border-top: 1px solid var(--gold); }
.checklist li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; min-width: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 14px; height: 1px; background: var(--gold); }
.policy { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 20px clamp(16px, 3vw, 28px); display: grid; gap: 8px; }
.policy p { color: var(--muted); max-width: 70ch; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--gold); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--mono); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 56px); align-items: center; border: 1px solid var(--gold); border-radius: 6px; padding: clamp(24px, 5vw, 48px); background: var(--surface); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band p { color: var(--muted); margin-top: 12px; }
.cta-band .cta { margin-top: 0; justify-content: flex-start; }
.row-link { text-decoration: none; color: inherit; }
.row-link h3::after { content: " \2192"; color: var(--gold); font-family: var(--body); font-size: 1rem; }
.row-link:hover h3 { color: var(--gold-pale); }
.chips li { padding: 0; }
.chips li a, .chips li span { display: block; padding: 7px 16px; text-decoration: none; }
.chips li a:hover { color: var(--gold-pale); }
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 28px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(24px, 5vw, 56px); }
.foot ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.foot a:hover { color: var(--gold-pale); }
.foot .about { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.foot .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot .brand img { width: 36px; height: 36px; border-radius: 8px; }
.foot .brand span { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot { grid-template-columns: minmax(0, 1fr); }
}

.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 1em; }
.legal ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 6px; }
.legal a { color: var(--gold-pale); text-underline-offset: 3px; }
.copy a { text-decoration: none; }
.copy a:hover { color: var(--gold-pale); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
