/* site/fonts.css */
/* The public website's one font file (2026-11-16): Mona Sans, Latin only, the app's interface typeface (see
   app/styles/fonts.css and public/fonts/MonaSans-OFL.txt). The site has no identifiers to set in IBM Plex Mono, so it
   loads none. The metric-matched Arial fallback keeps the layout steady while the font loads. */
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/MonaSans-Variable-latin.woff2") format("woff2-variations"), url("/fonts/MonaSans-Variable-latin.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;
}

@font-face {
  font-family: "Mona Sans Fallback";
  src: local("Arial");
  size-adjust: 102.8%;
  ascent-override: 106.07%;
  descent-override: 31.14%;
  line-gap-override: 0%;
}

/* app/styles/tokens.css */
/* AIL Charge design tokens: the Cabinet theme, in blue-black.
   Cabinet takes its structure from the hardware: the cabinets and power
   banks are graphite black with the logo printed in cyan, blue and violet.
   Its colors are blue-black: that graphite with a cool undertone from the
   logo's blue, so dark surfaces read as deep blue-black, not flat black.
   Logo blue is the one action color, and cyan marks what is live.
   The base block holds the brand constants and the full Midnight (dark)
   theme. Daylight, the default, overrides colors on [data-theme="light"],
   which app/layout.tsx sets on <html> before first paint. Any element with
   data-theme="dark" keeps Midnight inside it (the customer app's graphite
   panels use this in Daylight).
   Components read semantic tokens only (surface/text/border/accent/status). */
