/*
 * itflow.org
 *
 * Inter for everything - easy to read at any size. A cool, light page with
 * ITFlow blue for the logo and anything you can act on, and a dark top bar
 * and footer like ITFlow's own side menu, where the logo sits as it does in
 * the app. The screenshots are the pictures. Follows the visitor's light or
 * dark setting, and so do the screenshots.
 */

/* Inter (SIL Open Font License, assets/fonts/OFL.txt), served from here - every weight in one file */
@font-face {
    font-family: 'Inter Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/inter-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #f4f6f8;
    --surface: #ffffff;
    --surface-2: #eaeef2;
    --ink: #152132;
    --muted: #526073;
    --line: #d9dfe6;
    --line-strong: #b7c1cc;
    --brand: #0d6efd;            /* ITFlow blue - the logo and the band behind the dashboard */
    --signal: #0b5fe3;           /* buttons and links: a shade darker, so white text on it reads easily */
    --signal-hover: #094fbd;
    --signal-ink: #ffffff;
    --signal-soft: #e3edfd;
    --night: #0f1a2a;            /* the top bar and footer */
    --night-2: #172437;
    --night-ink: #e8eef6;
    --night-muted: #a3b1c4;
    --night-line: #26354b;
    --danger: #b3261e;
    --shadow: 0 40px 80px -40px rgba(21, 33, 50, .45), 0 14px 28px -14px rgba(21, 33, 50, .2);
    --radius: 12px;
    --wrap: 1240px;
    --gutter: 16px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #0e1622;
        --surface: #142030;
        --surface-2: #1a283b;
        --ink: #e6edf5;
        --muted: #9eadbf;
        --line: #233348;
        --line-strong: #364a63;
        --signal: #5c9dff;
        --signal-hover: #82b4ff;
        --signal-ink: #04101e;
        --signal-soft: #15294a;
        --night: #09111c;
        --night-2: #111c2b;
        --night-line: #1f2d40;
        --danger: #ff8a80;
        --shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 14px 28px -14px rgba(0, 0, 0, .5);
        color-scheme: dark;
    }
}

@media (min-width: 720px) {
    :root { --gutter: 32px; }
}

/* ------------------------------------------------------------ Base */

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter Variable', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
figure { margin: 0; }

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

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--signal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--signal-hover); }

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

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--signal); color: var(--signal-ink); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ The logo - as on ITFlow's sign-in page */

