@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latinext-400.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/fraunces-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/fraunces-latinext-600.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-latin-500italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-latinext-500italic.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/figtree-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/figtree-latinext-400.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/figtree-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/figtree-latinext-600.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --paper: #e6ebe8;
    --paper-deep: #d7dfda;
    --ink: #12171c;
    --ink-soft: #3e4a52;
    --line: #c3cdc7;
    --card: #f4f7f5;
    --carmine: #c4233c;
    --carmine-deep: #8e1528;
    --carmine-soft: #f6dde2;
    --rail: #17211e;
    --rail-ink: #e7eeea;
    --rail-muted: #b7c4bd;
    --white: #f7f8f6;
    --danger: #6e2424;
    --shadow: 0 18px 40px rgba(18, 23, 28, 0.08);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Figtree", "Segoe UI", sans-serif;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 400;
    font-synthesis: none;
    overflow-wrap: break-word;
}

body.nav-open,
body.dialog-open {
    overflow: hidden;
}

body.has-banner {
    padding-bottom: 16rem;
}

code {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 0.92em;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--carmine-deep);
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--carmine-deep);
    outline-offset: 3px;
}

::selection {
    background: var(--carmine-soft);
    color: var(--ink);
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2.2rem, 4.7vw, 4.55rem);
    max-width: 14ch;
}

h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
}

h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}

li + li {
    margin-top: 0.35rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--ink);
    color: var(--paper);
    padding: 0.6rem 1rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.shell {
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    align-items: start;
    min-height: 100vh;
}

.rail {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.35rem 1rem 1.25rem;
    background: var(--rail);
    border-right: 1px solid #2c3b36;
    color: var(--rail-ink);
    z-index: 30;
}

.brand {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex: none;
}

.brand-text {
    min-width: 0;
}

.brand-name,
.brand-kicker {
    display: block;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.brand-kicker {
    margin-top: 0.1rem;
    color: #f3b7c0;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
}

.rail-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1;
}

.site-nav {
    flex: 1;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.2rem 0.7rem;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(231, 238, 234, 0.08);
    color: inherit;
}

.nav-link.is-current {
    font-weight: 600;
    background: rgba(196, 35, 60, 0.22);
    box-shadow: inset 3px 0 0 #f3b7c0;
}

.nav-index {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: #f3b7c0;
    width: 1.6rem;
    flex: none;
}

.rail-cta {
    text-align: center;
}

.rail-foot {
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--rail-muted);
    line-height: 1.45;
}

.rail-foot a {
    color: var(--rail-ink);
}

.rail :focus-visible {
    outline-color: #f3b7c0;
}

.rail-address {
    margin-bottom: 0.45rem;
}

.page {
    width: min(1080px, 100%);
    margin-inline: auto;
    padding: 2.6rem 2rem 4.5rem;
}

.kicker {
    margin: 0 0 0.75rem;
    color: var(--carmine-deep);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lede {
    font-size: 1.2rem;
    line-height: 1.55;
    max-width: 42rem;
    color: var(--ink);
}

.opening-copy h1 {
    margin-bottom: 0.7rem;
}

.hero-wrap {
    position: relative;
    margin: 1.75rem 0 3rem;
}

.hero-wrap .glance {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    width: min(22rem, 46%);
    margin: 0;
}

.glance {
    background: rgba(244, 247, 245, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(247, 248, 246, 0.8);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 1.1rem 1.15rem 0.4rem;
}

.glance h2 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.glance-list {
    margin: 0;
}

.glance-list div {
    padding: 0.55rem 0;
    border-top: 1px solid var(--line);
}

.glance-list dt {
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--carmine-deep);
    font-weight: 600;
}

.glance-list dd {
    margin: 0.15rem 0 0;
}

.frame {
    margin: 0;
    background: var(--paper-deep);
    padding: 0.55rem;
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        var(--shadow);
}

.frame img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.caption {
    padding: 0.7rem 0.35rem 0.2rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
    line-height: 1.45;
}

.chapter {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
    margin: 0 0 3.5rem;
}

.chapter-no {
    margin: 0.35rem 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--carmine);
    line-height: 1;
}

