@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #F1ECE8;
    --card: #F8F4F1;
    --line: #E2DAD4;
    --line-soft: #E6DED8;
    --chip: #EDE6E1;
    --ink: #141414;
    --text: #2B2724;
    --muted: #7A716B;
    --muted-2: #5E5651;
    --placeholder: #9A918B;
    --accent: #DD3F31;
    --accent-dark: #C4331F;
    --accent-soft: #FBEAE7;
    --accent-ink: #A42C1E;
    --green: #2DAA5A;
    --gray: #B7AFA9;
    --pad-x: clamp(16px, 4vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #B8301F; }
input::placeholder { color: var(--placeholder); }
button { font-family: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; }

@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.page { min-height: 100vh; background: var(--bg); }
section[id], footer[id] { scroll-margin-top: 76px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
.accent { color: var(--accent); }

/* ---------- Notice bar ---------- */
.notice-bar {
    background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
    padding: 10px var(--pad-x); display: flex; justify-content: center; align-items: center;
    gap: 10px; text-align: center; letter-spacing: .01em;
}
.notice-bar__icon {
    width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none;
}

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(241, 236, 232, .88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header__row {
    max-width: 1240px; margin: 0 auto; padding: 12px var(--pad-x);
    display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
}
.nav {
    margin-left: -14px; display: flex; gap: 4px; flex-wrap: nowrap; flex: 1; min-width: 0;
    overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
    color: var(--ink); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
    transition: background .15s;
}
.nav a:hover { background: var(--line-soft); color: var(--ink); }

.header__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.header__mobile { flex: 1; display: none; gap: 8px; align-items: center; }
.header__mobile .burger { margin-left: auto; }

.burger {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
    background: transparent; color: var(--ink); cursor: pointer; font-size: 18px;
    display: flex; align-items: center; justify-content: center; flex: none;
    transition: background .15s, color .15s;
}
.burger[aria-expanded="true"] { background: var(--ink); color: #fff; }

.mobile-menu {
    border-top: 1px solid var(--line); padding: 8px var(--pad-x) 20px; background: var(--bg);
    display: flex; flex-direction: column; gap: 2px; animation: fade .2s ease;
}
.mobile-menu a {
    color: var(--ink); font-size: 17px; font-weight: 700; padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a span { color: var(--accent); }
.mobile-menu a.btn {
    margin-top: 14px; height: 52px; padding: 0 20px; font-size: 16px;
    justify-content: center; border: 1.5px solid var(--ink); flex: none;
}
body.menu-open .header {
    background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: 0 16px 32px rgba(20, 20, 20, .14);
}
.menu-backdrop {
    position: fixed; inset: 0; z-index: 19; background: rgba(20, 20, 20, .5);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease; }
body.menu-open .mobile-cta { display: none !important; }
body.menu-open .notice-bar { position: relative; z-index: 20; }
body.menu-open .mobile-menu {
    max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain;
}

/* ---------- Buttons ---------- */
.btn {
    font-family: inherit; font-weight: 700; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    border: 1.5px solid transparent; text-align: center; line-height: 1.2;
    transition: background .15s, color .15s, border-color .15s;
}
.btn--sm { font-size: 14px; padding: 11px 18px; }
.btn--md { font-size: 15px; padding: 16px 28px; }
.btn--lg { font-size: 16px; padding: 18px 26px; min-height: 56px; }

.btn--outline-dark { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--red { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn--red:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--red-to-dark { border: none; background: var(--accent); color: #fff; }
.btn--red-to-dark:hover { background: var(--ink); color: #fff; }
.btn--dark { border: none; background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--outline-red { border: 2px solid var(--accent); background: transparent; color: var(--accent); }
.btn--outline-red:hover { background: var(--accent); color: #fff; }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--line-soft); color: var(--ink); }
.btn--header-cta { font-size: 14px; padding: 0 16px; height: 44px; border: none; background: var(--accent); color: #fff; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(28px, 5vw, 40px); padding: clamp(36px, 8vw, 72px) 0 clamp(40px, 7vw, 64px); align-items: center;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.hero__title {
    margin: 0; font-weight: 800; font-size: clamp(34px, 10vw, 72px); line-height: 1;
    letter-spacing: -.035em; text-transform: uppercase;
}
.hero__pill {
    display: inline-block; margin-top: 12px; font-weight: 800; font-size: clamp(34px, 10vw, 72px);
    line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: var(--accent);
    border: 3px solid var(--accent); border-radius: 999px; padding: 4px clamp(16px, 4vw, 28px) 10px;
}
.hero__lead {
    margin: clamp(20px, 5vw, 32px) 0 0; font-size: clamp(16px, 4.2vw, 18px); line-height: 1.55;
    max-width: 560px; color: var(--text); text-wrap: pretty;
}
.hero__law { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__cta .btn { flex: 1 1 240px; max-width: 100%; }
.hero__cta .btn span { font-size: 18px; }

.hero__side { display: flex; flex-direction: column; gap: 16px; }
.need-card {
    background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(22px, 5vw, 32px);
    position: relative; overflow: hidden;
}
.need-card__blob { position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--accent); }
.need-card__label { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.need-card__list { position: relative; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.need-card__item { display: flex; gap: 14px; align-items: center; font-size: 16px; font-weight: 600; }
.need-card__num {
    width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none;
}
.warn-card {
    border: 2px solid var(--accent); border-radius: 28px;
    padding: clamp(18px, 4.5vw, 24px) clamp(18px, 4.5vw, 28px);
    display: flex; gap: 14px; align-items: flex-start; background: #F7F1EE;
}
.warn-card__icon {
    width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: none;
}
.warn-card__title { font-weight: 800; color: var(--accent); font-size: 15px; text-transform: uppercase; letter-spacing: .01em; }
.warn-card__text { margin-top: 6px; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(36px, 7vw, 56px) 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section--last { padding-bottom: clamp(48px, 8vw, 72px); }
.section__head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
}
.h2 {
    margin: 0; font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em;
    text-transform: uppercase; line-height: 1;
}
.section__note { margin: 0; color: var(--muted); font-size: 15px; max-width: 360px; line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.step {
    background: var(--card); border: 1px solid var(--line); border-radius: 24px;
    padding: clamp(20px, 5vw, 26px); display: flex; flex-direction: column; gap: 12px;
    min-height: clamp(160px, 40vw, 200px); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(20, 20, 20, .35); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__n { font-weight: 800; font-size: 40px; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.step__time { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--chip); padding: 5px 10px; border-radius: 999px; }
.step__title { font-weight: 700; font-size: 18px; line-height: 1.25; }
.step__text { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.steps__cta { margin-top: 24px; display: flex; justify-content: center; }

.support {
    background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 44px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center;
}
.support__title {
    margin: 0; font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em;
    text-transform: uppercase; line-height: 1.05;
}
.support__text { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted-2); max-width: 440px; }
.online {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600;
    background: var(--chip); padding: 8px 14px; border-radius: 999px;
}
.online .dot { background: var(--gray); }
.online.is-online .dot { background: var(--green); }
.support__links { display: flex; flex-direction: column; gap: 12px; }
.contact {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px;
    border-radius: 20px; transition: background .15s, color .15s, border-color .15s;
}
.contact__body { display: flex; flex-direction: column; gap: 2px; }
.contact__name { font-weight: 700; font-size: 17px; }
.contact__sub { font-size: 13px; }
.contact__arrow { font-size: 22px; }
.contact--dark { background: var(--ink); color: #fff; }
.contact--dark .contact__sub { color: #C9C1BB; }
.contact--dark:hover { background: var(--accent); color: #fff; }
.contact--light { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.contact--light .contact__sub { opacity: .65; }
.contact--light:hover { background: var(--ink); color: #fff; }
.contact--mail { padding: 16px 24px; color: var(--ink); border: 1.5px dashed #C9BFB8; }
.contact--mail:hover { border-color: var(--accent); color: var(--accent); }
.contact--mail .contact__name { font-size: 15px; }
.contact--mail .contact__sub { font-weight: 600; }

.pill-title {
    display: inline-block; font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em;
    text-transform: uppercase; color: var(--accent); border: 2.5px solid var(--accent);
    border-radius: 999px; padding: 4px 22px 6px; margin-bottom: 28px;
}
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.about__card {
    border-radius: 32px; padding: clamp(28px, 4vw, 44px); min-height: clamp(180px, 45vw, 240px);
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.about__card--red { background: var(--accent); color: #fff; }
.about__card--sand { background: var(--line-soft); color: var(--ink); }
.about__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about__card--red .about__tag { opacity: .85; }
.about__card--sand .about__tag { color: var(--muted); }
.about__text { font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }

/* ---------- Dark footer ---------- */
.dark-zone {
    background: var(--ink); color: #fff;
    border-radius: clamp(28px, 7vw, 40px) clamp(28px, 7vw, 40px) 0 0;
    padding: clamp(40px, 8vw, 56px) var(--pad-x) 40px;
}
.dark-zone__inner { max-width: 1240px; margin: 0 auto; }
.partners__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.partners__title {
    font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; text-transform: uppercase;
    border: 2px solid #fff; border-radius: 999px; padding: 6px 22px 8px;
}
.partners__note { font-size: 14px; color: var(--gray); }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 40%), 1fr)); gap: clamp(8px, 2vw, 12px); }
.partner {
    border: 1px solid #2E2A28; border-radius: 20px; height: clamp(96px, 26vw, 110px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    transition: background .2s;
}
.partner:hover { background: #221F1D; }
.partner img { height: clamp(62px, 17vw, 76px); width: auto; max-width: 86%; object-fit: contain; display: block; }

.footer {
    margin-top: clamp(36px, 8vw, 56px); padding-top: 28px; border-top: 1px solid #2E2A28;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer__mail { display: flex; flex-direction: column; gap: 4px; }
.footer__label { font-size: 12px; color: #8A817B; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer__email { color: #fff; font-weight: 800; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; transition: color .15s; }
.footer__email:hover { color: var(--accent); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer__links a { color: #C9C1BB; transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__links a.underline { text-decoration: underline; }

/* ---------- Mobile bottom CTA ---------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px clamp(12px, 4vw, 16px) calc(10px + env(safe-area-inset-bottom));
    background: rgba(241, 236, 232, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); display: none; gap: 8px;
    transform: translateY(110%); visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
}
.mobile-cta.is-shown { transform: none; visibility: visible; transition: transform .28s ease; }
.mobile-cta .btn { height: 54px; font-size: 16px; padding: 0 16px; }
.mobile-cta .btn--dark { flex: 1; }
.mobile-cta .btn--outline-red { flex: none; font-size: 14px; }
body.modal-open .mobile-cta { display: none !important; }

/* ---------- Modal ---------- */
.overlay {
    position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 20, .55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px;
    overflow-y: auto; animation: fade .2s ease;
}
.sheet {
    width: 100%; max-width: 520px; background: var(--card); border-radius: 32px;
    padding: clamp(20px, 5.5vw, 32px) clamp(18px, 5.5vw, 32px) calc(clamp(20px, 5.5vw, 32px) + env(safe-area-inset-bottom));
    position: relative; animation: pop .25s ease; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
}
.sheet__close {
    position: absolute; top: clamp(14px, 4vw, 20px); right: clamp(14px, 4vw, 20px);
    width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--line-soft);
    cursor: pointer; font-size: 18px; color: var(--ink); transition: background .15s, color .15s;
}
.sheet__close:hover { background: var(--ink); color: #fff; }
.sheet__title {
    font-weight: 800; font-size: clamp(21px, 6vw, 26px); letter-spacing: -.03em;
    text-transform: uppercase; padding-right: 52px; line-height: 1.15;
}
.sheet__sub { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

.progress { display: flex; gap: 6px; margin-top: 18px; }
.progress__item { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.progress__bar { height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.progress__label { font-size: 12px; font-weight: 600; color: var(--placeholder); transition: color .3s; }
.progress__item.is-done .progress__bar { background: var(--accent); }
.progress__item.is-done .progress__label { color: var(--ink); }

.form-step { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; animation: fade .25s ease; }
.form-step--tight { gap: 16px; }
.field__label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.field__label--with-hint { margin-bottom: 4px; }
.field__hint-top { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.field__hint { font-size: 12px; margin-top: 8px; padding-left: 4px; font-weight: 600; color: var(--muted); }
.field__hint.is-error { color: var(--accent); }
.field__hint.is-ok { color: var(--green); }
.field--reveal { animation: fade .25s ease; }

.input {
    width: 100%; font-family: inherit; font-size: 16px; font-weight: 500; padding: 15px 18px;
    border-radius: 16px; border: 1.5px solid var(--ink); background: #fff; outline: none; color: var(--ink);
    transition: border-color .15s;
}
.input--strong { font-weight: 600; }
.input:focus { border-color: var(--accent); }
.input.is-error { border-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }

.dd { position: relative; }
.dd__btn {
    width: 100%; font-family: inherit; font-size: 16px; font-weight: 600; padding: 15px 18px;
    border-radius: 16px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; text-align: left; gap: 12px;
    transition: border-color .15s;
}
.dd__btn.is-error { border-color: var(--accent); }
.dd__btn:focus-visible { border-color: var(--accent); outline: none; }
.dd__value.is-empty { color: var(--placeholder); }
.dd__arrow { font-size: 14px; flex: none; }
.dd__menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff;
    border: 1.5px solid var(--ink); border-radius: 20px; padding: 6px; z-index: 5;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); max-height: 320px; overflow-y: auto;
    animation: fade .15s ease;
}
.dd__opt {
    width: 100%; text-align: left; font-family: inherit; font-size: 15px; font-weight: 600; padding: 12px 14px;
    border: none; background: transparent; border-radius: 14px; cursor: pointer; color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .12s;
}
.dd__opt:hover, .dd__opt:focus-visible { background: var(--bg); outline: none; }
.dd__opt.is-selected { background: var(--bg); }
.dd__opt small { color: var(--muted); font-weight: 500; font-size: 13px; }

.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle {
    font-family: inherit; font-size: 16px; font-weight: 700; padding: 15px; border-radius: 999px;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: all .15s;
}
.toggle.is-active { background: var(--ink); color: #fff; }
.toggles.is-error .toggle { border-color: var(--accent); }

.btn-next {
    font-family: inherit; font-size: 17px; font-weight: 700; padding: 18px; border-radius: 999px; border: none;
    background: var(--gray); color: #fff; cursor: pointer; transition: background .2s;
}
.btn-next.is-valid { background: var(--accent); }
.consent { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }

.step-intro { font-size: 15px; color: var(--muted-2); line-height: 1.5; }
.summary { background: #fff; border-radius: 20px; border: 1px solid var(--line); }
.summary__row {
    display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px;
    border-bottom: 1px solid var(--bg); font-size: 15px;
}
.summary__row:last-child { border-bottom: none; }
.summary__k { color: var(--muted); flex: none; }
.summary__v { font-weight: 700; text-align: right; word-break: break-word; }
.alert {
    display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border-radius: 16px;
    padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--accent-ink); line-height: 1.45;
}
.alert b { font-weight: 800; }
.actions-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.actions-2 .btn { font-size: 16px; padding: 17px; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-top: 32px; animation: fade .25s ease; }
.done__icon {
    width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800;
}
.done__title { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.done__text { font-size: 15px; color: var(--muted-2); line-height: 1.5; max-width: 380px; }
.done__code {
    font-weight: 800; font-size: clamp(22px, 7vw, 28px); letter-spacing: .04em; padding: 12px 24px;
    border: 2px dashed var(--accent); border-radius: 16px; color: var(--accent);
}
.done__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; width: 100%; margin-top: 10px; }
.done__actions .btn { font-size: 15px; padding: 16px; }

.spinner {
    width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35);
    border-top-color: #fff; animation: spin .8s linear infinite;
}
.spinner--dark { border-color: var(--line); border-top-color: var(--accent); }

/* ---------- Status ---------- */
.status-toolbar { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.status-toolbar .btn { font-size: 15px; padding: 15px 24px; }
.status-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.st-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; animation: fade .3s ease; }
.st-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-card__no { font-weight: 800; font-size: 18px; }
.st-card__meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.badge--ok { background: #E3F3E8; color: #1E7A40; }
.badge--bad { background: var(--ink); color: #fff; }
.timeline { display: flex; flex-direction: column; margin-top: 20px; }
.tl { display: flex; gap: 14px; }
.tl__rail { display: flex; flex-direction: column; align-items: center; }
.tl__dot {
    width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 3px; background: #fff;
    border: 2px solid #C9BFB8;
}
.tl__line { width: 2px; flex: 1; background: var(--line); }
.tl:last-child .tl__line { background: transparent; }
.tl__body { padding-bottom: 18px; }
.tl__name { font-weight: 700; font-size: 15px; color: var(--placeholder); }
.tl__sub { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.tl.is-done .tl__dot { background: var(--accent); border-color: var(--accent); }
.tl.is-done .tl__name { color: var(--ink); }
.tl.is-done-next .tl__line { background: var(--accent); }
.tl.is-current .tl__dot { box-shadow: 0 0 0 5px var(--accent-soft); }
.st-note { font-size: 13px; color: var(--muted-2); line-height: 1.5; background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.st-note--bad { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.st-group { margin-top: 28px; }
.st-group__title {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.st-group__count {
    min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--chip);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; letter-spacing: 0; color: var(--muted-2);
}
.st-group__list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.st-mini { background: #fff; border: 1px solid var(--line); border-radius: 18px; animation: fade .3s ease; transition: border-color .2s ease; }
.st-mini[open] { border-color: var(--gray); }
.st-mini__head {
    display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 16px 12px 18px;
    list-style: none; cursor: pointer; border-radius: 18px;
    -webkit-tap-highlight-color: transparent; user-select: none;
}
.st-mini__head::-webkit-details-marker { display: none; }
.st-mini__head::marker { content: ''; }
.st-mini__head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-mini__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-mini__no { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-mini__meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-mini__chev {
    flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); position: relative;
    transition: transform .25s ease, background .2s ease;
}
.st-mini__chev::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
    border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
    transform: translate(-50%, -70%) rotate(45deg);
}
.st-mini[open] .st-mini__chev { transform: rotate(180deg); }
.st-mini__head:hover .st-mini__chev { background: var(--line); }
.st-mini__body { padding: 0 18px 18px; animation: pop .25s ease; }
.st-mini__body .timeline { margin-top: 4px; }
@media (max-width: 419px) {
    .st-card { padding: 20px 18px; border-radius: 20px; }
    .st-mini__head { padding: 10px 12px 10px 14px; gap: 8px; }
    .st-mini__body { padding: 0 14px 14px; }
    .st-mini .badge { padding: 5px 10px; font-size: 11px; }
}
.st-empty { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; text-align: center; animation: fade .3s ease; }
.st-empty__title { font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; }
.st-empty__text { margin: 10px auto 18px; font-size: 14px; color: var(--muted-2); line-height: 1.5; max-width: 380px; }
.st-loading { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 32px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* Standalone status/success pages */
.page-section { padding: clamp(36px, 8vw, 64px) 0 clamp(48px, 8vw, 72px); }
.page-card {
    max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line);
    border-radius: 32px; padding: clamp(22px, 5.5vw, 36px); animation: pop .25s ease;
}
.page-card .sheet__title { padding-right: 0; }

/* ---------- Tariffs ---------- */
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tariff {
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 5vw, 28px);
    display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s;
}
.tariff:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(20, 20, 20, .35); }
.tariff--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tariff__ids { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tariff--dark .tariff__ids { color: var(--gray); }
.tariff__price { font-weight: 800; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.tariff__title { font-weight: 700; font-size: 18px; line-height: 1.25; }
.tariff__text { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.tariff--dark .tariff__text { color: #C9C1BB; }
.tariffs__note { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--muted-2); background: var(--card); border: 1px dashed #C9BFB8; border-radius: 20px; padding: 16px 20px; }
.tariffs__note a { font-weight: 600; text-decoration: underline; }

/* ---------- Consent checkbox ---------- */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted-2); cursor: pointer; }
.check input {
    appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0;
    border: 1.5px solid var(--ink); border-radius: 7px; background: #fff; cursor: pointer;
    display: grid; place-content: center; transition: background .15s, border-color .15s;
}
.check input::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 800; transform: scale(0); transition: transform .15s; }
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check.is-error input { border-color: var(--accent); }
.check.is-error { color: var(--accent); }
.check a { text-decoration: underline; font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 6vw, 56px); animation: pop .25s ease; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.legal__back:hover { color: var(--accent); }
.legal h1 { margin: 0; font-weight: 800; font-size: clamp(26px, 5vw, 40px); line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
.legal__sub { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--muted-2); line-height: 1.5; }
.legal__meta { margin-top: 8px; font-size: 13px; color: var(--muted); }
.legal h2 { margin: 36px 0 12px; font-weight: 800; font-size: clamp(18px, 3vw, 22px); letter-spacing: -.01em; line-height: 1.25; }
.legal p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--text); }
.legal a { text-decoration: underline; }
.legal__lead { margin-top: 24px !important; }
.req { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.req th, .req td { text-align: left; padding: 14px 18px; font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--bg); vertical-align: top; }
.req tr:last-child th, .req tr:last-child td { border-bottom: none; }
.req th { width: 38%; font-weight: 600; color: var(--muted); }
.req td { font-weight: 700; word-break: break-word; }
.docs-nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.docs-nav a { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--chip); padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.docs-nav a:hover, .docs-nav a.is-active { background: var(--ink); color: #fff; }

.footer__req { margin-top: 20px; font-size: 13px; line-height: 1.6; color: #8A817B; }
.footer__req b { color: #C9C1BB; font-weight: 600; }
@media (max-width: 599px) {
    .req th, .req td { display: block; width: 100%; }
    .req th { padding-bottom: 0; border-bottom: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
    .nav, .header__actions { display: none; }
    .header__mobile { display: flex; }
}
@media (min-width: 900px) {
    .mobile-menu { display: none !important; }
}
@media (max-width: 599px) {
    .mobile-cta { display: flex; }
    .dark-zone { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
    .overlay { padding: 24px 0 0; }
    .sheet { margin-top: auto; border-radius: 28px 28px 0 0; }
    .dark-zone--compact { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
