/* ==========================================================================
   Jason Tweaks — design system
   Pure white canvas, single blue accent pulled from the logo (#007DD1).
   ========================================================================== */

:root {
    --blue: #007dd1;
    --blue-600: #0068b0;
    --blue-700: #005490;
    --blue-50: #eff7fd;
    --blue-100: #d6ebfa;

    --white: #ffffff;
    --ink: #0b1b2b;
    --ink-2: #41556b;
    --ink-3: #7488a0;
    --line: #e6ecf3;
    --line-2: #f1f5f9;

    --ok: #0f9d58;
    --warn: #b7791f;
    --bad: #d64545;

    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
    --shadow: 0 4px 16px rgba(11, 27, 43, 0.07);
    --shadow-lg: 0 18px 48px rgba(11, 27, 43, 0.1);
    --shadow-blue: 0 10px 30px rgba(0, 125, 209, 0.25);

    --wrap: 1140px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.022em;
    font-weight: 700;
}

p {
    margin: 0;
}

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

/* --------------------------------------------------------------- Nav --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    height: 30px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
}

/* ------------------------------------------------------------ Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease,
        border-color 0.18s ease, color 0.18s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-600);
    box-shadow: 0 14px 34px rgba(0, 125, 209, 0.32);
}

.btn-ghost {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-lg {
    padding: 15px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------- Hero --- */
.hero {
    position: relative;
    padding: 92px 0 84px;
    overflow: hidden;
}

/* Soft blue wash so the white never reads as flat/empty. */
.hero::before {
    content: "";
    position: absolute;
    top: -320px;
    left: 50%;
    width: 1000px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(0, 125, 209, 0.11), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.pill span {
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(38px, 5.2vw, 60px);
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue);
}

.hero .lede {
    font-size: 18.5px;
    color: var(--ink-2);
    max-width: 30em;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.dl-meta {
    font-size: 13px;
    color: var(--ink-3);
    margin: -14px 0 22px;
}

.hero-meta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--ink-3);
    font-size: 13.5px;
}

.hero-meta div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art img {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 24px 48px rgba(0, 125, 209, 0.22));
}

/* -------------------------------------------------------------- Stats --- */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--line-2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
}

.stat {
    background: var(--line-2);
    padding: 30px 24px;
    text-align: center;
}

.stat b {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue);
}

.stat span {
    font-size: 13.5px;
    color: var(--ink-2);
}

/* ------------------------------------------------------------ Section --- */
.section {
    padding: 88px 0;
}

.section-head {
    max-width: 660px;
    margin: 0 auto 52px;
    text-align: center;
}

.eyebrow {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    margin-bottom: 16px;
}

.section-head p {
    color: var(--ink-2);
    font-size: 17px;
}

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

/* ----------------------------------------------------------- Features --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-100);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-50);
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 17.5px;
    margin-bottom: 9px;
}

.card p {
    color: var(--ink-2);
    font-size: 15px;
}

/* -------------------------------------------------------------- Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.step p {
    color: var(--ink-2);
    font-size: 15px;
}

/* ------------------------------------------------------------ Pricing --- */
.pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.plan.featured {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    position: relative;
}

.plan.featured::after {
    content: "Most popular";
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    font-weight: 700;
    margin-bottom: 14px;
}

.price {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
}

.price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-3);
    letter-spacing: 0;
}

.plan ul {
    list-style: none;
    margin: 22px 0;
    padding: 0;
    flex: 1;
    display: grid;
    gap: 11px;
}

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

.plan li svg {
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 3px;
}

/* ---------------------------------------------------------- Key check --- */
.checker {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow);
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 125, 209, 0.15);
}

.input.mono {
    font-family: var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.result {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    display: none;
}

.result.show {
    display: block;
}

.result.ok {
    background: #eefaf3;
    border: 1px solid #bfe8d2;
    color: #12673f;
}

.result.err {
    background: #fdf0f0;
    border: 1px solid #f6cfcf;
    color: #a13030;
}

.result.info {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    color: var(--blue-700);
}

/* ---------------------------------------------------------------- FAQ --- */
.faq {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.faq summary {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15.5px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--blue);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    padding: 0 22px 20px;
    color: var(--ink-2);
    font-size: 15px;
}

/* ------------------------------------------------------------ CTA/Foot --- */
.cta {
    text-align: center;
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 100%);
    border-radius: 22px;
    padding: 62px 32px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta h2 {
    font-size: clamp(27px, 3.4vw, 38px);
    margin-bottom: 14px;
}

.cta p {
    opacity: 0.9;
    font-size: 17px;
    margin-bottom: 30px;
}

.cta .btn {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.cta .btn:hover {
    background: #f3f9ff;
}

.foot {
    border-top: 1px solid var(--line);
    padding: 46px 0 34px;
    margin-top: 88px;
}

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

.foot-links {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.foot-links a {
    color: var(--ink-2);
    font-size: 14px;
}

.foot-links a:hover {
    color: var(--blue);
}

.foot small {
    color: var(--ink-3);
    font-size: 13.5px;
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 940px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero .lede {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .hero-art {
        order: -1;
    }

    .hero-art img {
        max-width: 300px;
    }

    .grid-3,
    .steps,
    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 8px 24px 16px;
        box-shadow: var(--shadow);
    }

    .nav-links.open a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line-2);
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .nav-cta .btn-ghost {
        display: none;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 62px 0;
    }

    .hero {
        padding: 58px 0 54px;
    }

    .stats-grid,
    .grid-3,
    .steps,
    .pricing {
        grid-template-columns: 1fr;
    }

    .plan.featured::after {
        display: none;
    }

    .checker {
        padding: 24px;
    }

    .cta {
        padding: 44px 22px;
    }
}
