/*
 * Vulture — one stylesheet for the whole site.
 *
 * Colours are tokens on :root. The light set is the default; the dark set
 * applies when the system asks for it, unless the visitor picked light in the
 * footer (data-theme="light"), and always when they picked dark.
 * Every text colour clears WCAG AA (4.5:1) against the backgrounds it sits on.
 */

:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #eceff3;
    --text: #12161c;
    --text-2: #4a5361;
    --border: #e3e7ec;
    --accent: #ec7f2c;
    --accent-text: #a34e0e;
    --focus: #12161c;
    --glass: rgba(246, 247, 249, 0.8);

    --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --wrap: 1160px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(112px, 14vw, 176px);
    --radius: 24px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0d1015;
        --surface: #151920;
        --surface-2: #1d222b;
        --text: #eef1f5;
        --text-2: #a9b2bf;
        --border: #232831;
        --accent-text: #f2a262;
        --focus: #f2a262;
        --glass: rgba(13, 16, 21, 0.75);
    }
    :root:not([data-theme="light"]) .icon-moon { display: none; }
    :root:not([data-theme="light"]) .icon-sun { display: block; }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d1015;
    --surface: #151920;
    --surface-2: #1d222b;
    --text: #eef1f5;
    --text-2: #a9b2bf;
    --border: #232831;
    --accent-text: #f2a262;
    --focus: #f2a262;
    --glass: rgba(13, 16, 21, 0.75);
}
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }

