/* Start page. Legal pages do not load this file. */

@font-face {
    font-family: Inter;
    src: url("assets/fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body.page-home {
    /* Palette. One accent, taken from the original logo (#0066FF). */
    --paper: #ffffff;
    --paper-2: #f6f7f8;
    --cream: #ffffff;
    --sand: #f6f7f8;
    --sand-deep: #f3f4f6;
    --photo-fill: #f3f4f6;
    --white: #ffffff;
    --ink: #1a1a1a;
    --ink-soft: #3f3f3f;
    --muted: #5a5a5a;
    --line: #e7e7e7;
    --line-strong: #d9d9d9;
    --footer-line: #e7e7e7;
    --accent: #0066ff;
    --accent-deep: #0052cc;
    --before: #5a5a5a;
    --good: #1a1a1a;
    --danger: #9b2c2c;
    --folder: #8a8a8a;
    --folder-edge: #6e6e6e;
    --file-edge: #d0d0d0;
    --cta: #f6f7f8;
    --on-cta: #1a1a1a;
    --on-cta-soft: #3f3f3f;
    --cta-ink: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --nav-line: #e7e7e7;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-soft: rgba(0, 0, 0, 0.05);
    --lightbox: rgba(18, 22, 20, 0.72);
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color-scheme: light;
}

body.page-home h1,
body.page-home h2,
body.page-home .phone-id {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 560;
    letter-spacing: -0.022em;
    line-height: 1.12;
    color: var(--ink);
}

body.page-home h1 {
    font-size: clamp(1.85rem, 1.1rem + 2.1vw, 2.75rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    max-width: 14em;
}

body.page-home h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.55rem);
    margin: 0 0 0.85rem;
    max-width: 18em;
}

body.page-home h3 {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 560;
    letter-spacing: -0.02em;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 0.55rem;
    color: var(--ink);
}

body.page-home p { margin: 0 0 0.8rem; }

body.page-home a {
    color: var(--accent);
    text-underline-offset: 0.16em;
}

body.page-home a:hover { color: var(--accent-deep); }

.h1-follow { display: block; margin-top: 0.16em; }

.kicker {
    margin: 0 0 0.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.lede {
    font-size: 1.16rem;
    line-height: 1.5;
    max-width: 38rem;
    color: var(--ink-soft);
}

.fine {
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 42rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    background: var(--accent);
    color: var(--cream);
    text-decoration: none;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
}

body.page-home a.skip-link,
body.page-home a.skip-link:hover,
body.page-home a.skip-link:focus {
    color: var(--cream);
    background: var(--accent);
}

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

body.page-home :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

body.page-home .container {
    max-width: 1120px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

body.page-home nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: block;
    height: auto;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-line);
    backdrop-filter: blur(12px);
}

body.page-home nav .container {
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.page-home .logo {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

body.page-home .logo a,
body.page-home a.logo,
body.page-home .site-footer a.logo,
body.page-home .site-footer a.logo:hover {
    color: var(--ink);
    text-decoration: none;
}

body.page-home .nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
}

body.page-home .nav-links a:hover { color: var(--ink); }

body.page-home .btn {
    border-radius: 8px;
    padding: 0.72rem 1.05rem;
    min-height: 44px;
    box-shadow: none;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}

body.page-home .btn-primary {
    background: var(--accent);
    color: var(--cream);
}

body.page-home .btn-primary:hover {
    background: var(--accent-deep);
    color: var(--white);
    transform: none;
    box-shadow: none;
}

body.page-home .btn-line {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

body.page-home .btn-line:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

body.page-home .nav-links .btn {
    padding: 0.5rem 0.85rem;
    min-height: 40px;
    color: var(--cream);
}

body.page-home .menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-bars {
    position: relative;
    width: 18px;
    height: 12px;
    display: block;
}

.menu-bars span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 5px; }
.menu-bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}

.band { padding: 4.25rem 0; }
.band--sand { background: var(--sand); }

.hero { padding: 1.5rem 0 3rem; }

.hero-layout {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero-copy { max-width: 40rem; }

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin: 1.35rem 0 0.85rem;
}

