/* Aeterna Crypto — a quiet interface for a boundless world. */
:root {
  color-scheme: dark;
  --black: #030509;
  --paper: #070b12;
  --surface: #0c131d;
  --surface-raised: #111c28;
  --ink: #edf2f5;
  --text: #bec9d2;
  --muted: #8595a4;
  --muted-strong: #a0afbc;
  --line: rgba(169, 196, 218, .14);
  --line-strong: rgba(174, 210, 231, .28);
  --cyan: #b1deea;
  --gold: #cab895;
  --mint: rgba(166, 213, 231, .08);
  --lime: #c4e5ed;
  --warm: rgba(198, 176, 134, .08);
  --white: #eef3f6;
  --sans: Inter, 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: var(--sans);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 14px;
  --header-height: 96px;
  --document-paper: #f6f4ef;
  --document-ink: #24333e;
  --document-muted: #57616b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); background: var(--black); }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 83% 18%, rgba(25, 56, 75, .2), transparent 48%), radial-gradient(ellipse at 10% 82%, rgba(40, 35, 47, .15), transparent 46%); }
::selection { background: rgba(157, 212, 229, .25); color: #fff; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { color: var(--ink); font-family: var(--sans); font-weight: 350; line-height: 1.06; letter-spacing: -.05em; }
h1 { font-size: clamp(48px, 6vw, 84px); }
h2 { font-size: clamp(36px, 4.2vw, 56px); }
h1 em, h2 em { font-style: normal; color: var(--cyan); }
h3 { color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
h4 { color: var(--ink); font-weight: 500; }
.wrap { max-width: 1460px; padding-left: 60px; padding-right: 60px; margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }
#cosmos-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #030509; }
#cosmos-canvas { display: block; width: 100%; height: 100%; }
#cosmos-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 5, 9, .37), transparent 57%), linear-gradient(0deg, rgba(3, 5, 9, .7), transparent 26%); pointer-events: none; }
#app-views, main { position: relative; z-index: 2; }
.app-view { min-height: calc(100svh - var(--header-height)); position: relative; }
.app-view.is-entering { animation: view-enter .8s var(--ease) both; }
@keyframes view-enter { from { opacity: 0; transform: translateY(28px); filter: blur(8px); clip-path: inset(0 0 8% 0); } to { opacity: 1; transform: translateY(0); filter: blur(0); clip-path: inset(0); } }
.header { position: sticky; top: 0; z-index: 40; background: linear-gradient(180deg, rgba(3, 5, 9, .84), rgba(3, 5, 9, .62)); border-bottom: 1px solid rgba(171, 194, 214, .09); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.nav { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); white-space: nowrap; }
.aeterna-mark { width: 42px; height: 42px; color: var(--cyan); flex: none; }
.brand-word { display: block; font-size: 24px; font-weight: 450; letter-spacing: -.045em; line-height: 1.05; }
.brand-sub { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: #8398a9; }
.brand-symbol { display: none; }
.brand-light { color: var(--cyan); font-weight: 350; }
.nav nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; color: var(--muted-strong); font-size: 14px; letter-spacing: .025em; transition: color .25s; padding: 10px 0; }
.nav nav a:hover, .nav nav a[aria-current='page'], .nav nav a.active { color: var(--ink); }
.nav nav a::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav nav a:hover::after, .nav nav a[aria-current='page']::after, .nav nav a.active::after { transform: scaleX(1); }
.motion-toggle { flex: none; border: 1px solid rgba(160, 187, 206, .16); background: rgba(160, 190, 208, .035); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; color: #a4bac9; transition: color .25s, border-color .25s; }
.motion-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle[aria-pressed='true'] { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 48px; padding: 13px 20px; background: linear-gradient(120deg, #c5e1e9, #a9cbd7); color: #0b1722; border: 1px solid rgba(203, 235, 245, .8); border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: transform .35s var(--ease), background .25s, box-shadow .35s, border-color .25s; }
.button:hover { transform: translateY(-2px); background: linear-gradient(120deg, #d9ecf1, #bcdae4); box-shadow: 0 4px 20px rgba(143, 193, 211, .13); }
.button span { font-size: 14px; font-weight: 400; }
.button-outline { background: rgba(120, 161, 183, .045); border-color: rgba(167, 202, 223, .25); color: var(--cyan); }
.button-outline:hover { background: rgba(144, 196, 215, .09); border-color: rgba(169, 209, 228, .5); box-shadow: 0 4px 22px rgba(95, 154, 177, .06); }
.button-light { background: linear-gradient(120deg, #cce6ed, #b7d6e1); color: #0a1620; }
.button-small { padding: 10px 14px; min-height: 44px; font-size: 14px; }
.text-button, .inline-button, .quiet-link { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; color: var(--cyan); }
.text-button, .inline-button { transition: color .25s; }
.text-button:hover, .inline-button:hover { color: #effaff; }
.quiet-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.6; transition: color .25s; }
.quiet-link:hover { color: #effaff; }
/* The landing screen: the planet is the image; the interface stays restrained. */
.home-view { display: flex; flex-direction: column; }
.home-content { display: flex; flex-direction: column; position: relative; min-height: calc(100svh - var(--header-height)); width: 100%; padding-top: clamp(52px, 8vh, 100px); padding-bottom: 30px; }
.home-kicker { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 500; color: var(--gold); letter-spacing: .25em; text-transform: uppercase; margin-bottom: 28px; }
.home-kicker::before { content: ''; width: 24px; height: 1px; background: rgba(202, 184, 149, .65); }
.home-title { font-size: clamp(78px, 9vw, 134px); letter-spacing: -.073em; font-weight: 320; line-height: .9; color: #eff4f6; max-width: 660px; text-shadow: 0 3px 45px rgba(0, 0, 0, .18); }
.home-title span { display: block; color: #9bb9c8; font-weight: 280; }
.home-intro { margin-top: 29px; max-width: 420px; color: #a0afbb; font-size: 16px; line-height: 1.9; font-weight: 350; }
.home-portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: clamp(44px, 8vh, 110px); }
.portal-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 194px; padding: 27px 29px 24px; border: 1px solid rgba(174, 201, 220, .2); border-radius: 12px; background: linear-gradient(140deg, rgba(19, 32, 45, .78), rgba(6, 12, 20, .88) 66%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; box-shadow: inset 0 1px 0 rgba(203, 226, 238, .035), 0 20px 45px rgba(0, 0, 0, .19); transition: transform .55s var(--ease), border-color .4s, box-shadow .4s; }
.portal-card::before { content: ''; z-index: -1; position: absolute; width: 240px; height: 180px; right: -50px; top: -85px; background: radial-gradient(ellipse, rgba(91, 153, 185, .13), transparent 70%); transition: opacity .4s; opacity: .75; }
.portal-card::after { content: ''; position: absolute; height: 1px; top: 0; left: 12%; right: 12%; background: linear-gradient(90deg, transparent, rgba(189, 220, 236, .44), transparent); opacity: .55; transition: opacity .4s; }
.portal-card:hover { transform: translateY(-5px); border-color: rgba(180, 218, 236, .42); box-shadow: inset 0 1px 0 rgba(214, 236, 244, .07), 0 24px 55px rgba(0, 0, 0, .35); }
.portal-card:hover::before, .portal-card:hover::after { opacity: 1; }
.portal-number { font-size: 10px; letter-spacing: .12em; color: #688496; margin-bottom: 24px; line-height: 1; }
.portal-symbol { position: absolute; top: 23px; right: 27px; width: 30px; height: 30px; color: #83a8bc; opacity: .75; }
.portal-symbol svg { width: 100%; height: 100%; }
.portal-title { display: block; font-size: clamp(19px, 1.8vw, 25px); font-weight: 400; letter-spacing: -.035em; color: #ebf1f5; line-height: 1.3; padding-right: 22px; }
.portal-description { display: block; color: #849ba9; font-size: 14px; line-height: 1.8; max-width: 310px; padding-right: 12px; margin-top: 11px; }
.portal-arrow { position: absolute; bottom: 27px; right: 27px; font-size: 21px; line-height: 1; color: #9cb8c8; transition: transform .45s var(--ease), color .3s; }
.portal-card:hover .portal-arrow { transform: translate(3px, -3px); color: #d5eff9; }
.home-footnote { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 24px; font-size: 10px; letter-spacing: .035em; color: #6f8595; }
.home-caption { position: absolute; right: 72px; top: 43%; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #86a0b2; }
.home-caption::before { content: ''; width: 27px; height: 1px; background: #4f6a80; }
/* Route headings and common structure. */
.section { padding-top: 56px; padding-bottom: 80px; }
.view-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 42px; margin-bottom: 47px; }
.back-home { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted-strong); font-size: 14px; letter-spacing: .025em; }
.back-home:hover { color: var(--cyan); }
.view-index { font-size: 10px; color: #617889; text-transform: uppercase; letter-spacing: .2em; }
.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 43px; }
.view-heading h1 { font-size: clamp(48px, 5.4vw, 78px); font-weight: 330; letter-spacing: -.057em; }
.view-heading .eyebrow { margin-bottom: 21px; }
.view-heading .section-description { max-width: 410px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.5; color: var(--gold); letter-spacing: .19em; font-weight: 450; text-transform: uppercase; margin-bottom: 24px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(143, 202, 228, .4); }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 35px; }
.section-description { font-size: 14px; font-weight: 350; line-height: 1.9; color: var(--muted); max-width: 390px; }
.section-top .eyebrow { margin-bottom: 18px; }
[data-view-panel='atlas'], [data-view-panel='legal'], [data-view-panel='documents'] { background: linear-gradient(180deg, rgba(3, 7, 12, .73), rgba(3, 6, 11, .94) 560px); }
[data-view-panel='atlas'] .section, [data-view-panel='documents'] .section { padding-top: 0; }
.directory-toolbar { display: flex; gap: 10px; }
.search-field { position: relative; display: flex; align-items: center; flex: 1; gap: 11px; min-height: 50px; padding: 0 16px; background: rgba(11, 20, 30, .86); border: 1px solid var(--line); border-radius: 7px; }
.search-field svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #7996aa; stroke-width: 1.4; }
.search-field input { border: 0; width: 100%; outline: none; background: none; color: var(--ink); padding: 13px 0; font-size: 14px; min-width: 0; }
.search-field input:focus-visible { outline: 0; }
.search-field:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 2px rgba(154, 201, 225, .04); }
.search-field input::placeholder { color: #718798; }
.search-field kbd { padding: 0 5px; border: 1px solid rgba(166, 195, 215, .14); border-radius: 3px; font-size: 10px; color: #5f788b; background: rgba(93, 130, 155, .04); }
.select-field select { border: 1px solid var(--line); background: #0b141e; color: var(--muted-strong); border-radius: 7px; min-height: 50px; padding: 0 30px 0 14px; max-width: 220px; font-size: 14px; }
select option { background: #101b26; color: #dee8ef; }
.country-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.country-tab { min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid transparent; border-radius: 5px; background: none; color: #8a9daa; font-size: 14px; transition: color .2s, border-color .2s, background .2s; }
.country-tab .tab-code { font-size: 10px; color: #596e80; letter-spacing: .025em; }
.country-tab.active { background: rgba(160, 204, 226, .1); border-color: rgba(151, 197, 221, .22); color: #d7eaf3; }
.country-tab.active .tab-code { color: #82a8bf; }
.country-tab:hover:not(.active) { background: rgba(127, 174, 196, .05); color: #b9d0de; }
.country-note { display: flex; align-items: flex-start; gap: 28px; padding: 16px 19px; background: rgba(40, 69, 88, .14); border: 1px solid rgba(132, 181, 205, .16); border-radius: 7px; color: #8fa9ba; font-size: 14px; line-height: 1.85; }
.country-note strong { font-weight: 500; color: #c7dde9; }
.country-note a, .country-note button { flex: none; color: var(--cyan); font-size: 14px; margin-left: auto; }
.country-note a { text-decoration: underline; text-decoration-color: rgba(177, 222, 234, .4); text-underline-offset: 4px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: #6f8596; padding: 27px 0 19px; }
.results-heading p { color: #afc0ce; font-size: 14px; }
.results-heading .inline-button { margin-left: 12px; font-size: 14px; }
.provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.provider-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 23px; background: linear-gradient(140deg, rgba(20, 31, 44, .92), rgba(9, 15, 24, .96) 76%); border: 1px solid rgba(152, 182, 205, .16); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(211, 232, 241, .025), 0 10px 24px rgba(0, 0, 0, .1); transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.provider-card:hover { border-color: rgba(152, 195, 218, .35); transform: translateY(-3px); box-shadow: 0 18px 35px rgba(0, 0, 0, .2); }
.provider-card.selected { border-color: rgba(170, 219, 237, .66); box-shadow: 0 0 0 1px rgba(144, 199, 223, .12), 0 15px 35px rgba(0, 0, 0, .2); }
.card-country { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; font-size: 10px; letter-spacing: .09em; color: #698296; }
.compare-check { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #8b9dab; font-size: 14px; letter-spacing: 0; cursor: pointer; }
.compare-check input { accent-color: #abcbdc; width: 18px; height: 18px; margin: 0; }
.provider-heading { display: flex; gap: 13px; align-items: center; min-height: 55px; margin-bottom: 17px; }
.provider-logo { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border: 1px solid rgba(151, 193, 216, .22); border-radius: 10px; color: #aacbdc; background: linear-gradient(135deg, #172b3d, #101b28); font-size: 20px; font-weight: 350; box-shadow: inset 0 1px 0 rgba(203, 227, 239, .05); }
.provider-heading h3 { font-size: 17px; font-weight: 450; line-height: 1.3; }
.provider-heading small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; color: #778c9c; overflow-wrap: anywhere; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; background: rgba(108, 185, 186, .075); border: 1px solid rgba(137, 197, 197, .15); border-radius: 4px; color: #94bdbb; padding: 4px 8px; font-size: 12px; line-height: 1.55; }
.status-badge::before { content: ''; width: 4px; height: 4px; flex: none; border-radius: 50%; background: #80b4b2; }
.status-badge.uncertain { background: rgba(195, 166, 115, .07); color: #bda982; border-color: rgba(193, 167, 119, .18); }
.status-badge.uncertain::before { background: #bba16a; }
.card-meta { display: grid; gap: 11px; margin: 20px 0; }
.card-meta div { display: grid; grid-template-columns: 87px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; }
.card-meta dt { color: #6d8394; }
.card-meta dd { color: #a1b5c4; line-height: 1.8; margin: 0; }
.card-pricing { margin: 0 0 19px; }
.pricing-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .115em; color: #6d879a; margin-bottom: 10px; }
.pricing-label .inline-button { color: #91bccf; font-size: 14px; letter-spacing: 0; }
.fee-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fee-tile { min-width: 0; padding: 12px 11px; background: rgba(4, 10, 17, .46); border: 1px solid rgba(133, 165, 190, .13); border-radius: 7px; }
.fee-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fee-tile.published { background: linear-gradient(135deg, rgba(35, 62, 77, .35), rgba(13, 27, 38, .5)); border-color: rgba(143, 190, 211, .2); }
.fee-tile span { display: block; color: #8fa8b9; font-size: 14px; line-height: 1.55; }
.fee-tile strong { display: block; color: #d6e8f1; font-size: 21px; letter-spacing: -.025em; line-height: 1.35; font-weight: 450; margin: 7px 0 6px; overflow-wrap: anywhere; }
.fee-tile:not(.published) strong { color: #aebfce; font-size: 14px; font-weight: 400; margin: 8px 0; }
.fee-tile small { display: block; font-size: 14px; color: #8094a5; line-height: 1.7; }
.fee-tile .tile-status { color: #8a9fae; font-size: 12px; letter-spacing: .025em; margin-top: 8px; }
.fee-basis { font-size: 12px; color: #758c9c; line-height: 1.75; margin-top: 10px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.service-tags span { font-size: 12px; padding: 4px 7px; color: #87a0b1; border: 1px solid rgba(127, 168, 191, .14); border-radius: 4px; background: rgba(74, 119, 146, .035); }
.onboarding-open { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 19px; padding: 11px 12px; font-size: 14px; font-weight: 450; border: 1px solid rgba(149, 201, 220, .18); border-radius: 6px; background: rgba(126, 185, 209, .06); color: #afcfdf; transition: background .25s, border-color .25s; }
.onboarding-open:hover { background: rgba(145, 202, 224, .11); border-color: rgba(154, 207, 229, .35); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border-top: 1px solid rgba(151, 183, 205, .1); padding-top: 16px; margin-top: 16px; }
.profile-open { min-height: 44px; display: flex; align-items: center; gap: 16px; padding: 0; border: 0; background: none; color: #d5e5ee; font-size: 14px; font-weight: 400; }
.profile-open:hover { color: var(--cyan); }
.card-actions > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: #849faf; }
.directory-footnote { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.9; color: #778e9f; margin-top: 25px; max-width: 980px; }
.info-icon { width: 16px; height: 16px; display: inline-grid; place-items: center; flex: none; margin-top: 2px; font-size: 10px; color: #8eaabf; border: 1px solid rgba(135, 172, 199, .42); border-radius: 50%; }
.load-more { display: flex; width: fit-content; margin: 32px auto 0; font-size: 14px; }
.empty-state { text-align: center; padding: 62px 25px; border: 1px dashed rgba(142, 183, 208, .24); background: rgba(11, 23, 35, .5); border-radius: 10px; }
.empty-state p { font-size: 14px; color: var(--muted); margin: 12px 0 22px; }
.empty-icon { color: #829cb0; font-size: 34px; margin-bottom: 15px; }
/* Legal help is a service selection page, with a focused intake dialog. */
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; padding-bottom: 65px; }
.legal-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; padding: 32px 34px 0; min-height: 330px; background: linear-gradient(130deg, rgba(22, 35, 49, .91), rgba(9, 16, 25, .97) 76%); border: 1px solid rgba(157, 190, 212, .19); border-radius: 14px; box-shadow: 0 20px 45px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(218, 235, 243, .03); transition: transform .45s var(--ease), border-color .3s; }
.legal-card::before { content: ''; position: absolute; right: -120px; top: -140px; z-index: -1; width: 360px; height: 360px; background: radial-gradient(circle, rgba(97, 146, 174, .1), transparent 65%); }
.legal-card:hover { transform: translateY(-4px); border-color: rgba(155, 197, 222, .38); }
.legal-icon { display: grid; place-items: center; width: 45px; height: 45px; color: #93bbce; background: rgba(131, 185, 210, .04); border: 1px solid rgba(149, 192, 218, .18); border-radius: 11px; margin-bottom: 22px; }
.legal-icon svg { width: 24px; height: 24px; }
.legal-number { position: absolute; right: 32px; top: 33px; color: #5c798c; font-size: 10px; letter-spacing: .12em; }
.legal-card h2 { max-width: 470px; font-size: clamp(25px, 2.5vw, 35px); font-weight: 350; letter-spacing: -.045em; line-height: 1.18; margin-bottom: 16px; }
.legal-card p { max-width: 490px; font-size: 14px; color: #8ba3b5; line-height: 1.9; }
.legal-card ul { list-style: none; margin: 22px 0 27px; padding: 0; color: #a2b6c6; font-size: 14px; line-height: 2; }
.legal-card li { position: relative; padding-left: 17px; }
.legal-card li::before { content: ''; position: absolute; top: .94em; left: 1px; width: 4px; height: 4px; border: 1px solid #698c9d; transform: rotate(45deg); }
.legal-card-footer { flex-wrap: wrap; margin-top: auto; padding: 19px 0 23px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.legal-card-footer > span { font-size: 12px; color: #6b879a; }
.legal-card-footer button { min-height: 44px; display: inline-flex; align-items: center; gap: 24px; background: none; border: 0; padding: 2px 0; color: #bfdbe9; font-size: 14px; }
.legal-card-footer button:hover { color: #fff; }
.legal-note, .legal-intro-note { margin: -35px 0 55px; font-size: 14px; line-height: 1.9; color: #758e9f; max-width: 960px; }
.legal-intake { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.legal-intake .form-grid { gap: 17px; }
.legal-brief-preview { width: 100%; min-height: 235px; resize: vertical; border: 1px solid var(--line); border-radius: 7px; padding: 18px; background: #07111c; color: #c4d6e2; font-size: 14px; line-height: 1.85; }
.legal-brief-preview h3 { margin-bottom: 12px; }
.legal-brief-preview textarea { width: 100%; min-height: 300px; resize: vertical; background: #fffefb; color: var(--document-ink); border: 1px solid #ddded8; border-radius: 6px; padding: 24px; font-family: Georgia, Cambria, Times, serif; font-size: 16px; line-height: 1.85; color-scheme: light; scrollbar-color: #a6adae #f6f4ef; }
.legal-output { padding-top: 24px; border-top: 1px solid var(--line); }
.legal-output > h3 { font-size: 17px; margin-bottom: 16px; }
.legal-output .export-actions { margin-top: 18px; }
/* Live drafting workspace: consistent visual weight on both sides. */
.documents { background: none; color: var(--text); }
.documents h2, .documents h3 { color: var(--ink); }
.documents .eyebrow { color: var(--gold); }
.documents .section-description { color: var(--muted); }
.workspace-types, .brief-types { display: flex; gap: 10px; margin-bottom: 25px; }
.brief-types button { display: flex; align-items: center; justify-content: space-between; flex: 0 1 286px; padding: 14px 18px; border: 1px solid rgba(152, 192, 215, .19); border-radius: 7px; background: rgba(16, 29, 42, .7); color: #8da9bc; font-size: 14px; text-align: left; gap: 15px; transition: border-color .3s, background .3s, color .3s; }
.brief-types button.active { background: linear-gradient(125deg, rgba(51, 80, 96, .45), rgba(26, 46, 61, .8)); color: #d4e9f3; border-color: rgba(163, 207, 230, .36); }
.brief-types button:hover:not(.active) { background: rgba(41, 66, 85, .4); color: #a8c6d7; }
.brief-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; padding-bottom: 65px; }
.brief-form-shell, .draft-shell { min-width: 0; padding: 29px; border: 1px solid rgba(145, 182, 207, .2); border-radius: 13px; background: linear-gradient(135deg, rgba(17, 29, 43, .95), rgba(9, 16, 26, .98)); box-shadow: 0 14px 35px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(222, 238, 247, .03); }
.brief-progress { display: flex; gap: 8px; margin-bottom: 20px; }
.brief-progress button, .brief-progress span { position: relative; height: 44px; flex: 1; min-width: 22px; padding: 0; background: none; border: 0; border-radius: 4px; }
.brief-progress button::after, .brief-progress span::after { content: ""; position: absolute; top: 20px; left: 0; right: 0; height: 4px; background: #263849; border-radius: 4px; transition: background .3s; }
.brief-progress button.done::after, .brief-progress span.done::after { background: #567d94; }
.brief-progress button.current::after, .brief-progress span.current::after { background: #b0d4e3; box-shadow: 0 0 12px rgba(143, 192, 216, .09); }
.brief-progress button { cursor: pointer; }
.form-heading h3 { font-size: 24px; font-weight: 350; letter-spacing: -.045em; margin-bottom: 10px; }
.form-heading p { font-size: 14px; color: #829cad; line-height: 1.9; margin-bottom: 29px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 17px; }
.field { display: flex; flex-direction: column; gap: 8px; color: #a5b9c8; font-size: 14px; line-height: 1.6; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 45px; padding: 11px 12px; border: 1px solid rgba(149, 182, 205, .21); border-radius: 6px; background: #0a1521; color: #d3e3ed; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(174, 219, 238, .5); box-shadow: 0 0 0 2px rgba(147, 195, 217, .035); }
.field input::placeholder, .field textarea::placeholder { color: #587186; }
.field textarea { min-height: 91px; resize: vertical; }
.field small { font-size: 12px; color: #698396; line-height: 1.7; }
.form-privacy { font-size: 12px; line-height: 1.8; color: #698296; margin-top: 22px; }
.brief-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 66px; padding-top: 23px; margin-top: 28px; border-top: 1px solid rgba(137, 173, 196, .14); }
.brief-controls .button { font-size: 14px; min-height: 44px; padding: 11px 16px; gap: 20px; }
.brief-controls .quiet-link { font-size: 14px; }
.brief-controls > span { margin-left: auto; color: #6b8599; font-size: 12px; }
.form-error { color: #efc7a2; font-size: 14px; margin-top: 14px; }
.form-error:empty { display: none; }
.clear-brief { min-height: 44px; margin-top: 12px; padding: 0; background: none; border: 0; font-size: 12px; color: #698294; }
.clear-brief:hover { color: #b6c8d4; }
.small-label { color: #7492a7; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.draft-shell { position: sticky; top: calc(var(--header-height) + 22px); background: linear-gradient(145deg, #faf9f5, var(--document-paper) 75%); color: var(--document-ink); border-color: #e0dfd7; box-shadow: 0 24px 70px rgba(0, 0, 0, .27), inset 0 1px 0 #fff; color-scheme: light; }
.draft-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 17px; }
.draft-heading h3 { font-size: 25px; font-weight: 350; letter-spacing: -.04em; }
.draft-heading .small-label { margin-bottom: 9px; color: #52636e; }
.draft-tag { border: 1px solid #c4cdd0; border-radius: 4px; padding: 4px 7px; color: #52616c; background: #edf0ec; font-size: 12px; line-height: 1.5; letter-spacing: .1em; flex: none; }
.draft-hint { color: #576773; margin: 16px 0 19px; font-size: 14px; line-height: 1.8; }
.draft-output { display: block; width: 100%; min-height: 456px; max-height: 58vh; resize: vertical; overflow-wrap: anywhere; white-space: pre-wrap; border: 1px solid #ddded8; border-radius: 4px; background: #fffefb; color: var(--document-ink); padding: 26px; font-family: Georgia, Cambria, Times, serif; font-size: 16px; letter-spacing: .005em; line-height: 1.85; box-shadow: 0 4px 18px rgba(56, 53, 45, .045); scrollbar-color: #a6adae #f6f4ef; }
.draft-status { color: #526768; font-size: 14px; margin: 14px 0 18px; line-height: 1.7; }
.export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.draft-shell .button, .export-actions .button { font-size: 14px; padding: 11px 14px; min-height: 44px; gap: 13px; }
.draft-shell .quiet-link { font-size: 14px; margin-left: 5px; }
.draft-review { margin-top: 20px; padding-top: 18px; border-top: 1px solid #d8dcd7; color: #56626c; font-size: 14px; line-height: 1.9; }
.draft-contact { margin-bottom: 15px; padding: 14px; border: 1px solid #cbd7d9; border-radius: 6px; background: #eaf0ef; overflow-wrap: anywhere; }
.draft-contact > span { display: block; color: #526773; font-size: 12px; letter-spacing: .13em; margin-bottom: 6px; }
.draft-contact a { color: #25566a; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.draft-contact small { display: block; font-size: 12px; line-height: 1.8; color: #576773; margin-top: 6px; }
.review-status { display: inline-block; padding: 5px 8px; margin-bottom: 16px; color: #c0ad8b; border: 1px solid rgba(179, 156, 108, .2); background: rgba(194, 165, 113, .055); border-radius: 4px; font-size: 12px; }
.review-summary { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 20px; }
.review-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 15px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.review-row:last-child { border: 0; }
.review-row dt { color: #7c98ab; }
.review-row dd { margin: 0; color: #c0d4e1; }
.review-row dd.unresolved { color: #c0ad8b; }
.review-gate { padding: 18px; background: rgba(174, 148, 104, .05); color: #a2947e; border: 1px solid rgba(170, 146, 103, .12); border-radius: 6px; font-size: 14px; line-height: 1.9; margin-bottom: 17px; }
.review-gate h4 { font-size: 14px; margin-bottom: 8px; }
/* Provider dialogs and source material. */
.modal { width: min(910px, calc(100% - 40px)); max-height: min(86svh, 1050px); overflow: auto; padding: 34px; background: linear-gradient(135deg, #142233, #0a1422 67%); color: var(--text); border: 1px solid rgba(159, 201, 225, .26); border-radius: 17px; box-shadow: 0 32px 130px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(212, 232, 243, .05); scrollbar-color: #3b556c #0b1522; }
.modal::backdrop { background: rgba(0, 3, 8, .76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal[open] { animation: modal-enter .5s var(--ease) both; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(18px) scale(.978); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.modal-heading h2 { font-size: 42px; font-weight: 350; letter-spacing: -.05em; }
.modal-heading .eyebrow { margin-bottom: 15px; font-size: 10px; }
.close-modal { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid rgba(143, 184, 209, .23); background: rgba(98, 143, 173, .04); color: #a6bfce; border-radius: 50%; font-size: 23px; font-weight: 300; line-height: 1; padding: 0; transition: background .25s, color .25s; }
.close-modal:hover { background: rgba(127, 184, 210, .1); color: #fff; }
.detail-entity { color: #819aaf; margin-top: 11px; font-size: 14px; overflow-wrap: anywhere; }
.detail-subnav { display: flex; gap: 14px; margin: 21px 0 24px; border-bottom: 1px solid rgba(141, 180, 204, .18); overflow-x: auto; }
.detail-subnav button { min-height: 44px; border: 0; border-bottom: 1px solid transparent; color: #7e9aad; background: none; padding: 12px 4px; font-size: 14px; white-space: nowrap; }
.detail-subnav button.active { color: #cce8f4; border-bottom-color: #b4dcea; }
.detail-body { font-size: 15px; line-height: 1.85; color: #a1b7c8; }
.detail-body h3 { margin: 27px 0 12px; font-size: 17px; font-weight: 450; }
.detail-body h3:first-child { margin-top: 0; }
.detail-body p { margin-bottom: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.detail-body strong { color: #ccdee8; font-weight: 500; }
.detail-body ul { padding-left: 20px; margin: 10px 0 23px; }
.detail-body li { margin: 7px 0; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 24px; }
.detail-fact { padding: 15px 16px; border: 1px solid rgba(143, 182, 207, .15); border-radius: 7px; background: rgba(0, 7, 16, .28); }
.detail-fact span { display: block; font-size: 12px; letter-spacing: .1em; color: #6b8aa2; margin-bottom: 7px; }
.detail-fact strong { display: block; font-size: 14px; color: #b9d0df; font-weight: 450; overflow-wrap: anywhere; }
.detail-note { border: 1px solid rgba(190, 167, 116, .16); border-radius: 6px; padding: 14px 16px; background: rgba(193, 166, 116, .055); color: #b1a183; font-size: 14px; line-height: 1.85; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.detail-actions .button { font-size: 14px; }
.source-list a, .contact-links a { display: block; margin-bottom: 10px; color: #aad0e2; font-size: 14px; text-decoration: underline; text-decoration-color: rgba(146, 193, 219, .35); text-underline-offset: 4px; overflow-wrap: anywhere; }
.source-list a:hover, .contact-links a:hover { color: #e0f4fe; }
.pricing-basis { border-left: 2px solid #6f9bb4; padding: 14px 16px; background: rgba(96, 150, 186, .07); margin-bottom: 19px !important; color: #9eb9cc; }
.fee-table-wrap { overflow-x: auto; border: 1px solid rgba(140, 178, 204, .15); border-radius: 8px; }
.fee-table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.65; }
.fee-table th, .fee-table td { padding: 14px 13px; border-bottom: 1px solid rgba(138, 180, 205, .15); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.fee-table thead th { background: rgba(48, 78, 104, .21); color: #84a6bc; font-size: 12px; font-weight: 450; letter-spacing: .08em; }
.fee-table tbody tr:last-child > * { border-bottom: 0; }
.fee-table tbody th { width: 26%; color: #c0d5e4; font-weight: 450; }
.fee-table td.fee-amount { width: 24%; color: #c9e7f3; background: rgba(88, 142, 174, .065); font-size: 14px; font-weight: 500; line-height: 1.6; }
.fee-table td:last-child { color: #96aebf; }
.fee-table td small { display: block; margin-top: 7px; color: #6e8aa0; font-size: 12px; line-height: 1.8; }
.fee-status { display: block; color: #6e8da4; font-size: 12px; line-height: 1.6; font-weight: 400; margin-top: 6px; }
.fee-sources { margin-top: 19px; }
.clause-outline { margin: 22px 0; font-size: 14px; color: #8ea7bb; }
.clause-outline summary { color: #aacddd; font-weight: 450; cursor: pointer; }
.clause-outline p { padding-top: 15px; line-height: 1.9; }
.onboarding-heading > p { color: #8aa8bc; font-size: 14px; margin: 12px 0 24px; }
.onboarding-heading .small-label { display: block; margin-bottom: 9px; }
.onboarding-steps { list-style: none; padding: 0 !important; margin: 26px 0 !important; }
.onboarding-steps > li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 17px; margin: 0 0 15px !important; padding: 20px; background: linear-gradient(130deg, rgba(38, 63, 85, .25), rgba(5, 13, 24, .3)); border: 1px solid rgba(144, 184, 210, .16); border-radius: 9px; }
.onboarding-number { display: grid; place-items: center; width: 35px; height: 35px; flex: none; align-self: start; background: rgba(131, 192, 218, .07); border: 1px solid rgba(141, 192, 221, .2); color: #abcbdc; border-radius: 50%; font-size: 10px; }
.onboarding-steps h4 { color: #c8dfe9; margin: 9px 0; font-size: 16px; }
.onboarding-steps p { color: #8ca8be; font-size: 15px; margin-bottom: 12px; }
.onboarding-steps ul { color: #95b0c4; font-size: 15px; line-height: 1.9; margin: 9px 0 !important; }
.onboarding-steps .source-list:empty { display: none; }
.step-basis { display: inline-flex; padding: 3px 7px; border: 1px solid rgba(197, 173, 119, .13); border-radius: 4px; background: rgba(186, 161, 108, .045); color: #ae9d7a; font-size: 12px; letter-spacing: .025em; }
.step-basis.confirmed { background: rgba(127, 187, 194, .07); border-color: rgba(123, 182, 197, .16); color: #8db7c0; }
.onboarding-checklist { border: 1px solid rgba(129, 182, 209, .17); border-radius: 8px; padding: 21px 23px; background: rgba(103, 155, 187, .06); margin: 26px 0; }
.onboarding-checklist h3 { margin-top: 0 !important; }
.onboarding-checklist .detail-note { border: 0; padding: 0; margin-bottom: 0; background: none; }
.compare-modal { width: min(1140px, calc(100% - 40px)); }
.comparison-scroll { overflow-x: auto; border-radius: 7px; }
.comparison-table { border-collapse: collapse; table-layout: fixed; min-width: 740px; width: 100%; font-size: 14px; line-height: 1.8; }
.comparison-table th, .comparison-table td { padding: 15px; border: 1px solid rgba(133, 175, 202, .18); vertical-align: top; overflow-wrap: anywhere; }
.comparison-table th { text-align: left; color: #cce1eb; background: rgba(45, 77, 102, .28); font-size: 14px; font-weight: 450; }
.comparison-table td:first-child { width: 137px; background: rgba(33, 56, 79, .2); color: #7a9ab1; }
.comparison-table tr:nth-child(even) td:not(:first-child) { background: rgba(5, 13, 22, .33); }
.comparison-table a { color: #9fc7de; text-decoration: underline; text-underline-offset: 3px; }
.comparison-table ul { margin: 0; padding-left: 16px; }
.comparison-table .fee-table { font-size: 14px; }
.comparison-table .fee-table th, .comparison-table .fee-table td { padding: 8px; }
.comparison-table .fee-table td.fee-amount { font-size: 14px; }
.comparison-table .pricing-basis { font-size: 14px; }
.compare-bar { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 30px; padding: 15px 18px 15px 24px; max-width: calc(100% - 30px); background: rgba(21, 41, 58, .93); color: #d9e9f4; border: 1px solid rgba(159, 208, 236, .32); border-radius: 12px; box-shadow: 0 13px 50px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(214, 235, 248, .045); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.compare-bar strong { display: block; color: #e1eff6; font-size: 14px; font-weight: 450; }
.compare-bar span { color: #829eb2; font-size: 12px; }
.compare-bar .button { font-size: 14px; min-height: 44px; padding: 9px 14px; gap: 18px; white-space: nowrap; }
.compare-clear { min-width: 44px; min-height: 44px; background: none; border: 0; color: #9db4c7; font-size: 24px; font-weight: 300; padding: 0; line-height: 1; }
.method-content { color: #9eb5c7; font-size: 15px; line-height: 1.95; }
.method-content h3 { margin: 25px 0 11px; font-size: 18px; font-weight: 450; }
.method-content p { margin: 12px 0; }
.method-content ol { padding-left: 20px; }
.method-content li { margin: 14px 0; }
.method-content strong { color: #c7dce8; font-weight: 500; }
.method-strip { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 35px; padding-top: 35px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.method-strip .eyebrow { margin: 0 0 15px; }
.method-strip h3 { color: #bfceda; font-size: 25px; font-weight: 350; line-height: 1.4; }
.method-strip > p { color: #718ca2; font-size: 14px; line-height: 1.9; max-width: 370px; }
.method-strip .button { font-size: 14px; }
.footer { position: relative; z-index: 3; border-top: 1px solid rgba(149, 184, 208, .1); background: rgba(2, 5, 10, .91); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; color: #8aa0b0; }
.footer-inner .brand { gap: 9px; }
.footer-inner .aeterna-mark { width: 24px; height: 24px; }
.footer-inner .brand-word { font-size: 17px; }
.footer-inner .brand-sub { display: none; }
.footer-note { font-size: 12px; line-height: 1.8; color: #8aa0b0; }
.footer-inner .text-button { color: #7897ad; font-size: 14px; }
.footer-top { display: flex; align-items: center; gap: 30px; padding-bottom: 25px; }
.footer-top p { color: #69879b; font-size: 14px; }
.footer-top > a:last-child { margin-left: auto; font-size: 14px; color: #90b3c7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: #607e94; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 99px; max-width: calc(100% - 35px); padding: 13px 20px; transform: translateX(-50%) translateY(8px); background: #193044; border: 1px solid rgba(149, 199, 229, .35); border-radius: 7px; color: #d6e8f2; box-shadow: 0 12px 50px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; text-align: center; font-size: 14px; transition: opacity .25s, transform .4s var(--ease); }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -75px; left: 20px; z-index: 1000; background: #c1deec; color: #0b1825; padding: 12px 18px; border-radius: 6px; font-size: 14px; }
.skip:focus { top: 15px; }
/* Defensive styling for legacy document cards, kept while routes evolve. */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; position: relative; padding: 28px 30px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(130deg, #122234, #0a1523); }
.service-index { position: absolute; right: 25px; top: 23px; color: #54778f; font-size: 10px; }
.service-illustration { display: flex; align-items: center; gap: 10px; height: 70px; color: #a4c8dc; margin-bottom: 18px; }
.service-illustration > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #36566e; border-radius: 50%; font-size: 12px; }
.service-illustration > b { color: #6788a0; font-weight: 400; }
.service-card h3 { font-size: 23px; font-weight: 350; margin-bottom: 13px; }
.service-card p { color: #8da9be; font-size: 14px; line-height: 1.9; }
.service-card ul { list-style: none; margin: 20px 0 25px; padding: 0; font-size: 14px; line-height: 2; color: #8ba8bd; }
.service-card li::before { content: '+'; color: #85abc4; margin-right: 9px; }
.service-link { display: flex; justify-content: space-between; margin-top: auto; border: 0; border-top: 1px solid var(--line); padding: 17px 0 0; background: none; color: #b4d7e7; font-size: 14px; }
.document-callout { display: grid; grid-template-columns: 185px 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; }
.document-callout > span { color: #7597af; font-size: 12px; letter-spacing: .16em; }
.document-callout p { color: #91adc3; font-size: 14px; line-height: 1.85; }
.files-art { position: relative; isolation: isolate; }
.files-art i { position: absolute; width: 40px; height: 51px; border: 1px solid #547e99; border-radius: 3px; left: 23px; top: 9px; transform: rotate(14deg); background: #122b3e; }
.files-art i:nth-child(2) { left: 12px; top: 5px; transform: rotate(4deg); }
.files-art i:nth-child(3) { left: 3px; top: 0; transform: rotate(-7deg); }
.files-art i:last-child::after { content: ''; position: absolute; left: 9px; right: 9px; height: 12px; top: 15px; border-top: 1px solid #82a7bd; border-bottom: 1px solid #82a7bd; }
/* Brand details, service outcomes, and the paper document surface. */
.aeterna-mark { object-fit: contain; filter: drop-shadow(0 0 12px rgba(160, 209, 228, .08)); }
.home-intro { color: #c9d7df; font-size: 18px; font-weight: 400; line-height: 1.65; }
.home-support { max-width: 425px; margin-top: 12px; font-size: 14px; line-height: 1.85; color: #96aab9; animation: home-reveal 1.7s var(--ease) .32s both; }
.portal-arrow svg { width: 20px; height: 20px; }
.legal-deliverable { margin: 0 0 25px; padding: 18px 20px; background: linear-gradient(125deg, rgba(85, 131, 150, .12), rgba(32, 57, 73, .12)); border: 1px solid rgba(155, 199, 214, .19); border-radius: 8px; }
.legal-deliverable > span { display: block; margin-bottom: 7px; color: #95b6c8; font-size: 12px; line-height: 1.5; }
.legal-deliverable strong { display: block; color: #dce9ef; font-size: 16px; line-height: 1.65; font-weight: 450; }
.expertise-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.45fr); gap: 60px; margin: 0 0 58px; padding: 40px; border: 1px solid rgba(176, 197, 211, .17); border-radius: 14px; background: linear-gradient(135deg, rgba(26, 38, 48, .9), rgba(8, 16, 24, .96)); box-shadow: inset 0 1px 0 rgba(224, 234, 240, .025), 0 18px 45px rgba(0, 0, 0, .16); }
.expertise-identity { min-width: 0; }
.expertise-kicker { display: block; color: var(--gold); font-size: 11px; letter-spacing: .17em; line-height: 1.7; margin-bottom: 22px; }
.expertise-identity h2 { color: #e7edf1; font-size: clamp(30px, 3.1vw, 43px); font-weight: 350; line-height: 1.18; letter-spacing: -.045em; }
.expertise-role { color: #9cb4c3; margin-top: 15px; max-width: 340px; font-size: 15px; line-height: 1.85; }
.expertise-email { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 18px; color: #b1deea; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(177, 222, 234, .35); text-underline-offset: 5px; }
.expertise-email:hover, .footer-email:hover { color: #edf2f5; text-decoration-color: currentColor; }
.footer-email { display: inline-flex; align-items: center; min-height: 44px; color: #a0bfce; font-size: 14px; overflow-wrap: anywhere; }
.legal-contact { margin-bottom: 32px; padding: 22px 0; border-top: 1px solid rgba(176, 197, 211, .17); }
.legal-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cyan); font-size: 16px; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(177, 222, 234, .35); text-underline-offset: 5px; }
.legal-contact a:hover { color: var(--ink); text-decoration-color: currentColor; }
.expertise-detail { min-width: 0; }
.expertise-detail > p { color: #a7bbc8; font-size: 15px; line-height: 1.9; }
.expertise-process { display: grid; gap: 18px; list-style: none; margin: 27px 0 18px; padding: 0; }
.expertise-process li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 15px; align-items: start; }
.expertise-process li > span { color: #89a7b9; font-size: 11px; letter-spacing: .1em; padding-top: 6px; }
.expertise-process strong { display: block; color: #d0e0e9; font-size: 15px; font-weight: 450; line-height: 1.65; }
.expertise-process p { color: #8ca6b8; font-size: 14px; line-height: 1.8; margin-top: 5px; }
.expertise-action.service-link { display: inline-flex; align-items: center; gap: 28px; width: fit-content; min-height: 48px; padding-top: 18px; color: #c1dfe9; font-size: 14px; }
.draft-shell h3, .draft-shell h4 { color: var(--document-ink); }
.draft-shell .button { color: #f2f6f7; background: linear-gradient(125deg, #263f4c, #19323f); border-color: #243e4d; box-shadow: 0 3px 9px rgba(36, 51, 62, .07); }
.draft-shell .button:hover { background: linear-gradient(125deg, #35596c, #254c60); box-shadow: 0 5px 14px rgba(36, 51, 62, .12); }
.draft-shell .button-outline { color: #2a5264; background: transparent; border-color: #aebdc2; box-shadow: none; }
.draft-shell .button-outline:hover { color: #183d4e; background: #e6ece9; border-color: #7997a3; }
.draft-shell .quiet-link, .draft-shell .text-button, .draft-shell .inline-button { color: #29586b; }
.draft-shell .quiet-link:hover, .draft-shell a:hover { color: #103e51; }
.draft-shell :focus-visible, .legal-brief-preview textarea:focus-visible { outline-color: #2e748d; }
.draft-shell ::selection, .legal-brief-preview textarea::selection { background: #c6dce1; color: #223039; }
.workspace-mobile-tabs, .workspace-mobile-actions { display: none; }

/* Responsive layouts preserve readable forms, fees, and navigation. */
@media (min-width: 1600px) {
  .home-title { font-size: 145px; }
  .home-content { padding-top: 100px; padding-bottom: 42px; }
  .home-portals { padding-top: 120px; }
  .portal-card { min-height: 213px; padding: 31px 33px 28px; }
  .home-intro { font-size: 16px; }
}
@media (max-width: 1100px) {
  .wrap { padding-left: 36px; padding-right: 36px; }
  .nav { gap: 25px; }
  .nav nav { gap: 22px; }
  .home-title { font-size: 105px; }
  .home-intro { max-width: 365px; font-size: 16px; }
  .home-caption { right: 42px; font-size: 10px; }
  .portal-card { padding: 25px 23px 23px; min-height: 206px; }
  .portal-symbol { right: 23px; top: 23px; width: 26px; height: 26px; }
  .portal-title { font-size: 22px; }
  .portal-description { font-size: 14px; padding-right: 14px; }
  .portal-arrow { right: 22px; bottom: 25px; }
  .view-heading { gap: 40px; }
  .view-heading .section-description { max-width: 350px; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-toolbar { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .select-field { flex: 1; }
  .select-field select { width: 100%; max-width: none; }
  .brief-layout { gap: 18px; }
  .brief-form-shell, .draft-shell { padding: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .draft-output { padding: 17px; min-height: 480px; }
  .draft-heading h3 { font-size: 23px; }
  .legal-card { padding: 28px 28px 0; }
  .legal-number { top: 30px; right: 28px; }
  .method-strip { grid-template-columns: 1fr 1fr; }
  .method-strip .button { grid-column: 1 / -1; width: fit-content; }
}
@media (max-width: 800px) {
  :root { --header-height: 122px; }
  .nav { flex-wrap: wrap; align-content: center; gap: 0 15px; padding-top: 10px; padding-bottom: 6px; }
  .nav nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; gap: 14px; }
  .nav nav a { min-height: 52px; padding: 5px 0; line-height: 1.35; }
  .motion-toggle { margin-left: auto; }
  .wrap { padding-left: 27px; padding-right: 27px; }
  .nav { min-height: var(--header-height); gap: 0 15px; }
  .aeterna-mark { width: 35px; height: 35px; }
  .brand { gap: 10px; }
  .brand-word { font-size: 21px; }
  .brand-sub { font-size: 10px; letter-spacing: .29em; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 14px; }
  .motion-toggle { width: 44px; height: 44px; }
  .home-content { min-height: calc(100svh - var(--header-height)); padding-top: 63px; padding-bottom: 27px; }
  .home-title { font-size: 98px; }
  .home-portals { gap: 12px; padding-top: 44px; }
  .portal-card { padding: 24px 18px 29px; min-height: 218px; }
  .portal-title { font-size: 19px; }
  .portal-description { margin-top: 13px; font-size: 14px; line-height: 1.7; padding-right: 0; }
  .portal-symbol { right: 16px; width: 23px; height: 23px; }
  .portal-arrow { right: 17px; bottom: 18px; font-size: 14px; }
  .home-footnote { font-size: 10px; }
  .home-caption { right: 27px; top: 43%; max-width: 145px; line-height: 1.9; }
  .view-header { padding-top: 31px; margin-bottom: 34px; }
  .view-heading { display: block; margin-bottom: 33px; }
  .view-heading h1 { font-size: 60px; }
  .view-heading .section-description { max-width: 550px; margin-top: 22px; }
  .legal-grid { gap: 15px; }
  .legal-card { padding: 25px 25px 0; }
  .legal-card h2 { font-size: 28px; }
  .legal-card p { font-size: 14px; }
  .legal-card ul { font-size: 14px; }
  .legal-card-footer { align-items: flex-start; }
  .legal-card-footer > span { display: none; }
  .brief-layout { grid-template-columns: 1fr; }
  .draft-shell { position: static; top: auto; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .draft-output { min-height: 400px; max-height: 65svh; }
  .section-top { display: block; }
  .section-top .section-description { max-width: 550px; margin-top: 22px; }
  .footer-inner { flex-wrap: wrap; gap: 15px 24px; }
  .footer-note { flex-basis: 100%; order: 3; }
  .footer-inner > .text-button { margin-left: auto; }
}
@media (max-width: 600px) {
  :root { --header-height: 122px; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav { min-height: var(--header-height); flex-wrap: wrap; gap: 0 13px; align-content: center; padding-top: 10px; padding-bottom: 6px; }
  .brand { gap: 9px; }
  .aeterna-mark { width: 31px; height: 31px; }
  .brand-word { font-size: 20px; }
  .brand-sub { font-size: 10px; margin-top: 4px; }
  .nav nav { order: 3; width: 100%; margin-top: 4px; gap: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav nav a { min-height: 52px; padding: 5px 0; font-size: 14px; line-height: 1.35; justify-content: flex-start; overflow-wrap: anywhere; }
  .nav nav a::after { bottom: -2px; }
  .motion-toggle { width: 44px; height: 44px; margin-left: auto; }
  .motion-toggle svg { width: 12px; height: 12px; }
  .home-content { min-height: calc(100svh - var(--header-height)); padding-top: 38px; padding-bottom: 23px; }
  .home-kicker { font-size: 10px; letter-spacing: .2em; gap: 9px; margin-bottom: 24px; }
  .home-kicker::before { width: 17px; }
  .home-title { font-size: clamp(74px, 19vw, 105px); line-height: .91; font-weight: 320; }
  .home-intro { max-width: 340px; font-size: 17px; line-height: 1.65; margin-top: 22px; }
  .home-portals { grid-template-columns: 1fr; gap: 11px; margin-top: 32px; padding-top: 0; }
  .portal-card { min-height: 128px; padding: 21px 24px 21px 55px; }
  .portal-number { position: absolute; top: 26px; left: 21px; font-size: 10px; margin: 0; }
  .portal-symbol { display: none; }
  .portal-title { font-size: 21px; padding-right: 26px; }
  .portal-description { max-width: 360px; margin-top: 8px; padding-right: 15px; font-size: 14px; }
  .portal-arrow { top: 26px; bottom: auto; right: 20px; font-size: 20px; }
  .home-footnote { padding-top: 20px; gap: 16px; align-items: flex-start; font-size: 10px; }
  .home-footnote > span:last-child { text-align: right; }
  .home-caption { top: 37%; right: 23px; font-size: 10px; max-width: 114px; }
  .home-caption::before { width: 15px; flex: none; }
  .view-header { margin-bottom: 31px; padding-top: 27px; }
  .back-home { font-size: 14px; }
  .view-index { font-size: 10px; letter-spacing: .15em; }
  .view-heading h1 { font-size: clamp(44px, 11vw, 61px); }
  .view-heading .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .view-heading .section-description { font-size: 14px; margin-top: 20px; }
  .section { padding-top: 40px; padding-bottom: 48px; }
  .section-top h2 { font-size: 40px; }
  .section-top .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .section-description { font-size: 14px; }
  .directory-toolbar { gap: 8px; }
  .search-field { min-height: 46px; padding: 0 12px; }
  .search-field input { font-size: 14px; }
  .select-field { flex-basis: calc(50% - 4px); }
  .select-field select { min-height: 44px; padding: 0 24px 0 10px; font-size: 14px; }
  .country-tabs { gap: 3px; margin: 16px 0; }
  .country-tab { font-size: 14px; padding: 7px 9px; }
  .country-tab .tab-code { font-size: 10px; }
  .country-note { display: block; padding: 14px; font-size: 14px; }
  .country-note a, .country-note button { display: block; margin: 9px 0 0; font-size: 14px; }
  .results-heading { display: block; padding: 22px 0 16px; }
  .results-heading p { font-size: 14px; }
  .results-heading > span { display: block; font-size: 14px; margin-top: 7px; }
  .results-heading .inline-button { margin-left: 7px; font-size: 14px; }
  .provider-grid { grid-template-columns: 1fr; gap: 14px; }
  .provider-card { padding: 22px; }
  .provider-heading h3 { font-size: 18px; }
  .provider-heading small { font-size: 14px; }
  .card-meta div { font-size: 14px; grid-template-columns: 88px minmax(0, 1fr); }
  .fee-tile { padding: 13px; }
  .fee-tile strong { font-size: 23px; }
  .fee-tile:not(.published) strong { font-size: 17px; }
  .fee-tile small { font-size: 14px; }
  .fee-basis { font-size: 12px; }
  .onboarding-open { min-height: 44px; }
  .card-actions { min-height: 40px; }
  .directory-footnote { font-size: 14px; }
  .legal-grid { grid-template-columns: 1fr; gap: 15px; padding-bottom: 47px; }
  .legal-card { min-height: 0; padding: 28px 28px 0; }
  .legal-card h2 { font-size: 31px; }
  .legal-card p { font-size: 14px; }
  .legal-card ul { font-size: 14px; margin: 20px 0 24px; }
  .legal-icon { margin-bottom: 21px; }
  .legal-card-footer { padding-top: 18px; padding-bottom: 22px; }
  .legal-card-footer button { min-height: 44px; }
  .legal-note, .legal-intro-note { margin: -22px 0 39px; font-size: 14px; }
  .workspace-types, .brief-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
  .brief-types button { padding: 12px 13px; font-size: 14px; gap: 8px; }
  .brief-layout { gap: 17px; padding-bottom: 42px; }
  .brief-form-shell, .draft-shell { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .form-heading h3 { font-size: 25px; }
  .form-heading p { font-size: 14px; margin-bottom: 25px; }
  .field { font-size: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; min-height: 46px; }
  .brief-progress { margin-bottom: 27px; }
  .brief-controls { gap: 10px; padding-top: 20px; }
  .brief-controls .quiet-link { font-size: 14px; }
  .brief-controls .button { min-height: 44px; gap: 15px; }
  .brief-controls > span { font-size: 12px; }
  .draft-heading h3 { font-size: 25px; }
  .draft-output { min-height: 390px; max-height: 62svh; padding: 17px; font-size: 16px; }
  .draft-shell .button { font-size: 14px; padding: 10px 12px; gap: 10px; }
  .draft-shell .quiet-link { font-size: 14px; }
  .modal { width: calc(100% - 24px); max-height: 91svh; padding: 23px; border-radius: 12px; }
  .modal-heading h2 { font-size: 34px; }
  .modal-heading .eyebrow { font-size: 10px; }
  .modal-heading { gap: 16px; margin-bottom: 24px; }
  .close-modal { width: 44px; height: 44px; font-size: 23px; }
  .detail-facts { grid-template-columns: 1fr; gap: 8px; }
  .detail-subnav { gap: 11px; }
  .detail-subnav button { font-size: 14px; }
  .detail-body { font-size: 15px; }
  .detail-body h3 { font-size: 17px; }
  .detail-note { font-size: 14px; padding: 12px 14px; }
  .fee-table { font-size: 14px; }
  .fee-table th, .fee-table td { padding: 12px 8px; }
  .fee-table td.fee-amount { font-size: 14px; }
  .fee-table thead th { font-size: 12px; }
  .fee-table td small { font-size: 12px; }
  .onboarding-steps > li { grid-template-columns: 29px minmax(0, 1fr); padding: 16px 14px; gap: 12px; }
  .onboarding-number { width: 27px; height: 27px; font-size: 10px; }
  .onboarding-steps h4 { font-size: 16px; }
  .onboarding-steps p, .onboarding-steps ul { font-size: 15px; }
  .onboarding-checklist { padding: 18px; }
  .step-basis { font-size: 12px; }
  .source-list a, .contact-links a { font-size: 14px; }
  .comparison-table { font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 11px; }
  .method-content { font-size: 15px; }
  .compare-bar { bottom: 12px; width: calc(100% - 24px); padding: 13px 14px; gap: 12px; }
  .compare-bar > div { flex: 1; }
  .compare-bar strong { font-size: 14px; }
  .compare-bar span { font-size: 12px; }
  .compare-bar .button { font-size: 14px; gap: 8px; padding: 9px 10px; }
  .method-strip { display: block; padding-top: 28px; padding-bottom: 40px; }
  .method-strip h3 { font-size: 24px; }
  .method-strip > p { margin: 18px 0 23px; max-width: none; }
  .footer { padding: 22px 0; }
  .footer-inner { gap: 12px 20px; font-size: 12px; }
  .footer-note { font-size: 12px; }
  .footer-inner .text-button { font-size: 14px; }
  .footer-top, .footer-bottom { flex-wrap: wrap; gap: 15px; }
  .footer-top p { flex-basis: 100%; order: 3; }
  .footer-bottom { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 25px; }
  .document-callout { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .review-row { grid-template-columns: 105px minmax(0, 1fr); gap: 10px; font-size: 14px; padding: 10px; }
}
@media (max-width: 370px) {
  .wrap { padding-left: 17px; padding-right: 17px; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 14px; }
  .home-title { font-size: 74px; }
  .home-intro { max-width: 267px; }
  .portal-card { padding-left: 52px; padding-right: 20px; }
  .portal-number { left: 18px; }
  .portal-title { font-size: 20px; }
  .brief-form-shell, .draft-shell, .provider-card { padding: 19px; }
  .brief-types button { font-size: 14px; padding: 12px 10px; }
  .draft-heading h3 { font-size: 23px; }
  .export-actions { gap: 9px; }
  .draft-shell .quiet-link { flex-basis: 100%; margin-left: 0; }
  .brief-controls { flex-wrap: wrap; }
  .brief-controls > span { margin-left: auto; }
  .compare-bar .button { max-width: 134px; white-space: normal; }
}
/* Mobile drafting offers a focused panel and a persistent copy action. */
@media (max-width: 800px) {
  .home-content { padding-top: 44px; }
  .home-intro { font-size: 18px; }
  .home-support { max-width: 380px; }
  .expertise-panel { grid-template-columns: 1fr; gap: 28px; padding: 30px; margin-bottom: 42px; }
  .expertise-kicker { margin-bottom: 15px; }
  .expertise-role { max-width: none; }
  #brief.workspace-enhanced { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .workspace-enhanced .workspace-mobile-tabs { position: sticky; top: var(--header-height); z-index: 32; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 6px; margin-bottom: 18px; background: rgba(10, 19, 29, .96); border: 1px solid rgba(155, 198, 219, .2); border-radius: 9px; box-shadow: 0 10px 25px rgba(0, 0, 0, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .workspace-mobile-tabs button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 13px; font-size: 14px; font-weight: 500; line-height: 1.5; border: 1px solid transparent; border-radius: 5px; background: none; color: #9bb3c3; }
  .workspace-mobile-tabs button[aria-selected='true'] { color: #e2f0f5; border-color: rgba(159, 210, 232, .27); background: linear-gradient(135deg, #203d50, #162c3d); }
  .workspace-enhanced[data-workspace-panel='answers'] #workspace-draft, .workspace-enhanced[data-workspace-panel='draft'] #workspace-answers { display: none; }
  .workspace-enhanced[data-workspace-visible='true'] .workspace-mobile-actions { position: fixed; z-index: 45; left: 18px; right: 18px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 9px; padding: 10px; border: 1px solid rgba(166, 204, 224, .3); border-radius: 10px; background: rgba(12, 26, 38, .96); box-shadow: 0 12px 36px rgba(0, 0, 0, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .workspace-mobile-actions button { min-height: 48px; font-size: 14px; line-height: 1.35; padding: 10px 12px; justify-content: center; gap: 8px; }
  .workspace-mobile-actions .workspace-mobile-review { color: #bedbe8; background: transparent; border: 1px solid rgba(166, 209, 230, .32); border-radius: 6px; }
  .workspace-mobile-actions .workspace-mobile-review:hover { color: #e4f5fb; background: rgba(159, 206, 227, .06); }
  .workspace-mobile-actions .button-outline { color: #bedbe8; border-color: rgba(166, 209, 230, .32); }
  .workspace-mobile-actions .button-outline:hover { color: #e4f5fb; }
  .draft-shell .export-actions { align-items: stretch; }
  .draft-shell .export-actions .button { flex: 1 1 135px; justify-content: center; }
}
@media (max-width: 600px) {
  .home-content { padding-top: 35px; }
  .home-intro { font-size: 17px; }
  .home-support { max-width: 330px; font-size: 14px; }
  .expertise-panel { padding: 25px; gap: 24px; }
  .expertise-identity h2 { font-size: 33px; }
  .expertise-process { gap: 16px; }
  .expertise-process li { grid-template-columns: 27px minmax(0, 1fr); gap: 11px; }
  .workspace-mobile-tabs button, .workspace-mobile-actions button { font-size: 14px; }
  .workspace-enhanced[data-workspace-visible='true'] .workspace-mobile-actions { left: 12px; right: 12px; padding: 8px; }
  .draft-output { padding: 20px; line-height: 1.8; }
  .legal-brief-preview textarea { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .app-view.is-entering { opacity: 1; transform: none; filter: none; clip-path: none; }
  .provider-card:hover, .portal-card:hover, .legal-card:hover, .button:hover { transform: none; }
}
body.reduced-motion *, body.reduced-motion *::before, body.reduced-motion *::after, body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
/* Final markup alignment. */
.motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.portal-symbol svg { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.home-caption { position: static; display: inline-block; max-width: none; font-size: inherit; letter-spacing: .025em; text-transform: none; color: #5e798d; }
.home-caption::before { display: none; }
.home-kicker > span:empty { display: none; }
.section-top h1 { font-size: clamp(48px, 5.4vw, 78px); font-weight: 330; letter-spacing: -.057em; }
.section-top h1:focus { outline: none; }
.title-dot { color: #95bdcf; }
.app-view .legal-section { padding-top: 0; }
.legal-card-footer .service-link { border: 0; padding: 2px 0; margin-top: 0; }
.legal-brief-preview { padding: 0; min-height: 0; border: 0; background: none; }
.legal-brief-preview .small-label { display: block; margin-bottom: 12px; }
.legal-brief-preview textarea { display: block; margin-bottom: 18px; }
.legal-copy-status { color: #7392a8; font-size: 12px; line-height: 1.9; margin-top: 16px; }
#legal-intro { color: #93aec1; font-size: 14px; line-height: 1.9; }
.home-content > .home-kicker, .home-content > .home-title, .home-content > .home-intro { animation: home-reveal 1.7s var(--ease) both; }
.home-content > .home-title { animation-delay: .12s; }
.home-content > .home-intro { animation-delay: .25s; }
.home-content > .home-portals { animation: home-reveal 1.7s var(--ease) .4s both; }
.home-content > .home-footnote { animation: home-reveal 1.7s var(--ease) .55s both; }
@keyframes home-reveal { from { opacity: 0; transform: translateY(18px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
:root[data-motion='paused'] .home-content > * { animation: none !important; }
@media (max-width: 600px) {
  .section-top h1 { font-size: clamp(44px, 11vw, 61px); }
  .home-footnote > .home-caption { max-width: 160px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-content > * { animation: none !important; }
}
:root[data-motion='paused'] .app-view.is-entering { animation: none !important; opacity: 1; transform: none; filter: none; clip-path: none; }