.logo-link { display: inline-flex; text-decoration: none; border-radius: 6px; }
.logo { display: inline-flex; align-items: center; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.logo-plane { color: var(--brand); font-size: .88em; margin-right: .32em; }
.logo-it { color: var(--brand); font-weight: 750; }
.logo-flow { color: #fff; font-weight: 300; }

/* ------------------------------------------------------------ Buttons */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: 0 22px;
    border-radius: 10px; border: 1.5px solid transparent;
    font: inherit; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}
.button-primary { background: var(--signal); color: var(--signal-ink); }
.button-primary:hover { background: var(--signal-hover); color: var(--signal-ink); }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button-secondary:hover { color: var(--ink); border-color: var(--ink); }
.button-large { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.button-small { min-height: 38px; padding: 0 16px; border-radius: 8px; font-size: .95rem; }
.button-block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; }

/* ------------------------------------------------------------ The top bar and menu */

.masthead {
    position: sticky; top: 0; z-index: 50;
    background: var(--night);
    border-bottom: 1px solid var(--night-line);
}
.masthead-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.menu { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.menu ul { display: flex; align-items: center; gap: 2px; }
.menu ul a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 11px; border-radius: 8px;
    color: var(--night-muted); font-weight: 500; font-size: .98rem; text-decoration: none;
    transition: color .15s, background-color .15s;
}
.menu ul a:hover { color: #fff; background: var(--night-2); }
/* The section being read, or just picked: white text with a short blue line under it */
.menu ul a { position: relative; }
.menu ul a::after {
    content: ''; position: absolute; left: 50%; bottom: 1px;
    width: 18px; height: 3px; margin-left: -9px; border-radius: 3px;
    background: var(--brand); opacity: 0; transform: scaleX(.4);
    transition: opacity .2s, transform .2s;
}
.menu ul a.is-active { color: #fff; }
.menu ul a.is-active::after { opacity: 1; transform: none; }
.menu-out { font-size: .6em; opacity: .7; }
.menu-end { display: flex; align-items: center; gap: 16px; }
.menu-github { display: inline-flex; align-items: center; gap: 8px; color: var(--night-ink); font-weight: 600; text-decoration: none; }
.menu-github i { font-size: 1.2rem; }
.menu-github:hover { color: #fff; }
.masthead .button-primary { background: var(--brand); color: #fff; }
.masthead .button-primary:hover { background: #0a5ad1; color: #fff; }
.masthead :focus-visible { outline-color: #8ab8ff; }

.menu-button {
    display: none; margin-left: auto;
    width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--night-line); background: transparent; color: var(--night-ink);
    font-size: 1.1rem; cursor: pointer;
}

@media (min-width: 1080px) and (max-width: 1199px) {
    .menu-github span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .menu ul a { padding: 8px 9px; }
}

@media (max-width: 1079px) {
    .menu-button { display: inline-flex; align-items: center; justify-content: center; }
    .js .menu {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px var(--gutter) 24px;
        background: var(--night); border-bottom: 1px solid var(--night-line);
    }
    .js .masthead.is-open .menu { display: flex; }
    .menu ul { flex-direction: column; align-items: stretch; }
    .menu ul a { padding: 12px 10px; font-size: 1.05rem; }
    .menu ul a::after { left: -6px; top: 50%; bottom: auto; width: 3px; height: 18px; margin: -9px 0 0; transform: scaleY(.4); }
    .menu-end { justify-content: space-between; padding: 12px 10px 0; border-top: 1px solid var(--night-line); }
    /* Without the script, the menu wraps under the logo */
    html:not(.js) .masthead-row { flex-wrap: wrap; padding-bottom: 12px; }
    html:not(.js) .menu-button { display: none; }
    html:not(.js) .menu { flex-wrap: wrap; margin-left: 0; }
    html:not(.js) .menu ul { flex-direction: row; flex-wrap: wrap; }
}

/* ------------------------------------------------------------ Screenshots */

.screen {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.screen img { width: 100%; }

figcaption { margin-top: 12px; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ------------------------------------------------------------ Top of the homepage */

.hero { padding-top: 76px; overflow-x: clip; }
.hero-text { max-width: 860px; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    padding: 5px 14px; border-radius: 999px;
    background: var(--signal-soft); color: var(--signal);
    font-size: .92rem; font-weight: 600;
}
.hero h1 {
    font-size: clamp(2.5rem, 1.3rem + 4.3vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    max-width: 17ch;
}
.hero-lede { margin-top: 24px; max-width: 60ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-hosting { margin-top: 20px; font-size: 1rem; }
.hero-hosting a { display: inline-flex; align-items: baseline; gap: 9px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.hero-hosting a i { color: var(--signal); }
.hero-hosting a:hover { color: var(--signal); text-decoration-color: currentColor; }

/* The screenshot sits on a band of ITFlow blue, the colour of the app's own top bar */
.hero-stage { position: relative; margin-top: 60px; }
.hero-stage::before {
    content: ''; position: absolute; left: 0; right: 0; top: 34%; bottom: 0;
    background: var(--brand);
}
.hero-stage .wrap { position: relative; }
.screen-hero { border-color: color-mix(in srgb, var(--line) 60%, transparent); }

.hero-band { background: var(--brand); }
.facts { display: grid; grid-template-columns: 1fr; gap: 14px 32px; padding-top: 30px; padding-bottom: 34px; }
.facts li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.facts i { width: 1.25em; text-align: center; opacity: .85; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .facts { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ------------------------------------------------------------ Sections */

.section { padding: 112px 0; }
@media (max-width: 719px) { .section { padding: 80px 0; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.section-head p { margin-top: 16px; max-width: 62ch; font-size: 1.15rem; color: var(--muted); }

/* A plain list with a check before each item */
.checklist li { position: relative; padding-left: 28px; margin-top: 10px; }
.checklist li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: .1em; font-size: .85em; color: var(--signal);
}

/* ------------------------------------------------------------ Features */

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature {
    padding: 26px 24px 28px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.feature:hover { border-color: var(--line-strong); box-shadow: 0 18px 36px -28px rgba(21, 33, 50, .45); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--signal-soft); color: var(--signal); font-size: 1.1rem;
}
.feature h3 { margin-top: 18px; font-size: 1.12rem; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; color: var(--muted); font-size: .98rem; line-height: 1.6; }
/* On a phone: the icon beside the text, so twelve cards don't make a long scroll */
@media (max-width: 639px) {
    .feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
    .feature-icon { grid-row: span 2; }
    .feature h3 { margin-top: 0; align-self: center; }
    .feature p { margin-top: 4px; }
}

/* ------------------------------------------------------------ ITFlow in action */

.tour { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-step { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.tour-step:last-child { border-bottom: 1px solid var(--line); }
.tour-step-head {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
/* Step numbers - also on the sign-up page */
.tour-num {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--signal); color: var(--signal-ink);
    font-weight: 700; font-size: .95rem; line-height: 1;
}
.tour-title { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.tour-text { margin: 10px 0 0 46px; color: var(--muted); max-width: 54ch; }
.tour-inline { margin-top: 20px; }
.tour-viewer { display: none; }

@media (min-width: 1000px) {
    .js .tour-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 56px; align-items: start; }
    .js .tour-inline { display: none; }
    .js .tour-step { padding: 0; border: 0; }
    .js .tour-step + .tour-step { margin-top: 6px; }
    .js .tour-step-head { padding: 14px 16px; border-radius: 12px; transition: background-color .15s; }
    .js .tour-step-head:hover { background: var(--paper); }
    .js .tour-step.is-active .tour-step-head { background: var(--signal-soft); }
    .js .tour-step:not(.is-active) .tour-num { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
    .js .tour-step:not(.is-active) .tour-title { color: var(--muted); }
    .js .tour-step:not(.is-active) .tour-body { display: none; }
    .js .tour-step.is-active .tour-text { margin: 4px 16px 10px 62px; }
    .js .tour-viewer { display: block; }
    .tour-viewer-frame { position: relative; aspect-ratio: 1440 / 900; }
    .tour-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
    .tour-shot.is-active { opacity: 1; }
    .tour-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; }
    .tour-count { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
    .tour-arrow {
        display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
        border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink);
        font-size: .9rem; cursor: pointer;
    }
    .tour-arrow:hover { border-color: var(--ink); }
}

/* ------------------------------------------------------------ Get started */

.paths { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) {
    .paths { grid-template-columns: 1fr 1.2fr 1fr; }
    .paths-two { grid-template-columns: 1fr 1fr; }
}
.path { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.path-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px;
    border-radius: 11px; background: var(--signal-soft); color: var(--signal); font-size: 1.1rem;
}
.path h3 { font-size: 1.3rem; }
.path > p { margin-top: 12px; color: var(--muted); }
.path .checklist { margin-top: 14px; }
.path-price { margin-top: 10px !important; color: var(--ink) !important; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.path-price span { margin-left: 8px; font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.path-price-note { margin-top: 8px !important; font-size: .96rem; }
.path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.path-hosted {
    border: 2px solid var(--signal); border-radius: 18px; padding: 34px;
    box-shadow: 0 30px 60px -40px rgba(11, 95, 227, .6);
}
.path-hosted .path-icon { background: var(--brand); color: #fff; }
.phones { display: flex; gap: 14px; margin-top: 26px; }
.phone { flex: 1; max-width: 160px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.phone img { aspect-ratio: 390 / 600; object-fit: cover; object-position: top; }
.phones-text { margin-top: 12px; color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------------ Sponsors */

.sponsors { background: var(--surface); border-top: 1px solid var(--line); }
.sponsor-wall { display: flex; flex-wrap: wrap; gap: 16px; }
.sponsor { flex: 1 1 200px; }
.sponsor-featured { flex-grow: 1.5; }
@media (max-width: 639px) { .sponsor { flex-basis: 140px; } }
.sponsor-tile {
    display: flex; align-items: center; justify-content: center;
    height: 96px; padding: 16px 28px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
    color: var(--muted); text-decoration: none;
}
a.sponsor-tile:hover { border-color: var(--line-strong); color: var(--ink); }
.sponsor-tile img { max-height: 56px; max-width: 220px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
a.sponsor-tile:hover img { filter: none; opacity: 1; }
.sponsor-name { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.015em; }
.sponsor-featured .sponsor-name { font-size: 1.6rem; }

.tiers-head { margin-top: 88px; max-width: 760px; }
.tiers-head:first-child { margin-top: 0; }
.tiers-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; letter-spacing: -0.025em; }
.tiers-head p { margin-top: 10px; color: var(--muted); font-size: 1.08rem; }
.tiers { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.tier h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.tier h4 i { color: var(--signal); }
.tier-price { margin-top: 14px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tier-price span { margin-left: 6px; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier .checklist { margin: 8px 0 24px; flex: 1; font-size: .97rem; }
.tier-includes { color: var(--muted); }
.tier .button { align-self: flex-start; }

/* ------------------------------------------------------------ About */

.about { border-top: 1px solid var(--line); }
.timeline { display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 32px 30px; border-left: 2px solid var(--line-strong); margin-left: 6px; }
.timeline li::before {
    content: ''; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--signal-soft);
}
.timeline-date { display: block; font-weight: 700; color: var(--signal); }
.timeline h3 { margin-top: 4px; font-size: 1.12rem; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
@media (min-width: 900px) {
    .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; border-top: 2px solid var(--line-strong); }
    .timeline li { padding: 30px 0 0; border-left: 0; margin-left: 0; }
    .timeline li::before { left: 0; top: -8px; }
}

.team { display: grid; gap: 32px; margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--line); }
.section-head + .team, .team:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.team-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; letter-spacing: -0.025em; }
.team-head p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.people { display: grid; gap: 28px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: 1fr 2fr; align-items: start; } }
.person { display: flex; gap: 18px; align-items: flex-start; }
.person-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.person-initials {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--signal-soft); color: var(--signal); font-weight: 800; font-size: 1.3rem;
}
.person h4 { font-size: 1.18rem; }
.person p { margin-top: 2px; color: var(--muted); }
.person-links { display: flex; gap: 6px; margin-top: 8px; }
.person-links a {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border-radius: 8px; color: var(--muted); text-decoration: none; border: 1px solid var(--line);
}
.person-links a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ------------------------------------------------------------ Footer */

.site-footer { padding: 64px 0 28px; background: var(--night); color: var(--night-ink); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-about p { margin-top: 16px; color: var(--night-muted); max-width: 46ch; font-size: .96rem; }
.footer-sponsors span { white-space: nowrap; color: var(--night-ink); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--night-line); border-radius: 10px; color: var(--night-ink); text-decoration: none; font-size: 1.1rem;
}
.footer-social a:hover { border-color: var(--night-muted); color: #fff; }
.footer-column h2 { font-size: .95rem; font-weight: 650; color: #fff; }
.footer-column ul { margin-top: 12px; }
.footer-column li { margin-top: 8px; }
.footer-column a { color: var(--night-muted); text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #8ab8ff; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: .9rem; }

/* ------------------------------------------------------------ Sign-up page */

.page-head { padding-top: 64px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.page-head p { margin-top: 16px; max-width: 62ch; font-size: 1.15rem; color: var(--muted); }

.signup { padding-bottom: 112px; }
.signup-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) {
    .signup-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
    .signup-summary { position: sticky; top: 92px; }
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
@media (min-width: 720px) { .panel { padding: 32px; } }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 1.3rem; }
.panel-title .tour-num { margin-top: 0; }
.panel-note { margin: -10px 0 18px; color: var(--muted); font-size: .96rem; }

.fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 16px; }
.fields > * { grid-column: span 12; }
@media (min-width: 720px) {
    .span-6 { grid-column: span 6; }
    .span-5 { grid-column: span 5; }
    .span-4 { grid-column: span 4; }
    .span-3 { grid-column: span 3; }
}
.label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .96rem; }
.label-light { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }
.hint { margin-top: 6px; color: var(--muted); font-size: .9rem; }

.input, .select, .textarea {
    width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--line-strong); border-radius: 8px;
    background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid color-mix(in srgb, var(--signal) 35%, transparent); outline-offset: 0; border-color: var(--signal); }
.input:disabled { opacity: .55; }
.was-validated .input:invalid, .was-validated .select:invalid, .was-validated .textarea:invalid { border-color: var(--danger); }
.input-sm { min-height: 38px; padding: 6px 12px; font-size: .95rem; }

.input-group { display: flex; align-items: stretch; }
.input-group > .input { border-radius: 0; flex: 1; min-width: 0; }
.input-group > :first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.input-group > :last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.input-group > * + * { margin-left: -1px; }
.input-addon {
    display: inline-flex; align-items: center; padding: 0 12px;
    border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--muted); font-size: .95rem; white-space: nowrap;
}
.stepper button {
    width: 46px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink);
    font: inherit; font-size: 1.2rem; font-weight: 700; cursor: pointer;
}
.stepper button:hover { background: var(--line); }
.stepper .input { text-align: center; }

.choices { display: grid; gap: 14px; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
    position: relative; display: block; height: 100%;
    padding: 18px 18px 18px 50px; border: 1.5px solid var(--line-strong); border-radius: 12px;
    background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--muted); }
.choice:has(> input:checked) { border-color: var(--signal); background: var(--signal-soft); }
.choice > input { position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; margin: 0; accent-color: var(--signal); }
.choice strong { display: block; }
.choice small { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.choice .input-group, .choice > .input { margin-top: 12px; }
.choice [hidden] { display: none !important; }

.tier-choice .tier-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tier-choice .tier-choice-price { font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.tier-choice .tier-choice-price small { display: inline; font-weight: 500; margin: 0; }
.tier-choice .checklist { margin-top: 6px; font-size: .92rem; }
.tier-choice .checklist li { margin-top: 6px; }
.feedback { display: none; margin-top: 10px; color: var(--danger); font-size: .94rem; }
.was-validated .feedback.is-shown { display: block; }

.sponsor-intro { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; margin-bottom: 20px; border-radius: 10px; background: var(--surface-2); }
.sponsor-intro i { color: var(--signal); font-size: 1.5rem; margin-top: 2px; }

.contact-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--signal); margin: 0; }

.summary-lines { margin-top: 4px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.summary-total .total { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.summary-note { margin: 14px 0 20px; color: var(--muted); font-size: .92rem; }

.alert { padding: 16px 18px; border-radius: 10px; border: 1px solid var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); margin-bottom: 20px; }
.alert ul { margin-top: 8px; padding-left: 20px; list-style: disc; }

.done { max-width: 640px; padding: 48px 0 24px; }
.done-mark { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: var(--signal); color: var(--signal-ink); font-size: 1.6rem; }
.done h2 { margin-top: 24px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.done p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.done .button { margin-top: 28px; }

/* Bots fill this in; people never see it */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ Plain text pages (terms and the like) */

.prose { max-width: 72ch; padding-bottom: 112px; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.prose h3 { margin-top: 28px; font-size: 1.15rem; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li { margin-top: 8px; padding-left: 4px; }

/* ------------------------------------------------------------ Motion */

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