.price-line {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

body.page-home a.store-link {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line-strong);
    text-decoration: none;
}

body.page-home a.store-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.scene {
    margin: 0;
}

.scene-grid {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}

.hero-photo {
    display: block;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--photo-fill);
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 32px var(--shadow);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 70%;
}

.scene figcaption {
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 46rem;
}

.problem-list {
    list-style: none;
    counter-reset: problem;
    padding: 0;
    margin: 1.4rem 0 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.problem-list li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.65rem;
    align-items: baseline;
    max-width: 42rem;
}

.problem-list li::before {
    counter-increment: problem;
    content: counter(problem, decimal-leading-zero);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    color: var(--accent);
}

.compare {
    display: grid;
    gap: 0.9rem;
}

.compare-panel {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem 1.1rem 1.15rem;
}

.compare-panel h3 {
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.compare-panel--before h3 { color: var(--before); }
.compare-panel--after h3 { color: var(--accent); }

.compare-panel p:last-child { margin: 0; }

.steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.9rem;
    align-items: stretch;
}

.step {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1rem 0.9rem;
}

body.page-home .step h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    line-height: 1.25;
    min-height: 2.5em;
    overflow: visible;
}

.step-media {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    height: 9.25rem;
    min-height: 0;
}

.step-media--pair { grid-template-columns: 1fr 1fr; }

.step-thumb {
    display: block;
    min-width: 0;
    min-height: 0;
    height: 100%;
    border: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sand);
    cursor: zoom-in;
}

.step-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.step-no {
    display: block;
    font-family: Inter, "Segoe UI", sans-serif;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

body.page-home .step p {
    color: var(--ink-soft);
    margin: 0 0 0.85rem;
    line-height: 1.45;
    min-height: 4.35em;
    overflow: visible;
}

.affiliate {
    margin: 1.35rem 0 0;
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.affiliate-mark { display: block; margin-top: 0.2rem; }

.handover-grid {
    display: grid;
    gap: 1.25rem;
}

.finder {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.finder-title {
    margin: 0;
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid var(--line);
    font-weight: 750;
    font-size: 0.92rem;
}

.tree {
    list-style: none;
    margin: 0;
    padding: 0.45rem 0 0.7rem;
    max-height: 440px;
    overflow: auto;
    font-variant-numeric: tabular-nums;
    font-size: 0.84rem;
    line-height: 1.35;
}

.tree ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0.15rem 1.05rem;
}

.tree li { padding: 0.08rem 0.9rem 0.08rem 0; }

.tree-dir > span,
.tree-file {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tree-dir > span { font-weight: 750; }

.mark {
    width: 14px;
    height: 11px;
    flex: 0 0 14px;
    position: relative;
}

.mark--folder {
    background: var(--folder);
    border-radius: 1px 2px 2px 2px;
    box-shadow: inset 0 0 0 1px var(--folder-edge);
}

.mark--folder::before {
    content: "";
    position: absolute;
    left: 1px;
    top: -3px;
    width: 6px;
    height: 4px;
    background: var(--folder);
    border-radius: 1px 1px 0 0;
    box-shadow: inset 0 0 0 1px var(--folder-edge);
}

.mark--file {
    height: 14px;
    background: var(--white);
    border: 1px solid var(--file-edge);
    border-radius: 1px;
}

.thumbs-note { margin: 1.15rem 0 0.7rem; }

.thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 9.25rem));
    gap: 0.65rem 0.8rem;
    justify-content: start;
    margin: 0;
    max-width: 100%;
}

.thumb {
    margin: 0;
    width: auto;
    min-width: 0;
}

.thumb a {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 8px 16px var(--shadow);
    cursor: zoom-in;
}

.thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.thumb figcaption {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.25;
    color: var(--muted);
    overflow-wrap: break-word;
}

dialog.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    width: min(960px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
}

dialog.lightbox::backdrop { background: var(--lightbox); }

.lightbox-card {
    background: var(--paper-2);
    border-radius: 12px;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: calc(100vh - 1rem);
}