@layer ds-tokens {
  :root,
  [data-theme="dark"] {
    color-scheme: dark;

    /* Brand constants (theme-independent). Solid colors from the AIL Charge
       hardware logo (AIL_Charge_Hardware_Solid.pdf): cyan A and brain,
       blue I and brain, violet L, white CHARGE. No gradients or glow. */
    --brand-cyan: #01d7f4;
    --brand-blue: #035bf7;
    --brand-violet: #7122f5;
    --brand-white: #ffffff;
    --brand-cyan-rgb: 1 215 244;
    --brand-blue-rgb: 3 91 247;
    --brand-violet-rgb: 113 34 245;
    /* Blue-black, the cabinets' graphite with a cool undertone from the logo's
       blue: the brand surfaces (the sidebar, the customer app's header band,
       map pins) in both themes. */
    --brand-blue-black: #0f131c;
    --brand-blue-black-rgb: 15 19 28;
    /* A cool gray for hairlines and faint fills that work on light and dark
       surfaces alike, used at low alpha: rgb(var(--tint-rgb) / 0.08). */
    --tint-rgb: 152 162 186;

    /* Typography */
    /* Mona Sans everywhere: interface, headings and labels, as on the AIL
       website. Identifiers and codes (AIL-001, PB-1005) use IBM Plex Mono,
       the website's monospace, like the labels printed on the hardware. */
    --font-sans: "Mona Sans", "Mona Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: var(--font-sans);
    --font-label: var(--font-sans);
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --text-2xs: 11px;
    --text-xs: 12px;
    --text-sm: 13px;
    --text-md: 14px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 20px;
    --text-3xl: 24px;
    --text-4xl: 30px;
    --text-5xl: 36px;
    --text-6xl: 48px;
    --text-7xl: 64px;
    --leading-tight: 1.12;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    --tracking-display: -0.018em;
    --tracking-tight: -0.01em;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Shape. Marks (swatches, meters, bar ends) take 2xs; controls xs to md;
       cards lg; large panels xl. The device pair draws the phone the customer
       app sits in on a desktop: the frame, and the screen inside its bezel. */
    --radius-2xs: 4px;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-pill: 999px;
    --radius-device: 54px;
    --radius-device-screen: 44px;

    /* Spacing (4px grid). Padding, margin and gap take these steps; 1px and 2px
       are left for hairlines and optical nudges. scripts/css-tokens.mjs rejects
       anything else. */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-1: 120ms;
    --dur-2: 180ms;
    --dur-3: 240ms;
    --dur-4: 360ms;
    --modal-open-dur: 0.24s;
    --modal-close-dur: 0.15s;
    --modal-scale: 0.97;
    --modal-scale-close: 0.98;
    --modal-ease: var(--ease-out);

    /* Layout */
    --sidebar-width: 264px;
    --sidebar-rail: 72px;
    --topbar-height: 60px;
    /* The phone's tab bar: 52 px buttons, 4 px above and below, and its 1 px rule. */
    --tabbar-height: 61px;
    /* Controls come in two heights. Small: actions inside tables, cards and menus,
       and the buttons of the top bar. Default: fields, buttons, tabs and every
       control in a toolbar. Touch screens raise both to 44px (touch.css). */
    --control-sm: 32px;
    --control-md: 40px;
    --toolbar-control: var(--control-md);
    --block-gap: var(--space-4);
    /* Card insets: 16 px for compact cards (tiles, tables, lists, charts), 24 px
       for roomy ones (forms, settings, checklists). A card's header, legend and
       list read --card-inset, so they line up with each other and with a table
       inside the card. */
    --card-pad: var(--space-4);
    --card-pad-roomy: var(--space-6);
    /* Table rows: 48 px for one line, 64 px for two and 80 px for three. A row's
       first line is 24 px, each line under it 16 px; wrapped text is 20 px a
       line, so two lines of it also make a 64 px row. */
    --row-line: 24px;
    --row-subline: 16px;
    --row-wrap-line: 20px;
    --content-max: 1480px;
    --gutter: var(--space-8);
    --z-sticky: 20;
    --z-topbar: 25;
    --z-sidebar: 30;
    --z-overlay: 60;
    --z-modal: 70;
    --z-palette: 80;
    --z-toast: 90;

    /* ---------- Dark theme (Midnight): blue-black ---------- */
    --canvas: #090b10;
    --surface-1: #11141b;
    --surface-2: #161a22;
    --surface-3: #1c2029;
    --surface-4: #222733;
    --surface-raised: #151820;
    --overlay: rgb(0 0 0 / 0.7);

    --border-subtle: rgb(var(--tint-rgb) / 0.08);
    --border: rgb(var(--tint-rgb) / 0.14);
    --border-strong: rgb(var(--tint-rgb) / 0.24);

    --text-1: #eef0f5;
    --text-2: #c3c8d3;
    --text-3: #969cab;
    --text-4: #82889b;

    /* Text-safe tints of the logo colors: each is at least 4.5:1 on every
       dark surface (checked against --surface-4). Cyan marks what is live,
       like the cabinet's lights; actions are logo blue in both themes. */
    --link: #79a3ff;
    --link-hover: #a3c0ff;
    --accent: #01d7f4;
    --accent-hover: #46e2f7;
    --accent-contrast: #090b10;
    --accent-strong: #035bf7;
    --accent-subtle: rgb(var(--brand-cyan-rgb) / 0.1);
    --focus: #01d7f4;
    --focus-ring: 0 0 0 3px rgb(var(--brand-cyan-rgb) / 0.32);
    --logo-wordmark: #ffffff;

    --primary-bg: #035bf7;
    --primary-text: #ffffff;
    --primary-hover: #024ad0;
    --secondary-bg: rgb(var(--tint-rgb) / 0.05);
    --secondary-text: #eef0f5;
    --secondary-border: rgb(var(--tint-rgb) / 0.22);
    --secondary-hover: rgb(var(--tint-rgb) / 0.11);
    --ghost-hover: rgb(var(--tint-rgb) / 0.08);
    --selected-bg: rgb(var(--brand-blue-rgb) / 0.2);
    --selected-text: #eef0f5;

    --success: #3ddc97;
    --success-text: #5ee6ab;
    --success-bg: rgb(61 220 151 / 0.12);
    --success-border: rgb(61 220 151 / 0.3);
    --warning: #ffb547;
    --warning-text: #ffc56e;
    --warning-bg: rgb(255 181 71 / 0.12);
    --warning-border: rgb(255 181 71 / 0.3);
    --danger: #ff6b6b;
    --danger-text: #ff8f8f;
    --danger-bg: rgb(255 107 107 / 0.12);
    --danger-border: rgb(255 107 107 / 0.34);
    --info-bg: rgb(var(--brand-blue-rgb) / 0.16);
    --info-text: #7aa5ff;
    --info-border: rgb(var(--brand-blue-rgb) / 0.45);
    /* A status is a word with a small dot in its color. The word names the state,
       so the dot needs 3:1 against the surface and no tinted fill behind it. */
    --status-good: #34c77b;
    --status-warning: #e8a23c;
    --status-danger: #ef6262;
    --status-info: #6f9cff;
    --status-neutral: #7c88a8;
    --cyan-text: #01d7f4;
    --cyan-bg: rgb(var(--brand-cyan-rgb) / 0.11);
    --blue-text: #6b9bff;
    --violet-text: #a98bff;
    --violet-bg: rgb(var(--brand-violet-rgb) / 0.2);
    --violet-border: rgb(var(--brand-violet-rgb) / 0.5);

    /* Brand panels: blue-black in light theme, lifted blue-black in dark theme. */
    --inverse-1: #151922;
    --inverse-2: #1c212b;
    --inverse-3: #252b37;
    --inverse-text-1: #eef0f5;
    --inverse-text-2: #c3c8d3;
    --inverse-text-3: #969cab;
    --inverse-border: rgb(var(--tint-rgb) / 0.16);

    /* One shadow, for things that float above the page: menus, popovers, dialogs,
       toasts, the command palette and the menu sheet. Nothing else has one. */
    --shadow-float: 0 16px 40px -12px rgb(0 0 0 / 0.55), 0 2px 8px rgb(0 0 0 / 0.3);

    /* Categorical order anchored on the logo hues (cyan, violet, blue) and
       validated with the dataviz checks (dark surface #11141b): lightness band,
       chroma, color-blind separation and 3:1 contrast all pass. */
    --chart-1: #06a3c6;
    --chart-2: #d9762b;
    --chart-3: #8657f5;
    --chart-4: #22a06b;
    --chart-5: #3a78ff;
    --chart-6: #d4568f;
    --chart-spark: #5c6274;
    --chart-grid: rgb(var(--tint-rgb) / 0.12);
    --chart-axis: #8a90a2;
    --scrollbar: rgb(var(--tint-rgb) / 0.2);
    --scrollbar-hover: rgb(var(--tint-rgb) / 0.34);

    /* Bridge for legacy variable names (removed with the legacy layer). */
    --ink: var(--text-1);
    --muted: var(--text-3);
    --line: var(--border);
    --page: var(--canvas);
    --lime: var(--accent);
    --dark: var(--inverse-1);
    --color-night: var(--inverse-1);
    --color-night-2: var(--inverse-2);
    --color-cyan: var(--brand-cyan);
    --color-blue: var(--brand-blue);
    --color-violet: var(--brand-violet);
    --color-fg: var(--inverse-text-1);
    --color-fg-muted: var(--inverse-text-2);
    --color-fg-dim: var(--inverse-text-3);
    --color-paper: var(--surface-3);
    --color-paper-2: var(--canvas);
    --color-ink: var(--text-1);
    --color-ink-muted: var(--text-2);
    --color-ink-accent: var(--link);
    --color-ok: var(--success);
    --color-warn: var(--warning);
    --color-bad: var(--danger);
  }

  /* ---------- Light theme ---------- */
  :root[data-theme="light"] {
    color-scheme: light;
    --canvas: #f1f2f5;
    --surface-1: #ffffff;
    --surface-2: #f6f7f9;
    --surface-3: #eef0f4;
    --surface-4: #e5e8ee;
    --surface-raised: #ffffff;
    --overlay: rgb(var(--brand-blue-black-rgb) / 0.4);

    --border-subtle: #eceef2;
    --border: #e0e3e9;
    --border-strong: #c8cdd6;

    --text-1: #11151f;
    --text-2: #363c4a;
    --text-3: #5f6573;
    --text-4: #676d7c;

    /* Daylight is the default: cool light gray pages with blue-black accents.
       The sidebar and the customer app's header band are blue-black; logo blue is
       the action color and marks links, focus and selection. Text tints are
       at least 4.5:1 on every light surface. */
    --link: #0352e0;
    --link-hover: #0246c4;
    --accent: #035bf7;
    --accent-hover: #024ad0;
    --accent-contrast: #ffffff;
    --accent-strong: #035bf7;
    --accent-subtle: rgb(var(--brand-blue-rgb) / 0.07);
    --focus: #035bf7;
    --focus-ring: 0 0 0 3px rgb(var(--brand-blue-rgb) / 0.24);
    --logo-wordmark: #11151f;

    --primary-bg: #035bf7;
    --primary-text: #ffffff;
    --primary-hover: #024ad0;
    --secondary-bg: #ffffff;
    --secondary-text: #11151f;
    --secondary-border: #d4d8e0;
    --secondary-hover: #f3f4f7;
    --ghost-hover: rgb(var(--brand-blue-black-rgb) / 0.05);
    --selected-bg: #e7efff;
    --selected-text: #0246c4;

    --success-text: #10744a;
    --success-bg: #e3f6ed;
    --success-border: #b6e5cf;
    --warning-text: #87580f;
    --warning-bg: #fff3df;
    --warning-border: #f1d9a8;
    --danger-text: #b42424;
    --danger-bg: #fdeceb;
    --danger-border: #f4c4c2;
    --info-bg: #e8f0ff;
    --info-text: #0352e0;
    --info-border: #c2d5ff;
    --status-good: #12924f;
    --status-warning: #b5730d;
    --status-danger: #d63c3c;
    --status-info: #2563eb;
    --status-neutral: #8a94ab;
    --cyan-text: #006f83;
    --cyan-bg: #dcf8fd;
    --blue-text: #0352e0;
    --violet-text: #6a1fe6;
    --violet-bg: #f0e9ff;
    --violet-border: #d6c4ff;

    --inverse-1: #0f131c;
    --inverse-2: #161b26;
    --inverse-3: #202634;
    --inverse-border: rgb(var(--tint-rgb) / 0.18);

    --shadow-float: 0 16px 40px -12px rgb(15 19 28 / 0.18), 0 2px 8px rgb(15 19 28 / 0.06);

    /* Validated on #ffffff: all dataviz checks pass. */
    --chart-1: #0090b0;
    --chart-2: #d0651b;
    --chart-3: #6f3fe6;
    --chart-4: #15885b;
    --chart-5: #1f5ff0;
    --chart-6: #c43d7b;
    --chart-spark: #a4abba;
    --chart-grid: #e5e8ee;
    --chart-axis: #646a79;
    --scrollbar: rgb(var(--brand-blue-black-rgb) / 0.16);
    --scrollbar-hover: rgb(var(--brand-blue-black-rgb) / 0.28);
  }

  /* A panel marked data-theme="dark" inside Daylight takes the dark tokens for its
     text and pills, and keeps Daylight's blue-black brand surfaces. */
  :root[data-theme="light"] [data-theme="dark"] {
    --inverse-1: #0f131c;
    --inverse-2: #161b26;
    --inverse-3: #202634;
    --inverse-border: rgb(var(--tint-rgb) / 0.18);
  }
}

