/* Public landing styles from Home Telemetry UI Polish (29fc53e). */
:root {
    color-scheme: dark;
    --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --canvas: #080c13;
    --text: #f4f7fc;
    --muted: #b6c2d3;
    --blue: #53b7ff;
    --cyan: #55cefa;
    --radius-card: 15px;
    --gutter: clamp(16px, 5vw, 30px);
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --ease: 150ms ease-out;
    --panel-shadow: inset 0 1px 1px rgb(176 203 249 / 8%), 0 4px 16px rgb(0 0 0 / 14%);
    --card-fill: radial-gradient(ellipse at 12% 0%, rgb(39 60 87 / 29%), transparent 79%),
        linear-gradient(135deg, #111822, #0c1119 76%);
}

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

html {
    background: var(--canvas);
}

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    font: 400 1rem/1.45 var(--font-ui);
    color: var(--text);
    background: radial-gradient(ellipse at 76% 14%, #0c1420, transparent 55%), var(--canvas);
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient::before,
.ambient::after {
    position: absolute;
    content: "";
    width: clamp(355px, 78vw, 920px);
    aspect-ratio: 1.55;
    border-radius: 50%;
    transform: rotate(36deg);
    border: 1px solid rgb(60 126 218 / 37%);
    background: radial-gradient(ellipse at 51% 104%, rgb(21 85 167 / 42%), transparent 68%),
        linear-gradient(135deg, #070c16, #101c2d);
    box-shadow: 0 0 28px rgb(15 99 209 / 30%), inset 0 -3px 22px rgb(52 134 231 / 28%),
        0 0 0 34px rgb(9 22 39 / 35%), 0 0 0 64px rgb(12 22 35 / 19%);
}

.ambient::before {
    inset-block-start: clamp(-370px, -23vw, -112px);
    inset-inline-end: clamp(-520px, -45vw, -179px);
}

.ambient::after {
    inset-block-end: clamp(-380px, -22vw, -128px);
    inset-inline-start: clamp(-420px, -48vw, -165px);
    transform: rotate(-143deg);
}

h1, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(9px, 3vw, 14px);
}

.brand img {
    flex: 0 0 auto;
    width: var(--brand-size, 38px);
    height: var(--brand-size, 38px);
    filter: drop-shadow(0 0 1px rgb(74 158 224 / 72%)) drop-shadow(0 0 3px rgb(49 137 217 / 25%));
}

.brand h1 {
    font-size: var(--title-size, clamp(24px, 6.7vw, 40px));
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.landing {
    display: grid;
    align-items: center;
    padding: clamp(38px, 7svh, 100px) var(--gutter);
}

.landing-content {
    width: min(100%, 580px);
    margin-inline: auto;
    text-align: center;
    --brand-size: clamp(39px, 11.5vw, 62px);
    --title-size: clamp(27px, 7.4vw, 49px);
}

.landing-description {
    max-width: 33ch;
    margin: clamp(var(--space-16), 3svh, var(--space-24)) auto 0;
    font-size: clamp(15px, 4.1vw, 20px);
    line-height: 1.38;
    color: var(--muted);
    text-wrap: pretty;
}

.sign-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: clamp(49px, 12vw, 60px);
    margin: clamp(var(--space-24), 4svh, var(--space-32)) auto 0;
    padding: 8px clamp(19px, 6.2vw, 32px);
    border: 1px solid #e8f3ff;
    border-radius: clamp(15px, 4.5vw, 21px);
    background: linear-gradient(155deg, #fcfdff, #d5e6fa);
    color: #101821;
    font-size: clamp(17px, 4.4vw, 22px);
    font-weight: 750;
    box-shadow: 0 2px 0 #52c6f6, 0 8px 25px rgb(25 111 197 / 27%);
    transition: box-shadow var(--ease), background-color var(--ease);
}

.sign-in-arrow {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
}

.sign-in:hover {
    box-shadow: 0 2px 0 #66d6ff, 0 8px 30px rgb(44 149 250 / 43%);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(var(--space-8), 2vw, var(--space-12));
    margin: var(--space-32) 0 0;
    padding: 0;
    list-style: none;
}

.features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    min-height: clamp(83px, 20vw, 112px);
    padding: var(--space-12) var(--space-8);
    border: 1px solid #283447;
    border-radius: var(--radius-card);
    background: var(--card-fill);
    box-shadow: var(--panel-shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--blue);
    background: linear-gradient(145deg, #1b3854, #101d2d);
}

.feature-icon svg {
    width: 17px;
    height: 17px;
}

.features strong {
    font-size: clamp(12px, 3.25vw, 16px);
    line-height: 1.2;
}

@media (max-width: 600px) {
    .landing {
        padding-block-end: calc(clamp(38px, 7svh, 100px) + var(--space-32) + var(--space-24));
    }

    .features li {
        min-height: 72px;
        padding-block: var(--space-8);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }
}
