/* Shared visual system. Type is assigned by content role, never per card. */
:root {
  --font: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --heading: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --display: 'Newsreader', Georgia, serif;
  --type-hero: clamp(2.625rem, 2.05rem + 2.7vw, 4rem);
  --type-title: clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
  --type-section: clamp(1.875rem, 1.45rem + 1.25vw, 2.5rem);
  --type-subheading: clamp(1.5rem, 1.25rem + .65vw, 1.75rem);
  --type-card: clamp(1.25rem, 1.125rem + .25vw, 1.375rem);
  --type-body: 1rem; --type-lead: 1.125rem; --type-small: .875rem; --type-meta: .75rem;
  --section-space: clamp(3rem, 2rem + 3vw, 4.5rem); --panel-radius: 10px;
}
body { font: 400 var(--type-body)/1.7 var(--font); font-kerning: normal; font-optical-sizing: auto; }
button, input, select, textarea { font-family: var(--font); }
#main h1, #main h2 { font-family: var(--display); font-weight: 450; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
#main h1 { font-size: var(--type-title); }
#main h2 { font-size: var(--type-section); }
#main h3 { font: 550 var(--type-card)/1.3 var(--heading); letter-spacing: -.018em; text-wrap: pretty; }
#main p, #main li { font-size: var(--type-body); line-height: 1.7; text-wrap: pretty; }
#main .lead { font-size: var(--type-lead); font-weight: 400; line-height: 1.7; letter-spacing: 0; }
#main :is(.eyebrow, .case-index, .choice-tag, .sample-label) { font: 600 var(--type-meta)/1.6 var(--font); letter-spacing: .1em; }
#main :is(.metadata, .hero-note, .quiet, .case-note, .case-disclosure, .sample-disclaimer, .preview-note) { font-size: var(--type-small); line-height: 1.6; }
#main :is(.prose h2, .sample-paper h2, .wizard-card h2, .document-planner h2, .calculator h2) { font-size: var(--type-subheading); }
#main :is(.price-entry h2, .service-aside h2, .consultation-benefits h2, .consultation-form-card h2, .atmos-hero-note h2, .about-principles h2) { font: 550 var(--type-card)/1.3 var(--heading); letter-spacing: -.018em; }
#main :is(.article-card h3, .topic-card h3, .steps h3, .choice-entry h3, .choice-options h3, .journal-copy h3, .journal-small h3, .case-card h3) { font-size: var(--type-card); }
#main .prose { font-size: var(--type-body); line-height: 1.7; }
#main .prose h2 { margin-top: 2.5rem; margin-bottom: 1.125rem; }
#main .prose h2:first-child { margin-top: 0; }
#main .prose h3 { margin-top: 1.75rem; }
#main .section-heading h2 { max-width: 850px; margin-top: 14px; }
.section-heading { margin-bottom: 32px; }
.section-heading .eyebrow, .hero-copy>.eyebrow { display: flex; align-items: center; gap: 12px; }
.section-heading .eyebrow::before, .hero-copy>.eyebrow::before { content: ''; width: 24px; height: 1px; flex: none; background: currentColor; opacity: .7; }
.section, .case-section, .journal-section { padding-block: var(--section-space); }
.row-heading { align-items: end; gap: 28px; }
.page-heading { padding-block: 40px 48px; }
.page-heading .lead, .article-heading .lead { margin-top: 24px; max-width: 720px; }
.page-heading .button { margin-top: 24px; }
.prose p { max-width: 70ch; }

/* Identical icon geometry for identical actions; no font-glyph arrows. */
.link-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; vertical-align: -.2em; pointer-events: none; }
a>.link-icon, .text-link>.link-icon { margin-left: 8px; }
.button>.link-icon { margin-left: 0; }
.button { gap: 16px; border-radius: 6px; min-height: 48px; font-weight: 600; letter-spacing: 0; }
#main .button { font-size: var(--type-body); line-height: 1.45; padding: 14px 22px; white-space: normal; }
#main .text-link, #main .result-offer-link, #main .faq-more { font-size: var(--type-small); font-weight: 600; line-height: 1.55; text-decoration-thickness: 1px; text-underline-offset: 4px; letter-spacing: 0; }
.text-link, .result-offer-link { display: inline-flex; align-items: center; gap: 8px; }
.text-link>.link-icon, .result-offer-link>.link-icon { margin-left: 0; }
.button:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #5275ed; outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button>.link-icon, .text-link>.link-icon { transition: transform .18s ease; }
  .button:hover>.link-icon, .text-link:hover>.link-icon { transform: translateX(3px); }
}
.draft { font-family: var(--font); font-size: var(--type-meta); letter-spacing: .01em; }
.brand { gap: 17px; min-width: 0; flex-shrink: 0; font-family: var(--font); line-height: 1; letter-spacing: 0; }
.brand-logo { width: 44px; height: 44px; }
.brand-wordmark { display: block; font-family: var(--font); letter-spacing: 0; white-space: nowrap; }
.brand-name { display: block; font-size: 1.375rem; font-weight: 600; line-height: 1.15; letter-spacing: -.012em; font-variation-settings: 'opsz' 40; }
.brand-domain { color: var(--blue); font-weight: 500; }
.brand-tagline { font: 400 var(--type-meta)/1.4 var(--font); letter-spacing: 0; margin-top: 7px; }
.header { min-height: 108px; height: auto; padding-block: 22px; gap: 24px; flex-wrap: wrap; }
.header .desktop-menu { gap: 21px; font-size: var(--type-small); font-weight: 450; }
.header .desktop-menu a { padding-block: 9px; border-bottom: 1px solid transparent; }
.header .desktop-menu a:hover { border-bottom-color: var(--blue); }
.header>.button.small { font-size: var(--type-small); padding: 12px 18px; min-height: 46px; }
.mobile-menu summary { font-family: var(--font); font-size: var(--type-small); }