.lightbox-stage {
    position: relative;
    overflow: hidden;
    height: min(68vh, 640px);
    background: #1a1d1c;
    border-radius: 8px;
    touch-action: none;
    display: grid;
    place-items: center;
    cursor: grab;
}

.lightbox-stage.is-zoomed { cursor: grabbing; }

.lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    background: transparent;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-bar,
.lightbox-tools {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.lightbox-bar { justify-content: space-between; }

.lightbox-bar p { margin: 0; font-weight: 650; }

.lightbox-tools { flex-wrap: wrap; }

.lightbox-close,
.lightbox-tools button {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 0.35rem 0.7rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.lightbox-tools button[hidden] { display: none; }

.who-grid,
.price-grid,
.contact-grid {
    display: grid;
    gap: 0.9rem;
}

.who-card,
.price-card,
.form-panel {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem 1.15rem 1.25rem;
}

.who-card {
    border-radius: 0 0 16px 16px;
    border-top: 3px solid var(--accent);
}

body.page-home a.who-card,
body.page-home a.who-card p {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

a.who-card:hover {
    border-color: var(--accent);
}

.who-more {
    display: inline-block;
    margin-top: 0.85rem;
    color: var(--accent);
    font-weight: 650;
}

.role-page { padding: 2.25rem 0 4rem; }

.role-page .lede { max-width: 40rem; }

.role-block { margin-top: 2.75rem; }

.role-block h2 { margin-bottom: 0.85rem; }

.role-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.role-steps li {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.role-steps strong {
    display: block;
    margin-bottom: 0.25rem;
}

.role-back {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-weight: 650;
}

.who-card p:last-child,
.price-card p:last-child { margin-bottom: 0; }

.who-meta {
    margin: -0.2rem 0 0.55rem;
    color: var(--muted);
    font-size: 0.92rem;
}

body.page-home .price-card { text-align: center; }

.price-legal {
    margin: 0.9rem auto 0;
    max-width: 26rem;
}

.price-note { margin-top: 1rem; }

.spec-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    margin: 1.2rem 0 0;
    border-top: 1px solid var(--line);
}

.spec-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 650;
}

.price-card--main {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.price-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.price-num {
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 560;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin: 0.45rem 0 0.35rem;
}

.price-card .btn { margin-top: 1rem; }

.faq {
    max-width: 44rem;
    margin-top: 0.4rem;
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 0.85rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--accent);
    flex: 0 0 auto;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
    margin: 0.65rem 0 0.15rem;
    max-width: 62ch;
    color: var(--ink-soft);
}

.cta-band {
    background: var(--cta);
    color: var(--on-cta);
}

body.page-home .cta-band h2 {
    color: var(--on-cta);
}

body.page-home .cta-band .lede {
    color: var(--on-cta-soft);
}

body.page-home .cta-band .btn-primary,
body.page-home .cta-band .btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    border: 1px solid var(--accent);
}

body.page-home .cta-band .btn-primary:hover {
    background: var(--accent-deep);
}

body.page-home .cta-band .btn-line,
body.page-home .cta-band a.store-link {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

body.page-home .cta-band .btn-line:hover,
body.page-home .cta-band a.store-link:hover {
    background: var(--white);
    color: var(--accent);
    border-color: var(--accent);
}

body.page-home .cta-band :focus-visible { outline-color: var(--on-cta); }

.form-panel { padding: 1.25rem 1.1rem 1.3rem; }

.form-row { display: grid; gap: 0.9rem; }

body.page-home .form-group { margin-bottom: 0.9rem; }

body.page-home .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 650;
    text-transform: none;
    letter-spacing: 0;
}

body.page-home .form-control {
    width: 100%;
    padding: 0.75rem 0.8rem;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    box-shadow: none;
}

body.page-home .form-control:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
    background: var(--white);
}

body.page-home textarea.form-control { min-height: 140px; }

.form-banner {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--good);
    background: var(--white);
    margin-bottom: 0.9rem;
}

.form-banner--error { border-left-color: var(--danger); }

body.page-home .site-footer {
    background: var(--sand-deep);
    color: var(--ink);
    border-top: 1px solid var(--footer-line);
    padding: 3.2rem 0 2rem;
}

