
/* StoryBrand order: hero (offer, benefit, call to action), stakes, value stack, guide, plan, commitments, broker criteria, contact form. Palette from the logo sheet. */
:root {
  --bg: #F1EEE7;
  --surface: #FAF8F4;
  --ink: #0B2F31;
  --muted: #4E6967;
  --line: #D9D6CC;
  --teal: #0A3A3C;
  --link: #0A3A3C;
  --card: #083E40;
  --band: #083E40;
  --band-ink: #EAF2EF;
  --band-muted: #A9C6BF;
  --band-line: rgba(234, 242, 239, 0.22);
  --btn-bg: #E3EBE6;
  --btn-ink: #0A3A3C;
  --field: #FFFFFF;
  --mk-dark: block;
  --mk-light: none;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Jost", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061A1B; --surface: #0A2526; --ink: #E8F0ED; --muted: #9FB8B3; --line: #1B3A3B;
    --teal: #7FC4B3; --link: #7FC4B3; --card: #0B3B3D; --band: #0B3B3D;
    --btn-bg: #12393A; --btn-ink: #BFE3D8; --field: #0E3032; --mk-dark: none; --mk-light: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #061A1B; --surface: #0A2526; --ink: #E8F0ED; --muted: #9FB8B3; --line: #1B3A3B;
  --teal: #7FC4B3; --link: #7FC4B3; --card: #0B3B3D; --band: #0B3B3D;
  --btn-bg: #12393A; --btn-ink: #BFE3D8; --field: #0E3032; --mk-dark: none; --mk-light: block;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
.in { max-width: 1040px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
img { display: block; }
.mk-dark { display: var(--mk-dark); }
.mk-light { display: var(--mk-light); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.label { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 18px; color: var(--teal); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0 0 22px; max-width: 18em; text-wrap: balance; }
.lead { margin: 0 0 40px; max-width: 38em; font-size: 19px; color: var(--muted); }
.btn { display: inline-block; font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; background: var(--card); color: #EAF2EF; padding: 15px 28px; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.12); }
.btn.light { background: #EAF2EF; color: #083E40; }
.textlink { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* Header */
header .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand img { height: 52px; width: auto; }
.brand .rule { width: 1px; height: 38px; background: var(--line); }
.wm { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.1; }
.wm small { display: block; font-family: var(--body); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); margin-top: 6px; }
.topnav { display: flex; align-items: center; gap: 28px; }
.topnav .textlink { color: var(--link); }
.topnav .btn { padding: 12px 22px; font-size: 12px; }

/* Hero */
.hero { position: relative; background: #083E40; color: #fff; overflow: hidden; }
.hero-img { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 72% 8%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.hero .in { position: relative; z-index: 1; padding-block: 104px 112px; }
.hero .copy { max-width: 31em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #A9C6BF; margin: 0 0 20px; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 24px; text-wrap: balance; }
.hero p.sub { margin: 0 0 34px; font-size: 19px; color: #DCE9E5; max-width: 30em; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Stakes */
.stakes .in { padding-block: 84px 20px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid4 > div { padding: 26px 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.grid4 h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.grid4 p { margin: 0; font-size: 16px; color: var(--muted); }
.cta-row { padding-top: 34px; }
.cta-row .textlink { color: var(--link); }

/* Value stack */
.value .in { padding-block: 84px 40px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.cols .ic { width: 44px; height: 44px; color: var(--teal); margin-bottom: 14px; }
.cols h3 { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.2; margin: 0 0 8px; }
.cols p { margin: 0; color: var(--muted); }

/* Guide band */
.band { background: var(--band); color: var(--band-ink); }
.band .label { color: var(--band-muted); }
.guide .in { padding-block: 80px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.guide h2 { margin-bottom: 22px; }
.guide p { margin: 0 0 16px; color: var(--band-ink); max-width: 33em; }
.proof { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--band-line); }
.proof li { padding: 20px 0; border-bottom: 1px solid var(--band-line); }
.proof b { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 4px; }

/* Plan */
.plan .in { padding-block: 84px 20px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; counter-reset: s; }
.steps > div { border-top: 2px solid var(--teal); padding-top: 18px; }
.steps .n { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--teal); margin: 0 0 8px; }
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.2; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.after { margin-top: 44px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); }
.after h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.after ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 36px; }
.after li { color: var(--muted); font-size: 16px; }
.after li b { color: var(--ink); font-weight: 500; }

/* Commitments */
.terms .in { padding-block: 84px 84px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.tgrid > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.tgrid h3 { font-family: var(--display); font-weight: 600; font-size: 23px; margin: 0 0 4px; line-height: 1.2; }
.tgrid p { margin: 0; font-size: 16px; color: var(--muted); }

/* Brokers */
.brokers .in { padding-block: 72px; }
.ledger { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--band-line); }
.ledger dt, .ledger dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--band-line); }
.ledger dt { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-muted); padding-right: 24px; }
.ledger dd { max-width: 40em; }

/* Contact */
.contact .in { padding-block: 84px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact .lead { margin-bottom: 26px; font-size: 18px; }
.sig h3 { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 0 0 4px; line-height: 1.1; }
.sig p { margin: 0; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
label span.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; width: 100%; min-width: 0; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { margin: 0; font-size: 14px; color: var(--muted); }
.status { margin: 0; font-size: 15px; min-height: 1.4em; }
.status.err { color: #B3402A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.err { color: #F0A18F; } }
:root[data-theme="dark"] .status.err { color: #F0A18F; }
.thanks { display: none; }
.thanks h3 { font-family: var(--display); font-weight: 600; font-size: 30px; margin: 0 0 8px; line-height: 1.15; }
.thanks p { margin: 0; color: var(--muted); }
.sent form { display: none; }
.sent .thanks { display: block; }

footer { background: var(--band); color: var(--band-ink); }
footer .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 32px; }
footer .brand img { height: 40px; }
footer .wm { font-size: 17px; }
footer .note { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-muted); }

@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero-img { position: static; width: 100%; height: 300px; object-position: 70% 14%; -webkit-mask-image: none; mask-image: none; order: -1; }
  .hero .in { padding-block: 40px 56px; }
  .guide .in, .contact .in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .guide .in { padding-block: 56px; }
  .stakes .in, .value .in, .plan .in { padding-block: 56px 16px; }
  .terms .in, .contact .in { padding-block: 56px; }
  .brokers .in { padding-block: 52px; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger dt { border-bottom: 0; padding-bottom: 0; }
  .ledger dd { padding-top: 6px; }
  .brand .rule, .topnav .textlink { display: none; }
  .wm { font-size: 19px; }
  .card { padding: 22px; }
  .after { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter 0.15s; } }

/* ===== v5 additions ===== */
a { color: inherit; }
header { background: var(--bg); position: relative; z-index: 5; }
.topnav { gap: 26px; }
.topnav a.nl { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.topnav a.nl:hover, .topnav a.nl[aria-current="page"] { border-bottom-color: var(--teal); color: var(--teal); }
details.m { display: none; position: relative; }
details.m summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); border: 1px solid var(--line); padding: 10px 16px; }
details.m summary::-webkit-details-marker { display: none; }
.mpanel { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, 86vw); background: var(--surface); border: 1px solid var(--line); padding: 8px 20px 20px; display: grid; gap: 0; z-index: 10; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.mpanel a.nl { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.mpanel .btn { margin-top: 16px; text-align: center; }

.sky { display: block; width: 100%; height: 112px; }
.divider { color: var(--muted); opacity: 0.38; margin-top: 56px; }
.page-hero { position: relative; background: #083E40; color: #fff; overflow: hidden; }
.page-hero .in { position: relative; z-index: 1; padding-block: 76px 156px; }
.page-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 16em; text-wrap: balance; }
.page-hero p.sub { margin: 0; font-size: 19px; color: #DCE9E5; max-width: 34em; }
.page-hero .sky { position: absolute; left: 0; right: 0; bottom: 0; color: rgba(234, 242, 239, 0.3); }

.tiles3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tiles3 > div { padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.tiles3 .ic { width: 34px; height: 34px; color: var(--teal); margin-bottom: 14px; }
.tiles3 h3 { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.2; margin: 0 0 8px; }
.tiles3 p { margin: 0; font-size: 16px; color: var(--muted); }
.cols .ic { width: 42px; height: 42px; }

.proof li b { display: block; }
.guide .more { margin-top: 26px; display: inline-block; color: var(--band-ink); }
.guide p.q { font-family: var(--display); font-size: 26px; line-height: 1.3; color: var(--band-ink); }

/* connected steps */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pstep { position: relative; padding-right: 36px; }
.pstep .node { width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid var(--teal); display: grid; place-items: center; background: var(--bg); color: var(--teal); position: relative; z-index: 1; margin-bottom: 20px; }
.pstep .node svg { width: 30px; height: 30px; }
.pstep:not(:last-child)::before { content: ""; position: absolute; top: 34px; left: 80px; right: 10px; border-top: 1.5px dashed var(--teal); opacity: 0.5; }
.pstep .num { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 6px; }
.pstep h3 { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.2; margin: 0 0 8px; }
.pstep p { margin: 0; color: var(--muted); }
.pstep .detail { margin-top: 0; }

/* timeline */
.tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 2px solid var(--teal); margin-top: 28px; }
.tl > div { position: relative; padding-top: 28px; }
.tl > div::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--bg); }
.tl .when { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.tl h3 { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.2; margin: 0 0 6px; }
.tl p { margin: 0; color: var(--muted); font-size: 16px; }

/* commitments with icons */
.tgrid > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; align-items: start; }
.tgrid .ic { width: 30px; height: 30px; color: var(--teal); margin-top: 3px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); max-width: 52em; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.25; padding: 20px 40px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--body); font-weight: 400; font-size: 28px; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 40px 22px 0; color: var(--muted); }
.faq .a p { margin: 0; }

/* sections */
.sec .in { padding-block: 84px 20px; }
.sec.last .in { padding-bottom: 84px; }
.ctaband { background: var(--band); color: var(--band-ink); text-align: center; }
.ctaband .in { padding-block: 72px; }
.ctaband h2 { margin: 0 auto 14px; max-width: 16em; }
.ctaband p { margin: 0 auto 28px; max-width: 32em; color: var(--band-muted); }
.hr { height: 0; border: 0; }

/* ledger on a light section */
.ledger.on-light { border-top-color: var(--line); }
.ledger.on-light dt, .ledger.on-light dd { border-bottom-color: var(--line); }
.ledger.on-light dt { color: var(--teal); }
.ledger.on-light dd { color: var(--ink); }

/* light CTA band (used when the section above is also dark) */
.ctaband.lt { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
.ctaband.lt p { color: var(--muted); }

/* About */
.about .in { padding-block: 84px 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about p { margin: 0 0 18px; max-width: 34em; }
.about p.big { font-family: var(--display); font-size: 28px; line-height: 1.25; color: var(--teal); }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.sec-note { font-size: 15px; color: var(--muted); max-width: 40em; margin: 0 0 28px; }

footer .in { align-items: flex-start; }
.fnav { display: flex; gap: 22px; flex-wrap: wrap; }
.fnav a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-ink); text-decoration: none; opacity: 0.85; }
.fnav a:hover { opacity: 1; text-decoration: underline; }
.fright { display: grid; gap: 14px; justify-items: end; }

.contactpage .in { padding-block: 72px 84px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contactpage .reassure { display: grid; gap: 18px; margin: 28px 0; }
.contactpage .reassure div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--muted); font-size: 16px; }
.contactpage .reassure .ic { width: 28px; height: 28px; color: var(--teal); }

@media (max-width: 860px) {
  .topnav { display: none; }
  details.m { display: block; }
  .page-hero .in { padding-block: 52px 130px; }
  .sec .in { padding-block: 56px 16px; }
  .sec.last .in { padding-bottom: 56px; }
  .about .in, .contactpage .in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 52px 40px; }
  .contactpage .in { padding-bottom: 56px; }
  .path { grid-template-columns: minmax(0, 1fr); }
  .pstep { padding: 0 0 38px 90px; }
  .pstep .node { position: absolute; left: 0; top: 0; margin: 0; }
  .pstep:not(:last-child)::before { top: 76px; bottom: 8px; left: 33px; right: auto; border-top: 0; border-left: 1.5px dashed var(--teal); }
  .pstep:last-child { padding-bottom: 0; }
  .tl { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--teal); gap: 28px; margin-left: 6px; }
  .tl > div { padding: 0 0 0 28px; }
  .tl > div::before { top: 6px; left: -8px; }
  .ctaband .in { padding-block: 52px; }
  .footer-grid { flex-direction: column; }
  .fright { justify-items: start; }
  .faq summary { font-size: 21px; }
}