.rebrand-hero .hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 60px; padding-block: 58px 64px; min-height: 0; }
#main .rebrand-hero h1 { font-size: var(--type-hero); line-height: 1.08; max-width: 700px; }
#main .rebrand-hero h1 em { display: inline-block; font-family: var(--display); font-style: italic; font-weight: 450; color: #c3d3ff; }
.rebrand-hero .hero .lead { margin-top: 24px; max-width: 550px; }
.rebrand-hero .hero-actions { margin-top: 28px; gap: 20px; }
.rebrand-hero .hero-note { max-width: 550px; margin-top: 18px; }
.atmos-hero-note { max-width: 335px; padding: 30px; border-radius: var(--panel-radius); }
.atmos-hero-note>a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--type-small); line-height: 1.6; }
.atmos-hero-note>a>.link-icon { margin: 0; }
.promise-line { font-size: var(--type-small); padding-block: 20px; border-radius: 8px; }
#main .benefits-heading h2 em { font-style: italic; font-weight: 450; }
.benefits-heading>p:last-child { max-width: 660px; margin-top: 20px; }
.topic-card { border-radius: var(--panel-radius); }
.topic-card>.eyebrow { margin-bottom: 14px; min-height: 2.6em; }
.topic-card>h3 { min-height: 3.9em; }
.route-price>h3 { min-height: 2.6em; }
.topic-card>.text-link { padding-top: 14px; margin-top: auto; }
.help-start { border-radius: var(--panel-radius); padding: 28px; }
.help-symbol { width: 54px; height: 54px; font-size: 2rem; }
.case-card { border-radius: var(--panel-radius); padding: 28px; }
#main .case-value { font: 450 3rem/1.1 var(--display); letter-spacing: -.025em; margin: 22px 0 18px; }
#main .case-value span { font-size: var(--type-body); }
#main .case-value-text { font-size: var(--type-subheading); min-height: 0; }
.case-card h3 { margin-bottom: 14px; }
.case-card .text-link { margin-top: auto; }
.guided-process .step-number { font: 500 var(--type-small)/1 var(--font); }
.matching-caption { border-radius: 8px; }
#main .matching-caption p { font-size: var(--type-small); }
.matching-caption strong { font-size: inherit; font-weight: 600; }
.choice-entry { border-radius: var(--panel-radius); padding: 32px; }
.choice-entry h3 { max-width: none; }
.choice-entry .choice-tag { margin-bottom: 20px; }
.choice-entry .button { margin-top: auto; }
.choice-options { padding-block: 0; gap: 0; }
.choice-options article { gap: 18px; padding: 28px 0; }
.choice-options article:first-child { padding-top: 0; }
.choice-icon { border-radius: 8px; }
.journal-feature, .journal-small { border-radius: var(--panel-radius); }
.journal-copy, .journal-small { padding: 28px; }
.journal-copy h3, .journal-small h3 { margin-block: 16px 24px; }
.journal-number { font: 450 7rem/1 var(--display); letter-spacing: -.06em; }
.faq-list summary { font: 500 var(--type-body)/1.6 var(--heading); letter-spacing: 0; padding-right: 32px; }
.closing { padding-block: 54px; }

