:root {
    color-scheme: light;
    --brand: #ff1b6d;
    --brand-dark: #c9004c;
    --ink: #191919;
    --muted: #626262;
    --line: #e8e8e8;
    --soft: #f7f8fa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--brand-dark); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px max(20px, calc((100% - 920px) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.brand {
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.5px;
    text-decoration: none;
}

.header-cta {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

main {
    width: min(100% - 40px, 920px);
    margin: 0 auto;
    padding: 26px 0 80px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a { color: var(--muted); }

.guide-hero,
.article-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 7vw, 52px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

h2 {
    margin: 52px 0 18px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

h3 { line-height: 1.4; }

.lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.content-meta {
    color: var(--muted);
    font-size: 13px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.guide-card h3 { margin: 0 0 12px; font-size: 20px; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.text-link { margin-top: auto; font-weight: 750; text-decoration: none; }

.direct-answer {
    padding: 24px 26px;
    border-left: 5px solid var(--brand);
    border-radius: 0 14px 14px 0;
    background: #fff1f6;
    font-size: 18px;
}

.direct-answer p { margin: 0; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); font-size: 14px; }
td { font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }

.steps {
    display: grid;
    gap: 12px;
    padding: 0;
    counter-reset: steps;
    list-style: none;
}

.steps li {
    position: relative;
    min-height: 58px;
    padding: 15px 16px 15px 58px;
    border: 1px solid var(--line);
    border-radius: 12px;
    counter-increment: steps;
}

.steps li::before {
    position: absolute;
    top: 13px;
    left: 14px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    content: counter(steps);
    font-size: 14px;
    font-weight: 800;
}

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; }
.faq-list summary { padding: 16px 44px 16px 16px; cursor: pointer; font-weight: 750; }
.faq-list p { margin: 0; padding: 0 16px 18px; color: var(--muted); }

.notice,
.source-box {
    margin-top: 38px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--soft);
    color: #454545;
    font-size: 14px;
}

.source-box { border: 1px solid #dce8ff; background: #f3f7ff; }

.article-actions {
    display: flex;
    gap: 12px;
    margin-top: 42px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.primary-button { background: var(--brand); color: #fff; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); }

footer {
    padding: 34px max(20px, calc((100% - 920px) / 2));
    background: #181818;
    color: #aaa;
    font-size: 13px;
}

footer p { margin: 4px 0; }
footer a { color: #eee; }

@media (max-width: 680px) {
    main { width: min(100% - 32px, 920px); padding-top: 20px; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card { min-height: 0; }
    .article-actions { flex-direction: column; }
    .primary-button, .secondary-button { width: 100%; }
    .direct-answer { padding: 20px; font-size: 16px; }
}