/* Base */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 88px;
}

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

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
figure, blockquote { margin: 0; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Shared pieces */

.display {
    font-size: clamp(42px, 7.5vw, 92px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.page-title {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.section-title {
    max-width: 18ch;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lead {
    max-width: 52ch;
    font-size: clamp(18px, 2vw, 20px);
    color: var(--text-2);
}

.label {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.text-link {
    display: inline-block;
    padding-block: 6px;
    color: var(--accent-text);
    font-weight: 500;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.fine-print { font-size: 13px; color: var(--text-2); }

.button-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.button-quiet {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 15px;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
}
.icon-button:hover { color: var(--text); background: var(--surface-2); }
.icon-button[hidden] { display: none; }
.icon-sun { display: none; }

.card {
    background: var(--surface);
    border-radius: var(--radius);
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex: none; margin-top: 4px; color: var(--text-2); }

.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chips a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--surface);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

/* Store badges: Apple's and Google's own artwork, at a matching height.
   Google's PNG carries padding around its frame, so it is drawn taller and
   pulled in by that padding to line the visible badges up. */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.store-badges-start { justify-content: flex-start; }
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { width: auto; }
.store-badge-apple img { height: 48px; }
.store-badge-google img { height: 72px; margin: -12px -10px; }

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}
.brand img { width: 28px; height: 28px; }

.site-nav { display: flex; gap: 2px; margin-left: 24px; }
.nav-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-2);
    font-size: 15px;
    text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 8px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}
.mobile-menu-panel a {
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
}
.mobile-menu-panel a[aria-current="page"] { background: var(--surface-2); }

@media (max-width: 860px) {
    .site-nav, .header-download { display: none; }
    .mobile-menu { display: block; }
}

/* Footer */

.site-footer {
    margin-top: var(--section);
    padding: 56px 0 40px;
    border-top: 1px solid var(--border);
    font-size: 15px;
}
.footer-columns { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-brand { flex: 1 1 260px; }
.footer-tagline { margin-top: 12px; max-width: 32ch; color: var(--text-2); }
.site-footer nav { flex: 0 1 160px; }
.site-footer h2 { margin-bottom: 10px; font-size: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav a {
    display: inline-block;
    padding: 6px 0;
    color: var(--text-2);
    text-decoration: none;
}
.site-footer nav a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.language-form { display: flex; align-items: center; gap: 8px; }
.language-form label { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.language-form select {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 15px;
}
.language-form button[hidden] { display: none; }

.theme-picker { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; }
.theme-picker[hidden] { display: none; }
.theme-picker-label { font-size: 14px; color: var(--text-2); }
/* 36 px segments in their 3 px padding and 1 px border make 44 px, the
   height of the language menu beside them. */
.theme-picker .segmented span { min-height: 36px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 12px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 14px;
    cursor: pointer;
}
.segmented input:checked + span { background: var(--surface-2); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

.footer-credit { color: var(--text-2); font-size: 14px; }
.footer-credit a { color: var(--text-2); }

/* Home */

.hero { padding-top: clamp(72px, 11vw, 144px); text-align: center; }
.hero .display { max-width: 14ch; margin: 20px auto 0; }
.hero .lead { margin: 28px auto 0; max-width: 46ch; }
.hero .store-badges { margin-top: 40px; }
.eyebrow { font-size: 15px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--text-2); }
.hero-image { margin-top: clamp(56px, 8vw, 96px); }
.hero-image img { width: 100%; }

.section { padding-top: var(--section); }
.section .section-title { margin-bottom: 56px; }
.section-more { margin-top: 32px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.feature-grid .card-media { grid-column: span 3; overflow: hidden; display: flex; flex-direction: column; }
.feature-grid .card-small { grid-column: span 2; padding: 32px; }
.card-body { padding: 32px 32px 0; }
.card h3 { font-size: 22px; }
.card-small h3 { margin-top: 20px; font-size: 18px; }
.card p { margin-top: 8px; color: var(--text-2); }
.card-small p { font-size: 16px; }
.card-media picture { margin-top: 28px; }
.card-media img { width: 100%; }
.card-icon { color: var(--accent-text); }

/* Competitions: the one wide card, its text beside two phone screenshots of
   the way in, Soaring Spot's own page, and the day it opens. */
.feature-grid .card-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 56px;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
}
.card-wide-text { flex: 1 1 340px; min-width: 0; }
.card-wide-text .label { margin-bottom: 10px; }
.card-wide h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; }
.card-wide-text p:not(.label) { margin: 10px 0 14px; max-width: 46ch; }
.card-wide-shots { flex: 1 1 380px; display: flex; justify-content: center; gap: 16px; }
.card-wide-shots img {
    width: calc(50% - 8px);
    max-width: 190px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top;
    border-radius: 18px;
    box-shadow: 0 0 0 1px var(--border);
}

@media (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid .card-media, .feature-grid .card-small { grid-column: auto; }
}

.ambassadors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}
.ambassador {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}
.ambassador img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; }
.ambassador blockquote { font-size: 20px; line-height: 1.45; letter-spacing: -0.015em; }
.ambassador figcaption { display: flex; flex-direction: column; margin-top: auto; line-height: 1.4; }
.ambassador figcaption span { font-size: 15px; color: var(--text-2); }

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 20px;
}
.plan {
    padding: clamp(28px, 3.5vw, 40px);
    border-radius: var(--radius);
    background: var(--surface);
}
.plan-pro { box-shadow: inset 0 0 0 1.5px var(--accent); }
.plan-pro .check-list svg { color: var(--accent-text); }
.plan h3 { font-size: 22px; }
.plan-price { margin: 4px 0 24px; color: var(--text-2); }
.plan-note { margin-top: 24px; font-size: 15px; color: var(--text-2); }

.section-lead { margin: -36px 0 40px; }

/* Six to a row on a desktop, so eleven partners break 6 + 5 rather than
   leaving one tile alone. */
.logo-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: 16px;
}
.logo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 148px;
    padding: 20px;
    text-decoration: none;
}
.logo-tile picture { display: flex; align-items: center; justify-content: center; height: 56px; }
.logo-tile img { max-height: 56px; max-width: 120px; width: auto; object-fit: contain; }
.logo-tile span { font-size: 14px; font-weight: 500; color: var(--text-2); }
.logo-tile:hover { box-shadow: inset 0 0 0 1.5px var(--border); }

.extension-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    max-width: 760px;
}
.extension {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    text-decoration: none;
}
.extension img { width: 48px; height: 48px; }
.extension > span { display: flex; flex-direction: column; line-height: 1.35; }
.extension strong { font-size: 19px; font-weight: 600; }
.extension span span { color: var(--text-2); font-size: 15px; }
.extension:hover { box-shadow: inset 0 0 0 1.5px var(--border); }

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
}
.section-heading h2 { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.03em; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 40px 20px;
}
/* The title link stretches over the whole card, so the card is one target
   while screen readers still hear a single link named after the post. */
.post-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; transition: opacity 0.2s ease; }
.post-card time { font-size: 14px; color: var(--text-2); }
.post-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: -8px; border-radius: 22px; }
.post-card h3 a:focus-visible { outline: none; }
.post-card h3 a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 0; }
.post-card:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.post-card:hover img { opacity: 0.85; }
.post-card p { color: var(--text-2); font-size: 16px; }

