.page-hero { padding: 72px 0 20px; }
.page-hero h1 {
    max-width: 12em;
    color: var(--night);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 520;
    letter-spacing: -0.045em;
    line-height: 1.05;
}
.page-lead {
    max-width: 38em;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 18px;
}
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1), filter 560ms ease;
    transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.sheet { padding: 28px 0 36px; }
.sheet > h2, .included > h2, .addon-board h2, .faq > h2, .fields h2, .desk-band h2, .rate-head h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 520;
    letter-spacing: -0.03em;
    color: var(--night);
}
.formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--night);
    font-size: 15px;
}
.formula span, .formula strong {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}
.formula strong { background: var(--night); color: #fff; }
.formula i { font-style: normal; color: var(--ink-soft); }
.rate-board { padding: 18px 0 10px; }
.rate-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rate-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 28px 28px 24px;
    border-radius: 22px;
    background:
        radial-gradient(180px 120px at 100% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
        linear-gradient(180deg, #fff, var(--sky));
    box-shadow: var(--shadow);
}
.rate-card-deep {
    color: #fff;
    background:
        radial-gradient(160px 100px at 88% 0%, rgba(255, 255, 255, 0.28), transparent 70%),
        linear-gradient(165deg, #102040 0%, #1a4f8c 72%, #16306f 100%);
}
.rate-kicker { font-size: 13px; letter-spacing: 0.08em; color: var(--accent); }
.rate-card-deep .rate-kicker { color: rgba(255, 255, 255, 0.72); }
.rate-card h3 { margin-top: 8px; font-size: 22px; font-weight: 520; letter-spacing: -0.03em; }
.rate-due {
    margin-top: 18px;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 520;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
}
.rate-due.is-tick { animation: due-in 320ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes due-in {
    from { opacity: 0.2; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.rate-sub { margin-top: 10px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rate-card-deep .rate-sub { color: rgba(255, 255, 255, 0.74); }
.rate-card > a {
    display: inline-flex;
    margin-top: 22px;
    color: var(--accent);
}
.rate-card-deep > a { color: #fff; }
.rate-card.is-picked { outline: 2px solid var(--accent); outline-offset: 3px; }
.included { padding: 36px 0 8px; }
.included-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
}
.included-row li {
    padding: 16px 14px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.included-row strong { display: block; color: var(--night); font-weight: 600; }
.included-row span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 14px; }
.addon-board {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 28px;
    align-items: start;
    padding: 18px 0 48px;
}
.addon-board > div > p { margin-top: 8px; color: var(--ink-soft); max-width: 36em; }
.equation {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 18px;
}
.equation div {
    min-width: 88px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}
.equation small { display: block; color: var(--ink-soft); font-size: 12px; }
.equation strong { display: block; margin-top: 2px; color: var(--night); font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 560; }
.equation > span { align-self: center; color: var(--ink-soft); }
.eq-due { background: var(--night) !important; }
.eq-due small, .eq-due strong { color: #fff; }
.path { padding: 12px 0 8px; }
.path-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
}
.path-list li {
    min-height: 210px;
    padding: 20px 18px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.path-list span { color: var(--accent); font-size: 13px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.path-list h2 { margin-top: 28px; font-size: 22px; font-weight: 520; letter-spacing: -0.03em; color: var(--night); }
.path-list p { margin-top: 8px; color: var(--ink-soft); }
.proto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 0; }
.proto article {
    padding: 26px 24px 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}
.proto-win {
    color: #fff;
    background:
        radial-gradient(140px 90px at 100% 0%, rgba(255, 255, 255, 0.24), transparent 68%),
        linear-gradient(165deg, #102040, #1a4f8c) !important;
}
.proto-kicker { font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.proto-win .proto-kicker { color: rgba(255, 255, 255, 0.7); }
.proto h2 { margin-top: 6px; font-size: 36px; font-weight: 520; letter-spacing: -0.04em; color: var(--night); }
.proto-win h2 { color: #fff; }
.proto dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.proto dl div { padding-top: 10px; border-top: 1px solid var(--line); }
.proto-win dl div { border-top-color: rgba(255, 255, 255, 0.16); }
.proto dt { color: var(--ink-soft); font-size: 13px; }
.proto-win dt { color: rgba(255, 255, 255, 0.66); }
.proto dd { margin: 4px 0 0; color: var(--night); font-weight: 600; }
.proto-win dd { color: #fff; }
.proto pre {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ice);
    overflow: auto;
}
.proto-win pre { background: rgba(0, 0, 0, 0.22); }
.proto code { font-size: 14px; color: var(--night); }
.proto-win code { color: #fff; }
.proto article > p { margin-top: 12px; color: var(--ink-soft); }
.proto-win > p { color: rgba(255, 255, 255, 0.76); }
.fields {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: end;
    padding: 8px 0 28px;
}
.fields > div > p { margin-top: 8px; color: var(--ink-soft); }
.fields ol {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.fields li {
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.fields strong { display: block; color: var(--night); }
.fields span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.desk-band {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    padding-bottom: 28px;
}
.desk-band .btn { margin-top: 16px; }
.mail-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 160px;
    padding: 22px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(120px 80px at 90% 10%, rgba(255, 255, 255, 0.28), transparent 70%),
        linear-gradient(165deg, #102040, #16306f);
    box-shadow: var(--shadow);
    transition: transform 200ms ease;
}
.mail-card:hover { transform: translateY(-3px); color: #fff; }
.mail-card span { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.mail-card strong { margin-top: 8px; font-size: 22px; font-weight: 520; letter-spacing: -0.03em; }
.faq > h2 { margin-bottom: 6px; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item button::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    flex: none;
    transition: transform 200ms ease;
}
.faq-item.is-open button::after { transform: rotate(225deg) translateY(-2px); }
.cycle-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.cycle-switch button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.cycle-switch button.is-on {
    background: var(--night);
    color: #fff;
    border-color: var(--night);
}
.cycle-switch button:active { transform: scale(0.98); }
.sheet .ledger { margin-top: 16px; }
.ledger {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.ledger th, .ledger td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums;
}
.ledger th { color: var(--ink-soft); font-weight: 500; font-size: 14px; }
.ledger td:not(:first-child), .ledger th:not(:first-child) { text-align: right; }
.ledger tr.is-focus td { background: var(--ice); }
.ledger .due { font-size: 22px; color: var(--night); font-weight: 560; }
.cycle-note { margin-top: 14px; color: var(--ink-soft); }
.worked {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: end;
}
.worked h2 { font-size: 28px; font-weight: 520; letter-spacing: -0.03em; color: var(--night); }
.worked p, .fine { color: var(--ink-soft); margin-top: 8px; }
.addon-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.addon-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.addon-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.faq { padding: 10px 0 80px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item h2, .faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-item button {
    width: 100%;
    text-align: left;
    padding: 18px 0;
    font-size: 18px;
    color: var(--night);
}
.answer-clip { max-height: 0; overflow: hidden; transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item.is-open .answer-clip { max-height: 12em; }
.answer { margin: 0; color: var(--ink-soft); padding-bottom: 16px; }

.prose { max-width: 68ch; padding-bottom: 80px; }
.prose h2 { margin: 36px 0 10px; font-size: 26px; font-weight: 540; letter-spacing: -0.03em; color: var(--night); }
.prose p, .prose li { color: var(--ink); margin-top: 10px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.index-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.index-nav a { color: var(--ink-soft); }

.steps { display: grid; gap: 0; padding-bottom: 72px; }
.steps article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.steps span { color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.steps h2 { font-size: 28px; font-weight: 520; letter-spacing: -0.03em; color: var(--night); }
.steps p { margin-top: 8px; color: var(--ink-soft); max-width: 40em; }
.access-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.access-pair div {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.access-pair strong { display: block; font-size: 22px; color: var(--night); font-weight: 540; }
.access-pair p { margin: 8px 0 0; }

@media (max-width: 980px) {
    .included-row, .path-list { grid-template-columns: 1fr 1fr; }
    .addon-board, .fields, .desk-band, .proto { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .worked, .access-pair, .steps article, .rate-grid { grid-template-columns: 1fr; }
    .page-hero { padding-top: 36px; }
    .fields ol, .proto dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .included-row, .path-list, .fields ol { grid-template-columns: 1fr; }
    .path-list li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
    .rate-due.is-tick, .mail-card { animation: none; transition: none; }
    .mail-card:hover { transform: none; }
}