.chapter-body h2 {
    max-width: 18ch;
}

.ledger {
    display: grid;
    gap: 0;
    margin-top: 1.25rem;
}

.ledger-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
}

.ledger-row h3 {
    margin: 0;
    font-size: 1.25rem;
}

.ledger-k {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--carmine-deep);
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ledger-row p {
    margin: 0;
    color: var(--ink-soft);
}

.index-list {
    margin-top: 0.5rem;
}

.index-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    gap: 0.8rem 1rem;
    align-items: baseline;
    padding: 1rem 0.2rem;
    border-top: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.index-row:hover,
.index-row:focus-visible {
    background: var(--carmine-soft);
    color: inherit;
}

.index-no {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--carmine);
}

.index-row strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.index-row span {
    display: block;
    color: var(--ink-soft);
}

.index-go {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--carmine-deep);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.method {
    margin: 0 0 3.5rem;
    padding: 1.5rem 0 0.25rem;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.method-step {
    min-width: 0;
}

.method-step span {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    color: var(--carmine);
    font-size: 1.15rem;
}

.method-step h3 {
    margin: 0.2rem 0 0.35rem;
    font-size: 1.2rem;
}

.method-step p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: center;
    margin: 0 0 3.5rem;
}

.not-for {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.dark-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: center;
    margin: 0 0 3.5rem;
    padding: 1.25rem;
    border-radius: 22px;
    color: var(--paper);
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(196, 35, 60, 0.42), transparent 70%),
        linear-gradient(165deg, #1a2622, #101816);
}

.dark-band .pull {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--paper);
}

.dark-band p {
    color: #c5d0ca;
}

.dark-band a {
    color: #f3b7c0;
}

.close-band {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink);
}

.close-band h2 {
    max-width: 16ch;
}

.crumb {
    margin-bottom: 1.25rem;
}

.crumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.crumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--line);
}

.page-head {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.page-head.has-media {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
}

.page-head h1 {
    max-width: 16ch;
}

.lockup {
    width: min(100%, 28rem);
    height: auto;
}

.prose {
    max-width: 68ch;
}

.prose h2 {
    margin-top: 2rem;
}

.with-toc {
    display: grid;
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.toc {
    position: sticky;
    top: 1.25rem;
    padding: 1rem;
    background: rgba(244, 247, 245, 0.92);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.toc h2 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list a {
    display: inline-block;
    padding: 0.28rem 0;
    text-decoration-thickness: 1px;
}

.service {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
}

.service h2 {
    max-width: 18ch;
}

.def-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.def-grid section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1rem 0.4rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.def-grid h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.service .frame {
    margin-top: 0.5rem;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--carmine);
}

.step {
    position: relative;
    padding: 0 0 2rem 1.4rem;
}

.step::before {
    content: "";
    position: absolute;
    left: -0.48rem;
    top: 0.35rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--carmine);
}

.step-no {
    margin: 0;
    color: var(--carmine-deep);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.step-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.step-meta div {
    background: var(--card);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
}

.step-meta dt {
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--carmine-deep);
    font-weight: 600;
}

.step-meta dd {
    margin: 0.25rem 0 0;
}

.offer-doc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.4rem 1.3rem 0.4rem;
    box-shadow: var(--shadow);
}

.offer-block {
    padding: 1.2rem 0;
    border-top: 1px solid var(--line);
}

.offer-block h2 {
    font-size: 1.7rem;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.two-col section {
    background: var(--paper);
    border-radius: 12px;
    padding: 0.9rem 1rem 0.3rem;
}

.faq-block {
    padding: 1.15rem 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 5.5rem;
}

.faq-block h2 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    max-width: 28ch;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: start;
}