/* site/site.css */
/* The public website (ailcharge.com, 2026-11-16): one page, its legal pages and "not found", drawn on the server.
   It takes every colour, size, space and corner from the app's tokens (app/styles/tokens.css, which scripts/site.mjs puts
   in front of this file), so Daylight and Midnight are the app's own. The blue-black bands at the top and the foot stay
   dark in both themes and carry data-theme="dark", like the app's dark panels. One soft wash of the logo's colours on the
   top band and a studio light behind the station are the only gradients, as dialled back in the rental app. The site
   shows no prices (the owner, 2026-11-16): each station shows its own before a rental starts. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* A column as tall as the screen at least, so the foot sits at the bottom of a short page ("not found"). */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
main { flex: 1 0 auto; }

/* One column, as wide as the page allows and no wider, with the phone's safe areas kept clear. */
.wrap {
  width: 100%;
  max-width: calc(1180px + 2 * var(--space-6));
  margin-inline: auto;
  padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  color: var(--primary-text);
  font-weight: var(--weight-semibold);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* The band: the bar and the hero, edge to edge, blue-black in both themes. */
.band {
  position: relative;
  /* clip, not hidden: the light behind the station reaches past the edge, and a hidden overflow can still be scrolled
     sideways (by focus or a script), shifting the whole band. */
  overflow: clip;
  background-color: var(--brand-blue-black);
  background-image: linear-gradient(120deg, rgb(var(--brand-blue-rgb) / 0.16), rgb(var(--brand-violet-rgb) / 0.1) 55%, rgb(var(--brand-cyan-rgb) / 0.05)); /* keep: the brand's soft wash, as on the rental app's top bar */
  color: var(--text-1);
}
.band.slim { padding-bottom: var(--space-1); }
.top { display: flex; align-items: center; gap: var(--space-8); min-height: 76px; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: block; flex: none; border-radius: var(--radius-xs); }
.brand img { width: 96px; }
.top-nav { display: flex; gap: var(--space-6); margin-left: auto; }
.top-nav a { color: var(--text-2); font-size: var(--text-md); font-weight: var(--weight-medium); text-decoration: none; }
.top-nav a:hover { color: var(--text-1); }
.theme-switch {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}
.theme-switch:hover { color: var(--text-1); border-color: var(--text-3); }
.theme-switch svg { width: 18px; height: 18px; }
.theme-switch .icon-sun { display: none; }
:root[data-theme="dark"] .theme-switch .icon-sun { display: block; }
:root[data-theme="dark"] .theme-switch .icon-moon { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: var(--space-10); padding-top: var(--space-8); }
.hero-copy { padding-bottom: var(--space-16); }
.soon { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-2); font-size: var(--text-md); font-weight: var(--weight-medium); }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--status-info); }
.hero h1 { margin-top: var(--space-5); font-size: var(--text-7xl); font-weight: var(--weight-semibold); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero h1 .ask { color: var(--text-3); }
.lede { max-width: 34em; margin-top: var(--space-6); color: var(--text-2); font-size: var(--text-xl); line-height: var(--leading-relaxed); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.button svg { width: 18px; height: 18px; }
.button.primary { background: var(--primary-bg); color: var(--primary-text); }
.button.primary:hover { background: var(--primary-hover); }
.button.quiet { border-color: var(--border-strong); color: var(--text-1); }
.button.quiet:hover { background: var(--ghost-hover); }
.hero-art { position: relative; display: grid; justify-items: center; align-self: end; }
.hero-art::before { content: ""; position: absolute; inset: 6% -10% 0; background: radial-gradient(closest-side, rgb(var(--brand-blue-rgb) / 0.34), rgb(var(--brand-violet-rgb) / 0.12) 60%, transparent); /* keep: the studio light behind the station, as on the rental app's welcome card */ }
.hero-art img { position: relative; width: min(100%, 420px); margin-bottom: calc(-1 * var(--space-2)); }

/* The page's sections, on its own canvas. */
.section { padding-top: calc(var(--space-16) + var(--space-8)); }
.section-head { max-width: 820px; }
.section-head p { margin-top: var(--space-4); color: var(--text-2); font-size: var(--text-xl); }
.section-head .eyebrow, .support .eyebrow { margin-top: 0; color: var(--blue-text); font-size: var(--text-md); font-weight: var(--weight-semibold); }
.section h2, .support h2 { margin-top: var(--space-3); font-size: var(--text-6xl); font-weight: var(--weight-semibold); line-height: var(--leading-tight); letter-spacing: -0.025em; }

.how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: var(--space-12); margin-top: var(--space-10); }
.steps { counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-6); border-top: 1px solid var(--border); }
.steps li:last-child { border-bottom: 1px solid var(--border); }
.steps li::before {
  content: counter(step);
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}
.steps h3 { font-size: var(--text-2xl); font-weight: var(--weight-semibold); letter-spacing: -0.01em; }
.steps p { margin-top: var(--space-1); color: var(--text-2); }
.shot { overflow: hidden; border-radius: var(--radius-xl); background: var(--brand-blue-black); }
.power-bank { margin-top: var(--space-6); color: var(--text-2); }


