:root {
  /* Layout idea: a library you can hire. Search-led hero, wide reading column, navy bands for the offer. */
  --blue: #0B2A5B;
  --red: #BF0A30;
  --ink: #061A3A;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --slate: #3A4252;
  --line: #D5DAE3;
  --tint: #E8EDF6;
  --red-light: #FF6B7D;
  --display: "Bitter", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--blue); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.lede { font-size: 19px; color: var(--slate); max-width: 62ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.muted { color: var(--slate); }
.small { font-size: 14px; }
[hidden] { display: none !important; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--blue); white-space: nowrap; }
.brand-name span { color: var(--red); margin-left: 5px; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: var(--body); font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #9E0827; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--tint); color: var(--blue); }
.btn-light { background: var(--white); color: var(--blue); }
.nav .btn { min-height: 44px; padding: 8px 20px; color: var(--white); border: 0; }
.nav .btn:hover { color: var(--white); border: 0; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
.section { padding: 64px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h1, .section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue .lede, .section-blue .muted { color: #C9D3E6; }
.section-blue a:not(.btn) { color: var(--white); }
.section-blue .eyebrow { color: var(--red-light); }
.page-head { padding: 56px 0 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* Hero */
.hero { padding: 64px 0 56px; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; }
.ask-panel { background: var(--blue); color: var(--white); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ask-panel h2 { color: var(--white); font-size: 24px; }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input { flex: 1 1 200px; min-height: 48px; border-radius: 999px; border: 2px solid var(--line); padding: 10px 18px; font: inherit; color: var(--ink); background: var(--white); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); background: var(--white); color: var(--blue); cursor: pointer; font-family: var(--body); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ask-panel .chip { background: transparent; color: var(--white); border-color: #5A719C; }
.ask-panel .chip:hover { border-color: var(--white); color: var(--white); }

/* Path: learn, lean, hand off */
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.path > div { padding: 28px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.path .step { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--red); }
.path .price { font-size: 14px; font-weight: 600; color: var(--blue); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--blue); }
a.card:hover h3 { color: var(--red); }
.card .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.card .more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--blue); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tier.featured { border: 2px solid var(--red); }
.tier .flag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); background: var(--red); border-radius: 999px; padding: 3px 12px; }
.tier .amount { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.tier .amount small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--slate); }
.tier ul, .checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier li, .checks li { padding-left: 26px; position: relative; font-size: 15px; }
.tier li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.tier .btn { margin-top: auto; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--white); font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--blue); background: var(--tint); }

