@font-face {
    font-family: Manrope;
    src: url("/assets/manrope.ttf") format("truetype");
    font-weight: 200 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --bg: #eef0f3;
    --surface: #fff;
    --raised: #f2f4f7;
    --ink: #101828;
    --muted: #475467;
    --line: #d0d5dd;
    --accent: #1557c0;
    --on-accent: #fff;
    --tint: #eaf1fc;
    --tint-ink: #0c3c87;
    --dot: #e5eaf2;
}

@media(prefers-color-scheme:dark) {
    :root {
        color-scheme: dark;
        --bg: #0e1116;
        --surface: #181c23;
        --raised: #1f242d;
        --ink: #eceff3;
        --muted: #a9b1bd;
        --line: #3a414c;
        --accent: #5fb3f0;
        --on-accent: #071f47;
        --tint: #13263f;
        --tint-ink: #cfe4fb;
        --dot: #1a2636;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1rem/1.58 Manrope,system-ui,sans-serif;
}

h1,h2,h3,p,figure {
    margin: 0;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.shell {
    width: min(74rem, calc(100% - 3rem));
    margin-inline: auto;
}

.top,.bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top {
    min-height: 5.1rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    font-size: 1.13rem;
    font-weight: 800;
}

.brand img {
    border-radius: .73rem;
}

.brand small {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 700;
}

nav {
    display: flex;
    gap: 1.4rem;
}

nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--muted);
}

nav a:hover {
    color: var(--accent);
}

.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .58rem 1rem;
    border-radius: .68rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
}

.button:hover {
    filter: brightness(1.1);
}

.primary {
    background: var(--accent);
    color: var(--on-accent);
}

.outline {
    background: var(--surface);
    border-color: var(--line);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem,7vw,6rem);
    align-items: center;
    padding: clamp(3rem,8vw,7.6rem) 0 clamp(3rem,7vw,6.4rem);
}

.eyebrow {
    color: var(--accent);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.55rem,6.1vw,5.25rem);
    line-height: 1.02;
    letter-spacing: -.075em;
    margin: .55rem 0 1.25rem;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.85rem,3.8vw,3.1rem);
    letter-spacing: -.058em;
    line-height: 1.1;
    font-weight: 800;
}

h3 {
    font-size: 1.35rem;
    letter-spacing: -.035em;
    line-height: 1.15;
    font-weight: 800;
}

.lead {
    font-size: clamp(1rem,2vw,1.22rem);
    color: var(--muted);
    max-width: 33rem;
}

.actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.preview {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem #080b1622;
}

.preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    padding: .85rem 1.1rem;
}

.preview-head strong {
    font-size: 1.1rem;
}

.preview-head span {
    color: var(--muted);
    font-size: .84rem;
}

.preview-body {
    padding: .9rem 1.1rem 1.35rem;
    background-image: radial-gradient(var(--dot) 1px,transparent 1px);
    background-size: 10px 10px;
}

.preview-label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.second {
    margin-top: .85rem;
}

.spool {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: .68rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: .61rem;
    padding: .67rem .7rem;
}

.spool+.spool {
    margin-top: .45rem;
}

.spool.active {
    background: var(--tint);
    border-color: var(--accent);
}

.spool strong,.spool div small {
    display: block;
}

.spool small {
    font-size: .82rem;
    color: var(--muted);
}

.spool b {
    white-space: nowrap;
}

.reel {
    display: block;
    width: 2.15rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,var(--surface) 0 15%,#29313d 16% 26%,var(--reel) 27% 66%,#29313d 67% 100%);
}

.blue {
    --reel: #3775de;
}

.orange {
    --reel: #f68032;
}

.green {
    --reel: #36a679;
}

.section {
    padding-bottom: clamp(2.8rem,7vw,5.8rem);
    scroll-margin-top: 1rem;
}

.section-title {
    margin-bottom: 1.35rem;
}

.plans {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: .8rem;
    padding: 1.3rem;
}

.card.cloud {
    border: 1px solid var(--accent);
    box-shadow: inset 0 3px var(--accent);
}

.card h3 {
    margin: .42rem 0 .75rem;
}

.card p:not(.eyebrow),.fine {
    color: var(--muted);
}

.card ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.card li+li {
    margin-top: .45rem;
}

.card li::marker {
    color: var(--accent);
}

.fine {
    margin-top: 1rem;
    font-size: .88rem;
}

.cloud-flow,.release {
    display: grid;
    align-items: center;
    gap: 1.6rem;
    padding: clamp(1.3rem,3vw,2.4rem);
    border: 1px solid var(--line);
    border-radius: .88rem;
    background: var(--surface);
}

.cloud-flow {
    grid-template-columns: 1.05fr 1fr;
}

.cloud-flow h2 {
    margin: .45rem 0 .9rem;
}

.cloud-flow ol {
    margin: 0;
    padding-left: 1.3rem;
}

.cloud-flow li::marker {
    font-weight: 800;
    color: var(--accent);
}

.cloud-flow li+li {
    margin-top: .75rem;
}

.cloud-flow li span {
    display: block;
    color: var(--muted);
}

.release {
    grid-template-columns: 1fr auto;
    background: var(--tint);
}

.release p {
    margin-top: .7rem;
    color: var(--tint-ink);
}

.bottom {
    border-top: 1px solid var(--line);
    padding-block: 1.3rem;
    color: var(--muted);
    font-size: .88rem;
}

.bottom span:first-child {
    font-weight: 800;
}

@media(max-width:54rem) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .preview {
        max-width: 36rem;
    }
    .plans {
        grid-template-columns: 1fr;
    }
    .cloud-flow {
        grid-template-columns: 1fr;
    }
}

@media(max-width:35rem) {
    .shell {
        width: calc(100% - 2rem);
    }
    .top {
        min-height: 4.3rem;
    }
    .header-cta {
        display: none;
    }
    nav {
        gap: .7rem;
    }
    .brand small {
        display: none;
    }
    .release {
        grid-template-columns: 1fr;
    }
    .release .button {
        justify-self: start;
    }
    .preview-head,.preview-body {
        padding-inline: .75rem;
    }
    .actions .button {
        padding-inline: .72rem;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}