.venues { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-12); }
.contact-card { display: grid; gap: var(--space-4); padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface-1); }
.contact-card h3 { font-size: var(--text-2xl); font-weight: var(--weight-semibold); }
.contact { display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: var(--text-2xl); font-weight: var(--weight-semibold); text-decoration: none; }
.contact span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contact small { color: var(--text-3); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.contact svg, .phone svg, .text-us svg { width: 22px; height: 22px; color: var(--blue-text); }
.contact:hover, .phone:hover, .text-us:hover { text-decoration: underline; }

.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-12); margin-top: calc(var(--space-16) + var(--space-8)); padding-block: var(--space-12); border-top: 1px solid var(--border); }
.support h2 { font-size: var(--text-5xl); }
.support-body { display: grid; gap: var(--space-3); color: var(--text-2); }
.phone { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text-1); font-size: var(--text-4xl); font-weight: var(--weight-semibold); letter-spacing: -0.01em; text-decoration: none; }
.text-us { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--link); font-weight: var(--weight-semibold); text-decoration: none; }
.hours { color: var(--text-1); font-weight: var(--weight-medium); }
.support-body a:not(.phone):not(.text-us) { color: var(--link); }

.foot { margin-top: var(--space-16); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--brand-blue-black); color: var(--text-2); font-size: var(--text-md); }
.foot .wrap { padding-block: var(--space-12) var(--space-10); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.foot .brand img { width: 88px; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text-1); text-decoration: underline; }
.company { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); color: var(--text-3); }

