:root {
    --bg: #f7f8fc;
    --surface: #ffffff;
    --surface-soft: #f2f3ff;
    --text: #182033;
    --muted: #5f687d;
    --subtle: #858ca0;
    --line: #e3e6ef;
    --primary: #6157d9;
    --primary-dark: #4e45bc;
    --primary-soft: #eeecff;
    --orange: #e87928;
    --orange-soft: #fff4e9;
    --green: #198754;
    --green-soft: #eaf8f0;
    --red: #c53e4f;
    --red-soft: #fff0f2;
    --shadow-sm: 0 10px 30px rgba(30, 36, 72, .07);
    --shadow-md: 0 20px 60px rgba(30, 36, 72, .11);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 5%, rgba(97, 87, 217, .08), transparent 24rem),
        radial-gradient(circle at 92% 16%, rgba(232, 121, 40, .06), transparent 22rem),
        var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(97, 87, 217, .28);
    outline-offset: 3px;
}
.is-hidden { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; border-radius: 8px; background: var(--text); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.content-section { padding: 104px 0; scroll-margin-top: 86px; }
.section-tinted { background: var(--surface-soft); }

.site-nav { position: sticky; top: 0; z-index: 80; height: 76px; border-bottom: 1px solid rgba(227, 230, 239, .9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav-inner { width: min(1240px, calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 10px; padding: 0; cursor: pointer; white-space: nowrap; }
.brand-button img { width: 40px; height: 40px; border-radius: 11px; }
.brand-button span { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: #485167; font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { border: 1px solid transparent; border-radius: 12px; min-height: 44px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { background: linear-gradient(135deg, #665ce2, #574ccd); color: white; box-shadow: 0 8px 20px rgba(97,87,217,.18); }
.button-primary:hover { background: linear-gradient(135deg, #7066e8, #4e43bc); box-shadow: 0 12px 28px rgba(97,87,217,.28); }
.button-secondary { background: white; color: var(--text); border-color: var(--line); }
.button-secondary:hover, .button-ghost:hover { border-color: #c8cce0; background: #fafafe; }
.button-ghost { background: transparent; color: #4f586c; border-color: var(--line); }
.button-success { background: var(--green); color: white; }
.button-danger { background: var(--red); color: white; }
.button-small { min-height: 40px; padding: 8px 15px; font-size: 14px; }
.button-large { min-height: 54px; padding: 14px 24px; border-radius: 14px; }
.button-full { width: 100%; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; }
.user-menu { position: relative; }
.user-menu-trigger { height: 40px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 0 12px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.user-menu-popover { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.user-menu-popover button { width: 100%; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; text-align: left; color: var(--red); cursor: pointer; }
.user-menu-popover button:hover { background: var(--red-soft); }

.hero { min-height: 720px; padding-top: 92px; padding-bottom: 86px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; }
.eyebrow, .section-label { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 11px; border: 1px solid #dedafc; border-radius: 999px; background: var(--primary-soft); letter-spacing: .03em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(25,135,84,.1); }
.hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(42px, 4.5vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
.hero h1 span { color: var(--primary); background: linear-gradient(110deg, #6157d9, #796de8 60%, #e87928); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.action-note { margin: 12px 0 0; color: var(--subtle); font-size: 13px; }
.hero-facts { margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 630px; list-style: none; }
.hero-facts li { display: flex; flex-direction: column; padding-right: 22px; border-right: 1px solid var(--line); }
.hero-facts li + li { padding-left: 22px; }
.hero-facts li:last-child { border-right: 0; }
.hero-facts strong { font-size: 25px; line-height: 1.2; }
.hero-facts span { margin-top: 6px; color: var(--muted); font-size: 13px; }
.hero-panel { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.hero-panel::before { content: ""; position: absolute; inset: -24px 28px auto; height: 92px; z-index: -1; border-radius: 50%; background: rgba(97,87,217,.15); filter: blur(40px); }
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel-kicker { color: var(--subtle); font-size: 12px; }
.panel-header h2 { margin: 4px 0 0; font-size: 22px; }
.secure-badge, .status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 750; white-space: nowrap; }
.journey-list { margin: 0; padding: 12px 0 4px; list-style: none; }
.journey-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; }
.journey-list > li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #f1f2f7; color: #677087; font-weight: 800; font-size: 13px; }
.journey-list li.is-current > span { color: white; background: var(--primary); }
.journey-list strong, .journey-list small { display: block; }
.journey-list strong { font-size: 14px; }
.journey-list small { color: var(--subtle); font-size: 12px; }
.journey-list b { color: var(--primary); font-size: 12px; font-weight: 750; }
.panel-assurance { margin-top: 12px; padding: 15px; display: flex; gap: 12px; border-radius: 14px; background: var(--surface-soft); }
.panel-assurance > span { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; font-size: 13px; }
.panel-assurance p { margin: 0; color: var(--muted); font-size: 12px; }
.panel-assurance strong { color: var(--text); }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { min-height: 116px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid > div { display: flex; align-items: center; gap: 14px; padding: 0 24px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border: 0; }
.trust-grid > div > span { color: #c0c4d3; font-size: 13px; font-weight: 800; }
.trust-grid p { margin: 0; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { font-size: 15px; }
.trust-grid small { margin-top: 3px; color: var(--subtle); font-size: 12px; }

.section-heading { margin-bottom: 48px; }
.section-heading h2, .support-copy h2, .faq-intro h2, .final-cta h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p, .support-copy > p, .faq-intro > p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; }
.split-heading > p { margin: 0; }
.centered-heading { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.centered-heading p { margin: 12px 0 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product-card, .recommend-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.product-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #d6d1f5; box-shadow: var(--shadow-sm); }
.product-card-main { grid-column: 1 / -1; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; }
.product-copy { padding: 34px; }
.product-copy h3, .recommend-card h3 { margin: 8px 0 12px; font-size: 25px; letter-spacing: -.025em; }
.product-copy p, .recommend-card p { margin: 0; color: var(--muted); }
.card-index { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.product-card img { width: 100%; height: auto; min-height: 300px; object-fit: contain; object-position: center; background: var(--surface-soft); }
.product-card-main img { height: auto; min-height: 360px; }
.recommend-card { padding: 36px; background: var(--text); color: white; }
.recommend-card .section-label { color: #b9b4ff; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid rgba(255,255,255,.11); color: #e2e5ee; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: #a9e2c4; font-weight: 800; }

.calculator-card { display: grid; grid-template-columns: 1.2fr .8fr; max-width: 940px; margin: 0 auto; overflow: hidden; border: 1px solid #dcd9fb; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.calculator-inputs { padding: 42px; }
.calculator-inputs label { margin-bottom: 12px; display: flex; justify-content: space-between; font-weight: 700; }
.calculator-inputs output { color: var(--primary); }
.calculator-inputs input { width: 100%; accent-color: var(--primary); margin-bottom: 34px; cursor: pointer; }
.calculator-inputs input:last-child { margin-bottom: 0; }
.calculator-result { padding: 42px; display: flex; flex-direction: column; justify-content: center; background: var(--primary); color: white; }
.calculator-result > span { color: #dcd9ff; font-size: 13px; font-weight: 700; }
.calculator-result strong { margin: 8px 0; font-size: 48px; line-height: 1.1; letter-spacing: -.03em; }
.calculator-result p { margin: 0 0 15px; color: #f0efff; }
.calculator-result small { color: #cbc7fa; line-height: 1.6; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; top: 55px; left: 12%; right: 12%; height: 1px; border-top: 1px dashed #c9ccda; }
.process-grid li { position: relative; z-index: 1; min-height: 290px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.process-grid li { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.process-grid li:hover { transform: translateY(-3px); border-color: #d6d1f5; box-shadow: var(--shadow-sm); }
.step-number { position: absolute; top: 24px; right: 24px; color: #b4b8c7; font-size: 12px; font-weight: 800; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; }
.process-grid h3 { margin: 28px 0 10px; font-size: 20px; }
.process-grid p { color: var(--muted); font-size: 14px; }
.process-grid small { position: absolute; bottom: 24px; color: var(--primary); font-weight: 700; }

.support-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 74px; align-items: center; }
.support-copy > p { margin: 20px 0 30px; }
.support-list { margin: 0; padding: 0; list-style: none; }
.support-list li { padding: 16px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dfe1ee; }
.support-list b { font-size: 14px; }
.support-list span { color: var(--muted); font-size: 13px; text-align: right; }
.scenario-preview { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.scenario-tabs { padding: 14px 14px 0; display: flex; gap: 5px; border-bottom: 1px solid var(--line); }
.scenario-tabs button { padding: 11px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.scenario-tabs button.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.scenario-message { min-height: 270px; padding: 34px; }
.scenario-message > span { color: var(--primary); font-size: 12px; font-weight: 800; }
.scenario-message ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: preview; }
.scenario-message li { counter-increment: preview; position: relative; padding: 15px 0 15px 48px; border-bottom: 1px solid var(--line); }
.scenario-message li::before { content: counter(preview); position: absolute; left: 0; top: 11px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 800; }
.scenario-footer { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fafafe; color: var(--subtle); font-size: 12px; }
.text-button { border: 0; background: transparent; padding: 4px; color: var(--primary); font-weight: 750; cursor: pointer; }

.rules-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.rules-table { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.rules-table > div { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid var(--line); }
.rules-table > div:last-child { border: 0; }
.rules-table dt { padding: 26px; color: var(--muted); background: #fafafe; font-size: 14px; font-weight: 700; }
.rules-table dd { margin: 0; padding: 24px 28px; display: flex; gap: 18px; align-items: baseline; }
.rules-table dd strong { min-width: 100px; font-size: 20px; }
.rules-table dd span { color: var(--muted); font-size: 13px; }
.rules-note { padding: 30px; border: 1px solid #f2d9be; border-radius: var(--radius-md); background: var(--orange-soft); }
.rules-note h3 { margin-bottom: 16px; font-size: 19px; }
.rules-note ul { margin: 0; padding-left: 20px; color: #68584a; font-size: 13px; }
.rules-note li { margin-bottom: 12px; }
.rules-note a { display: inline-block; margin-top: 14px; color: #a25017; font-size: 13px; font-weight: 750; }

.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 72px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { margin-top: 16px; }
.faq-list details { border-bottom: 1px solid #dcdfea; }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--primary); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -6px 40px 22px 0; color: var(--muted); font-size: 14px; }
.final-cta { padding: 72px 0; background: var(--text); color: white; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta .section-label { color: #b8b3ff; }
.final-cta h2 { font-size: 36px; }
.final-cta p { margin: 10px 0 0; color: #cfd3df; }
.final-cta-inner > div:last-child { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.final-cta small { color: #adb3c4; }

.site-footer { padding: 64px 0 20px; background: white; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .7fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 10px; }
.footer-grid p { margin-top: 14px; color: var(--muted); font-size: 13px; }
.footer-grid > div > strong { display: block; margin-bottom: 13px; }
.footer-grid a { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: var(--primary); }
.footer-qr img { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 12px; }
.footer-qr span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.footer-bottom { margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24,32,51,.55); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px; border-radius: 22px; background: white; box-shadow: 0 28px 90px rgba(20,27,48,.3); }
.modal-card-small { width: min(470px, 100%); text-align: center; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f3f7; color: #657086; font-size: 24px; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.modal-progress { margin: 0 34px 28px 0; display: flex; gap: 7px; }
.modal-progress span { flex: 1; padding: 8px 5px; border-radius: 8px; background: #f1f2f6; color: var(--subtle); font-size: 11px; text-align: center; font-weight: 700; }
.modal-progress .is-active { background: var(--primary-soft); color: var(--primary); }
.modal-progress .is-complete { background: var(--green-soft); color: var(--green); }
.modal-card h2 { margin: 8px 0; font-size: 27px; letter-spacing: -.025em; }
.modal-card > p { color: var(--muted); font-size: 14px; }
.qr-box { width: 238px; height: 238px; margin: 24px auto 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 18px; background: #fafafe; color: var(--subtle); font-size: 13px; }
.qr-box img { width: 220px; height: 220px; border-radius: 12px; }
.qr-timer { color: var(--primary); font-size: 13px; font-weight: 750; }
.modal-help { margin: 16px 0 0 !important; color: var(--subtle) !important; font-size: 12px !important; }
.form-field { margin-bottom: 18px; text-align: left; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.form-field input, .material-detail textarea { width: 100%; border: 1px solid #d9dce7; border-radius: 11px; background: white; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form-field input { height: 46px; padding: 0 13px; }
.form-field input:focus, .material-detail textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(97,87,217,.12); }
.form-field input:disabled { background: #f4f5f8; color: #747d91; }
.form-field small { display: block; margin-top: 6px; color: var(--subtle); font-size: 11px; }
.form-field.has-error input { border-color: var(--red); }
.form-field.has-error::after { content: attr(data-error); display: block; margin-top: 5px; color: var(--red); font-size: 11px; }
.consent-row { margin: 3px 0 20px; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.consent-row input { margin-top: 4px; accent-color: var(--primary); }
.consent-row a { color: var(--primary); text-decoration: underline; }
.status-icon { width: 62px; height: 62px; margin: 6px auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 27px; font-weight: 800; }
.status-icon.is-pending { background: var(--orange-soft); color: var(--orange); }
.status-icon.is-rejected { background: var(--red-soft); color: var(--red); }
.next-steps { margin: 24px 0; padding: 18px; border-radius: 14px; background: #f7f8fb; text-align: left; }
.next-steps strong { font-size: 13px; }
.next-steps ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 12px; }
.confirm-actions { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast-region { position: fixed; top: 92px; left: 50%; z-index: 200; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { min-width: 260px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; text-align: center; }
.toast.success { color: var(--green); border-color: #bde4cf; }
.toast.error { color: var(--red); border-color: #efc1c8; }
.toast.warning { color: #a35b1d; border-color: #f0d2b5; }

.dashboard { min-height: 100vh; background: var(--bg); }
.dashboard-header { padding: 0 0 46px; background: white; border-bottom: 1px solid var(--line); }
.dashboard-topbar { width: min(var(--content), calc(100% - 48px)); height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dashboard-actions { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.dashboard-welcome { width: min(var(--content), calc(100% - 48px)); margin: 42px auto 0; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.dashboard-welcome h1 { margin: 8px 0 5px; font-size: 36px; letter-spacing: -.035em; }
.dashboard-welcome p { margin: 0; color: var(--muted); }
.dashboard-service { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, #fff, #f6f4ff); box-shadow: var(--shadow-sm); }
.dashboard-service img { width: 82px; height: 82px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.dashboard-service strong, .dashboard-service span { display: block; }
.dashboard-service strong { font-size: 14px; }
.dashboard-service span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.dashboard-shell { width: min(var(--content), calc(100% - 48px)); margin: 32px auto 80px; }
.dashboard-alert { margin-bottom: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; border: 1px solid #f1d3b8; border-radius: 14px; background: var(--orange-soft); }
.dashboard-alert > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--orange); color: white; font-weight: 800; }
.dashboard-alert p { margin: 0; flex: 1; color: #68584a; font-size: 13px; }
.onboarding-card, .workspace-card { margin-bottom: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 6px 22px rgba(28,34,63,.04); }
.onboarding-heading, .workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.onboarding-heading h2, .workspace-heading h2 { margin: 7px 0 2px; font-size: 25px; }
.onboarding-heading p, .workspace-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.progress-ring { --progress: 0; width: 74px; height: 74px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--progress) * 1%), #eceef4 0); position: relative; }
.progress-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: white; }
.progress-ring strong { position: relative; font-size: 14px; }
.task-list { margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.task-item { min-width: 0; min-height: 150px; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; background: #fafafe; text-align: left; cursor: pointer; }
.task-item:hover { border-color: #cfcbea; }
.task-check { width: 30px; height: 30px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 50%; background: #e9eaf0; color: #667086; font-size: 12px; font-weight: 800; }
.task-item b, .task-item small { display: block; }
.task-item b { font-size: 13px; line-height: 1.4; }
.task-item small { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.task-item em { margin-top: auto; color: var(--primary); font-size: 11px; font-style: normal; font-weight: 750; }
.task-item.is-complete { background: var(--green-soft); border-color: #c6e6d4; }
.task-item.is-complete .task-check { background: var(--green); color: white; }
.task-item.is-complete em { color: var(--green); }
.dashboard-tabs { margin: 30px 0 20px; padding: 5px; display: inline-flex; border: 1px solid var(--line); border-radius: 13px; background: white; }
.dashboard-tabs button { min-height: 40px; padding: 8px 20px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.dashboard-tabs button.is-active { background: var(--primary); color: white; }
.status-chip-neutral { color: var(--primary); background: var(--primary-soft); }
.link-copy-row { margin-top: 22px; display: flex; gap: 10px; }
.link-copy-row input { min-width: 0; flex: 1; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: #f8f8fb; color: #4f5870; }
.field-help { margin: 9px 0 0; color: var(--subtle); font-size: 11px; }
.material-layout { margin-top: 24px; display: grid; grid-template-columns: 250px 1fr; gap: 20px; }
.material-scenes { display: flex; flex-direction: column; gap: 8px; }
.material-scenes button { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; text-align: left; cursor: pointer; }
.material-scenes button.is-active { border-color: var(--primary); background: var(--primary-soft); }
.material-scenes b, .material-scenes small { display: block; }
.material-scenes b { font-size: 13px; }
.material-scenes small { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.material-detail { padding: 24px; border-radius: 15px; background: #f8f8fb; }
.material-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.material-title > div > span { color: var(--primary); font-size: 11px; font-weight: 750; }
.material-title h3 { margin: 4px 0 0; font-size: 20px; }
.material-detail ol { margin: 20px 0; padding-left: 22px; color: var(--muted); font-size: 13px; }
.material-detail li { margin-bottom: 7px; }
.material-detail > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 750; }
.material-detail textarea { min-height: 112px; padding: 12px; resize: vertical; font-size: 12px; line-height: 1.7; }
.material-actions { margin-top: 12px; display: flex; gap: 9px; flex-wrap: wrap; }
.compliance-note { margin-top: 18px; padding: 14px; border-left: 3px solid var(--orange); background: var(--orange-soft); }
.compliance-note strong { font-size: 12px; }
.compliance-note p { margin: 3px 0 0; color: #6d5c4c; font-size: 11px; }
.share-confirm-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.share-confirm-card h2 { margin: 5px 0; font-size: 23px; }
.share-confirm-card p { margin: 0; color: var(--muted); font-size: 13px; }
.stats-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stats-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.stats-grid span, .stats-grid small { display: block; color: var(--muted); }
.stats-grid span { font-size: 12px; }
.stats-grid strong { display: block; margin: 8px 0; font-size: 24px; }
.stats-grid small { color: var(--subtle); font-size: 10px; }
.settlement-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.settlement-item { padding: 17px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 12px; }
.settlement-item strong, .settlement-item small { display: block; }
.settlement-item strong { color: var(--green); font-size: 14px; }
.settlement-item small { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.settlement-item a { color: var(--primary); font-size: 11px; font-weight: 750; }
.table-wrap { overflow-x: auto; margin-top: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); background: #fafafe; font-size: 11px; }
th:last-child, td:last-child { text-align: right; }
.empty-state { padding: 30px !important; color: var(--subtle); text-align: center !important; }
.pagination { margin-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--muted); font-size: 12px; }
.profile-card { max-width: 880px; }
.data-protection-notice { margin: 24px 0 4px; padding: 18px; display: flex; gap: 13px; border: 1px solid #bfe1ce; border-radius: 14px; background: var(--green-soft); }
.data-protection-notice > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.data-protection-notice strong { font-size: 13px; }
.data-protection-notice p { margin: 4px 0 0; color: #426452; font-size: 12px; line-height: 1.75; }
.security-label { color: var(--orange); background: var(--orange-soft); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 750; }
.form-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.privacy-callout { padding: 15px; display: flex; gap: 12px; border: 1px solid #e4e0fa; border-radius: 12px; background: var(--primary-soft); }
.privacy-callout > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--primary); color: white; font-size: 10px; }
.privacy-callout p { margin: 0; color: #57516f; font-size: 12px; }
.form-submit { margin-top: 20px; display: flex; justify-content: flex-end; }

@media (max-width: 1050px) {
    .nav-links { gap: 16px; }
    .hero { gap: 40px; }
    .task-list { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .section-shell, .dashboard-topbar, .dashboard-welcome, .dashboard-shell { width: min(100% - 32px, var(--content)); }
    .content-section { padding: 78px 0; }
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; margin: 0; padding: 12px 16px 18px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 13px 8px; border-bottom: 1px solid #eff0f5; }
    .nav-links a:last-child { border: 0; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; gap: 52px; }
    .hero-copy { text-align: center; }
    .hero-lead, .hero-facts { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
    .trust-grid > div { min-height: 76px; padding: 0 22px; }
    .trust-grid > div:nth-child(2) { border-right: 0; }
    .split-heading, .support-layout, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
    .faq-intro { position: static; }
    .product-card-main { grid-template-columns: 1fr; }
    .product-card-main img { min-height: 320px; height: auto; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .rules-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-welcome { align-items: flex-start; }
    .material-layout { grid-template-columns: 1fr; }
    .material-scenes { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 68px; }
    .site-nav { height: 66px; }
    .nav-inner { width: calc(100% - 24px); gap: 8px; }
    .brand-button { gap: 7px; }
    .brand-button img { width: 34px; height: 34px; }
    .brand-button span { font-size: 15px; }
    .nav-links { top: 66px; }
    .nav-actions { gap: 6px; }
    #nav-login-btn { display: none; }
    .nav-actions .button-small { min-height: 38px; padding: 7px 11px; font-size: 12px; }
    .menu-toggle { width: 38px; height: 38px; }
    .user-menu-trigger { max-width: 88px; height: 38px; padding: 0 8px; font-size: 11px; }
    .section-shell, .dashboard-topbar, .dashboard-welcome, .dashboard-shell { width: calc(100% - 28px); }
    .content-section { padding: 62px 0; }
    .hero { padding-top: 48px; padding-bottom: 58px; gap: 38px; }
    .eyebrow { margin-bottom: 18px; font-size: 11px; }
    .hero h1 { font-size: 34px; }
    .hero-lead { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .action-note { line-height: 1.6; }
    .hero-facts { margin-top: 34px; }
    .hero-facts li, .hero-facts li + li { padding: 0 8px; }
    .hero-facts strong { font-size: 21px; }
    .hero-facts span { font-size: 10px; }
    .hero-panel { padding: 20px; border-radius: 20px; }
    .panel-header h2 { font-size: 18px; }
    .journey-list li { grid-template-columns: 32px 1fr; }
    .journey-list b { display: none; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 8px; }
    .trust-grid > div:last-child { border-bottom: 0; }
    .section-heading { margin-bottom: 34px; }
    .section-heading h2, .support-copy h2, .faq-intro h2 { font-size: 30px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card-main { grid-column: auto; }
    .product-copy, .recommend-card { padding: 25px; }
    .product-card img, .product-card-main img { min-height: 0; height: auto; }
    .calculator-card { grid-template-columns: 1fr; }
    .calculator-inputs, .calculator-result { padding: 28px; }
    .calculator-result strong { font-size: 40px; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid li { min-height: 250px; }
    .support-list li { display: block; }
    .support-list span { margin-top: 3px; display: block; text-align: left; }
    .scenario-tabs { overflow-x: auto; }
    .scenario-tabs button { white-space: nowrap; }
    .scenario-footer { align-items: flex-start; flex-direction: column; }
    .rules-table > div { grid-template-columns: 1fr; }
    .rules-table dt { padding: 16px 20px; }
    .rules-table dd { padding: 18px 20px; flex-direction: column; gap: 4px; }
    .final-cta-inner { display: block; text-align: center; }
    .final-cta h2 { font-size: 30px; }
    .final-cta-inner > div:last-child { margin-top: 28px; }
    .final-cta .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
    .modal { padding: 10px; align-items: end; }
    .modal-card { width: 100%; max-height: calc(100vh - 20px); padding: 26px 20px; border-radius: 20px 20px 14px 14px; }
    .modal-progress { margin-right: 30px; }
    .dashboard-header { padding-bottom: 30px; }
    .dashboard-topbar { height: 66px; }
    .dashboard-actions > span { display: none; }
    .dashboard-welcome { margin-top: 28px; display: block; }
    .dashboard-welcome h1 { font-size: 29px; }
    .dashboard-service { margin-top: 20px; width: fit-content; }
    .onboarding-card, .workspace-card { padding: 20px; }
    .onboarding-heading h2, .workspace-heading h2 { font-size: 21px; }
    .progress-ring { width: 62px; height: 62px; }
    .task-list { grid-template-columns: 1fr; }
    .task-item { min-height: 86px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
    .task-check { margin: 0; }
    .task-item em { margin: 0; }
    .dashboard-tabs { width: 100%; display: flex; }
    .dashboard-tabs button { flex: 1; padding: 8px 9px; font-size: 12px; }
    .link-copy-row { flex-direction: column; }
    .material-scenes { grid-template-columns: 1fr; }
    .material-title { display: block; }
    .material-title .status-chip { margin-top: 10px; }
    .material-actions { flex-direction: column; }
    .share-confirm-card { align-items: stretch; flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .settlement-list { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-submit .button { width: 100%; }
}

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