body.page-home .site-footer a { color: var(--ink-soft); }
body.page-home .site-footer a:hover { color: var(--accent); }

body.page-home .footer-brand p,
body.page-home .footer-base,
body.page-home .footer-note {
    color: var(--muted);
}

body.page-home .footer-base { border-top-color: var(--footer-line); }

body.page-home .footer-heading { color: var(--ink); }

@media (max-width: 980px) {
    body.page-home .menu-toggle { display: inline-flex; }

    body.page-home .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.45rem 1.2rem 1rem;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px var(--shadow-soft);
    }

    body.page-home .nav-links.active { display: flex; }

    body.page-home .nav-links a { padding: 0.55rem 0; }

    body.page-home .nav-links .btn {
        width: 100%;
        margin-top: 0.35rem;
    }
}

@media (min-width: 720px) {
    .problem-list { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
    .problem-list li { max-width: none; }
    .compare { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
    .hero { padding: 2rem 0 3.5rem; }
    .hero-layout {
        grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr);
        gap: 3rem;
        align-items: center;
    }
}

@media (max-width: 959px) {
    .hero-photo,
    .hero-photo img {
        max-height: 45vh;
    }
    .hero-photo img {
        height: 45vh;
    }
}

@media (min-width: 860px) {
    .scene-grid { grid-template-columns: 1.28fr 0.72fr; gap: 1.5rem; }
    .hero-photo { max-width: none; }
    .handover-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
    .thumbs { grid-template-columns: repeat(3, 9.25rem); }
    .who-grid { grid-template-columns: repeat(3, 1fr); }
    .price-grid { grid-template-columns: 1.15fr 0.85fr; }
    .contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: 2rem; }
    .spec-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 2.5rem;
    }
}

@media (min-width: 981px) {
    body.page-home .menu-toggle { display: none; }
    body.page-home .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}

@media (min-width: 700px) {
    .steps { grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: stretch; }
}

@media (min-width: 900px) {
    .band { padding: 5.4rem 0; }
}

@media (min-width: 1100px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }

@media (max-width: 699px) {
    .step-media { height: 8.5rem; }
}
}

body.page-home .hero { text-align: left; }

/* Long legal texts: light surface, one accent, about 72 characters per line. */
.page-legal .legal-content {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2.5rem 0 4.5rem;
}

.page-legal .legal-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.page-legal .legal-card h1 {
    font-size: clamp(1.85rem, 2.4vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    margin: 0 0 1.25rem;
}

.page-legal .legal-card h2 {
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.3;
    color: var(--ink);
    margin: 2.1rem 0 0.55rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
}

.page-legal .legal-card h3 {
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--ink);
    margin: 1.35rem 0 0.35rem;
}

.page-legal .legal-card p,
.page-legal .legal-card li {
    max-width: 72ch;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.page-legal .legal-card ul,
.page-legal .legal-card ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.page-legal .legal-card li { margin-bottom: 0.35rem; }

.page-legal .legal-card strong { color: var(--ink); }

.page-legal .legal-card a { color: var(--accent); }

.page-legal .text-muted { color: var(--muted) !important; }

.page-legal .legal-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.page-legal .legal-card th,
.page-legal .legal-card td {
    border: 1px solid var(--line);
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
    color: var(--ink);
}

.page-legal .legal-card th {
    background: var(--paper-2);
    font-weight: 650;
}

.page-legal .b2b-alert {
    max-width: 72ch;
    border: 0;
    border-left: 3px solid var(--accent);
    background: var(--paper-2);
    color: var(--ink);
    padding: 0.9rem 1rem;
    margin: 0 0 1.25rem;
    border-radius: 0 10px 10px 0;
}

.page-legal .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
    color: var(--accent);
    font-weight: 650;
    text-decoration: none;
}

.page-legal .back-link:hover { color: var(--accent-deep); }

@media (max-width: 719px) {
    body.page-home .footer-grid {
        text-align: left;
        gap: 1.75rem !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .menu-bars span { transition: transform 0.15s ease, opacity 0.15s ease, top 0.15s ease; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body.page-home section { scroll-margin-top: 5rem; }