.cta { text-align: center; }
.cta .section-title { max-width: none; margin-bottom: 14px; }
.cta .lead { margin: 0 auto; }
.cta .store-badges { margin-top: 32px; }

/* Content pages */

.page { padding-top: clamp(48px, 7vw, 88px); }
.page-header { margin-bottom: clamp(40px, 6vw, 64px); }
.page-header .lead { margin-top: 16px; }

.closing { margin-top: var(--section); text-align: center; }
.closing .section-title { max-width: none; margin-bottom: 32px; }

.callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
}

/* Why */

.reasons { list-style: none; margin: 0; padding: 0; }
.reason {
    display: flex;
    flex-wrap: wrap;
    gap: 16px clamp(24px, 6vw, 96px);
    padding: clamp(32px, 5vw, 56px) 0;
    border-top: 1px solid var(--border);
}
.reason-heading { flex: 1 1 340px; min-width: 0; }
.reason-heading .label { margin-bottom: 12px; }
.reason h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.reason > p { flex: 1 1 420px; min-width: 0; align-self: end; font-size: 18px; color: var(--text-2); }

/* FAQ */

.faq { max-width: 820px; border-top: 1px solid var(--border); }
/* The contact box closes the list, so it keeps the list's column. */
.faq + .callout { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 16px 0;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 20px;
    font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { max-width: 68ch; padding: 0 48px 24px 0; color: var(--text-2); }

/* Download */

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 20px;
}
/* The Apple card alone, while the site is Apple-only: kept to one column's width. */
.platform-cards.is-single { max-width: 580px; }
.platform-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius);
    background: var(--surface);
}
.platform-card.is-yours { box-shadow: inset 0 0 0 1.5px var(--accent); }
.platform-card h2 { font-size: 28px; letter-spacing: -0.025em; }
.platform-card > p:not(.label) { color: var(--text-2); max-width: 46ch; }
.platform-card .store-badge { margin-top: 12px; }
/* A flight on the map on each platform, cropped to the top of the screen. */
.platform-shot {
    width: min(100%, 300px);
    aspect-ratio: 9 / 11;
    margin-top: 24px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--border);
}

.compare { margin-top: var(--section); }
.compare .lead { margin: 12px 0 32px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: top; }
.compare thead th { border-bottom: 1px solid var(--border); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--border); }
.compare tbody th { width: 24%; font-weight: 600; }
.compare td { color: var(--text-2); }

/* Open in Vulture */

.open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px 96px;
    padding-bottom: 24px;
}
.open-text { flex: 1 1 420px; max-width: 560px; }
.open-icon { width: 72px; height: 72px; margin-bottom: 28px; }
.open-text .lead { margin: 16px 0 32px; }
.open-phone { display: none; }
.open-qr {
    flex: 0 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px;
    border-radius: 28px;
    background: var(--surface);
    text-align: center;
    color: var(--text-2);
}
/* The code is drawn as black modules on a transparent canvas; it needs a
   white plate behind it to scan in the dark theme. */
#qrcode { padding: 16px; border-radius: 16px; background: #ffffff; min-width: 200px; min-height: 200px; }
#qrcode svg { width: 100%; height: auto; }

/* On a phone the code is pointless: offer the stores instead. */
@media (max-width: 700px) and (pointer: coarse) {
    .open-qr, .open-desktop { display: none; }
    .open-phone { display: block; }
    .open-text { text-align: center; }
    .open-icon { margin-inline: auto; }
    .open .store-badges { justify-content: center; }
}

/* 404 */

.not-found { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 80px; padding-bottom: 40px; }
.not-found-code {
    font-family: var(--font-mono);
    font-size: clamp(96px, 16vw, 200px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--accent);
}
.not-found-text { flex: 1 1 420px; max-width: 560px; }
.not-found-text .lead { margin: 12px 0 28px; }

/* Forms */

