/* Hallmark · shape: Stage hub with rows, one lifted band, a mast footer · genre: editorial · theme: brand (Collision Maps slate with paint red and blue) · redesign: full · copy: verbatim
 * paper: oklch(96% 0.01 95) · accent: oklch(52% 0.13 252) · display: system sans 800 (the project's own stack, the main site uses the same; a webfont needs a download nobody approved) · body: system sans · hero: Stage (/), Banner (/privacy) · nav: edge-aligned pill · footer: mast · signature: the hero screen standing flush on the bottom edge of the first screen, beside a head set as one huge name
 * axes: collision maps palette/system sans heavy/one accent · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 77 · the Collision Maps privacy page is a legal policy read as text, its first block is short bullets under the short version heading · a policy page is not a landing strip with mass */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the same bold system as the main site and the other apps on purpose, so the family reads as one; Collision Maps's own palette, icon and screenshots carry the difference */
:root {
  color-scheme: light dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-sm: 0.875rem; --text-md: 1.0625rem; --text-lg: 1.25rem;
  --text-section: clamp(2.125rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.5rem, 0.9vw + 1.1rem, 1.9375rem); --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.4375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px;
  --bg: #f3f4f7; --card: #ffffff; --line: #dcdfe6; --ink: #1b1f2a; --muted: #5f6573; --accent: #2f6fdb; --accent-ink: #2558b8; --on-accent: #f7faff; --band: #e6eaf2; --stage: #1b1f2a; --stage-deep: #12141a; --st-ink: #f1f2f6; --st-muted: #aab0bd; --st-line: #343a48; --st-accent: #6b9cf0; --st-on: #0c1428; --st-card: #262b37;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-card: 20px; --radius-pill: 999px;
  --tracking-display: -0.035em;
}
@media (prefers-color-scheme: dark) { :root { --bg: #12141a; --card: #1e222c; --line: #313644; --ink: #f1f2f6; --muted: #a3a9b6; --accent: #6b9cf0; --accent-ink: #8cb3f4; --on-accent: #0c1428; --band: #1e222c; --stage: #12141a; --stage-deep: #0b0c10; --st-ink: #f1f2f6; --st-muted: #a3a9b6; --st-line: #313644; --st-accent: #6b9cf0; --st-on: #0c1428; --st-card: #1e222c; } }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 64px; --gap-columns: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--space-2xl); }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--text-md)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { margin: 0; font-weight: 800; font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
h2 { font-size: var(--text-section); max-width: 18ch; margin-bottom: var(--space-2xl); }
section { padding-block: var(--section-gap-s); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 10; padding: var(--space-sm) var(--space-md); border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* the stage: header, first screen and footer sit on the app's deep field, same tokens re-pointed */
header.top, .hero, footer.bottom { --ink: var(--st-ink); --muted: var(--st-muted); --line: var(--st-line); --accent: var(--st-accent); --accent-ink: var(--st-accent); --on-accent: var(--st-on); --card: var(--st-card); color: var(--ink); }
header.top, .hero { background: var(--stage); color: var(--st-ink); }
header.top { position: sticky; top: 0; z-index: 20; }

/* header */
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { border-radius: 9px; }
nav.main { display: flex; flex-wrap: wrap; gap: var(--space-2xs); font-size: 0.9375rem; }
nav.main a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) linear, color var(--dur-micro) linear; }
nav.main a:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 10%, transparent); }
nav.main a:active { background: color-mix(in oklab, var(--ink) 18%, transparent); }
nav.main a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

/* hero */
.hero { padding-block: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl) var(--gap-columns); align-items: end; min-height: min(calc(100svh - 84px), 820px); }
.hero-grid:has(.hero-art) { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero-copy { align-self: end; padding-block: var(--space-xl) var(--space-2xl); }
h1 { font-size: clamp(3rem, 9vw, 8.25rem); }
.tagline { margin-top: var(--space-lg); font-size: var(--text-lead); font-weight: 700; color: var(--accent-ink); }
.lead { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.5; color: var(--muted); max-width: 30em; }
.lead strong { color: var(--ink); font-weight: 700; }
.actions { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-md); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; transition: transform var(--dur-micro) var(--ease-out); }
a.btn:hover { transform: translateY(-2px); }
a.btn:active { transform: translateY(0) scale(.98); }
.btn.soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-xs); list-style: none; padding: 0; margin: var(--space-lg) 0 0; }
.badges li { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--card); font-size: var(--text-sm); color: var(--ink); }