/* Existing About content, arranged as a photo, numbered principles and roles. */
.about-intro .lead { max-width: 670px; }
.about-story { display: grid; grid-template-columns: 1fr 1.05fr; align-items: start; gap: 64px; padding-block: var(--section-space); }
.about-story .editorial-photo { margin: 0; position: relative; }
.about-story .editorial-photo img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--panel-radius); }
.about-photo-label { display: block; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--type-small); }
.about-principles { list-style: none; padding: 0; margin: 0; }
.about-principles>li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 18px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.about-principles>li:first-child { padding-top: 0; }
.about-principles>li:last-child { border: 0; padding-bottom: 0; }
.about-principles .item-index { color: var(--blue); font-size: var(--type-meta); line-height: 1.8; padding-top: 4px; }
.about-principles p { color: var(--muted); margin-top: 12px; }
.about-roles { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; border-top: 1px solid var(--line); padding-block: var(--section-space); }
.about-roles h2 { max-width: 340px; }
.about-roles .section-heading { margin: 0; }
.role-row { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.role-row:last-of-type { padding-bottom: 0; margin-bottom: 26px; border: 0; }
.role-row p { margin-top: 12px; color: var(--muted); }
.about-roles .inline-links { margin-top: 24px; }
.service-deliverable { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-deliverable strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: var(--type-small); font-weight: 600; }
.price-entry .service-deliverable { margin-top: 0; margin-bottom: 24px; }
.price-entry .service-deliverable p { margin: 0; }
.price-entry>article, .route-price { border-radius: var(--panel-radius); }
@media (min-width: 801px) {
  .price-entry>article:has(.service-deliverable)>p:not(.snapshot-price) { min-height: 3.4em; }
}
#main .snapshot-price { font: 500 2.25rem/1.15 var(--heading); letter-spacing: -.025em; margin-block: 22px; }
#main .snapshot-price span { font: 400 var(--type-small)/1.5 var(--font); letter-spacing: 0; }
#main .individual-price { font: 500 var(--type-card)/1.4 var(--heading); }
.site-footer { padding-top: 56px; }
.site-footer .brand { gap: 17px; }
.site-footer .brand-name { font-size: 1.375rem; }
.site-footer .brand-tagline { font-size: var(--type-meta); }
.site-footer .footer-grid>div:first-child>p { margin-top: 25px; font-size: var(--type-body); }
.site-footer h2 { font: 550 var(--type-body)/1.5 var(--heading); letter-spacing: 0; margin-bottom: 20px; }
.footer-grid>div>a:not(.brand) { font-size: var(--type-small); line-height: 1.65; margin-block: 12px; }
.footer-register { margin-top: 38px; }
.footer-register>p, .company-disclosure summary { font-size: var(--type-small); }
.company-disclosure>div { font-size: var(--type-small); }

@media (max-width: 1200px) {
  .header .desktop-menu { gap: 16px; }
  .header { gap: 18px; }
  .header .brand { gap: 13px; }
  .header .brand-name { font-size: 1.25rem; }
  .rebrand-hero .hero { gap: 38px; }
  .case-card { padding: 24px; }
}
@media (max-width: 1100px) {
  .header { min-height: 96px; padding-block: 20px; }
  .header .brand-name { font-size: 1.375rem; }
  .header .brand { gap: 16px; }
  .about-story, .about-roles { gap: 38px; }
}
@media (max-width: 800px) {
  .section-heading { margin-bottom: 28px; }
  .row-heading { gap: 20px; }
  #main .lead { font-size: var(--type-body); }
  .rebrand-hero .hero { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 36px 40px; }
  .rebrand-hero .hero h1 br { display: block; }
  .rebrand-hero .hero .lead { margin-top: 22px; }
  .rebrand-hero .hero-actions { gap: 20px; }
  .rebrand-hero .hero-actions .button { width: 100%; }
  .atmos-hero-note { padding: 25px; max-width: 420px; }
  .topic-card>.eyebrow { min-height: 0; }
  .topic-card>h3, .route-price>h3 { min-height: 0; }
  .topic-card>.text-link { padding-top: 10px; }
  .case-card, .choice-entry, .journal-copy, .journal-small { padding: 25px; }
  .choice-options article:first-child { padding-top: 26px; }
  .about-story, .about-roles { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .about-story .editorial-photo img { aspect-ratio: 1.35; }
  .about-principles>li { grid-template-columns: 26px minmax(0,1fr); gap: 14px; padding-block: 22px; }
  .about-roles h2 { max-width: none; }
  .site-footer .brand-logo { width: 38px; height: 38px; }
  .site-footer .brand { gap: 14px; }
}
@media (max-width: 480px) {
  .header { min-height: 82px; gap: 12px; padding-block: 18px; }
  .header .brand { gap: 12px; }
  .header .brand-logo { width: 32px; height: 32px; }
  .header .brand-name { font-size: 1.125rem; }
  .header .brand-tagline { display: none; }
  .mobile-menu summary { font-size: var(--type-small); padding: 10px; gap: 7px; }
  .hero-copy>.eyebrow { gap: 10px; }
  .hero-copy>.eyebrow::before { width: 20px; }
  .help-start { padding: 22px; }
  .site-footer .brand-name { font-size: 1.125rem; }
  .site-footer .brand-tagline { font-size: var(--type-meta); white-space: normal; }
}
@media (max-width: 360px) {
  .header { gap: 8px; }
  .header .brand { gap: 8px; }
  .header .brand-logo { width: 28px; height: 28px; }
  .header .brand-name { font-size: 1rem; }
  .mobile-menu summary { gap: 5px; padding-inline: 9px; }
  #main .button { padding-inline: 17px; }
}
@media print {
  .header { padding: 0; min-height: auto; }
  .section, .case-section, .journal-section, .about-story, .about-roles { padding-block: 24px; }
  .rebrand-hero .hero { display: block; padding: 0; }
  #main h1, #main .rebrand-hero h1 { color: #000; font-size: 26pt; }
  #main h2 { font-size: 21pt; }
  #main .rebrand-hero h1 em { color: #000; }
  .link-icon { display: none; }
}

/* Editorial cards show the question first; the full explanation lives in the article. */
/* A separate review stage precedes the final submission action. */
#inquiry-confirm .choice-summary > div > div { min-width: 0; }
#inquiry-confirm .choice-summary { margin-block: 24px; }
#consultation-confirm .summary-list dd { overflow-wrap: anywhere; white-space: pre-line; }
#consultation-confirm > p:not([class]) { margin-block: 18px; color: var(--muted); }
#consultation-confirm .wizard-actions { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 480px) {
  #consultation-confirm .wizard-actions .button { width: 100%; justify-content: space-between; }
}
#main .article-grid { gap: 24px; }
#main .article-card { display: flex; flex-direction: column; }
#main .article-card > p { margin-bottom: 20px; }
#main .article-card > .text-link { margin-top: auto; }
#main .article-card .guide-card-visual { position: relative; aspect-ratio: 1.85; }
#main .article-card .guide-card-visual picture { position: absolute; inset: 0; }
#main .article-card .guide-card-visual img { height: 100%; object-fit: cover; }
#main .service-aside > h2 { font-family: var(--heading); font-size: var(--type-card); line-height: 1.3; }
#main .service-aside .price-details { margin-block: 20px; }
#main .article-heading .metadata { max-width: 64ch; }
/* Sections need their own spacing: each heading is its section's first child. */
#main .article-body > section + section { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line, #d8dff0); }
#main .article-body > section { scroll-margin-top: 28px; }
#main .article-body .section-citations { margin-top: 18px; font-size: var(--type-small); }
#main .article-body .section-citations a { text-decoration-color: #a3b1de; text-underline-offset: 4px; }
#main .article-sources li { scroll-margin-top: 28px; }
#main .article-toc { border-top: 3px solid var(--blue, #1c3df0); padding-top: 22px; }
#main .article-toc a { text-underline-offset: 4px; }
#main .guide-entry-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
#main .guide-entry-points a { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 1 1 230px; border: 1px solid var(--line, #d8dff0); border-radius: 10px; padding: 14px 18px; font-size: var(--type-small); color: var(--ink, #14213d); text-decoration: none; background: #f6f8ff; }
#main .guide-entry-points a:hover { border-color: var(--blue, #1c3df0); background: #eef2ff; }
#main .guide-entry-points a:focus-visible { outline: 3px solid var(--blue, #1c3df0); outline-offset: 3px; }
#main .guide-entry-points span { color: var(--blue, #1c3df0); }
#main .guide-format { color: #445987; font-weight: 600; }
#main .article-outcome { margin-block: 24px; padding: 16px 20px; border-left: 3px solid var(--blue, #1c3df0); background: #f4f7ff; }
#main .article-outcome span { font-size: var(--type-small); color: #445987; }
#main .article-outcome p { margin: 5px 0 0; font-size: var(--type-body); line-height: 1.5; color: var(--ink, #14213d); }
@media (max-width: 800px) {
  #main .article-body > section + section { margin-top: 28px; padding-top: 24px; }
  #main .article-toc { margin-bottom: 28px; }
}
@media (min-width: 1100px) {
  #main .article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #main .guide-heading { padding-block: 28px 32px; }
  #main .guide-heading .brand-figure { max-height: 230px; }
  #main .guide-heading .brand-figure img { height: 230px; width: 100%; object-fit: cover; }
  #main .guide-tools { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: end; column-gap: 32px; padding-block: 20px; }
  #main .guide-tools > div > .eyebrow { display: none; }
  #main .guide-tools fieldset { margin: 0; }
  #main .guide-tools #guide-count, #main .guide-tools #guide-empty { grid-column: 1 / -1; }
  #main .guide-tools #guide-count { margin-top: 14px; }
}