.form-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
}
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; }
.field legend { margin-bottom: 8px; padding: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; width: 100%; }
.field-row .field { flex: 1 1 220px; width: auto; }
.input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}
.input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.input::placeholder { color: var(--text-2); opacity: 0.6; }
.mono { font-family: var(--font-mono); }
.form-card .button-pill { border: 0; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.notice { margin-bottom: 20px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border-left: 3px solid var(--text-2); }
.notice ul { margin: 0; padding-left: 20px; }
.notice-success { border-left-color: var(--accent); }
.notice-error { border-left-color: var(--accent-text); }

/* Redeem */

.redeem { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; padding-bottom: 24px; }
.redeem-text { flex: 1 1 380px; max-width: 520px; }
.redeem-text .lead { margin-top: 16px; }
.redeem-where-title { margin-top: 40px; font-size: 18px; }
.redeem-where { margin: 12px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.redeem-where li + li { margin-top: 12px; }
.redeem-where strong { display: block; color: var(--text); font-weight: 500; }
.redeem-form { flex: 1 1 380px; max-width: 520px; }

/* Admin */

.admin-narrow { max-width: 420px; }
.admin-page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.admin-page-header .notice { flex-basis: 100%; margin: 0; }
.admin-page-header .button-pill { border: 0; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.admin-dialog {
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}
.admin-dialog::backdrop { background: rgba(13, 16, 21, 0.55); }
.admin-dialog-content { padding: 28px; }
.admin-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-dialog-heading h2 { font-size: 24px; }
.admin-dialog .form-card { padding: 0; background: none; }
.admin-dialog .created-codes { margin-top: 16px; }
.admin-dialog .created-code { background: var(--surface); }
.admin-narrow .page-title { margin-bottom: 28px; }
.admin-narrow pre { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-section { margin-top: 56px; }
.admin-section h2 { margin-bottom: 20px; font-size: 22px; }
.admin-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.admin-table th { font-weight: 600; white-space: nowrap; }
.admin-table td { color: var(--text-2); }
.admin-table a { color: var(--text); }
.admin-section > .fine-print { margin-top: 12px; }
.status { white-space: nowrap; }
.status-active { color: var(--accent-text); font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.choices label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.input-short { width: 96px; }
.input-date { width: auto; }
.admin-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 0; }
.admin-facts dt { font-size: 14px; color: var(--text-2); }
.admin-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.admin-disable { margin-top: 20px; }
.created-codes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.created-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.created-code-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.created-code-id { font-size: 22px; color: var(--text); }
.created-code-link { overflow-wrap: anywhere; font-size: 14px; }
.qr { width: 148px; padding: 10px; border-radius: 12px; background: #ffffff; }
.qr svg { width: 100%; height: auto; }

/* Legal */

.legal { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.toc {
    flex: 1 1 220px;
    max-width: 260px;
    padding-left: 18px;
    border-left: 2px solid var(--border);
}
.toc h2 { margin-bottom: 8px; font-size: 14px; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.35; }
.toc a { display: block; padding: 6px 0; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
.legal .prose { flex: 999 1 560px; }
.legal section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.legal section h2 { margin-top: 0; font-size: 22px; }
.legal section > * + * { margin-top: 10px; }
.delete-account section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.delete-account section h2 { margin-top: 0; font-size: 22px; }
.delete-account section > * + * { margin-top: 10px; }

/* Prose: legal text and blog posts */

.prose { min-width: 0; max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose h2 { margin-top: 48px; font-size: 28px; letter-spacing: -0.02em; }
.prose h3 { margin-top: 32px; font-size: 21px; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 0.88em;
}
.prose pre { overflow-x: auto; padding: 16px 20px; border-radius: 14px; background: var(--surface-2); }
.prose pre code { padding: 0; background: none; }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }

/* Blog post */

.post-header { max-width: 860px; margin-bottom: 48px; }
.breadcrumb a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.breadcrumb a::before { content: '← '; }
.breadcrumb + .page-title { margin-top: 20px; }
.post-header .lead { margin-top: 20px; }
.post-meta { margin-top: 20px; font-family: var(--font-mono); font-size: 14px; color: var(--text-2); }
.post-hero { width: 100%; margin-top: 40px; border-radius: var(--radius); }

/* Screenshots are capped in both directions rather than filling the column:
   a full phone capture would otherwise run some 1,500 px down. Tall shots
   come out phone-sized, crops and wide captures at most 480 px across, so
   every shape carries a similar weight; a tap opens any of them full size. */
.blog-content img {
    width: auto;
    max-width: min(100%, 480px);
    max-height: 400px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px var(--border);
    cursor: zoom-in;
}
/* A screenshot framed in its device brings its own corners and edge. */
.blog-content img.blog-device { max-height: 520px; border-radius: 0; box-shadow: none; margin-inline: auto; }
.blog-content img.blog-wide { max-width: 100%; max-height: none; }
.blog-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}
.blog-gallery img { min-width: 0; }

.blog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 10, 14, 0.85);
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
}
.blog-lightbox.visible { opacity: 1; }
.blog-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }

.post-footer { max-width: 720px; margin-top: 56px; }
.post-share { display: flex; gap: 8px; }
.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-2);
}
.post-share a:hover { color: var(--text); }
.post-cta { margin-top: 40px; padding: 32px; border-radius: var(--radius); background: var(--surface); }
.post-cta h2 { font-size: 22px; }
.post-cta p { margin-top: 6px; color: var(--text-2); }
.post-cta .store-badges { justify-content: flex-start; margin-top: 20px; }

/* Features: a filter bar, the topics beside the content, and per topic its
   heading, one screenshot and its grouped list. */

.features-filters {
    position: sticky;
    top: 64px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 14px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.features-filters[hidden] { display: none; }
.features-search {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-2);
}
.features-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 15px;
}
.features-search input:focus { outline: none; }
.features-search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.segmented-filter { margin: 0; padding: 0; border: 0; }
.segmented-filter .segmented { background: var(--surface); border-color: transparent; }
.features-legend {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 13px;
    color: var(--text-2);
}
.features-legend .features-tag { margin-left: 8px; }
.features-legend .features-tag:first-child { margin-left: 0; }