/* Articles */
.article { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.article h2 { font-size: 26px; margin-top: 14px; }
.article ul, .article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article .meta { font-size: 14px; color: var(--slate); }
.callout { background: var(--tint); border-radius: 12px; padding: 18px 20px; font-size: 16px; }
.note { font-size: 14px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 14px; }
.crumb { font-size: 14px; font-weight: 600; text-decoration: none; }
.cta-box { background: var(--blue); color: var(--white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta-box h2, .cta-box h3 { color: var(--white); margin: 0; font-size: 24px; }
.cta-box p { color: #C9D3E6; }
dl.glossary { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
dl.glossary div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
dl.glossary dt { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--blue); }
dl.glossary dd { margin: 6px 0 0; font-size: 15px; color: var(--slate); }

/* Forms */
form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label, legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], textarea, select { min-height: 48px; border-radius: 10px; border: 2px solid var(--line); padding: 10px 14px; font: inherit; color: var(--ink); background: var(--white); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); font-size: 15px; font-weight: 500; }
.option input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--blue); font-weight: 600; }
.option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.error { color: var(--red); font-size: 14px; font-weight: 600; }
.success { background: var(--tint); border-left: 5px solid var(--blue); border-radius: 8px; padding: 16px 18px; }
.preview-note { font-size: 13px; color: var(--slate); }
.progress { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.progress div { height: 100%; background: var(--red); width: 0; transition: width 0.2s; }
.result { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.person { display: flex; gap: 16px; align-items: center; }
.photo { width: 88px; height: 88px; border-radius: 50%; background: var(--tint); border: 1px dashed var(--blue); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--blue); flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3E6; padding: 48px 0 32px; font-size: 15px; }
.site-footer h3 { color: var(--white); font-size: 17px; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .legal { border-top: 1px solid #23395F; margin-top: 32px; padding-top: 20px; font-size: 13px; }
.site-footer input[type="email"] { border-color: #23395F; }

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .hero { padding: 40px 0; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress div { transition: none; }
}

/* fixes after first look */
form.search { flex-direction: row; align-items: center; }
form.search input { flex: 1 1 180px; width: auto; }
.ask-panel a:not(.btn) { color: var(--white); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }

/* Warmer, more personal pass */
:root { --paper: #FBF8F3; --sand: #F3ECE0; --line: #DDD6C8; --hand: "Caveat", "Segoe Script", cursive; }
.hand { font-family: var(--hand); font-size: 34px; font-weight: 700; line-height: 1; color: var(--red); }
.section-sand { background: var(--sand); }
.hero { background: var(--paper); border-bottom: 0; }
.hero h1 { font-size: clamp(30px, 4.2vw, 44px); }
.portrait { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.portrait-frame { width: min(100%, 380px); aspect-ratio: 4 / 5; background: var(--sand); border: 12px solid var(--white); box-shadow: 0 10px 30px rgba(6, 26, 58, 0.16); transform: rotate(1.5deg); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 14px; color: var(--slate); }
.portrait figcaption { font-size: 26px; color: var(--blue); transform: rotate(-2deg); }
.letter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.letter { background: var(--white); padding: 36px; border-radius: 4px; box-shadow: 0 6px 24px rgba(6, 26, 58, 0.10); font-size: 18px; max-width: 60ch; }
.signature { font-size: 40px; color: var(--blue); margin-top: 8px; }
.draft { font-size: 13px; color: var(--slate); border: 1px dashed var(--line); border-radius: 8px; padding: 8px 12px; }
.checks.roomy { gap: 16px; }
.checks.roomy li { font-size: 17px; }
.story { border: 2px dashed #C9BFAE; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--slate); background: var(--paper); }
.phone { font-size: 15px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.path .step { font-family: var(--hand); font-size: 24px; }
.card, .tier { border-radius: 10px; }

/* Services */
.svc-list { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 40px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc h3 { font-size: 19px; }

.nav a.btn[aria-current="page"], .nav a.btn:hover { color: var(--white); border-bottom-color: transparent; }
.options { margin-top: 8px; }
.option span { height: 100%; }

.softmatch { color: var(--red); }
.softgroup .option span { min-height: 46px; }

/* Finished-site additions */
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.tl-when { font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--red); line-height: 1.1; }
@media (max-width: 560px) { .tl { grid-template-columns: 1fr; } }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 13px; color: var(--slate); }
.kpi strong { font-family: var(--display); font-size: 26px; color: var(--blue); font-variant-numeric: tabular-nums; }
table.report td, table.report th { padding: 8px 14px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.group td { font-weight: 600; color: var(--blue); background: var(--sand); }
tr.total td { font-weight: 700; border-top: 2px solid var(--blue); }
th { background: var(--sand); }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.faq details { border-bottom: 1px solid var(--line); padding: 0 22px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--blue); }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 68ch; }
.checkline { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 44px; }
.checkline input { width: 20px; height: 20px; }
select { appearance: auto; }

/* Hero without a photo: a notepad with the search */
.notepad { background: var(--white); padding: 30px 28px; border-radius: 4px; box-shadow: 0 10px 30px rgba(6, 26, 58, 0.14); border-top: 10px solid var(--red); transform: rotate(0.6deg); }
.notepad .chip { background: var(--paper); }
@media (max-width: 700px) { .notepad { transform: none; } }

.site-header .phone { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-footer .legal-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: #C9D3E6; max-width: 90ch; }
.site-footer .legal-note strong { color: #FFFFFF; }