.form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.95rem;
}

.field span {
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    line-height: 1.45;
}

textarea {
    min-height: 10rem;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--ink-soft);
    opacity: 1;
}

input:focus-visible,
textarea:focus-visible {
    border-color: var(--carmine);
    outline-color: var(--carmine-deep);
}

.check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 0.4rem 0 1rem;
    font-weight: 400;
}

.check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.25rem;
    flex: none;
    accent-color: var(--carmine-deep);
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-ok {
    background: #e7f0ec;
    color: #14362f;
    border: 1px solid #b7d2c8;
}

.alert-err {
    background: var(--carmine-soft);
    color: var(--danger);
    border: 1px solid #e3b3bc;
}

.field-error {
    color: var(--danger);
    font-size: 0.9375rem;
    margin: 0;
}

.help {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--carmine);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--carmine-deep);
    color: #fff;
}

.btn-line {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-line:hover,
.btn-line:focus-visible {
    background: var(--ink);
    color: var(--paper);
}

.btn-small {
    min-height: 40px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9375rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.note {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.legal h2 {
    margin-top: 1.8rem;
    font-size: 1.55rem;
}

.legal h3 {
    margin-top: 1.2rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 2rem 2.4rem;
    background: #d5dfda;
}

.footer-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.foot-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.foot-title {
    margin: 0 0 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--carmine-deep);
}

.foot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-list a {
    display: inline-block;
    padding: 0.15rem 0;
    color: var(--ink);
}

.fine-print {
    width: min(1080px, 100%);
    margin: 1.4rem auto 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 45;
    max-width: 46rem;
}

body.nav-open .cookie-banner {
    display: none;
}

.cookie-banner-inner {
    background: rgba(18, 23, 28, 0.94);
    color: var(--paper);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 16px 40px rgba(18, 23, 28, 0.24);
    backdrop-filter: blur(10px);
}

.cookie-title {
    margin: 0 0 0.35rem;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-banner p {
    color: #d5ded9;
    font-size: 0.98rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.cookie-banner .btn-line {
    color: var(--paper);
    border-color: #c5d0ca;
}

.cookie-banner .btn-line:hover,
.cookie-banner .btn-line:focus-visible {
    background: var(--paper);
    color: var(--ink);
}

.cookie-dialog {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.cookie-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 23, 28, 0.46);
}

.cookie-panel {
    position: relative;
    z-index: 1;
    width: min(38rem, calc(100% - 2rem));
    max-height: min(90vh, 44rem);
    overflow: auto;
    margin: 5vh auto;
    background: var(--card);
    color: var(--ink);
    border-radius: 18px;
    padding: 1.2rem 1.2rem 1rem;
    box-shadow: var(--shadow);
}

.cookie-panel .consent-form .btn-primary {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

@media (max-width: 720px) {
    .cookie-panel {
        width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem auto;
    }
}

.pref-set {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.pref-set legend {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pref-option {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
}

.pref-option input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.25rem;
    flex: none;
    accent-color: var(--carmine-deep);
}

.pref-option strong,
.lock-line {
    display: block;
}

.pref-locked {
    background: var(--paper);
    border-radius: 12px;
    padding: 0.8rem 0.9rem 0.2rem;
    margin-bottom: 1rem;
}

.lock-line {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--ink-soft);
}

.lock-line input {
    width: 1.05rem;
    height: 1.05rem;
}

.not-found h1 {
    max-width: 12ch;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
    list-style: none;
    padding: 0;
}

.link-grid a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}

.service,
.step,
.faq-block,
.offer-block {
    scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
    .opening-copy h1,
    .opening-copy .lede,
    .hero-wrap .glance {
        animation: rise 0.7s ease both;
    }
    .opening-copy .lede {
        animation-delay: 0.08s;
    }
    .hero-wrap .glance {
        animation-delay: 0.16s;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (min-width: 961px) {
    .rail {
        overflow: auto;
    }
    .cookie-banner {
        left: calc(15.5rem + 1rem);
    }
}

@media (min-width: 800px) {
    body.has-banner {
        padding-bottom: 11rem;
    }
}

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .method-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .shell {
        display: block;
    }
    .rail {
        position: sticky;
        top: 0;
        height: auto;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.7rem 0.9rem;
        border-right: 0;
        border-bottom: 1px solid #2c3b36;
        background: var(--rail);
        color: var(--rail-ink);
    }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        min-height: 44px;
        min-width: 44px;
        padding: 0.4rem 0.7rem;
        border-radius: 999px;
        border: 1px solid var(--rail-ink);
        background: transparent;
        color: var(--rail-ink);
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }
    .menu-lines {
        width: 1rem;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
    }
    .rail.is-open .menu-lines {
        background: transparent;
        box-shadow: none;
        position: relative;
    }
    .rail.is-open .menu-lines::before,
    .rail.is-open .menu-lines::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 1rem;
        height: 2px;
        background: currentColor;
    }
    .rail.is-open .menu-lines::before {
        transform: rotate(45deg);
    }
    .rail.is-open .menu-lines::after {
        transform: rotate(-45deg);
    }
    .rail-panel {
        display: none;
    }
    .rail.is-open {
        z-index: 70;
    }
    .rail.is-open .rail-panel {
        display: flex;
        position: fixed;
        z-index: 50;
        inset: 4.4rem 0 0 0;
        padding: 0.5rem 1.1rem 2rem;
        background: var(--paper);
        color: var(--ink);
        overflow: auto;
    }
    .rail.is-open .nav-link:hover,
    .rail.is-open .nav-link:focus-visible {
        background: rgba(18, 23, 28, 0.06);
    }
    .rail.is-open .nav-index {
        color: var(--carmine);
    }
    .rail.is-open .nav-link.is-current {
        background: var(--carmine-soft);
        box-shadow: inset 3px 0 0 var(--carmine);
    }
    .rail.is-open .rail-foot {
        color: var(--ink-soft);
    }
    .rail.is-open .rail-foot a {
        color: var(--carmine-deep);
    }
    .rail.is-open .rail-panel :focus-visible {
        outline-color: var(--carmine-deep);
    }
    .rail.is-open .nav-link {
        font-size: 1.2rem;
        min-height: 48px;
    }
    .page {
        padding: 1.4rem 1.1rem 3rem;
    }
    .with-toc,
    .page-head.has-media,
    .form-layout,
    .split,
    .dark-band,
    .opening,
    .hero-wrap .glance {
        position: static;
        width: auto;
    }
    .with-toc,
    .page-head.has-media,
    .form-layout,
    .split,
    .dark-band {
        grid-template-columns: 1fr;
    }
    .toc {
        position: static;
    }
    .hero-wrap .glance {
        margin-top: 0.9rem;
    }
    .site-footer {
        padding: 1.5rem 1.1rem 2rem;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .chapter,
    .ledger-row,
    .def-grid,
    .step-meta,
    .two-col,
    .method-steps,
    .link-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .close-band {
        flex-direction: column;
        align-items: stretch;
    }
    .index-row {
        grid-template-columns: 2.6rem minmax(0, 1fr);
    }
    .index-go {
        grid-column: 2;
    }
    .chapter-no {
        margin: 0;
    }
    h1 {
        max-width: none;
    }
    .cookie-banner {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
    }
    .cookie-actions,
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-actions .btn,
    .actions .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .page {
        padding-inline: 0.85rem;
    }
    .brand-kicker {
        letter-spacing: 0.08em;
    }
}

@media print {
    .rail,
    .cookie-banner,
    .cookie-dialog,
    .menu-toggle,
    .skip-link {
        display: none !important;
    }
    .shell {
        display: block;
    }
    body {
        background: #fff;
        color: #000;
    }
    a {
        color: #000;
    }
}
