@font-face {
    font-family: "Funnel Display";
    src: url("display.c7d6c1438e.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Funnel Sans";
    src: url("text.478c99dc8b.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

/* Shape rule: pills for anything you press, 24px for panels and tiles, 16px for a picture inside a panel, 14px for fields, 10px for inline chips. */
/* One look, white. The site keeps it whatever the device is set to, so there is no dark set of colours. */
:root {
    --bg: #ffffff;
    --bg-2: #f3f6ee;
    --panel: #ffffff;
    --ink: #10140f;
    --ink-2: #454c41;
    --ink-3: #5f665a;
    --line: #d3d9cc;
    --accent: #c8f04b;
    --accent-edge: #a8cf2e;
    --accent-deep: #b1db31;
    --accent-pale: #e4fa93;
    --on-accent: #10140f;
    --accent-text: #496400;
    --inverse: #10140f;
    --on-inverse: #f4f6f1;
    --dot-on: #10140f;
    --dot-off: #cdd3c6;
    --dot-hi: #5c7f00;
    --bad: #a1271c;
    --shadow: 16 20 15;
    --r-panel: 24px;
    --r-art: 16px;
    --r-field: 14px;
    --r-chip: 10px;
    --r-pill: 999px;
    --pad: 20px;
    --top: 64px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-text: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    /* Layers: page 0, sticky top bar 20, open menu 30, skip link 40. */
    --z-top: 20;
    --z-menu: 30;
    --z-skip: 40;
    color-scheme: only light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--top) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.55 var(--font-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    margin: 0;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.75rem, 10.6vw + 0.3rem, 5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 5.6vw + 0.6rem, 3.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.28rem;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

p {
    margin: 0;
    text-wrap: pretty;
}

a {
    color: inherit;
}

.ic {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    display: block;
}

.wrap {
    max-width: calc(1180px + 2 * var(--pad));
    margin-inline: auto;
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

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

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: var(--z-skip);
    background: var(--ink);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-weight: 650;
}

.skip:focus {
    top: 12px;
}

.sub {
    margin-top: 16px;
    font-size: 1.14rem;
    color: var(--ink-2);
    max-width: 44ch;
}

section {
    padding-block: clamp(4.25rem, 11vw, 8rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: var(--r-pill);
    border: 1.5px solid transparent;
    font: 650 1.03rem/1 var(--font-display);
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.3s var(--ease),
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

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

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-ink {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.btn-small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.95rem;
}

/* On a phone the top bar's button only appears once the first screen's own button has scrolled away. */
@media (max-width: 899px) {
    .js .top .btn-small {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition:
            opacity 0.25s ease,
            transform 0.35s var(--ease),
            visibility 0s linear 0.35s;
    }

    .js .top.past-hero .btn-small {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }
}

@media (hover: hover) {
    .btn-primary:hover,
    .btn-ink:hover {
        transform: translateY(-2px);
    }

    .btn-ghost:hover {
        background: var(--ink);
        color: var(--bg);
    }
}

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

.btn[disabled] {
    background: var(--bg-2);
    color: var(--ink-2);
    border-color: var(--line);
    cursor: not-allowed;
    transform: none;
}

/* Preview note and top bar */
.preview-note {
    background: var(--inverse);
    color: var(--on-inverse);
    font-size: 0.82rem;
    line-height: 1.35;
    padding-block: 9px;
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: var(--z-top);
    background: var(--bg);
}

.top {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: var(--z-top);
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .top {
        background: color-mix(in srgb, var(--bg) 84%, transparent);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .top {
        background: var(--bg);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.top.is-stuck {
    border-bottom-color: var(--line);
}

.top-row {
    height: var(--top);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mark {
    font: 800 1.75rem/1 var(--font-display);
    letter-spacing: -0.05em;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
    padding-block: 6px;
}

.top-nav {
    display: none;
    gap: 28px;
    margin-right: 20px;
    font-size: 0.98rem;
    font-weight: 500;
}

.top-nav a,
.menu a,
.foot-nav a {
    text-decoration: none;
}

@media (hover: hover) {
    .top-nav a:hover,
    .foot-nav a:hover,
    .legal a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-thickness: 1.5px;
    }
}

.menu-button {
    width: 44px;
    height: 44px;
    margin-right: -8px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    border-radius: var(--r-pill);
    color: var(--ink);
    cursor: pointer;
}

.menu-button .ic {
    grid-area: 1 / 1;
    width: 24px;
    height: 24px;
    transition:
        opacity 0.2s ease,
        transform 0.3s var(--ease);
}

.menu-button .ic:last-child,
.menu-button[aria-expanded="true"] .ic:first-of-type {
    opacity: 0;
    transform: rotate(-45deg) scale(0.7);
}

.menu-button[aria-expanded="true"] .ic:last-child {
    opacity: 1;
    transform: none;
}

.menu {
    position: absolute;
    inset: 100% 0 auto;
    z-index: var(--z-menu);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding-block: 8px 20px;
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
    display: grid;
}

.menu[hidden] {
    display: none;
}

.menu a {
    font: 650 1.5rem/1.1 var(--font-display);
    letter-spacing: -0.02em;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.menu a:first-child {
    border-top: 0;
}

@media (min-width: 900px) {
    :root {
        --pad: 32px;
        --top: 72px;
    }

    .top-nav {
        display: flex;
    }

    .menu-button,
    .menu {
        display: none;
    }
}

/* Hero */
/* The globe hangs off the right edge on a phone. The first line is for browsers that do not know the second. */
main {
    overflow-x: hidden;
    overflow-x: clip;
}

.hero {
    padding-block: 18px 46px;
}

.hero-grid {
    display: grid;
    gap: 30px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.status {
    display: inline-block;
    font: 600 0.8rem/1 var(--font-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 18px;
}

/* One word of the headline sits on a stroke of the brand colour, like a marker pen. */
.hl {
    position: relative;
    z-index: 0;
    white-space: nowrap;
}

.hl::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0.14em -0.1em 0.03em -0.08em;
    border-radius: 0.16em;
    background: var(--accent);
    transform: rotate(-1.4deg);
    transform-origin: left center;
}

.lede {
    margin-top: 18px;
    font-size: 1.2rem;
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 30ch;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-art {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1.02;
    justify-self: center;
}

/* The globe: a ball in the brand colour. The land and the routes are drawn on the canvas over it. */
.orb {
    position: absolute;
    top: 0;
    right: -15%;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, var(--accent-pale) 0%, var(--accent) 46%, var(--accent-deep) 100%);
    box-shadow: inset -20px -26px 56px rgb(73 100 0 / 0.2);
}

.globe {
    position: absolute;
    inset: -12%;
    width: 124%;
    height: 124%;
    display: block;
    touch-action: pan-y;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.globe.is-ready {
    opacity: 1;
}

.globe.is-held {
    cursor: grabbing;
}

.pass {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52%;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--r-art);
    padding: 12px 12px 11px;
    transform: rotate(-6deg);
    box-shadow:
        0 2px 4px rgb(var(--shadow) / 0.05),
        0 30px 48px -22px rgb(var(--shadow) / 0.42);
}

.pass-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.pass-brand {
    font: 800 1.2rem/1 var(--font-display);
    letter-spacing: -0.05em;
}

.pass-kind {
    font: 700 0.62rem/1 var(--font-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--accent);
    padding: 5px 8px;
    border-radius: var(--r-pill);
}

.pass-qr {
    position: relative;
    border-radius: var(--r-chip);
    overflow: hidden;
}

.qr {
    display: block;
    width: 100%;
    height: auto;
    fill: #10140f;
}

.scan {
    position: absolute;
    inset: 0 0 auto;
    height: 20%;
    background: linear-gradient(to bottom, transparent, rgb(200 240 75 / 0.34) 90%, #496400 96%, #496400);
    transform: translateY(-110%);
    pointer-events: none;
}

.pass-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 9px;
}

.pass-plan {
    display: grid;
    gap: 4px;
}

.pass-plan strong {
    font: 800 1.3rem/0.9 var(--font-display);
    letter-spacing: -0.045em;
}

.pass-plan span {
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1;
}

.signal {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.signal i {
    width: 5px;
    border-radius: 2px;
    background: var(--ink);
    transform-origin: bottom;
}

.signal i:nth-child(1) {
    height: 30%;
}

.signal i:nth-child(2) {
    height: 52%;
}

.signal i:nth-child(3) {
    height: 76%;
}

.signal i:nth-child(4) {
    height: 100%;
}

.live-chip {
    position: absolute;
    right: 0;
    bottom: 13%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px 10px 12px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: #fff;
    font: 650 0.92rem/1 var(--font-display);
    box-shadow: 0 16px 30px -16px rgb(var(--shadow) / 0.55);
}

.live-chip .signal {
    height: 14px;
    gap: 2px;
}

.live-chip .signal i {
    width: 3px;
    border-radius: 1px;
    background: var(--accent);
}

@media (min-width: 900px) {
    .hero {
        padding-block: 36px 76px;
        min-height: min(calc(100dvh - var(--top)), 880px);
        display: grid;
        align-items: center;
    }

    /* A page shown at rest (a preview frame, a thumbnail) sizes its first screen to its content. */
    .page-rest .hero {
        min-height: 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 40px;
        align-items: center;
    }

    .lede {
        font-size: 1.32rem;
        max-width: 34ch;
    }

    .hero-art {
        max-width: 560px;
        aspect-ratio: 1 / 0.98;
        justify-self: end;
    }

    .orb {
        width: 94%;
        right: -4%;
    }

    .pass {
        width: 45%;
        padding: 18px 18px 16px;
        border-radius: var(--r-panel);
    }

    .pass-top {
        margin-bottom: 12px;
    }

    .pass-brand {
        font-size: 1.6rem;
    }

    .pass-kind {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .pass-foot {
        margin-top: 12px;
    }

    .pass-plan strong {
        font-size: 1.9rem;
    }

    .pass-plan span {
        font-size: 0.88rem;
    }

    .signal {
        height: 32px;
        gap: 4px;
    }

    .signal i {
        width: 7px;
        border-radius: 3px;
    }

    .live-chip {
        right: 2%;
        bottom: 15%;
        font-size: 1rem;
        padding: 12px 18px 12px 14px;
    }
}

/* Band */
.band {
    position: relative;
    z-index: 1;
    background: var(--ink);
    color: var(--on-inverse);
    overflow: hidden;
    transform: rotate(-1.6deg) scale(1.04);
}

.band-track {
    display: flex;
    width: max-content;
}

.band-run {
    flex: none;
    display: flex;
    align-items: center;
    padding-block: 16px;
    font: 650 1.04rem/1 var(--font-display);
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.band-run span {
    padding-inline: 20px;
}

.band-run .ic {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

/* How it works */
.steps {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    counter-increment: step;
    border-radius: var(--r-panel);
    background: var(--bg-2);
    padding: 8px 8px 24px;
}

.step::before {
    content: counter(step);
    position: absolute;
    z-index: 1;
    left: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font: 700 1rem/1 var(--font-display);
}

.step:nth-child(3)::before {
    background: var(--accent);
    color: var(--on-accent);
}

.step-art {
    position: relative;
    height: 204px;
    border-radius: var(--r-art);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.step h3 {
    margin: 20px 14px 0;
}

.step > p {
    margin: 8px 14px 0;
    color: var(--ink-2);
    max-width: 36ch;
}

/* Step one: the sizes, each picked in turn. */
.step-pick {
    background: #fff;
}

.chips {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
}

.chip {
    min-width: 96px;
    padding: 14px 16px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line);
    background-color: #fff;
    color: var(--ink);
    font: 650 1.02rem/1 var(--font-display);
    text-align: center;
}

.chip-2 {
    background-color: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* Step two: a code in a camera's viewfinder. */
.step-scan {
    background: var(--accent);
}

.viewfinder {
    position: relative;
    width: 112px;
    padding: 8px;
    border-radius: var(--r-chip);
    background: #fff;
}

.viewfinder-frame {
    --c: var(--ink);
    position: absolute;
    inset: -15px;
    background:
        linear-gradient(var(--c), var(--c)) top left / 22px 3px,
        linear-gradient(var(--c), var(--c)) top left / 3px 22px,
        linear-gradient(var(--c), var(--c)) top right / 22px 3px,
        linear-gradient(var(--c), var(--c)) top right / 3px 22px,
        linear-gradient(var(--c), var(--c)) bottom left / 22px 3px,
        linear-gradient(var(--c), var(--c)) bottom left / 3px 22px,
        linear-gradient(var(--c), var(--c)) bottom right / 22px 3px,
        linear-gradient(var(--c), var(--c)) bottom right / 3px 22px;
    background-repeat: no-repeat;
}

.viewfinder-line {
    position: absolute;
    left: -9px;
    right: -9px;
    top: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--ink);
    transform: translateY(54px);
}

/* Step three: touchdown, then signal. */
.step-land {
    background: var(--ink);
}

.landing {
    position: relative;
    width: 236px;
    height: 140px;
}

.runway {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 3px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px);
    opacity: 0.5;
}

.plane {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    transform: translate(98px, 78px);
}

.plane .ic {
    width: 46px;
    height: 46px;
    transform: rotate(45deg);
}

.bars {
    position: absolute;
    right: 4px;
    bottom: 28px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 66px;
}

.bars i {
    width: 12px;
    border-radius: 4px;
    background: var(--accent);
    transform-origin: bottom;
}

.bars i:nth-child(1) {
    height: 28%;
}

.bars i:nth-child(2) {
    height: 52%;
}

.bars i:nth-child(3) {
    height: 76%;
}

.bars i:nth-child(4) {
    height: 100%;
}

@media (min-width: 900px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 52px;
        align-items: start;
    }

    .step {
        padding: 10px 10px 30px;
    }

    .step::before {
        left: 24px;
        top: 24px;
    }

    .step:nth-child(2) {
        margin-top: 44px;
    }

    .step:nth-child(3) {
        margin-top: 88px;
    }

    .step-art {
        height: 250px;
    }

    .step h3 {
        margin: 24px 18px 0;
    }

    .step > p {
        margin: 8px 18px 0;
    }
}

/* Plans */
.plans {
    background: var(--bg-2);
}

.picker {
    margin-top: 30px;
}

.sizes {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
}

.size {
    min-height: 50px;
    padding: 0 6px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: 650 1.02rem/1 var(--font-display);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.3s var(--ease);
}

.size[aria-checked="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.size:active {
    transform: scale(0.97);
}

.plan-panel {
    margin-top: 14px;
    border-radius: var(--r-panel);
    background: var(--panel);
    padding: 8px 8px 22px;
    display: grid;
    gap: 18px;
    box-shadow:
        0 1px 2px rgb(var(--shadow) / 0.05),
        0 26px 50px -34px rgb(var(--shadow) / 0.3);
}

/* The gauge: the bigger the plan, the higher the level. It is a picture of size, drawn on a log scale. */
.plan-tank {
    --fill: 62%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--r-art);
    background: var(--bg-2);
    min-height: 226px;
    display: grid;
    align-items: end;
    padding: 18px 20px 16px;
}

.js .plan-tank {
    --fill: 0%;
}

.tank-fill {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--accent);
    transform: translateY(calc(100% - var(--fill)));
    transition: transform 1.2s var(--ease);
}

.tank-fill::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    width: calc(100% + 40px);
    height: 11px;
    background: radial-gradient(circle 22px at 50% 100%, var(--accent) 97%, transparent) 0 0 / 40px 22px repeat-x;
}

.plan-tank::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 18px;
    bottom: 18px;
    width: 10px;
    background: repeating-linear-gradient(to bottom, rgb(16 20 15 / 0.3) 0 1.5px, transparent 1.5px 12.5%);
}

.plan-figure {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-display);
    line-height: 0.82;
}

.plan-num {
    font-size: clamp(5.6rem, 28vw, 10.5rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    font-variant-numeric: tabular-nums;
}

.plan-unit {
    font-size: clamp(1.7rem, 7vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.plan-guide,
.plan-facts,
.plan-buy {
    margin-inline: 14px;
}

.plan-guide {
    font-size: 1.12rem;
    color: var(--ink-2);
    max-width: 30ch;
}

.plan-facts {
    margin-block: 0;
    display: grid;
}

.plan-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.plan-facts dt {
    color: var(--ink-3);
}

.plan-facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.plan-buy {
    display: grid;
    gap: 12px;
}

.plan-price {
    font: 650 1.2rem/1.2 var(--font-display);
}

.plan-buy .btn {
    width: 100%;
}

.plain-plans {
    margin: 20px 0 0;
    padding-left: 20px;
}

.plan-note {
    font-size: 0.98rem;
    color: var(--ink-2);
}

.plan-note[hidden] {
    display: none;
}

.plan-note a {
    color: var(--ink);
    font-weight: 600;
    text-underline-offset: 3px;
}

@media (min-width: 900px) {
    .sizes {
        max-width: 520px;
    }

    .plan-panel {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        grid-template-areas:
            "tank facts"
            "tank guide"
            "tank buy";
        grid-template-rows: auto 1fr auto;
        gap: 22px 48px;
        padding: 12px 48px 12px 12px;
    }

    .plan-tank {
        grid-area: tank;
        min-height: 430px;
        padding: 30px 36px 28px;
    }

    .plan-tank::after {
        right: 22px;
        top: 28px;
        bottom: 28px;
        width: 14px;
    }

    .plan-guide,
    .plan-facts,
    .plan-buy {
        margin-inline: 0;
    }

    .plan-facts {
        grid-area: facts;
        margin-top: 30px;
    }

    .plan-guide {
        grid-area: guide;
        font-size: 1.25rem;
    }

    .plan-buy {
        grid-area: buy;
        margin-bottom: 32px;
    }
}

/* Coverage */
.coverage {
    background: var(--bg-2);
    padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.finder {
    margin-top: 28px;
    max-width: 520px;
}

.finder label {
    display: block;
    font: 650 1.05rem/1.2 var(--font-display);
    margin-bottom: 8px;
}

.field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 16px;
    border-radius: var(--r-field);
    border: 1.5px solid var(--ink-3);
    background: var(--panel);
    color: var(--ink);
}

.field:focus-within {
    border-color: var(--ink);
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.field .ic {
    width: 20px;
    height: 20px;
    color: var(--ink-3);
}

.field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 1.0625rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.field input::placeholder {
    color: var(--ink-3);
    opacity: 1;
}

.field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.hint {
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--ink-3);
}

.results {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--r-field);
    background: var(--panel);
    border: 1px solid var(--line);
    font-weight: 600;
}

.result span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.result .yes {
    color: var(--accent-text);
}

.result .no,
.result-empty {
    color: var(--ink-3);
}

.result-empty {
    padding: 12px 2px;
}

.map-wrap {
    margin-top: 34px;
    padding-inline: 6px;
}

.map {
    display: block;
    width: 100%;
    aspect-ratio: 150 / 58;
}

@media (min-width: 900px) {
    .map-wrap {
        max-width: calc(1180px + 2 * var(--pad));
        margin-inline: auto;
        padding-inline: var(--pad);
    }
}

/* Phone check */
.phone-grid {
    display: grid;
    gap: 26px;
}

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: 600 0.98rem/1 var(--font-text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.brand[aria-selected="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.brand-panel {
    margin-top: 16px;
    font-size: 1.12rem;
    min-height: 7.8em;
}

.brand-panel[hidden] {
    display: none;
}

.sure {
    margin-top: 18px;
    padding: 22px 22px 0;
    border-radius: var(--r-panel);
    background: var(--accent);
    color: var(--on-accent);
    display: grid;
    gap: 20px;
    overflow: hidden;
}

.sure-copy {
    display: grid;
    gap: 8px;
}

.sure kbd {
    display: inline-block;
    font: 700 1.35rem/1.25 var(--font-mono);
    background: var(--on-accent);
    color: var(--accent);
    padding: 1px 10px;
    border-radius: var(--r-chip);
    vertical-align: baseline;
}

/* The top of a phone, showing what the code brings up. */
.dialler {
    justify-self: center;
    width: min(100%, 290px);
    padding: 12px 20px 16px;
    border-radius: var(--r-panel) var(--r-panel) 0 0;
    background: var(--ink);
    color: #fff;
    display: grid;
}

.dialler::before {
    content: "";
    justify-self: center;
    width: 52px;
    height: 6px;
    border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.2);
    margin-bottom: 18px;
}

.dialler-num {
    text-align: center;
    margin-bottom: 14px;
    font: 700 2rem/1.1 var(--font-mono);
    letter-spacing: 0.06em;
    color: var(--accent);
}

.dialler-num span {
    display: inline-block;
    width: calc(5ch + 0.3em);
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    text-align: left;
}

.dialler-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid rgb(255 255 255 / 0.14);
    font: 500 0.9rem/1.2 var(--font-mono);
    color: rgb(255 255 255 / 0.72);
}

.dialler-row b {
    font: 700 0.72rem/1 var(--font-text);
    letter-spacing: 0.08em;
}

.dialler-eid {
    color: #fff;
}

.dialler-eid b {
    padding: 5px 8px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--on-accent);
}

@media (min-width: 900px) {
    .phone-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 72px;
        align-items: start;
    }

    .brand-panel {
        min-height: 5.2em;
    }

    .sure {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 28px;
        padding: 30px 30px 0;
    }

    .sure-copy {
        padding-bottom: 30px;
    }

    .dialler {
        width: 262px;
    }
}

/* Worth knowing */
.know {
    background: var(--bg-2);
}

.bento {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-panel);
    padding: 22px;
    min-height: 208px;
    display: grid;
    align-content: end;
    gap: 8px;
}

.tile > .ic {
    width: 34px;
    height: 34px;
    margin-bottom: 26px;
}

.tile p:not(.tile-big) {
    max-width: 38ch;
}

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

.tile-art {
    display: none;
}

.tile-days {
    background: var(--inverse);
    color: var(--on-inverse);
}

.tile-days {
    min-height: 262px;
}

.tile-big {
    position: absolute;
    right: 10px;
    top: -18px;
    font: 800 8.6rem/1 var(--font-display);
    letter-spacing: -0.07em;
    opacity: 0.2;
    pointer-events: none;
}

.tile-bill {
    background: var(--panel);
    border: 1px solid var(--line);
}

.tile-bill::before {
    content: "";
    position: absolute;
    inset: 0 0 45% 35%;
    background-image: radial-gradient(var(--line) 1.4px, transparent 1.6px);
    background-size: 13px 13px;
    -webkit-mask-image: linear-gradient(215deg, #000, transparent 70%);
    mask-image: linear-gradient(215deg, #000, transparent 70%);
    pointer-events: none;
}

.tile-data {
    border: 1.5px solid var(--ink);
}

.tile-bill p,
.tile-data p {
    color: var(--ink-2);
}

@media (min-width: 720px) {
    .bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: minmax(236px, auto);
        gap: 16px;
    }

    .tile {
        padding: 28px;
    }

    .tile-number {
        grid-column: span 4;
    }

    .tile-art {
        display: block;
        position: absolute;
        right: 34px;
        top: 50%;
        width: 250px;
        height: 190px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .tile-art .ic {
        position: absolute;
        width: 150px;
        height: 150px;
        margin: 0;
    }

    .tile-art .ic:first-child {
        left: 0;
        top: 34px;
        transform: rotate(-10deg);
        opacity: 0.28;
    }

    .tile-art .ic:last-child {
        right: 0;
        top: 0;
        transform: rotate(7deg);
    }

    .tile-days {
        grid-column: span 2;
        grid-row: span 2;
    }

    .tile-bill,
    .tile-data {
        grid-column: span 2;
    }

    .tile-big {
        font-size: 13rem;
        top: -30px;
    }
}

/* Questions */
.faq-grid {
    display: grid;
    gap: 22px;
}

.qa details {
    border-top: 1px solid var(--line);
}

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

.qa summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 0;
    font: 650 1.14rem/1.25 var(--font-display);
    letter-spacing: -0.01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

.qa summary .ic {
    width: 20px;
    height: 20px;
    transition: transform 0.35s var(--ease);
}

.qa details[open] summary .ic {
    transform: rotate(180deg);
}

.qa details p {
    padding-bottom: 20px;
    color: var(--ink-2);
    max-width: 58ch;
}

@media (min-width: 900px) {
    .faq-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 72px;
        align-items: start;
    }

    .faq-grid h2 {
        position: sticky;
        top: calc(var(--top) + 32px);
    }
}

/* Pages other than the home page: account, privacy, errors */
.subpage {
    padding-block: clamp(2.25rem, 7vw, 4.5rem) clamp(4rem, 10vw, 7rem);
    min-height: 62dvh;
}

.subpage h1 {
    font-size: clamp(2.2rem, 6vw + 0.6rem, 3.6rem);
    line-height: 1;
}

.subpage h2 {
    font-size: 1.4rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.narrow {
    max-width: calc(560px + 2 * var(--pad));
}

.form {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    justify-items: start;
}

.form > label {
    font: 650 1.05rem/1.2 var(--font-display);
}

.form .field {
    width: 100%;
}

.form .btn {
    margin-top: 8px;
}

.field-code input {
    font: 700 1.7rem/1 var(--font-display);
    letter-spacing: 0.22em;
    font-variant-numeric: tabular-nums;
}

.field-bad {
    border-color: var(--bad);
}

.bad {
    color: var(--bad);
    font-weight: 600;
}

.sub + .said {
    margin-top: 18px;
}

.narrow .hint {
    margin-top: 18px;
}

.narrow .hint a,
.narrow .btn-quiet {
    color: var(--ink);
}

.narrow form + form {
    margin-top: 6px;
}

.boxes {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.box {
    border-radius: var(--r-panel);
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 24px 22px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.box p {
    color: var(--ink-2);
}

.box form {
    display: grid;
    gap: 12px;
    justify-items: start;
}

.choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
}

.choice input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    flex: none;
    accent-color: var(--ink);
}

.said {
    color: var(--accent-text);
    font-weight: 600;
}

.btn-quiet {
    min-height: 44px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--ink-2);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.prose {
    max-width: 68ch;
    display: grid;
    gap: 14px;
    margin-top: 22px;
    color: var(--ink-2);
}

.prose h2 {
    margin-top: 20px;
    color: var(--ink);
}

.prose ul {
    margin: 0;
    padding-left: 1.2em;
    display: grid;
    gap: 6px;
}

.prose a {
    color: var(--ink);
    text-underline-offset: 3px;
}

@media (min-width: 900px) {
    .boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .box {
        padding: 30px 28px;
    }

    .box-wide {
        grid-column: 1 / -1;
    }
}

/* Closing */
.closing {
    padding-top: 0;
}

.closing-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--r-panel);
    background: var(--accent);
    color: var(--on-accent);
    padding: 36px 24px 30px;
    display: grid;
    gap: 26px;
}

.closing-card h2 {
    font-size: clamp(1.7rem, 7.4vw, 3.4rem);
}

.closing-card h2 span {
    display: block;
}

.closing-card .actions {
    margin-top: 0;
}

.closing-card .btn-ghost {
    background: var(--accent);
}

/* Rings spreading from the corner, the way signal is usually drawn. */
.rings,
.rings::before,
.rings::after {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgb(16 20 15 / 0.16);
}

.rings {
    z-index: -1;
    right: -170px;
    bottom: -170px;
    width: 420px;
    aspect-ratio: 1;
}

.rings::before,
.rings::after {
    content: "";
}

.rings::before {
    inset: 54px;
}

.rings::after {
    inset: 110px;
    background: var(--accent-deep);
}

@media (min-width: 900px) {
    .closing-card {
        padding: 72px 60px 64px;
        gap: 34px;
    }

    .closing-card h2 {
        font-size: clamp(3rem, 5vw, 4.4rem);
    }

    .rings {
        right: -150px;
        bottom: -260px;
        width: 680px;
    }

    .rings::before {
        inset: 90px;
    }

    .rings::after {
        inset: 180px;
    }
}

/* Footer */
.foot {
    border-top: 1px solid var(--line);
    padding-block: 40px calc(36px + env(safe-area-inset-bottom));
}

.foot-grid {
    display: grid;
    gap: 28px;
}

.mark-foot {
    font-size: clamp(5rem, 27vw, 12rem);
    line-height: 0.78;
    letter-spacing: -0.06em;
    margin: 0 0 6px -0.04em;
    padding: 0;
}

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-weight: 500;
}

.foot-nav a {
    padding-block: 6px;
}

.legal {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ink-3);
    max-width: 72ch;
}

@media (min-width: 900px) {
    .foot {
        padding-block: 64px 48px;
    }

    .foot-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .mark-foot {
        grid-row: span 2;
    }

    .foot-nav {
        justify-content: flex-end;
    }

    .legal {
        text-align: right;
        justify-items: end;
    }
}

/* Motion. Each piece says something: the first screen shows scan then signal, the three steps act out what they describe, and sections arrive as you reach them. */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * {
        animation: rise 0.9s var(--ease) both;
    }

    .hero-copy > :nth-child(2) {
        animation-delay: 0.07s;
    }

    .hero-copy > :nth-child(3) {
        animation-delay: 0.14s;
    }

    .hero-copy > :nth-child(4) {
        animation-delay: 0.21s;
    }

    .hl::before {
        animation: mark 0.7s var(--ease) 0.62s both;
    }

    .orb {
        animation: orb-in 1.2s var(--ease) 0.05s both;
    }

    .pass {
        animation: pass-in 1.1s var(--ease) 0.3s both;
    }

    .pass .qr-band {
        animation: fade 0.5s ease both;
    }

    .pass .qr-band-0 {
        animation-delay: 0.65s;
    }

    .pass .qr-band-1 {
        animation-delay: 0.73s;
    }

    .pass .qr-band-2 {
        animation-delay: 0.81s;
    }

    .pass .qr-band-3 {
        animation-delay: 0.89s;
    }

    .pass .qr-band-4 {
        animation-delay: 0.97s;
    }

    .pass .qr-band-5 {
        animation-delay: 1.05s;
    }

    .pass .qr-band-6 {
        animation-delay: 1.13s;
    }

    .pass .scan {
        animation: scan 1.25s cubic-bezier(0.45, 0, 0.55, 1) 1.6s both;
    }

    .pass .signal i {
        animation: bar 0.5s var(--ease) both;
    }

    .pass .signal i:nth-child(1) {
        animation-delay: 2.7s;
    }

    .pass .signal i:nth-child(2) {
        animation-delay: 2.82s;
    }

    .pass .signal i:nth-child(3) {
        animation-delay: 2.94s;
    }

    .pass .signal i:nth-child(4) {
        animation-delay: 3.06s;
    }

    .live-chip {
        animation: chip-in 0.7s var(--ease) 3.3s both;
    }

    .band-track {
        animation: band 46s linear infinite;
    }

    .chip {
        animation: pick 6s infinite;
    }

    .chip-1 {
        animation-delay: -4.5s;
    }

    .chip-2 {
        animation-delay: -3s;
    }

    .chip-3 {
        animation-delay: -1.5s;
    }

    .viewfinder-line {
        animation: sweep 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    }

    .plane {
        animation: land 6s cubic-bezier(0.3, 0.1, 0.3, 1) infinite;
    }

    .plane .ic {
        animation: level 6s ease infinite;
    }

    .bars i {
        animation: bars 6s ease infinite both;
    }

    .bars i:nth-child(2) {
        animation-delay: 0.2s;
    }

    .bars i:nth-child(3) {
        animation-delay: 0.4s;
    }

    .bars i:nth-child(4) {
        animation-delay: 0.6s;
    }

    .tank-fill::before {
        animation: wave 4.5s linear infinite;
    }

    [data-reveal].pre {
        opacity: 0;
        transform: translateY(20px);
    }

    [data-reveal].pre.in {
        opacity: 1;
        transform: none;
        transition:
            opacity 0.8s var(--ease),
            transform 0.8s var(--ease);
        transition-delay: calc(var(--i, 0) * 80ms);
    }

    [data-reveal].pre.in .dialler-num span {
        animation: type 1s steps(5, end) 0.5s both;
    }

    [data-reveal].pre.in .dialler-row {
        animation: fade 0.5s ease 1.6s both;
    }

    [data-reveal].pre.in .dialler-row + .dialler-row {
        animation-delay: 1.85s;
    }

    .plan-num.is-changing {
        animation: tick 0.45s var(--ease);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
}

@keyframes mark {
    from {
        transform: rotate(-1.4deg) scaleX(0);
    }
}

@keyframes orb-in {
    from {
        opacity: 0;
        transform: scale(0.86);
    }
}

@keyframes pass-in {
    from {
        opacity: 0;
        transform: translateY(40px) rotate(4deg) scale(0.96);
    }
}

@keyframes chip-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
}

@keyframes scan {
    from {
        transform: translateY(-110%);
    }

    to {
        transform: translateY(520%);
    }
}

@keyframes bar {
    from {
        transform: scaleY(0.12);
        opacity: 0.3;
    }
}

@keyframes band {
    to {
        transform: translateX(-25%);
    }
}

@keyframes pick {
    0%,
    21% {
        background-color: var(--ink);
        border-color: var(--ink);
        color: #fff;
        transform: scale(1.05);
    }

    26%,
    100% {
        background-color: #fff;
        border-color: var(--line);
        color: var(--ink);
        transform: scale(1);
    }
}

@keyframes sweep {
    from {
        transform: translateY(8px);
    }

    to {
        transform: translateY(101px);
    }
}

@keyframes land {
    0% {
        opacity: 0;
        transform: translate(-8px, -10px);
    }

    8% {
        opacity: 1;
    }

    42% {
        transform: translate(72px, 72px);
    }

    58%,
    88% {
        opacity: 1;
        transform: translate(98px, 78px);
    }

    100% {
        opacity: 0;
        transform: translate(112px, 78px);
    }
}

@keyframes level {
    0%,
    30% {
        transform: rotate(82deg);
    }

    50%,
    100% {
        transform: rotate(45deg);
    }
}

@keyframes bars {
    0%,
    46% {
        transform: scaleY(0.14);
        opacity: 0.28;
    }

    54%,
    88% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.14);
        opacity: 0.28;
    }
}

@keyframes wave {
    to {
        transform: translateX(-40px);
    }
}

@keyframes type {
    from {
        width: 0;
    }
}

@keyframes tick {
    from {
        opacity: 0;
        transform: translateY(0.12em);
    }
}
