:root {
    --ink: #0f172a;
    --muted: #5d6978;
    --line: #e3e8ef;
    --soft: #f6f8fb;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #eef4ff;
    --green: #0f9f6e;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
}

.site-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(227, 232, 239, 0.86);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.site-nav {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 750;
    text-decoration: none;
}

.site-brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav-links a:hover,
.site-nav-links a:focus-visible {
    color: var(--ink);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--blue);
    color: var(--white) !important;
}

.button-primary:hover {
    background: var(--blue-dark);
}

.button-secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.button-secondary:hover {
    border-color: #cbd4e1;
    background: var(--soft);
}

.hero {
    padding: 86px 0 72px;
    background:
        radial-gradient(circle at 84% 15%, rgba(37, 99, 235, 0.11), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    content: '';
}

.hero h1,
.about-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.hero-copy {
    max-width: 620px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.check-demo {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #edf2f8;
    box-shadow: var(--shadow);
}

.check-paper {
    min-height: 245px;
    padding: 25px 28px;
    border: 1px solid #d7d3c7;
    background: #fffef7;
    color: #181818;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.check-top,
.check-line,
.check-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.check-top strong {
    font-size: 14px;
}

.check-small {
    color: #5c5c5c;
    font-size: 10px;
}

.check-line {
    align-items: flex-end;
    margin-top: 35px;
    border-bottom: 1px solid #777;
    font-size: 12px;
}

.check-amount {
    min-width: 92px;
    padding: 5px 8px;
    border: 1px solid #777;
    background: #fff;
    font-weight: 700;
    text-align: right;
}

.check-bottom {
    align-items: flex-end;
    margin-top: 58px;
}

.signature-line {
    width: 150px;
    border-bottom: 1px solid #777;
}

.micr-preview {
    margin-top: 25px;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    padding: 22px 24px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.trust-item span {
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 88px 0;
}

.section-soft {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.section-heading p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.steps,
.feature-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step,
.feature,
.value-card {
    border-top: 2px solid var(--ink);
    padding: 23px 2px 4px;
}

.step-number {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.step h3,
.feature h3,
.value-card h3 {
    margin-top: 9px;
    font-size: 18px;
}

.step p,
.feature p,
.value-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.privacy-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    padding: 48px;
    border: 1px solid #cfe0ff;
    background: var(--blue-soft);
}

.privacy-panel h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.privacy-list {
    display: grid;
    gap: 20px;
}

.privacy-list div {
    padding-bottom: 18px;
    border-bottom: 1px solid #cbdafa;
}

.privacy-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.privacy-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.privacy-list p {
    color: #52627a;
    font-size: 14px;
}

.faq-list {
    max-width: 820px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.faq-list p {
    max-width: 720px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.cta-band {
    padding: 70px 0;
    background: var(--ink);
    color: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-content h2 {
    max-width: 600px;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
}

.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.section-followup { margin-top: 28px; color: var(--muted); }
.section-followup a, .guide-body a, .guide-next a:not(.button) { color: var(--blue-dark); }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; }
.guide-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
.guide-card h3 a { text-decoration: none; }
.guide-card p { margin: 16px 0 22px; color: var(--muted); }
.guide-card > a { color: var(--blue-dark); font-weight: 600; }
.guide-main { padding: 36px 0 72px; }
.guide-layout { max-width: 880px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
.guide-header { padding: 42px 0 34px; border-bottom: 1px solid var(--line); }
.guide-header h1 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.08; letter-spacing: -0.04em; }
.guide-intro { margin-top: 22px; max-width: 760px; font-size: 20px; color: var(--muted); }
.guide-meta { margin-top: 20px; color: var(--muted); font-size: 13px; }
.guide-body { max-width: 760px; font-size: 17px; line-height: 1.8; }
.guide-body section { margin-top: 42px; }
.guide-body h2 { margin: 36px 0 18px; font-size: clamp(25px, 4vw, 32px); line-height: 1.2; letter-spacing: -0.025em; }
.guide-body p { margin: 16px 0; }
.guide-body ul, .guide-body ol { padding-left: 26px; margin: 18px 0; }
.guide-body li { margin: 10px 0; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; padding: 24px; background: var(--soft); border-radius: 12px; font-size: 15px; }
.guide-toc strong { flex-basis: 100%; }
.guide-note { padding: 22px 26px; margin: 26px 0; background: var(--blue-soft); border-left: 4px solid var(--blue); }
.guide-note p:last-child { margin-bottom: 0; }
.alignment-figure { margin: 28px 0; }
.alignment-figure svg { width: 100%; height: auto; display: block; }
.alignment-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.guide-table { border-collapse: collapse; width: 100%; min-width: 400px; font-size: 15px; }
.guide-table th, .guide-table td { text-align: left; padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; }
.guide-table th { background: var(--soft); }
.guide-next { margin-top: 48px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; }
.guide-next h2 { font-size: 28px; margin-bottom: 12px; }
.guide-next .guide-help { margin-top: 24px; color: var(--muted); font-size: 14px; }
.guide-help a { overflow-wrap: anywhere; }
.comparison-layout { max-width: 960px; }
.comparison-disclosure { margin: 30px 0 0; padding: 22px 26px; border: 1px solid #f1c27d; border-left: 4px solid #d97706; background: #fffaf0; }
.comparison-disclosure p { margin-top: 6px; color: #5f4b2f; }
.comparison-section { margin-top: 52px; }
.comparison-section h2 { margin-bottom: 18px; font-size: clamp(27px, 4vw, 36px); letter-spacing: -0.025em; line-height: 1.2; }
.comparison-section > p { max-width: 800px; margin: 14px 0; color: var(--muted); font-size: 16px; }
.comparison-table th:first-child { min-width: 150px; }
.comparison-table td { min-width: 180px; }
.comparison-method, .comparison-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.comparison-method div, .comparison-cards article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.comparison-method strong, .comparison-method span { display: block; }
.comparison-method span, .comparison-cards p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.comparison-cards h3 { font-size: 18px; }
.sources ul { margin: 16px 0 20px; padding-left: 24px; }
.sources li { margin: 10px 0; }
.sources a { color: var(--blue-dark); }
.error-page { padding: 100px 0; min-height: 65vh; }
.error-page h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.1; margin-bottom: 24px; }

.footer-links a {
    text-decoration: none;
}

.about-hero {
    padding: 92px 0 72px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--white), var(--soft));
}

.about-hero p {
    max-width: 720px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 19px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
    gap: 70px;
}

.about-label {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-copy h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.about-copy p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
}

.plain-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    list-style: none;
}

.plain-list li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
}

.plain-list li::before {
    position: absolute;
    left: 0;
    color: var(--green);
    content: '✓';
    font-weight: 800;
}

@media (max-width: 860px) {
    .site-nav-links a:not(.button) {
        display: none;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-grid,
    .privacy-panel,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .check-demo {
        max-width: 620px;
    }

    .trust-grid,
    .steps,
    .feature-grid,
    .value-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 580px) {
    .comparison-method, .comparison-cards { grid-template-columns: 1fr; }
    .guide-cards { grid-template-columns: 1fr; }
    .guide-header { padding-top: 28px; }
    .guide-card, .guide-next { padding: 24px; }
    .guide-intro { font-size: 18px; }
    .guide-body { font-size: 16px; }
    .site-container {
        width: min(100% - 28px, 1120px);
    }

    .site-nav {
        min-height: 64px;
    }

    .site-nav-links {
        gap: 10px;
    }

    .site-nav-links .button {
        min-height: 40px;
        padding: 8px 12px;
    }

    .hero h1,
    .about-hero h1 {
        font-size: 42px;
    }

    .hero-copy,
    .about-hero p {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .check-demo {
        padding: 12px;
    }

    .check-paper {
        min-height: 210px;
        padding: 18px;
    }

    .check-bottom {
        margin-top: 42px;
    }

    .trust-grid,
    .steps,
    .feature-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 66px 0;
    }

    .privacy-panel {
        padding: 30px 24px;
    }

    .cta-content,
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .button {
        transition: none;
    }
}
