:root {
    --ink: #17181a;
    --ink-soft: #3c4043;
    --muted: #6d7370;
    --paper: #ffffff;
    --paper-dim: #f4f6f3;
    --line: #e1e4df;
    --line-strong: #c9cec6;
    --green: #55af59;
    --green-deep: #3d8b42;
    --green-wash: #eef6ee;
    --danger: #b12a2a;
    --shadow: 0 1px 2px rgba(23, 24, 26, .06), 0 8px 24px rgba(23, 24, 26, .05);
    --radius: 10px;
    --wrap: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.14; }
h3 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1em; }
a { color: var(--green-deep); }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 40px;
}

.eyebrow {
    display: block;
    margin-bottom: 14px;
    font: 500 12px/1 'Inter', sans-serif, monospace;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 70px;
}

.topbar img { height: 28px; width: auto; display: block; }

.topnav {
    display: flex;
    gap: 22px;
    margin-left: auto;
    font-size: 14px;
}

.topnav a { color: var(--ink-soft); text-decoration: none; }
.topnav a:hover { color: var(--green-deep); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font: 500 15px/1 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.button:hover { background: var(--green-deep); }

.button.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.button.ghost:hover { border-color: var(--ink); background: transparent; }
.button.small { padding: 8px 14px; font-size: 14px; }

.hero { padding: 104px 0 80px; border-bottom: 1px solid var(--line); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 88px;
    align-items: start;
}

.hero p.lead { margin-top: 20px; }

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

.units-line {
    max-width: 62ch;
    margin: 0 0 18px;
    font: 400 15px/1.65 'Inter', sans-serif;
}

.plan-compare { margin-top: 42px; }

.plan-compare h3 {
    margin: 0 0 14px;
    font: 600 17px/1.25 'Inter', sans-serif;
}

.plan-compare-scroll { overflow-x: auto; }

.plan-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font: 400 14px/1.45 'Inter', sans-serif;
}

.plan-table th,
.plan-table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(22, 45, 80, .1);
    text-align: left;
    vertical-align: top;
}

.plan-table thead th {
    border-bottom-width: 2px;
    font: 600 13px/1.2 'Inter', sans-serif;
    white-space: nowrap;
}

.plan-table tbody th {
    font: 500 14px/1.45 'Inter', sans-serif;
    white-space: nowrap;
}

.plan-table td { font-variant-numeric: tabular-nums; }
.plan-table .is-featured { background: rgba(76, 163, 92, .07); }
.plan-table thead .is-featured { background: rgba(76, 163, 92, .12); }
.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td { border-bottom: 0; }

.plan-compare-note {
    margin: 14px 0 0;
    font: 400 13.5px/1.55 'Inter', sans-serif;
    opacity: .72;
}

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

.specs {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-dim);
    overflow: hidden;
}

.specs div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.specs div:last-child { border-bottom: 0; }

.specs dt, .specs span:first-child { font-size: 14px; color: var(--muted); }

