:root {
    --ink: #24201d;
    --muted: #6e6863;
    --paper: #fffdfb;
    --paper-warm: #fff7f0;
    --line: #eadfd6;
    --orange: #e66027;
    --orange-dark: #9b3715;
    --orange-deep: #6f280f;
    --orange-light: #f4ac62;
    --shadow: 0 24px 70px rgba(88, 47, 25, .11);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(3.4rem, 7vw, 6.8rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4.7vw, 4.55rem); }
h3 { line-height: 1.25; }
p:last-child { margin-bottom: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.reading-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--orange); }

.site-header { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid rgba(234, 223, 214, .85); background: rgba(255, 253, 251, .92); backdrop-filter: blur(18px); }
.site-header__inner { display: flex; align-items: center; width: min(1280px, calc(100% - 48px)); min-height: 72px; margin-inline: auto; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: .7rem; letter-spacing: .06em; }
.guide-nav { display: flex; margin-left: auto; gap: 8px; }
.guide-nav a, .home-link { padding: 9px 12px; border-radius: 999px; color: #5f5853; font-size: .84rem; font-weight: 650; text-decoration: none; transition: .2s ease; }
.guide-nav a:hover, .guide-nav a.is-active { color: var(--orange-dark); background: #fff0e5; }
.home-link { border: 1px solid var(--line); color: var(--ink); }
.home-link:hover { border-color: var(--orange-light); color: var(--orange-dark); }

.hero { position: relative; min-height: 780px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fffaf6 0%, #fffdfb 52%, #fff0e4 100%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; min-height: 780px; gap: 70px; padding-block: 96px; }
.hero__copy { max-width: 650px; }
.hero h1 span { color: var(--orange); }
.eyebrow { margin-bottom: 18px; color: var(--orange-dark); font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero__subtitle { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 2rem); }
.hero__lead { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-size: 1.05rem; }
.primary-link, .secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 22px; border-radius: 4px; font-size: .9rem; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-link { color: #fff; background: var(--orange); box-shadow: 0 12px 26px rgba(230, 96, 39, .22); }
.primary-link:hover { transform: translateY(-2px); background: #cf501b; box-shadow: 0 16px 34px rgba(230, 96, 39, .3); }
.secondary-link { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.secondary-link:hover { background: rgba(255, 255, 255, .08); }
.hero__scheme { position: relative; display: grid; gap: 13px; padding: 86px 0 40px 22px; }
.scheme-card { position: relative; z-index: 2; display: flex; align-items: center; min-height: 78px; padding: 20px 56px 20px 24px; color: white; border-radius: 3px 0 0 3px; box-shadow: 0 18px 40px rgba(116, 44, 14, .16); font-family: var(--serif); font-size: clamp(1rem, 1.45vw, 1.28rem); }
.scheme-card::after { position: absolute; top: 0; right: -34px; width: 0; height: 0; border-top: 39px solid transparent; border-bottom: 39px solid transparent; border-left: 35px solid; content: ""; }
.scheme-card span { margin-right: 17px; color: rgba(255,255,255,.62); font: 800 .7rem/1 var(--sans); letter-spacing: .08em; }
.scheme-card--1 { width: 74%; background: var(--orange-deep); }
.scheme-card--1::after { border-left-color: var(--orange-deep); }
.scheme-card--2 { width: 83%; background: var(--orange-dark); }
.scheme-card--2::after { border-left-color: var(--orange-dark); }
.scheme-card--3 { width: 92%; background: #c84b1b; }
.scheme-card--3::after { border-left-color: #c84b1b; }
.scheme-card--4 { width: 100%; background: var(--orange); }
.scheme-card--4::after { border-left-color: var(--orange); }
.hero__document { position: absolute; z-index: 1; top: 0; right: 2%; width: 245px; height: 305px; padding: 68px 36px; border: 1px solid #edc7ad; background: rgba(255,255,255,.55); box-shadow: var(--shadow); transform: rotate(7deg); }
.hero__document::before { position: absolute; top: 30px; left: 36px; width: 72px; height: 9px; background: var(--orange-light); content: ""; }
.hero__document span { display: block; height: 7px; margin-bottom: 16px; background: #eaded5; }
.hero__document span:nth-child(2) { width: 75%; }
.hero__document span:nth-child(3) { width: 88%; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__glow--one { top: -210px; right: -160px; width: 580px; height: 580px; background: rgba(240, 160, 99, .16); }
.hero__glow--two { bottom: -280px; left: -210px; width: 600px; height: 600px; border: 90px solid rgba(229, 96, 39, .06); }

.section { padding-block: clamp(88px, 10vw, 150px); }
.section-heading { max-width: 700px; margin-bottom: 58px; }
.basis-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.legal-card { position: relative; overflow: hidden; min-height: 590px; padding: clamp(30px, 4vw, 54px); color: #3d2115; background: linear-gradient(155deg, #f6b56e, #f09a48); box-shadow: var(--shadow); }
.legal-card::after { position: absolute; right: -80px; bottom: -95px; width: 260px; height: 260px; border: 58px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.card-kicker { margin-bottom: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.legal-card h3 { margin-bottom: 38px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.legal-card p { position: relative; z-index: 1; }
.legal-card__conclusion { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(83, 40, 16, .25); }
.practice > h3 { margin: 0 0 24px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.practice-card { display: grid; grid-template-columns: 58px 1fr; margin-bottom: 14px; padding: 30px 32px; border: 1px solid var(--line); background: white; box-shadow: 0 9px 25px rgba(74, 42, 23, .045); }
.practice-card__number { color: var(--orange); font: 800 .72rem/1 var(--sans); letter-spacing: .1em; }
.practice-card h4 { margin-bottom: 9px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.practice-card p { color: var(--muted); font-size: .96rem; }

.step-section { border-top: 1px solid var(--line); }
.step-section--tinted { background: var(--paper-warm); }
.step-title { display: grid; grid-template-columns: 110px 1fr; align-items: start; margin-bottom: 20px; gap: 34px; }
.step-label { display: inline-flex; justify-content: center; padding: 10px 14px; color: var(--orange-dark); background: #f6dfd0; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.step-title h2 { max-width: 920px; margin-bottom: 0; }
.step-title .eyebrow { margin-top: 8px; margin-bottom: 16px; }
.section-intro { max-width: 850px; margin: 0 0 58px 144px; color: var(--muted); font-size: 1.06rem; }
.step-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding-bottom: 38px; }
.process-list li:not(:last-child)::after { position: absolute; top: 46px; bottom: 2px; left: 21px; width: 1px; background: #e8c6b2; content: ""; }
.process-list__number { position: relative; z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; color: white; background: var(--orange); font: 700 1.05rem/1 var(--serif); }
.process-list h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.process-list p { color: var(--muted); font-size: .96rem; }
.step-aside { display: grid; align-content: start; gap: 18px; }
.info-card, .document-card { padding: 30px; }
.info-card { display: grid; grid-template-columns: 28px 1fr; gap: 15px; background: #f5b26c; }
.info-card__icon { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.document-card { color: white; background: #d76c40; }
.document-card__short { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 2rem; }
.warning-card { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 23px 0; font-weight: 700; }
.warning-card > span { color: var(--orange); font-size: 1.35rem; font-weight: 900; }

.delivery-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 62px; margin-top: 56px; }
.delivery-copy > h3 { max-width: 560px; margin-bottom: 25px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.delivery-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); background: white; }
.delivery-card--dark { color: white; border-color: #685f59; background: #685f59; }
.delivery-card__icon { display: block; margin-bottom: 22px; font-size: 1.7rem; }
.delivery-card h4 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.delivery-card p { color: inherit; opacity: .8; font-size: .93rem; }
.note { margin-top: 18px; padding: 23px 25px; border-left: 4px solid var(--orange); background: white; }
.note strong { display: block; margin-bottom: 8px; color: var(--orange-dark); }
.note p { color: var(--muted); font-size: .92rem; }
.receipt-card { padding: clamp(32px, 4vw, 52px); color: white; background: #ce5929; box-shadow: var(--shadow); }
.receipt-card h3 { margin-bottom: 24px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.receipt-card p, .receipt-card li { color: rgba(255,255,255,.9); }
.receipt-card__caption { margin-top: 26px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.receipt-card ul { margin-bottom: 0; padding-left: 22px; }
.receipt-card li { margin-bottom: 10px; }

.titles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 60px 0 34px 144px; }
.title-card { min-height: 235px; border: 1px solid #ecc9ae; background: white; }
.title-card__top { display: flex; align-items: center; justify-content: space-between; padding: 13px 19px; color: #66321b; background: #f3b474; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.title-card:nth-child(2) .title-card__top { background: #f7c99d; }
.title-card:nth-child(3) .title-card__top { background: #ed9b5f; }
.title-card:nth-child(4) .title-card__top { color: white; background: #c95324; }
.title-card h3 { margin: 30px 28px 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.title-card p { margin: 0 28px 28px; color: var(--muted); font-size: .95rem; }
.final-alert { display: grid; grid-template-columns: 52px 1fr; gap: 20px; margin-left: 144px; padding: 28px 32px; border: 1px solid #e6b497; background: #fff7f1; }
.final-alert__icon { display: grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: 1.25rem; font-weight: 900; }
.final-alert strong { display: block; margin-bottom: 7px; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.final-alert p { color: var(--muted); font-size: .94rem; }

.cta-section { padding-block: 88px; color: white; background: #35251e; }
.cta-section__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.cta-section h2 { max-width: 700px; margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.cta-section p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.66); }
.cta-section .eyebrow { color: var(--orange-light); }
.cta-section__actions { display: flex; gap: 12px; }
.site-footer { padding-block: 25px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.64); background: #35251e; font-size: .82rem; }
.site-footer__inner { display: flex; gap: 28px; }
.site-footer a { text-decoration: none; }
.to-top { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: grid; width: 44px; height: 44px; place-items: center; color: white; background: rgba(155, 55, 21, .88); border-radius: 50%; box-shadow: 0 10px 25px rgba(90, 35, 13, .22); text-decoration: none; backdrop-filter: blur(8px); }

@media (max-width: 980px) {
    .guide-nav { display: none; }
    .home-link { margin-left: auto; }
    .hero__grid { grid-template-columns: 1fr; min-height: auto; padding-block: 82px; }
    .hero__copy { max-width: 760px; }
    .hero__scheme { max-width: 680px; margin: 0 auto; width: 100%; }
    .basis-grid, .step-grid, .delivery-grid { grid-template-columns: 1fr; }
    .legal-card { min-height: auto; }
    .step-grid, .delivery-grid { gap: 42px; }
    .section-intro, .titles-grid, .final-alert { margin-left: 0; }
    .cta-section__inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .container, .site-header__inner { width: min(100% - 30px, 1180px); }
    .site-header__inner { min-height: 64px; }
    .brand > span:last-child { display: none; }
    .home-link { padding-inline: 10px; font-size: .75rem; }
    .hero__grid { padding-block: 68px 82px; gap: 38px; }
    h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
    h2 { font-size: clamp(2.2rem, 10vw, 3.15rem); }
    .hero__scheme { padding: 38px 25px 0 0; }
    .scheme-card { width: 100%; min-height: 68px; padding: 14px 30px 14px 16px; font-size: .95rem; }
    .scheme-card::after { right: -24px; border-top-width: 34px; border-bottom-width: 34px; border-left-width: 25px; }
    .hero__document { display: none; }
    .section { padding-block: 78px; }
    .section-heading { margin-bottom: 38px; }
    .practice-card { grid-template-columns: 1fr; padding: 25px; gap: 15px; }
    .step-title { grid-template-columns: 1fr; gap: 18px; }
    .step-label { width: max-content; }
    .step-title .eyebrow { margin-top: 0; }
    .section-intro { margin-bottom: 42px; }
    .delivery-options, .titles-grid { grid-template-columns: 1fr; }
    .delivery-card { min-height: 0; }
    .info-card, .document-card, .receipt-card { padding: 26px; }
    .final-alert { grid-template-columns: 1fr; padding: 24px; }
    .cta-section { padding-block: 72px; }
    .cta-section__actions { flex-direction: column; width: 100%; }
    .site-footer__inner { flex-direction: column; gap: 7px; }
    .to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
    .site-header, .reading-progress, .to-top, .cta-section, .site-footer { display: none; }
    body { font-size: 12pt; background: white; }
    .hero { min-height: auto; }
    .hero__grid { min-height: auto; padding-block: 30px; }
    .hero__scheme { display: none; }
    .section { padding-block: 35px; break-inside: avoid; }
    .legal-card, .receipt-card, .title-card, .practice-card { box-shadow: none; }
}
