/* =====================================================================
   Qiulian — public site
   Editorial / fintech: warm paper, deep ink, one confident blue.
   ===================================================================== */

:root {
    --ink: #0A1B2E;
    --ink-2: #12273F;
    --body: #3D4652;
    --muted: #6C7480;
    --paper: #F6F4EE;
    --paper-2: #EFEBE1;
    --white: #FFFFFF;
    --blue: #2F6BFF;
    --blue-dark: #1D4ED8;
    --green: #1E9E6A;
    --amber: #C98A16;
    --red: #D9503F;
    --line: #E3DFD4;
    --line-strong: #D6D1C3;
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(10, 27, 46, .05), 0 4px 14px rgba(10, 27, 46, .05);
    --shadow-md: 0 18px 50px rgba(10, 27, 46, .10), 0 2px 8px rgba(10, 27, 46, .05);
    --shadow-lg: 0 30px 80px rgba(10, 27, 46, .16), 0 4px 12px rgba(10, 27, 46, .06);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------------- brand ---------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { display: inline-flex; flex: 0 0 auto; }
.brand__text { font-size: 21px; font-weight: 700; letter-spacing: -.03em; }

/* ---------------- buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
    text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn--wide { width: 100%; }
.btn--primary {
    background: linear-gradient(180deg, #3A75FF 0%, #2F6BFF 55%, #245CE6 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(47, 107, 255, .28);
}
.btn--primary:hover { background: linear-gradient(180deg, #4A80FF 0%, #3A74FF 55%, #2C64F0 100%); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--paypal {
    background: #FFC439;
    color: #16233A;
    box-shadow: 0 8px 20px rgba(255, 196, 57, .30);
    font-size: 15px;
}
.btn--paypal strong { font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.btn--paypal:hover { background: #F7BB2C; color: #16233A; }
.btn--pay { justify-content: space-between; padding-left: 18px; padding-right: 16px; }
.btn__price {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 12.5px;
    font-weight: 700;
}
.link-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--muted);
    font-size: 12.5px;
    text-decoration: underline;
    cursor: pointer;
}
.link-btn:hover { color: var(--ink); }

/* ---------------- header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 27, 46, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header .brand { color: #fff; }
.site-header .brand:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500; }
.site-nav a:hover { color: #fff; }
.site-header__cta { flex: 0 0 auto; }

/* ---------------- hero ---------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: #08172A;
    color: #fff;
    padding: 70px 0 82px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 74px 74px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 35%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 65% 35%, #000 20%, transparent 78%);
}
.hero__glow {
    position: absolute;
    width: 900px;
    height: 900px;
    right: -280px;
    top: -380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47,107,255,.38) 0%, rgba(47,107,255,.10) 42%, transparent 66%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 64px;
    align-items: start;
}
.hero__copy { padding-top: 18px; }
.eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8FB3FF;
    margin-bottom: 16px;
}
.eyebrow--ink { color: var(--blue); }
.eyebrow--light { color: #9EC0FF; }
.hero h1 {
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(40px, 4.6vw, 62px);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -.035em;
    margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: #A8C4FF; }
.hero__lede { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.65; max-width: 520px; }
.hero__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; }
.hero__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.86); }
.tick {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(84, 214, 160, .16);
    position: relative;
}
.tick::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid #5BD6A0;
    border-width: 0 1.7px 1.7px 0;
    transform: rotate(42deg);
}
.hero__stats { display: flex; gap: 34px; margin: 36px 0 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stat { display: grid; gap: 2px; }
.hero__stat strong { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.hero__stat span { font-size: 11.5px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.hero__trust { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,.48); letter-spacing: .01em; }

/* ---------------- apply card ---------------- */
.apply-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 30px 26px;
    color: var(--body);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.6);
}
.apply-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.step-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #54606F;
}
.step-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 10.5px;
}
.apply-card__price { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.apply-card__price span { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; text-align: right; }
.apply-card h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 4px; }
.apply-card__sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field--full { margin-bottom: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 13px; }
.field-row--address { grid-template-columns: 1.25fr 1fr .82fr; }
.field label { font-size: 12px; font-weight: 600; color: #3A4553; letter-spacing: .01em; }
.field input, .field select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #DCD7CB;
    border-radius: 10px;
    background: #FCFBF8;
    color: var(--ink);
    font-size: 14.5px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236C7480' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.field input::placeholder { color: #A5ABB4; }
.field input:focus, .field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(47,107,255,.13); }
.field.is-invalid input, .field.is-invalid select { border-color: #E08A80; background: #FFFBF9; }
.field__error { font-size: 11.5px; color: var(--red); line-height: 1.35; margin-top: 1px; }
.field__error--block { margin: -4px 0 10px; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 40px; }
.reveal {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    color: #8A9099;
    cursor: pointer;
    border-radius: 8px;
}
.reveal:hover { color: var(--ink); background: #F3F1EA; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.consent { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 14px; font-size: 11.8px; line-height: 1.5; color: #5A6370; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: var(--red); }
.apply-card__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 11px; color: #8A9099; text-align: center; }

.alert {
    display: grid;
    gap: 3px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}
.alert strong { font-weight: 700; }
.alert--danger { background: #FDF1EF; border: 1px solid #F3CFC9; color: #9F3125; }
.alert--info { background: #EEF4FF; border: 1px solid #CFDEFB; color: #254C9C; }
.alert--warning { background: #FFF8E8; border: 1px solid #F0DBAE; color: #7A5711; }
.alert a { text-decoration: underline; color: inherit; }

/* ---------------- trust strip ---------------- */
.trust-strip { background: #0F2440; color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.07); }
.trust-strip__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 58px; font-size: 12.5px; }
.trust-strip strong { color: #fff; font-weight: 600; }
.trust-strip__divider { width: 1px; height: 16px; background: rgba(255,255,255,.18); }

/* ---------------- sections ---------------- */
.section { padding: 92px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: #08172A; color: rgba(255,255,255,.72); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card__num { position: absolute; right: 22px; top: 18px; font-family: var(--font-serif); font-size: 32px; color: #EBE7DD; font-weight: 600; letter-spacing: -.04em; }
.step-card__icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-blue { background: #EAF1FF; color: var(--blue); }
.icon-amber { background: #FFF4DE; color: var(--amber); }
.icon-green { background: #E6F6EE; color: var(--green); }
.step-card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.02em; }
.step-card p { font-size: 13.8px; color: var(--muted); }

/* ---------------- included ---------------- */
.included { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; }
.included__copy h2 { font-family: var(--font-serif); font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.included__copy > p { color: var(--muted); font-size: 15.5px; max-width: 500px; margin-bottom: 30px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 17px; }
.feature-list li { display: flex; align-items: flex-start; gap: 13px; }
.feature-list__icon { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #E4F4EC; color: #177A51; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.feature-list strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 650; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: 13.2px; line-height: 1.5; }

.included__visual { position: relative; }
.report-preview {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.2deg);
    overflow: hidden;
}
.report-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,107,255,.035), transparent 55%);
    pointer-events: none;
}
.report-preview__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #ECE9E1; }
.report-preview__brand { font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.report-preview__tag { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #9AA0A9; }
.report-preview__name { font-family: var(--font-serif); font-size: 21px; color: var(--ink); margin: 14px 0 4px; }
.report-preview__score { display: flex; align-items: center; gap: 10px; }
.mini-gauge { position: relative; width: 190px; flex: 0 0 auto; }
.mini-gauge__value { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 30px; font-weight: 750; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.mini-gauge__value span { display: block; font-size: 10px; font-weight: 600; color: var(--amber); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.report-preview__score-meta { display: grid; gap: 7px; font-size: 10.5px; color: #8A9099; }
.report-preview__rows { margin-top: 14px; border-top: 1px solid #ECE9E1; padding-top: 6px; }
.report-preview__row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #EEEAE1; font-size: 11.2px; color: #4C5663; }
.report-preview__row em { margin-left: auto; font-style: normal; font-size: 9.5px; color: #9AA0A9; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.dot--red { background: #D9503F; }
.dot--amber { background: #E0A62F; }
.dot--green { background: #2FA36B; }
.report-preview__foot { display: grid; gap: 8px; margin-top: 14px; }
.report-preview__foot div { display: flex; justify-content: space-between; gap: 12px; font-size: 10.2px; }
.report-preview__foot span { color: #9AA0A9; }
.report-preview__foot strong { color: #3E4855; font-weight: 600; text-align: right; }
.report-preview__stamp {
    position: absolute;
    right: -20px;
    bottom: 22px;
    padding: 4px 26px;
    border: 1.5px solid rgba(217,80,63,.35);
    color: rgba(217,80,63,.55);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .28em;
    transform: rotate(-12deg);
}
.visual-note { display: flex; align-items: center; gap: 6px; font-size: 10.8px; color: #8C929B; margin-top: 14px; justify-content: center; }

/* ---------------- security ---------------- */
.security-head { max-width: 680px; margin-bottom: 46px; }
.security-head h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.security-head p { color: rgba(255,255,255,.62); font-size: 15.5px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.security-grid article { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.security-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(47,107,255,.16); color: #9EC0FF; margin-bottom: 16px; }
.security-grid h3 { color: #fff; font-size: 17px; margin-bottom: 7px; }
.security-grid p { color: rgba(255,255,255,.55); font-size: 13.2px; }

/* ---------------- FAQ ---------------- */
.faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; }
.faq-intro h2 { font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.faq-intro p { color: var(--muted); font-size: 14.5px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 0;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq__plus::before, .faq__plus::after {
    content: "";
    position: absolute;
    background: #8A9099;
    border-radius: 2px;
    transition: transform .2s ease;
}
.faq__plus::before { left: 7px; top: 1px; width: 2px; height: 14px; }
.faq__plus::after { left: 1px; top: 7px; width: 14px; height: 2px; }
.faq[open] .faq__plus::before { transform: rotate(90deg); }
.faq[open] .faq__plus::after { transform: rotate(180deg); }
.faq__body { padding: 0 40px 20px 0; font-size: 13.8px; color: var(--muted); }

/* ---------------- final CTA ---------------- */
.final-cta { background: linear-gradient(112deg, #17408F 0%, #2F6BFF 58%, #4B84FF 100%); color: #fff; padding: 58px 0; }
.final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta h2 { color: #fff; font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 4px; }
.final-cta p { color: rgba(255,255,255,.76); font-size: 14.5px; }
.final-cta .btn { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.final-cta .btn:hover { background: #F3F6FF; color: var(--ink); }

/* ---------------- footer ---------------- */
.site-footer { background: #08172A; color: rgba(255,255,255,.55); padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 12.8px; max-width: 300px; margin-top: 14px; }
.footer-brand .footer-mail { margin-top: 12px; }
.footer-mail a { color: #9EC0FF; }
.brand--footer { color: #fff; }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
.footer-col a { color: rgba(255,255,255,.58); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-note { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.38); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: grid; gap: 10px; }
.footer-legal p { font-size: 11.5px; color: rgba(255,255,255,.4); }
.footer-disclaimer { max-width: 900px; line-height: 1.55; }

/* =====================================================================
   Flow pages (checkout / success / status)
   ===================================================================== */
.page-flow { background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.page-flow main { flex: 1 0 auto; }
.flow-header { background: #fff; border-bottom: 1px solid var(--line); }
.flow-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.flow-header__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.flow-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; }
.flow-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; font-size: 12px; color: var(--muted); }
.flow-footer__links { display: flex; gap: 18px; }
.flow-footer__links a { color: var(--muted); }
.flow-footer__links a:hover { color: var(--ink); }

.flow { padding: 54px 0 10px; }
.flow__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.flow--narrow { max-width: 780px; margin: 0 auto; padding: 52px 28px 10px; }
.flow-head { margin-bottom: 26px; }
.flow-head h1 { font-family: var(--font-serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; margin: 10px 0 8px; }
.flow-head p { color: var(--muted); font-size: 14.5px; }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.summary-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.summary-card__head h2 { font-size: 17px; }
.order-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); background: var(--paper); padding: 4px 8px; border-radius: 6px; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 11px 0; font-size: 13.8px; border-bottom: 1px solid #F0EDE6; }
.summary-row:last-child { border-bottom: 0; }
.summary-row--muted { color: var(--muted); font-size: 12.8px; }
.summary-row--muted span:last-child { text-align: right; }
.summary-row--total { border-top: 1px solid var(--line); border-bottom: 0; margin-top: 4px; padding-top: 15px; font-size: 14px; font-weight: 600; color: var(--ink); }
.summary-row--total strong { font-size: 22px; letter-spacing: -.02em; }
.summary-row--total small { font-size: 11px; color: var(--muted); font-weight: 600; }
.assure-list { display: grid; gap: 9px; margin-top: 20px; }
.assure-list > div { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.assure-list__icon { width: 19px; height: 19px; border-radius: 50%; background: #E4F4EC; color: #177A51; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

.pay-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: var(--shadow-md); position: sticky; top: 22px; }
.pay-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pay-panel__lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pay-panel__amount { font-size: 24px; font-weight: 750; color: var(--ink); letter-spacing: -.03em; }
.pay-panel__label { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A9099; margin-bottom: 9px; }
.pay-panel__note { font-size: 11.5px; color: var(--muted); margin-top: 11px; line-height: 1.5; }
.pay-panel__retry { margin-top: 9px; text-align: center; }
.pay-panel__divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9AA0A9; }
.pay-panel__divider::before, .pay-panel__divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mini-steps li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.mini-steps span { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; flex: 0 0 auto; }
.pay-panel__help { margin-top: 20px; font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------------- result / status ---------------- */
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 46px 48px 40px; box-shadow: var(--shadow-md); }
.result-card--center { text-align: center; }
.result-icon { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.result-icon--success { background: #E3F5EC; color: #167A50; }
.result-card h1 { font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.03em; margin: 8px 0 12px; }
.result-card__lede { color: var(--muted); font-size: 14.5px; max-width: 580px; margin: 0 auto 26px; }
.result-card__help { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 22px; }
.receipt { border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; margin-bottom: 26px; background: #FCFBF8; }
.receipt__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #EFECE4; font-size: 13px; }
.receipt__row:last-child { border-bottom: 0; }
.receipt__row span { color: var(--muted); }
.receipt__row strong { color: var(--ink); font-weight: 600; text-align: right; }
.result-actions { display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; margin: 26px 0; }
.link-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.link-box__label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A9099; margin-bottom: 7px; }
.link-box__row { display: flex; gap: 8px; }
.link-box__row input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 0 10px; font-size: 11.5px; color: #4C5663; }
.link-box p { margin-top: 8px; font-size: 11.5px; color: var(--muted); }

.timeline { display: grid; gap: 0; margin: 8px 0 24px; }
.timeline__item { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; flex: 0 0 auto; position: relative; z-index: 1; margin-top: 1px; }
.timeline__item.is-done .timeline__dot { background: var(--green); border-color: var(--green); }
.timeline__item.is-active .timeline__dot { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.timeline__body { display: grid; gap: 2px; }
.timeline__body strong { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.timeline__body span { font-size: 12px; color: var(--muted); }
.timeline__item.is-done .timeline__body strong { color: #167A50; }

.status-head { margin-bottom: 22px; }
.status-head h1 { font-family: var(--font-serif); font-size: 34px; letter-spacing: -.03em; margin: 6px 0 8px; }
.status-head__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--paper-2); color: #5A6370; }
.status-pill--0 { background: #FFF4DE; color: #8A5E0B; }
.status-pill--1 { background: #EAF1FF; color: #244FA8; }
.status-pill--2 { background: #EAF1FF; color: #244FA8; }
.status-pill--3 { background: #E3F5EC; color: #167A50; }
.status-pill--5 { background: #FDF1EF; color: #9F3125; }
.status-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 2px; border-top: 1px solid var(--line); margin-top: 8px; }
.report-cta h2 { font-size: 17px; margin-bottom: 3px; }
.report-cta p { font-size: 12px; color: var(--muted); }
.report-cta--waiting { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 18px; }
.status-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 20px 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.status-details div { display: grid; gap: 2px; }
.status-details span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9AA0A9; }
.status-details strong { font-size: 13px; color: var(--ink); font-weight: 600; word-break: break-word; }

.error-code { font-family: var(--font-serif); font-size: 66px; color: #D9D3C5; line-height: 1; letter-spacing: -.04em; }

/* =====================================================================
   Report document
   ===================================================================== */
.page-report { background: #ECEAE3; }
.report-topbar { background: #fff; border-bottom: 1px solid var(--line); }
.report-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 62px; }
.report-topbar__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.report-topbar__ops { display: flex; gap: 8px; }
.report-wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 34px 24px 60px; }
.report-sheet { background: #fff; border: 1px solid #DDD8CB; padding: 46px 52px 40px; box-shadow: 0 18px 50px rgba(10,27,46,.08); }
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.report-head__brand { display: flex; align-items: center; gap: 10px; }
.report-head__brand strong { display: block; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.report-head__brand span { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #9AA0A9; }
.report-head__meta { display: grid; gap: 5px; text-align: right; }
.report-head__meta div { display: flex; justify-content: flex-end; gap: 12px; font-size: 10.5px; }
.report-head__meta span { color: #9AA0A9; }
.report-head__meta strong { color: #3E4855; font-weight: 600; }
.report-title { padding: 26px 0 6px; }
.report-title__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9AA0A9; }
.report-title h1 { font-family: var(--font-serif); font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin: 4px 0 10px; }
.report-title__badges { display: flex; gap: 7px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }
.badge--success { background: #E3F5EC; color: #167A50; }
.badge--warning { background: #FFF4DE; color: #8A5E0B; }
.badge--danger { background: #FDF1EF; color: #9F3125; }
.badge--primary { background: #EAF1FF; color: #244FA8; }

.report-score { display: flex; align-items: center; gap: 34px; padding: 26px 0; margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.score-ring { position: relative; flex: 0 0 auto; width: 200px; height: 200px; }
.score-ring__value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring__value strong { font-size: 52px; line-height: 1; color: var(--ink); letter-spacing: -.05em; }
.score-ring__value span { font-size: 10px; font-weight: 600; color: #9AA0A9; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.score-copy h2 { font-family: var(--font-serif); font-size: 25px; font-weight: 600; margin-bottom: 7px; }
.score-copy p { font-size: 13px; color: #5A6370; line-height: 1.6; }
.score-scale { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 9.5px; color: #9AA0A9; }
.score-scale__track { flex: 1; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #E4572E, #F2B84B 55%, #2FA36B); position: relative; }
.score-scale__track i { position: absolute; top: -4px; width: 3px; height: 13px; background: var(--ink); border-radius: 2px; transform: translateX(-1px); }

.report-section { padding: 24px 0 0; }
.report-section h2 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.report-prose { font-size: 12.8px; line-height: 1.75; color: #4C5663; }
.report-prose p { margin-bottom: 10px; }
.report-callout { margin-top: 26px; padding: 20px 22px; background: #F4F7FF; border-left: 3px solid var(--blue); }
.report-callout h2 { font-size: 17px; }
.factor-list { border-top: 1px solid #ECE9E1; }
.factor { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F1EEE7; }
.factor__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; margin-top: 6px; }
.factor--negative .factor__dot { background: #D9503F; }
.factor--positive .factor__dot { background: #2FA36B; }
.factor--neutral .factor__dot { background: #C3A24A; }
.factor__main { flex: 1; }
.factor__main strong { font-size: 12.8px; color: var(--ink); font-weight: 600; }
.factor__main p { font-size: 11.5px; color: #7A818B; margin-top: 2px; line-height: 1.5; }
.factor__impact { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #8A9099; white-space: nowrap; margin-top: 2px; }
.factor--negative .factor__impact { color: #B84336; }
.factor--positive .factor__impact { color: #1E855C; }
.report-table { width: 100%; border-collapse: collapse; font-size: 11.8px; }
.report-table th { text-align: left; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: #9AA0A9; font-weight: 700; padding: 8px 10px; background: #FAF9F5; border-bottom: 1px solid var(--line); }
.report-table td { padding: 10px; border-bottom: 1px solid #F1EEE7; color: #4C5663; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.report-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.report-foot__brand { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #9AA0A9; margin-bottom: 8px; }
.report-foot__brand strong { color: var(--ink); font-size: 12px; }
.report-foot p { font-size: 9.5px; line-height: 1.6; color: #9AA0A9; }
.report-print-note { text-align: center; font-size: 11px; color: #9AA0A9; margin-top: 16px; }

/* =====================================================================
   Legal
   ===================================================================== */
.legal { padding: 70px 0 90px; }
.legal__wrap { max-width: 780px; }
.legal__wrap--narrow { max-width: 680px; }
.legal h1 { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 8px; }
.legal__updated { font-size: 11.5px; color: #9AA0A9; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 28px; }
.legal__lede { font-size: 16px; color: #4C5663; line-height: 1.7; margin-bottom: 26px; }
.legal h2 { font-size: 18px; margin: 30px 0 8px; letter-spacing: -.015em; }
.legal p, .legal li { font-size: 13.8px; line-height: 1.75; color: #4C5663; }
.legal p { margin-bottom: 10px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal__note { margin-top: 24px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; }
.contact-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.contact-card__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 4px; }
.contact-card__item span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9AA0A9; }
.contact-card__item a, .contact-card__item strong { font-size: 13.5px; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card__item em { font-style: normal; font-size: 12px; color: var(--muted); }
.contact-links { display: flex; gap: 22px; margin-top: 28px; font-size: 13px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 42px; }
    .hero__copy { padding-top: 0; max-width: 640px; }
    .apply-card { max-width: 620px; }
    .included { grid-template-columns: 1fr; gap: 48px; }
    .included__visual { max-width: 520px; }
    .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
    .flow__grid { grid-template-columns: 1fr; }
    .pay-panel { position: static; }
    .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .site-nav { display: none; }
    .site-header__inner { height: 64px; }
    .site-header .brand { margin-right: auto; }
    .hero { padding: 48px 0 56px; }
    .hero__stats { gap: 24px; }
    .steps-grid, .security-grid { grid-template-columns: 1fr; gap: 14px; }
    .section { padding: 64px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .final-cta__inner { flex-direction: column; align-items: flex-start; }
    .trust-strip__inner { flex-direction: column; gap: 4px; padding: 12px 0; text-align: center; }
    .trust-strip__divider { display: none; }
    .flow { padding-top: 36px; }
    .result-card { padding: 32px 24px 28px; }
    .report-sheet { padding: 30px 24px; }
    .report-head { flex-direction: column; gap: 14px; }
    .report-head__meta { text-align: left; }
    .report-head__meta div { justify-content: flex-start; }
    .report-score { flex-direction: column; align-items: flex-start; gap: 18px; }
    .report-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .apply-card { padding: 22px 18px 20px; border-radius: 18px; }
    .field-row, .field-row--address { grid-template-columns: 1fr; gap: 11px; }
    .hero h1 { font-size: 40px; }
    .hero__stats { flex-wrap: wrap; gap: 18px 26px; }
    .hero__trust { display: none; }
    .hero__lede { font-size: 15.5px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-legal p { font-size: 11px; }
    .flow--narrow { padding: 30px 18px 10px; }
    .status-details { grid-template-columns: 1fr; }
    .result-actions .btn { width: 100%; }
    .link-box__row { flex-direction: column; }
    .link-box__row input { width: 100%; }
    .report-topbar__label { display: none; }
    .score-ring { width: 170px; height: 170px; }
    .score-ring svg { width: 170px; height: 170px; }
    .score-ring__value strong { font-size: 44px; }
    .legal { padding: 44px 0 60px; }
    .flow-footer__inner { flex-direction: column; justify-content: center; gap: 6px; padding: 14px 0; }
    .mini-gauge { width: 160px; }
}

/* =====================================================================
   Print
   ===================================================================== */
@media print {
    .flow-header, .flow-footer, .report-topbar, .report-print-note { display: none !important; }
    .page-report { background: #fff; }
    .report-wrap { padding: 0; max-width: none; }
    .report-sheet { border: 0; box-shadow: none; padding: 0; }
    .report-score { break-inside: avoid; }
    .report-section { break-inside: avoid; }
    a { color: inherit; text-decoration: none; }
    .report-sheet { font-size: 11px; }
}