.specs b {
    font: 500 15px/1 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

section { padding: 92px 0; border-bottom: 1px solid var(--line); }

section.dim { background: var(--paper-dim); }

.section-head { max-width: 72ch; margin-bottom: 48px; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.tag {
    padding: 3px 9px;
    border-radius: 999px;
    font: 500 11px/1.6 'Inter', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--green-wash);
    color: var(--green-deep);
}

.tag.beta { background: #fdf3e3; color: #9a6a12; }
.tag.ent { background: #17181a; color: #fff; }
.tag.soon { background: #eef0ee; color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 2px; max-width: 1100px; }

.step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 28px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font: 500 15px/1.4 'Inter', sans-serif;
    color: var(--green-deep);
}

.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); max-width: 68ch; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sheet {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 2px solid var(--green);
}

.sheet-head img { height: 20px; }

.sheet-head span {
    font: 500 11px/1 'Inter', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

table { width: 100%; border-collapse: collapse; }

.sheet td, .sheet th {
    padding: 9px 20px;
    font-size: 13.5px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.sheet th { font-weight: 500; color: var(--muted); font-size: 12px; }
.sheet td:last-child, .sheet th:last-child { text-align: right; font-variant-numeric: tabular-nums; font-family: 'Inter', sans-serif; }
.sheet tr:last-child td { border-bottom: 0; }

.sheet-foot {
    padding: 12px 20px;
    font-size: 11.5px;
    color: var(--muted);
    background: var(--paper-dim);
    border-top: 1px solid var(--line);
}

.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }

.pair { padding: 14px 0; border-bottom: 1px solid var(--line); }

.pair b { display: block; font-weight: 500; font-size: 14px; }

.pair span { font-size: 13.5px; color: var(--muted); }

.units-table td, .units-table th { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.units-table th { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.units-table td:nth-child(n+2) { font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.units-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }

.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.lang {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 14px;
    background: var(--paper);
}

.lang code { font: 500 11px/1 'Inter', sans-serif; color: var(--muted); text-transform: uppercase; }
.lang.planned { border-style: dashed; color: var(--muted); background: transparent; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: stretch; }

.plan {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.plan.featured { border-color: var(--green); box-shadow: var(--shadow); }

.plan h3 { font-size: 1.2rem; }

.plan-seats {
    margin: 0;
    padding: 12px 0 0;
    font-size: 13.5px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.plan .price {
    margin: 14px 0 4px;
    font: 500 2rem/1 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

.plan .per { font-size: 13px; color: var(--muted); }

.plan ul { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 9px; }

.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }

.plan li::before { content: '—'; color: var(--green); }

.plan .button { margin-top: auto; }

.signup { background: var(--ink); color: #f2f4f1; border-bottom: 0; }

.signup h2 { color: #fff; }
.signup .lead { color: #b9c0b8; }
.signup .eyebrow { color: #8c948a; }

.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }

form.account { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; }

.field label { font-size: 13px; color: #b9c0b8; }

.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #35383a;
    border-radius: 8px;
    background: #202224;
    color: #fff;
    font: 400 15px/1.3 'Inter', sans-serif;
}

.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }

.field .hint { font-size: 12px; color: #8c948a; }

.field.bad input { border-color: #e06a6a; }
.field.bad .hint { color: #f0a0a0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { font-size: 12.5px; color: #8c948a; }

.result {
    display: none;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    background: #202224;
    border: 1px solid #35383a;
}

.result.shown { display: block; }
.result.good { border-color: var(--green); background: rgba(85, 175, 89, .12); }
.result.bad { border-color: #e06a6a; background: rgba(224, 106, 106, .1); }

footer { padding: 46px 0; background: var(--ink); color: #8c948a; font-size: 13.5px; }

footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }

footer img { height: 22px; }

footer a { color: #b9c0b8; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 1080px) {
    .wrap { padding: 0 28px; }
}

@media (max-width: 880px) {
    .hero-grid, .split, .signup-grid { grid-template-columns: 1fr; gap: 36px; }
    .topnav { display: none; }
    section { padding: 54px 0; }
    .hero { padding: 56px 0 44px; }
    .step { grid-template-columns: 40px 1fr; gap: 14px; }
    .two { grid-template-columns: 1fr; }
}

.signin {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(23, 24, 26, .55);
}

.signin[hidden] { display: none; }

.signin-box {
    width: min(420px, 100%);
    padding: 28px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #f2f4f1;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.signin-box h2 { color: #fff; font-size: 1.3rem; }
.signin-box > p { margin: 6px 0 20px; color: #b9c0b8; font-size: 14px; }
.signin-box .field { margin-bottom: 14px; }
.signin-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.signin-box .button.ghost { color: #d7dcd6; border-color: #3a3d3f; }
.signin-box .button.ghost:hover { border-color: #6f7671; }
.signin-note { margin: 18px 0 0; color: #8c948a; font-size: 12.5px; line-height: 1.5; }
.signin-note a { color: #b9c0b8; }

.plain-page { background: var(--paper, #f6f7f5); }
.plain-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 60px 20px; }
.plain-logo { display: inline-flex; }

.plain-card {
    width: min(460px, 100%);
    padding: 30px;
    border: 1px solid var(--line, #dfe3dd);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 44px rgba(20, 30, 20, .07);
}

.plain-card h1 { margin: 0 0 6px; font-size: 1.35rem; }
.plain-card > p { margin: 0 0 20px; color: var(--ink-soft, #5c6560); font-size: 14px; line-height: 1.55; }
.plain-card .field { margin-bottom: 14px; }
.plain-card .button { width: 100%; margin-top: 6px; }
.plain-card .result { margin: 12px 0 0; }

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: #d7dcd6;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.link-button:hover { color: #fff; }
