:root {
    --ink: #0f1b2d;
    --ink-soft: #46546a;
    --line: #e4e8ee;
    --paper: #ffffff;
    --wash: #f6f7f9;
    --gold: #c9a84c;
    --gold-dark: #8f7426;
    --danger: #b42318;
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.site-nav { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold-dark); }

/* Buttons */
.button { display: inline-block; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, color .15s; }
.nav-links a.button { color: #fff; }
.button:hover, .nav-links a.button:hover { background: #24344c; color: #fff; }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--wash); color: var(--ink); }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button.gold:hover { background: #d8ba62; color: var(--ink); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 88px 0 96px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.025em; max-width: 780px; }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: #c5ceda; max-width: 620px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: #93a1b4; margin-top: 16px; }
.hero .button.ghost { border-color: #54647b; color: #fff; }
.hero .button.ghost:hover { background: #1c2c44; color: #fff; }

/* Sections */
section.block { padding: 80px 0; }
section.block.tint { background: var(--wash); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); margin: 12px 0 0; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 36px 40px; }
.feature { border-top: 2px solid var(--ink); padding-top: 16px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .plan-desc { color: var(--ink-soft); font-size: 14px; margin: 6px 0 18px; min-height: 22px; }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; flex: 1; font-size: 15px; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); }

.cta { background: var(--ink); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 24px; }

.site-footer { padding: 32px 0; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Signup */
.signup { background: var(--wash); padding: 56px 0 80px; min-height: calc(100vh - 69px); }
.signup-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; max-width: 560px; margin: 0 auto; }
.signup-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.015em; }
.signup-card > p { color: var(--ink-soft); margin: 8px 0 26px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=password] { width: 100%; padding: 11px 13px; border: 1px solid #c8cfd9; border-radius: 8px; font: inherit; background: var(--paper); color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-soft); margin-top: 5px; }
.field .error, .error-list { color: var(--danger); font-size: 13px; margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; }
.field label.plan-choice { display: flex; align-items: center; gap: 10px; border: 1px solid #c8cfd9; border-radius: 8px; padding: 11px 13px; margin-bottom: 8px; font-size: 15px; font-weight: 400; cursor: pointer; }
.field label.plan-choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-choice strong { font-weight: 600; }
.plan-choice .plan-price { margin-left: auto; color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.signup-card .button { width: 100%; }
.signup-foot { text-align: center; font-size: 14px; margin-top: 18px; color: var(--ink-soft); }
.honeypot { position: absolute; left: -9999px; }

@media (max-width: 560px) {
    .hero { padding: 60px 0 68px; }
    section.block { padding: 56px 0; }
    .signup-card { padding: 24px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .nav-links { gap: 14px; font-size: 14px; }
    .nav-links .nav-hide { display: none; }
}