/* A legal page and "not found": one reading column under a slim band. */
.legal { max-width: calc(760px + 2 * var(--space-6)); padding-block: var(--space-12) 0; }
.legal h1, .missing h1 { font-size: var(--text-6xl); font-weight: var(--weight-semibold); line-height: var(--leading-tight); letter-spacing: -0.025em; }
.legal-lede { margin-top: var(--space-4); color: var(--text-2); font-size: var(--text-xl); }
.legal-effective { margin-top: var(--space-3); color: var(--text-3); font-size: var(--text-md); }
.legal section { margin-top: var(--space-10); }
.legal h2 { font-size: var(--text-2xl); font-weight: var(--weight-semibold); }
.legal section p, .legal section ul { margin-top: var(--space-3); color: var(--text-2); }
.legal section ul { display: grid; gap: var(--space-2); padding-left: var(--space-5); list-style: disc; }
.legal-more { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.legal-more a { color: var(--link); font-weight: var(--weight-medium); }
.missing { display: grid; align-content: start; justify-items: start; gap: var(--space-4); padding-block: var(--space-16); }
.missing p { color: var(--text-2); font-size: var(--text-xl); }

/* Between a phone and a wide screen the two columns are narrow: a smaller headline keeps "Rent a power bank." on one line. */
@media (max-width: 1100px) {
  .hero h1 { font-size: var(--text-6xl); }
}

@media (max-width: 860px) {
  .wrap { padding-left: max(var(--space-5), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-5), env(safe-area-inset-right, 0px)); }
  .top { min-height: 64px; }
  .top-nav { display: none; }
  .theme-switch { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: var(--space-4); }
  .hero-copy { padding-bottom: var(--space-6); }
  .hero h1 { font-size: var(--text-5xl); }
  .lede { font-size: var(--text-lg); }
  .actions .button { flex: 1; padding: 0 var(--space-4); }
  .actions .button svg { display: none; }
  .hero-art img { width: min(72%, 300px); }
  .section { padding-top: var(--space-16); }
  .section h2, .support h2, .legal h1, .missing h1 { font-size: var(--text-4xl); }
  .section-head p, .legal-lede, .missing p { font-size: var(--text-lg); }
  .how, .venues, .support { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact-card { padding: var(--space-6); }
  .contact { font-size: var(--text-xl); }
  .phone { font-size: var(--text-3xl); }
  .support { margin-top: var(--space-16); }
}

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