.features-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px 64px;
    margin-top: 48px;
}
.features-topics {
    position: sticky;
    top: 200px;
    flex: 1 1 200px;
    max-width: 220px;
}
.features-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.features-topics a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--text-2);
    font-size: 15px;
    text-decoration: none;
}
.features-topics a:hover { color: var(--text); background: var(--surface); }
.features-topic-count { font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 860px) {
    .features-topics { position: static; max-width: none; flex-basis: 100%; }
    .features-topics ul { flex-direction: row; flex-wrap: wrap; }
    .features-topics a { background: var(--surface); border-radius: 999px; }
}

.features-content { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.features-topic { scroll-margin-top: 220px; }
.features-topic[hidden] { display: none; }
.features-topic-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
}
.features-topic-text { flex: 1 1 320px; }
.features-topic-text .label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.features-topic-text h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; }
.features-topic-text p:not(.label) { margin-top: 8px; max-width: 52ch; color: var(--text-2); }
.features-topic-shots { flex: none; display: flex; gap: 12px; }
.features-topic-shots img {
    width: 120px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    box-shadow: 0 0 0 1px var(--border);
}
.features-topic-shots img, .card-wide-shots img, .platform-shot { cursor: zoom-in; }
.features-topic-shots img.is-watch { aspect-ratio: auto; object-fit: contain; border-radius: 28px; box-shadow: none; }
.features-topic-shots img[hidden] { display: none; }

.features-groups {
    margin-top: 24px;
    padding: 8px 24px 16px;
    border-radius: 20px;
    background: var(--surface);
}
.features-group { padding-top: 16px; }
.features-group + .features-group { margin-top: 8px; }
.features-group[hidden] { display: none; }
.features-group h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
}
/* Items flow into two columns within their group, so a folded topic still
   fills its card. */
.features-group ul { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.features-group li { break-inside: avoid; }
.features-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.45;
}
.features-item[hidden] { display: none; }
.features-item-tags { flex: none; display: inline-flex; gap: 4px; }

.features-tag {
    display: inline-block;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--text-2);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
/* "Also on" device tags read as a note, not a restriction. */
.features-item > span:first-child > .features-tag { margin-left: 6px; vertical-align: 1px; background: transparent; box-shadow: inset 0 0 0 1px var(--border); font-weight: 500; }
.features-tag-pro { background: var(--text); color: var(--bg); }
.features-tag-new { background: transparent; box-shadow: inset 0 0 0 1px var(--accent-text); color: var(--accent-text); }

.features-formats { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 4px; }
.features-formats code {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 13px;
}

.features-more {
    margin-top: 12px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--accent-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.features-more[hidden], .features-none[hidden] { display: none; }
.features-none { margin-top: 12px; font-size: 15px; color: var(--text-2); }
