:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #302d28;
    background: #fbf8f2;
    font-synthesis: none;
    --ink: #302d28;
    --muted: #70695f;
    --canvas: #fbf8f2;
    --paper: #fffdf9;
    --sand: #eee4d5;
    --linen: #f4ede2;
    --sage: #52695c;
    --sage-soft: #e6ece5;
    --clay: #aa765a;
    --line: #ded4c5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--canvas); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 540px; pointer-events: none; background: radial-gradient(circle at 88% 10%, #e9ddcb 0, transparent 31rem), radial-gradient(circle at 12% 0, #f5eddf 0, transparent 26rem); opacity: .72; z-index: -1; }
a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8fa095; outline-offset: 3px; }
.site-header { width: min(1180px, calc(100% - 2.5rem)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-size: 1.08rem; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 50% 50% 50% 16%; background: var(--sage); box-shadow: 0 8px 22px #52695c2b; font-family: Georgia, serif; }
.brand-mark b { transform: translateX(-3px); font-size: 1.05rem; }
.brand-mark i { position: absolute; right: 8px; bottom: 7px; color: #ddd1bf; font-size: .62rem; font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; font-weight: 650; }
.desktop-nav > a:not(.button) { color: #5f5a52; }
.desktop-nav > a:hover { color: var(--sage); }
main, footer { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); align-items: center; gap: clamp(3rem, 7vw, 6.5rem); padding: 4.6rem 0 7rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: var(--sage); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 1px; background: var(--clay); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 720px; margin: 1.15rem 0 1.5rem; font-size: clamp(3rem, 6.25vw, 5.7rem); line-height: .97; letter-spacing: -.047em; text-wrap: balance; }
h1:focus { outline: none; }
h2 { margin: .75rem 0 1.4rem; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.06; letter-spacing: -.038em; text-wrap: balance; }
h3 { margin: .9rem 0 .6rem; font-size: 1.2rem; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.68; }
.lead { max-width: 610px; font-size: clamp(1.06rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin-top: 2.1rem; }
.button { min-height: 48px; padding: .8rem 1.25rem; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; font-weight: 720; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--sage); box-shadow: 0 13px 28px #52695c2d; }
.button-primary:hover { background: #43594d; box-shadow: 0 16px 34px #52695c3b; }
.button-secondary, .button-quiet { color: var(--ink); background: #fffaf2; border: 1px solid var(--line); }
.button:disabled { opacity: .7; cursor: default; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .1rem; color: var(--sage); border: 0; border-bottom: 1px solid #839487; background: transparent; font: inherit; font-weight: 720; cursor: pointer; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .85rem 1.4rem; margin: 1.6rem 0 0; padding: 0; color: #6a645b; font-size: .8rem; list-style: none; }
.hero-facts span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: .35rem; color: var(--sage); border-radius: 50%; background: var(--sage-soft); font-size: .68rem; font-weight: 900; }
.workflow-preview { position: relative; padding: 1.4rem 0 1.8rem; }
.preview-window { position: relative; overflow: hidden; border: 1px solid #ddd2c2; border-radius: 28px; background: rgb(255 253 249 / 94%); box-shadow: 0 32px 85px #4e433421; }
.preview-head { min-height: 68px; padding: 0 1.45rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebe3d7; }
.mini-brand { display: grid; place-items: center; width: 31px; height: 31px; color: #fff; border-radius: 50% 50% 50% 10px; background: var(--sage); font-family: Georgia, serif; font-size: .72rem; }
.step-label { color: #81796e; font-size: .72rem; font-weight: 680; }
.preview-progress { height: 3px; background: #ece5dc; }
.preview-progress span { display: block; width: 34%; height: 100%; background: var(--clay); }
.preview-body { padding: clamp(1.7rem, 4vw, 2.6rem); }
.soft-label, .trust-kicker { color: #8a7f70; font-size: .72rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.preview-body h2 { margin: .55rem 0 1.65rem; font-family: inherit; font-size: 1.45rem; font-weight: 730; letter-spacing: -.03em; }
.upload-choice, .manual-choice { width: 100%; display: flex; align-items: center; gap: 1rem; color: var(--ink); border: 1px solid #ddd2c2; border-radius: 16px; background: #fffdf9; text-align: left; }
.upload-choice { min-height: 82px; padding: 1rem; }
.upload-choice > span:nth-child(2) { flex: 1; display: grid; gap: .24rem; }
.upload-choice small { color: #827a70; }
.file-symbol { display: grid; place-items: center; width: 45px; height: 45px; color: var(--sage); border-radius: 13px; background: var(--sage-soft); font-size: 1.35rem; }
.choice-divider { height: 42px; display: flex; align-items: center; color: #9a9288; font-size: .7rem; }
.choice-divider::before, .choice-divider::after { content: ""; height: 1px; flex: 1; background: #ebe3d7; }
.choice-divider span { padding: 0 .65rem; }
.manual-choice { min-height: 49px; padding: .75rem 1rem; justify-content: center; color: var(--sage); font-weight: 700; }
.preview-privacy { margin: 1.25rem 0 0; color: #827a70; font-size: .72rem; text-align: center; }
.preview-privacy span { color: #789080; }
.floating-note { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border: 1px solid #dfd5c7; border-radius: 12px; background: #fffdf9; box-shadow: 0 14px 32px #4e433419; color: #5e584f; font-size: .73rem; font-weight: 690; }
.floating-note b { color: var(--sage); }
.note-one { right: -2.2rem; top: 7rem; }
.note-two { left: -2.3rem; bottom: .1rem; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.trust-strip div { min-height: 112px; padding: 1.55rem 2rem; display: grid; align-content: center; gap: .36rem; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip strong { font-family: Georgia, serif; font-size: 1.08rem; font-weight: 500; }
.section { padding: 8rem 0; }
.section-heading { max-width: 790px; margin-bottom: 3rem; }
.section-heading > p { max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.steps article { position: relative; min-height: 305px; display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.steps article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #574c3d13; }
.step-number { position: absolute; right: 1.5rem; top: 1.5rem; color: #9c9183; font-family: Georgia, serif; font-size: .9rem; }
.step-icon { display: grid; flex: 0 0 auto; place-items: center; width: 52px; height: 52px; margin-bottom: 1.35rem; color: var(--sage); border-radius: 17px; background: var(--sage-soft); font-size: 1.35rem; }
.steps article p { margin-bottom: 0; font-size: .92rem; line-height: 1.5; }
.steps article small { position: static; display: block; margin-top: auto; padding-top: .85rem; color: #8a8277; line-height: 1.4; }
.calm-panel { margin: 1rem 0 8rem; padding: clamp(2rem, 7vw, 5.2rem); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); border-radius: 34px; background: #ece3d5; }
.calm-copy h2 { max-width: 620px; }
.calm-copy p { max-width: 590px; }
.fact-card { padding: 1.8rem; border: 1px solid #d7cbbb; border-radius: 22px; background: #fffdf9; box-shadow: 0 22px 55px #65533c16; }
.fact-card > strong { display: block; margin: .85rem 0 .2rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.fact-card p { margin: .2rem 0 1.5rem; font-size: .78rem; }
.fact-card div { display: flex; gap: .7rem; }
.fact-example-action { padding: .65rem 1rem; color: var(--sage); border: 1px solid #cfdbd1; border-radius: 999px; background: var(--sage-soft); font-weight: 700; }
.fact-example-action.secondary { color: #71695f; border-color: #ddd4c7; background: transparent; }
.final-cta { max-width: 850px; margin: 0 auto; padding: 1rem 0 8rem; text-align: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta .button { margin-top: .7rem; }
.auth-shell { min-height: calc(100vh - 190px); display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(3rem, 9vw, 8rem); align-items: center; padding: 5rem 0 7rem; }
.auth-copy h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.back-link { display: block; margin-bottom: 3rem; color: var(--sage); font-weight: 720; }
.auth-card, .profile-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 24px 70px #4e433415; }
.field { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.field label { font-size: .88rem; font-weight: 720; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; color: var(--ink); border: 1px solid #d8cec0; border-radius: 12px; background: #fffdf9; font: inherit; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-color: var(--sage); outline: 3px solid #52695c1c; }
.field label span, .field small { color: #7c756b; font-weight: 500; }
.submit-button { width: 100%; margin-top: .6rem; }
.form-error { padding: .8rem; color: #8f3b45; border-radius: 10px; background: #faecea; font-size: .88rem; }
.form-success { padding: .8rem; color: #3f604f; border-radius: 10px; background: var(--sage-soft); font-size: .88rem; }
.auth-note { margin: 1rem 0 0; font-size: .76rem; }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; color: var(--sage); font-size: .83rem; font-weight: 720; }
.success-card h2 { margin-bottom: .5rem; font-size: 2rem; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; border-radius: 15px; background: var(--sage); font-size: 1.35rem; font-weight: 900; }
.compact-auth { min-height: 680px; }
.profile-shell { min-height: calc(100vh - 190px); padding: clamp(3rem, 7vw, 6rem) 0; }
.profile-heading { max-width: 760px; margin-bottom: 2.5rem; }
.profile-heading h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.profile-card { max-width: 900px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.profile-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.profile-actions span { color: #827a70; font-size: .78rem; }
.documents-shell { min-height: calc(100vh - 190px); padding: clamp(3rem, 7vw, 6rem) 0; }
.upload-guide { max-width: 920px; margin: 1.5rem 0; padding: 1.25rem; display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; border: 1px solid var(--line); border-radius: 20px; background: #fbf7f0; }
.upload-guide h2 { margin: .35rem 0 .7rem; font-size: 1.35rem; }
.upload-guide ul { margin: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.65; }
.upload-guide aside { padding: 1rem; border-radius: 14px; background: #f8e8df; }
.upload-guide aside p, .upload-guide aside a { color: #6d5847; font-size: .8rem; line-height: 1.5; }
.processing-summary { margin-bottom: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.processing-summary div { padding: .8rem; display: grid; gap: .15rem; border-radius: 13px; background: var(--sage-soft); text-align: center; }
.processing-summary strong { font-size: 1.3rem; }
.processing-summary span { color: var(--muted); font-size: .72rem; }
.document-card { max-width: 920px; padding: clamp(1.35rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: 0 24px 70px #4e433415; }
.upload-zone { position: relative; min-height: 150px; padding: 1.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.15rem; border: 1px dashed #b9ad9d; border-radius: 19px; background: #fbf7f0; }
.upload-zone p { margin: .3rem 0 0; font-size: .82rem; }
.upload-zone input[type=file] { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.document-ai-consent { margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px solid #c7d3cb; border-radius: 18px; background: #f3f7f3; }
.document-ai-consent header { display: grid; gap: .25rem; }
.document-ai-consent p, .document-ai-consent li, .document-ai-consent small { color: #58645c; font-size: .78rem; line-height: 1.55; }
.document-ai-consent > p { margin: .55rem 0; }
.document-ai-consent ul { margin: .55rem 0; padding-left: 1.15rem; }
.document-ai-consent details { margin: .75rem 0; padding: .7rem .8rem; border-radius: 12px; background: #e7eee8; }
.document-ai-consent summary { color: #40564a; font-size: .78rem; font-weight: 750; cursor: pointer; }
.document-ai-consent details p { margin: .55rem 0 0; }
.document-ai-consent a, .document-ai-consent-choice a { color: var(--sage); text-decoration: underline; text-underline-offset: 2px; }
.document-ai-consent-choice { margin-top: .75rem; padding: .85rem; display: grid; grid-template-columns: auto 1fr; align-items: flex-start; gap: .7rem; border: 1px solid #b9c8be; border-radius: 13px; background: #fffdf9; color: #394c41; cursor: pointer; }
.document-ai-consent-choice input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--sage); }
.document-ai-consent-choice span { font-size: .8rem; line-height: 1.5; }
.selected-document { margin-top: 1rem; padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 16px; }
.selected-document > div { min-width: 0; display: grid; gap: .25rem; }
.selected-document strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-document small { color: var(--muted); }
.document-list-heading { margin-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.document-list-heading > div { display: grid; gap: .2rem; }
.document-list-heading small { color: var(--muted); }
.document-entry { align-items: flex-start; }
.document-entry-content { width: 100%; flex: 1 1 auto; }
.document-entry-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.document-entry-actions button { border: 0; background: transparent; cursor: pointer; }
.document-entry-message { margin-top: .25rem; color: #53645a; font-size: .8rem; line-height: 1.45; }
.document-progress { margin: .7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; }
.document-progress li { padding: .22rem .48rem; border-radius: 999px; background: #eee8df; color: var(--muted); font-size: .66rem; }
.document-progress li.done { background: var(--sage-soft); color: #315e50; }
.document-progress li.active { background: #faf0df; color: #7b5c34; }
.document-entry-error { color: #9e4650; }
.active-upload-status { margin-top: 1rem; padding: 1rem 1.15rem; display: flex; align-items: flex-start; gap: .85rem; border: 1px solid #cbd6cf; border-radius: 16px; background: #f4f7f3; }
.active-upload-status > div { min-width: 0; flex: 1; }
.active-upload-status p { margin: .25rem 0 .65rem; color: #53645a; font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; }
.active-upload-status small { display: block; margin-top: .6rem; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.document-batch-status { margin-top: 1rem; padding: 1rem 1.15rem; display: grid; gap: .9rem; border: 1px solid #cbd6cf; border-radius: 16px; background: #f4f7f3; }
.document-batch-status > header { display: flex; align-items: flex-start; gap: .85rem; }
.document-batch-status header > div { min-width: 0; flex: 1; }
.document-batch-status header strong { display: block; }
.document-batch-status header p { margin: .25rem 0 0; color: #53645a; font-size: .84rem; line-height: 1.45; }
.document-batch-progress { display: grid; gap: .55rem; }
.document-batch-progress > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.document-batch-progress strong { font-size: .82rem; }
.document-batch-progress span { color: var(--muted); font-size: .72rem; text-align: right; }
.document-batch-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.document-batch-actions .button { min-height: 42px; font-size: .82rem; }
.document-review-next { margin: 1rem 0; padding: 1.1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #b9cbc0; border-radius: 18px; background: #edf4ef; }
.document-review-next > div { display: grid; gap: .25rem; }
.document-review-next strong { font-size: 1.02rem; }
.document-review-next p { margin: 0; max-width: 590px; color: #53645a; font-size: .8rem; line-height: 1.5; }
.document-review-next .button { flex: 0 0 auto; }
.upload-progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #dfe7e1; }
.upload-progress-track span { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--sage); transition: width .25s ease; }
.empty-document-list { margin-top: 1.2rem; padding: 1.25rem; border-radius: 16px; background: #f7f1e8; }
.empty-document-list p { margin: .35rem 0 0; color: var(--muted); font-size: .84rem; }
.upload-status { margin-top: 1rem; padding: 1rem 1.15rem; display: flex; align-items: flex-start; gap: .85rem; border-radius: 16px; background: var(--sage-soft); }
.upload-status p { margin: .2rem 0 0; font-size: .84rem; }
.upload-status-error { background: #faecea; }
.status-result-icon { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; color: #315b48; border: 2px solid #8faf9c; border-radius: 50%; font-size: .74rem; font-weight: 850; line-height: 1; }
.upload-status-error .status-result-icon { color: #8d3641; border-color: #c98d94; }
.status-dot { width: 12px; height: 12px; margin-top: .35rem; flex: 0 0 auto; border: 3px solid #b7c6bc; border-top-color: var(--sage); border-radius: 50%; animation: status-spin 1s linear infinite; }
.upload-status-error .status-dot { border-color: #dcaeb2; border-top-color: #9e4650; }
.upload-actions { margin-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; color: var(--muted); font-size: .78rem; }
.upload-actions span { margin-right: auto; }
.upload-actions button { border: 0; background: transparent; cursor: pointer; }
.danger-link { color: #934851; border-bottom-color: #c99b9f; }
.document-classification { margin-top: .75rem; padding: .85rem 0 0; border-top: 1px solid #d7ded9; }
.document-classification-attention { color: #6d5847; border-top-color: #e4cdbd; }
.classification-result { margin: .45rem 0 .65rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.classification-result p { margin: .25rem 0 0; font-size: .84rem; }
.classification-result > span { padding: .3rem .55rem; color: #315b48; border-radius: 999px; background: #dcebe2; font-size: .76rem; font-weight: 760; }
.document-classification > small { color: var(--muted); line-height: 1.5; }
.classification-confirmation { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid #dfe5e1; }
.classification-confirmation > label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 760; color: #394b41; }
.classification-confirmation > div { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.classification-confirmation select { flex: 1 1 18rem; min-height: 2.7rem; padding: .55rem .7rem; border: 1px solid #bdcac2; border-radius: .65rem; background: #fffdf9; color: var(--ink); }
.document-notes { max-width: 920px; margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.document-notes article { padding: 1rem; display: flex; align-items: flex-start; gap: .8rem; border: 1px solid var(--line); border-radius: 16px; background: #f7f1e8; }
.document-notes article > strong { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: var(--sage); border-radius: 50%; background: var(--sage-soft); font-size: .75rem; }
.document-notes h2 { margin: .1rem 0 .3rem; font-family: inherit; font-size: .9rem; font-weight: 760; letter-spacing: 0; }
.document-notes p { margin: 0; font-size: .75rem; line-height: 1.55; }
.legal-shell { min-height: calc(100vh - 190px); padding: clamp(3rem, 7vw, 6rem) 0; }
.legal-heading { max-width: 820px; margin-bottom: 2rem; }
.legal-heading h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.legal-heading .lead { max-width: 760px; }
.legal-notice { max-width: 900px; margin: 0 0 1.3rem; padding: 1rem 1.15rem; border: 1px solid #ddc8aa; border-radius: 16px; background: #faf0df; color: #654f3d; line-height: 1.55; }
.legal-card { max-width: 900px; padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 24px 70px #4e433410; }
.legal-card section + section { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal-card h2 { margin: 0 0 .8rem; font-family: inherit; font-size: 1.35rem; font-weight: 760; letter-spacing: -.02em; }
.legal-card h3 { margin-top: 1.4rem; font-size: 1rem; }
.legal-card p, .legal-card li, .legal-card address { color: var(--muted); line-height: 1.68; }
.legal-card address { font-style: normal; }
.legal-card ul { padding-left: 1.3rem; }
.legal-card a { color: var(--sage); text-decoration: underline; text-underline-offset: .2rem; }
.legal-meta { color: #82796e; font-size: .8rem; }
.legal-form-example { padding: 1rem 1.15rem; border-left: 4px solid var(--sage); background: var(--sage-soft); }
.home-guides { padding: 0 0 8rem; }
.home-guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.home-guide-grid a { min-height: 170px; padding: 1.55rem; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: .45rem 1rem; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); transition: transform .18s ease, box-shadow .18s ease; }
.home-guide-grid a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px #574c3d13; }
.home-guide-grid span { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; color: var(--sage); border-radius: 12px; background: var(--sage-soft); font-family: Georgia, serif; }
.home-guide-grid strong { align-self: end; font-size: 1.05rem; }
.home-guide-grid small { color: var(--muted); line-height: 1.5; }
.home-faq { margin-bottom: 8rem; padding: clamp(2rem, 6vw, 4.5rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); border-radius: 32px; background: var(--sage-soft); }
.home-faq h2 { font-size: clamp(2.1rem, 4vw, 3.35rem); }
.home-faq-list details { border-bottom: 1px solid #cbd7ce; }
.home-faq-list summary { min-height: 60px; padding: 1rem 2rem 1rem 0; display: flex; align-items: center; position: relative; font-weight: 750; cursor: pointer; }
.home-faq-list summary::after { content: "+"; position: absolute; right: .25rem; color: var(--sage); font-size: 1.35rem; }
.home-faq-list details[open] summary::after { content: "–"; }
.home-faq-list p { margin: 0 0 1.25rem; }
.guide-page { padding: clamp(3.5rem, 7vw, 7rem) 0 8rem; }
.guide-hero { max-width: 920px; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.guide-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 5.5vw, 5.15rem); }
.guide-hero .lead { max-width: 790px; }
.guide-jump-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .65rem; }
.guide-jump-links a { min-height: 44px; padding: .65rem 1rem; display: inline-flex; align-items: center; color: var(--sage); border: 1px solid #c9d5cc; border-radius: 999px; background: #f5f8f4; font-size: .85rem; font-weight: 720; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 300px); align-items: start; justify-content: space-between; gap: clamp(3rem, 8vw, 7rem); }
.guide-content > section { scroll-margin-top: 2rem; }
.guide-content > section + section { margin-top: 3.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.guide-content h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.guide-content p, .guide-content li { color: var(--muted); font-size: 1rem; line-height: 1.78; }
.guide-content a { color: var(--sage); text-decoration: underline; text-underline-offset: .2rem; }
.guide-steps { margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; list-style: none; counter-reset: guide-step; }
.guide-steps li { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.guide-checklist { margin: 1.4rem 0; padding: 0; display: grid; gap: .7rem; list-style: none; }
.guide-checklist li { position: relative; padding-left: 1.85rem; }
.guide-checklist li::before { content: "✓"; position: absolute; left: 0; top: .08rem; color: var(--sage); font-weight: 900; }
.guide-note { margin: 3rem 0; padding: 1.4rem 1.55rem; border: 1px solid #c8d5cc; border-radius: 18px; background: var(--sage-soft); }
.guide-note strong { color: #3f574a; }
.guide-note p { margin: .45rem 0 0; color: #58685e; }
.guide-card-grid { margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.guide-card-grid article { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.guide-card-grid article > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--sage); border-radius: 10px; background: var(--sage-soft); font-family: Georgia, serif; }
.guide-card-grid h3 { margin: 1.1rem 0 .35rem; }
.guide-card-grid p { margin: 0; font-size: .88rem; line-height: 1.55; }
.guide-sidebar { position: sticky; top: 1.5rem; padding: 1.3rem; display: grid; gap: .25rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.guide-sidebar > strong { margin-bottom: .55rem; color: var(--sage); font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-sidebar a { min-height: 44px; padding: .65rem .2rem; display: flex; align-items: center; border-bottom: 1px solid #eee6da; color: #544f47; font-size: .88rem; font-weight: 680; line-height: 1.4; }
.guide-sidebar a:last-child { border-bottom: 0; }
.guide-sidebar a:hover { color: var(--sage); }
.guide-cta { margin-top: 6rem; padding: clamp(2rem, 6vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-radius: 28px; background: #ece3d5; }
.guide-cta h2 { margin: .65rem 0 .5rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.guide-cta p { margin: 0; }
.guide-cta .button { flex: 0 0 auto; }
@keyframes status-spin { to { transform: rotate(360deg); } }
footer { min-height: 118px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-top: 1px solid var(--line); color: #756e64; font-size: .76rem; }
footer > :last-child { justify-self: end; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.valid.modified:not([type=checkbox]) { outline: 2px solid #6d8a76; }
.invalid { outline: 2px solid #bd6570; }
.validation-message { color: #a94955; }
@media (max-width: 1280px) {
    .note-one { right: 0; }
    .note-two { left: 0; }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 4rem; }
    .hero-copy { max-width: 760px; }
    .workflow-preview { width: min(590px, 100%); margin-inline: auto; }
    .note-one { right: -1rem; } .note-two { left: -1rem; }
    .steps { grid-template-columns: 1fr; }
    .steps article { min-height: 240px; }
    .calm-panel, .auth-shell { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
    .desktop-nav { display: none; }
}
@media (max-width: 900px) {
    .site-header, main, footer { width: min(100% - 1.3rem, 1180px); }
    .site-header { min-height: 70px; }
    .text-link { min-height: 44px; align-items: center; }
    .hero { min-height: auto; padding: 3.2rem .35rem 5.5rem; }
    h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
    .floating-note { display: none; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip div { min-height: 92px; padding: 1.2rem .7rem; }
    .trust-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
    .section { padding: 5.5rem .35rem; }
    .calm-panel { margin-bottom: 6rem; padding: 2rem 1.25rem; border-radius: 24px; }
    .actions .button { width: 100%; }
    .actions .text-link { margin-inline: auto; }
    .hero-facts { display: grid; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-actions { align-items: stretch; flex-direction: column; }
    .upload-guide, .processing-summary { grid-template-columns: 1fr; }
    .document-batch-progress > div:first-child { align-items: flex-start; flex-direction: column; gap: .2rem; }
    .document-batch-progress span { text-align: left; }
    .document-review-next { align-items: stretch; flex-direction: column; }
    .document-review-next .button { width: 100%; text-align: center; }
    .upload-zone { grid-template-columns: auto 1fr; }
    .upload-zone .button { grid-column: 1 / -1; }
    .selected-document { align-items: stretch; flex-direction: column; }
    .document-notes { grid-template-columns: 1fr; }
    .home-guide-grid, .home-faq, .guide-layout { grid-template-columns: 1fr; }
    .home-guides { padding-bottom: 5.5rem; }
    .home-faq { margin-bottom: 5.5rem; padding: 2rem 1.25rem; border-radius: 24px; }
    .guide-page { padding-inline: .35rem; }
    .guide-sidebar { position: static; }
    .guide-card-grid { grid-template-columns: 1fr; }
    .guide-cta { align-items: stretch; flex-direction: column; padding: 2rem 1.25rem; }
    .guide-cta .button { width: 100%; }
    footer { min-height: 130px; grid-template-columns: 1fr; padding: 1.5rem .35rem; }
    footer > :last-child { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