/* screens, set plain: a rounded image, a hairline, no drawn device */
.phone { margin: 0; }
.phone img { width: 100%; border-radius: var(--radius-card); box-shadow: 0 0 0 1px var(--line); }
.phone figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--muted); }
.phone figcaption strong { display: block; margin-bottom: var(--space-2xs); color: var(--ink); font-size: var(--text-md); font-weight: 700; }
.hero-phone { width: min(360px, 100%); justify-self: center; }
.hero-phone img { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.hero-art { margin: 0; align-self: end; width: 100%; }
.hero-art img { width: 100%; }
.band { background: var(--band); color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.shots .phone { width: min(340px, 100%); justify-self: center; }
.shots:focus-visible { outline-offset: 8px; }

/* what it does: rows */
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-lg); border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--text-title); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--accent-ink); }
.facts dd { margin: 0; color: var(--muted); max-width: 36em; }

/* a short note beside its head: price, medical, free and pro */
.split .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.split h2 { margin-bottom: 0; }
.split .card { padding: var(--space-xl); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); color: var(--ink); max-width: none; }
.split .card p { font-size: var(--text-lead); line-height: 1.5; }
.split .card p:first-child { color: var(--ink); font-weight: 700; }
.split .card p + p { color: var(--muted); }
.split .card > * { max-width: 36em; }

/* privacy: a statement */
.statement .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.statement h2 { margin-bottom: 0; }
.statement .prose { max-width: none; }
.statement .prose p { font-size: clamp(1.75rem, 3.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); max-width: 22em; }
.statement .prose p + p { margin-top: var(--space-lg); font-size: var(--text-lead); font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* inner pages */
.prose { max-width: none; }
.prose > * { max-width: 58ch; }
.prose p, .prose li { margin: 0 0 var(--space-md); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 var(--space-md); padding-inline-start: 1.2em; }
.prose h2 { font-size: clamp(2rem, 3vw, 2.75rem); max-width: none; margin: var(--space-2xl) 0 var(--space-md); }
.prose h2:first-child { margin-top: 0; }
.page-head { padding: var(--space-2xl) 0 80px; }
.page-head h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); max-width: 17ch; }
.page-head .lead { margin-top: var(--space-lg); }
.crumb { margin: 0 0 var(--space-md); color: var(--muted); font-size: var(--text-sm); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.meta { margin-top: var(--space-md); color: var(--muted); font-size: var(--text-sm); }
.note.courtesy { margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: 12px; background: var(--card); font-size: var(--text-sm); max-width: 40em; }
article.prose { padding-bottom: var(--section-gap-s); }

/* footer: the mast */
footer.bottom { background: var(--stage-deep); padding-block: var(--space-3xl) var(--space-xl); color: var(--st-muted); }
footer.bottom .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand brand" "nav langs" "copy copy"; gap: var(--space-lg) var(--space-2xl); align-items: center; }
.foot-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 0.22em; justify-self: start; font-size: clamp(2.75rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1; text-decoration: none; color: var(--ink); }
.foot-brand img { width: 0.8em; height: 0.8em; border-radius: 0.18em; box-shadow: 0 0 0 1px var(--line); }
footer.bottom nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin-top: var(--space-xl); }
footer.bottom nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
footer.bottom .wrap > span { grid-area: copy; padding-top: var(--space-lg); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.langs { grid-area: langs; display: flex; flex-wrap: wrap; gap: var(--space-2xs); font-size: var(--text-sm); margin-top: var(--space-xl); justify-self: end; }
.langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); text-decoration: none; color: var(--muted); transition: background-color var(--dur-micro) linear, color var(--dur-micro) linear; }
.langs a:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 10%, transparent); }
.langs a:active { background: color-mix(in oklab, var(--ink) 18%, transparent); }
.langs a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .brand, :lang(ar) .foot-brand { letter-spacing: 0; line-height: 1.25; }
:lang(ar) body, body:lang(ar) { line-height: 1.85; }

@media (max-width: 60rem) {
  .hero-grid, .hero-grid:has(.hero-art) { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; }
  .hero-phone { order: 2; width: min(300px, 80%); }
  .hero-art { order: 2; width: min(480px, 100%); justify-self: center; }
  .hero-copy { padding-bottom: var(--space-xl); }
  .shots, .shots.two { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-md); padding-bottom: var(--space-sm); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); max-width: none; }
  .shots .phone { flex: 0 0 62%; scroll-snap-align: center; }
  .facts div, .statement .wrap, .split .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: var(--space-xl) 0 var(--space-2xl); }
  footer.bottom .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "nav" "langs" "copy"; }
  .langs { justify-self: start; margin-top: 0; }
}
@media (max-width: 40rem) {
  header.top .wrap { min-height: 0; padding-block: var(--space-sm); }
  nav.main { width: 100%; justify-content: space-between; gap: 0; font-size: 0.875rem; border-top: 1px solid var(--line); }
  nav.main a { padding: 0 var(--space-2xs); }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  a.btn:hover { transform: none; }
}
@media (forced-colors: active) { .btn, .langs a[aria-current="true"], nav.main a[aria-current="page"] { border: 1px solid ButtonText; } }
@media print { .skip, .langs, nav.main { display: none; } body, header.top, .hero, footer.bottom, .band { background: Canvas; color: CanvasText; } a { text-decoration: underline; } }
