/* Familjen Grotesk: latin-ext */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/landing/fonts/familjen-grotesk-latin-ext.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;
}

/* Familjen Grotesk: latin */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/landing/fonts/familjen-grotesk-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;
}

/* Newsreader Italic: latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/landing/fonts/newsreader-italic-latin-ext.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;
}

/* Newsreader Italic: latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/landing/fonts/newsreader-italic-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;
}

/* Lightning Alerts Fieldmap: a daylight topographic map with the app's indigo printed over it.
   Readable source for the generated assets/landing/styles/fieldmap.css (fonts are prepended there).
   Day tokens by default; Night follows the system dark appearance. */

:root {
  color-scheme: light;
  --paper: #F4F6F1;
  --paper-2: #E8EDE3;
  --card: #FFFFFF;
  --rule: #D6DDD1;
  --rule-strong: #7A8680;
  --ink: #16201A;
  --ink-muted: #465248;
  --ink-faint: #58645B;
  --indigo: #3F319A;
  --indigo-strong: #30257D;
  --indigo-tint: #E7E4F7;
  --on-indigo: #FFFFFF;
  --band: #2E2479;
  --on-band: #FFFFFF;
  --on-band-muted: #CFCAF2;
  --forest: #D9E6CD;
  --water: #C8E0E8;
  --shore: #7FAFC2;
  --contour: #D5C6A5;
  --contour-index: #B09B74;
  --contour-ink: #735F3E;
  --water-ink: #245E77;
  --ring-fill: rgba(63, 49, 154, 0.07);
  --strike-edge: rgba(22, 32, 26, 0.55);
  --bolt: #4F46E5;
  --icon-tile: #000000;
  --age-10: #F03B20;
  --age-15: #FD8D3C;
  --age-20: #FEB24C;
  --age-60: #FFF1A8;
  --ka-10: #C7E9FF;
  --ka-30: #7CC8FF;
  --ka-60: #3985FF;
  --ka-max: #1036C6;
  --lift: 0 1px 2px #16201A14, 0 18px 40px -22px #16201A59;
  --focus-ring: 0 0 0 2px #F4F6F1, 0 0 0 4px #3F319A;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-24: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-round: 999px;
  --font-sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Newsreader, Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0E1512;
    --paper-2: #141D18;
    --card: #19241F;
    --rule: #26332B;
    --rule-strong: #66756B;
    --ink: #E8EEE7;
    --ink-muted: #B3BEB4;
    --ink-faint: #96A298;
    --indigo: #A89FF8;
    --indigo-strong: #C6C0FB;
    --indigo-tint: #252050;
    --on-indigo: #0E1512;
    --band: #221D4A;
    --on-band: #F1F0FF;
    --on-band-muted: #BDB8E8;
    --forest: #16291E;
    --water: #0F2630;
    --shore: #3A7288;
    --contour: #37352A;
    --contour-index: #5B5340;
    --contour-ink: #B5A583;
    --water-ink: #8FC6DA;
    --ring-fill: rgba(168, 159, 248, 0.10);
    --strike-edge: #0E1512;
    --lift: 0 1px 2px #00000066, 0 18px 40px -22px #000000B3;
    --focus-ring: 0 0 0 2px #0E1512, 0 0 0 4px #A89FF8;
  }
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }


.fm-page { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 26px; -webkit-font-smoothing: antialiased; }
.fm-page *, .fm-page *::before, .fm-page *::after { box-sizing: border-box; }
.fm-page img { display: block; max-width: 100%; }
.fm-wrap { max-width: 1264px; margin-inline: auto; padding-inline: var(--space-8); }
.fm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* Type */
.fm-h1 { margin: 0; font: 700 72px/72px var(--font-sans); letter-spacing: -0.035em; text-wrap: balance; }
.fm-h2 { margin: 0; font: 700 48px/52px var(--font-sans); letter-spacing: -0.03em; text-wrap: balance; }
.fm-h3 { margin: 0; font: 600 22px/28px var(--font-sans); letter-spacing: -0.01em; }
.fm-lead { margin: 0; max-width: 44ch; font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.fm-body { margin: 0; max-width: 62ch; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.fm-small { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.fm-label { margin: 0; font: 600 12px/16px var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.fm-label--indigo { color: var(--indigo); }
.fm-statement { margin: 0; font: italic 400 44px/50px var(--font-serif); }

/* Header */
.fm-header { position: relative; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--rule); }
.fm-header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.fm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.fm-brand img { width: 32px; height: 32px; border-radius: 8px; }
.fm-nav { display: flex; align-items: center; gap: var(--space-6); }
.fm-nav__link { color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.fm-nav__link:hover { color: var(--indigo); }

/* Buttons */
.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--radius-md); font: 600 16px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.fm-btn .ic { width: 20px; height: 20px; }
.fm-btn--primary { background: var(--indigo); color: var(--on-indigo); }
.fm-btn--primary:hover { background: var(--indigo-strong); }
.fm-btn--band { background: transparent; border-color: var(--on-band); color: var(--on-band); }
.fm-btn--band:hover { background: var(--on-band); color: var(--band); }
.fm-btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.fm-page a:focus-visible, .fm-btn:focus-visible, .fm-page select:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fm-note .fm-btn:focus-visible { box-shadow: 0 0 0 2px var(--band), 0 0 0 4px var(--on-band); }

/* Store badges: the official artwork, 48px tall */
.fm-stores { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.fm-stores a { display: block; border-radius: var(--radius-md); }
.fm-stores img { width: auto; height: 48px; }

/* Map features (SVG classes, all in 1600 x 1000 map units) */
.fm-map { display: block; overflow: visible; }
.fm-t-paper { fill: var(--paper); }
.fm-t-forest { fill: var(--forest); }
.fm-t-water { fill: var(--water); stroke: var(--shore); stroke-width: 1.5; stroke-linejoin: round; }
.fm-t-contour { fill: none; stroke: var(--contour); stroke-width: 1; }
.fm-t-index { fill: none; stroke: var(--contour-index); stroke-width: 1.6; }
.fm-t-path { fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-dasharray: 8 6; stroke-linecap: round; }
.fm-t-clabel { font: 600 15px var(--font-sans); fill: var(--contour-ink); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.fm-t-lake { font: italic 400 30px var(--font-serif); letter-spacing: 0.1em; fill: var(--water-ink); }
.fm-s { stroke: var(--strike-edge); stroke-width: 1.5; }
.fm-s--a10 { fill: var(--age-10); }
.fm-s--a15 { fill: var(--age-15); }
.fm-s--a20 { fill: var(--age-20); }
.fm-s--a60 { fill: var(--age-60); }
.fm-s-halo { fill: none; stroke: var(--age-10); stroke-width: 3; opacity: .55; }
.fm-ring { fill: var(--ring-fill); stroke: var(--indigo); stroke-width: 3; }
.fm-ring--moving { stroke-dasharray: 14 10; }
.fm-pin { fill: var(--indigo); stroke: var(--card); stroke-width: 4; }
.fm-pin-halo { fill: var(--indigo); opacity: .16; }

/* Map box: a window onto the map. The box sets --vx --vy --vw --vh (map units);
   the map covers it like `slice`, and anchors place HTML at --x --y. */
.fm-mapbox { position: relative; overflow: hidden; container-type: size; background: var(--paper); --vx: 0; --vy: 0; --vw: 1600; --vh: 1000; }
.fm-mapbox > .fm-map, .fm-anchor, .fm-callout, .fm-mapscale { --s: max(100cqw / var(--vw), 100cqh / var(--vh)); }
.fm-mapbox > .fm-map { position: absolute; width: calc(1600 * var(--s)); height: calc(1000 * var(--s)); left: calc(50% - (var(--vx) + var(--vw) / 2) * var(--s)); top: calc(50% - (var(--vy) + var(--vh) / 2) * var(--s)); }
.fm-anchor { position: absolute; width: 0; height: 0; left: calc(50% + (var(--x) - var(--vx) - var(--vw) / 2) * var(--s)); top: calc(50% + (var(--y) - var(--vy) - var(--vh) / 2) * var(--s)); }
.fm-placename { position: absolute; left: 16px; top: 0; transform: translateY(-50%); color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; text-shadow: 0 0 3px var(--paper), 0 0 3px var(--paper), 0 0 2px var(--paper), 0 0 1px var(--paper); }
.fm-placename small { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.fm-ringtag { position: absolute; transform: translate(-50%, -50%); padding: 3px 7px; border-radius: var(--radius-sm); background: var(--indigo); color: var(--on-indigo); font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Map callout: a notification pinned to a place with a leader line */
.fm-callout { position: absolute; z-index: 2; width: 312px; left: calc(50% + (var(--x) - var(--vx) - var(--vw) / 2) * var(--s) + 40px); bottom: calc(50% - (var(--y) - var(--vy) - var(--vh) / 2) * var(--s) + 40px); padding: 14px 16px 15px; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--lift); }
.fm-callout::before { content: ""; position: absolute; left: -40px; bottom: -40px; width: 57px; height: 1.5px; background: var(--ink); transform: rotate(-45deg); transform-origin: 0 50%; }
.fm-callout__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--ink-faint); font-size: 13px; line-height: 16px; }
.fm-callout__meta img { width: 20px; height: 20px; border-radius: 5px; }
.fm-callout__meta b { color: var(--ink-muted); font-weight: 600; }
.fm-callout__meta span { margin-left: auto; }
.fm-callout p { margin: 0; font-size: 15px; line-height: 21px; }
.fm-callout strong { display: block; font-weight: 700; }

/* Hero arrival, once per page view: the newest strike lands, then the alert arrives.
   A script adds .fm-arrival to <html> before the hero paints and .fm-play to the hero map once it is half on screen; without the script the map shows its final state. */
.fm-arrival .fm-hero .fm-callout { opacity: 0; }
.fm-arrival .fm-hero .fm-mapbox:not(.fm-play) :is(.fm-s--newest, .fm-s-halo) { opacity: 0; }
.fm-play .fm-s--newest, .fm-play .fm-s-halo { transform-box: fill-box; transform-origin: center; animation: fm-land .55s cubic-bezier(.2, 1.6, .45, 1) .4s both; }
.fm-play .fm-callout { animation: fm-arrive .5s cubic-bezier(.2, .8, .3, 1) 1.2s both; }
@keyframes fm-land { from { opacity: 0; transform: scale(0); } }
@keyframes fm-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* Map scale bar and north arrow; --scale is the bar length in map units */
.fm-mapscale { position: absolute; right: var(--space-6); bottom: var(--space-4); display: flex; align-items: flex-end; gap: var(--space-3); color: var(--ink); text-shadow: 0 0 3px var(--paper), 0 0 2px var(--paper); }
.fm-mapscale__bar { width: calc(var(--scale) * var(--s)); }
.fm-mapscale__bar i { display: flex; height: 6px; border: 1.5px solid var(--ink); background: repeating-linear-gradient(90deg, var(--ink) 0 20%, var(--paper) 20% 40%); }
.fm-mapscale__bar span { display: flex; justify-content: space-between; margin-top: 3px; font-size: 12px; font-weight: 600; line-height: 14px; font-variant-numeric: tabular-nums; }
.fm-north { width: 22px; height: 34px; }
.fm-north path { fill: var(--ink); }
.fm-north text { font: 700 11px var(--font-sans); fill: var(--ink); }

/* Strike age legend */
.fm-legend { display: grid; gap: 6px; }
.fm-ramp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; width: 184px; }
.fm-ramp span { height: 12px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px var(--strike-edge); }
.fm-ramp__ticks { position: relative; width: 184px; height: 16px; color: var(--ink-faint); font-size: 12px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; }
.fm-ramp__ticks span { position: absolute; transform: translateX(-50%); }

/* Hero: the map full bleed, the cartouche on it */
.fm-hero { position: relative; display: flex; flex-direction: column; min-height: 760px; }
.fm-hero > .fm-mapbox { position: absolute; inset: 0; }
.fm-hero__in { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.fm-cartouche { width: 548px; margin-block: var(--space-12); padding: var(--space-12) var(--space-12) var(--space-8); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--lift); pointer-events: auto; }
.fm-cartouche .fm-h1 { margin-top: var(--space-4); }
.fm-h1 span { display: block; }
.fm-cartouche .fm-lead { margin-top: var(--space-6); }
.fm-cartouche .fm-stores { margin-top: var(--space-8); }
.fm-cartouche__legend { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--rule); }

/* Photo hero for activity and topic pages: the same cartouche over the page photo */
.fm-hero__photo { position: absolute; inset: 0; background: var(--paper-2); }
.fm-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
/* The photographer's credit sits on the photo's lower right corner in both hero layouts. */
.fm-hero__credit { position: absolute; right: var(--space-4); bottom: var(--space-4); z-index: 3; margin: 0; padding: var(--space-1) var(--space-3); border-radius: var(--radius-round); background: rgba(0, 0, 0, 0.6); color: #FFFFFF; font: 500 13px/18px var(--font-sans); }
.fm-hero__credit a { color: inherit; text-underline-offset: 2px; }
.fm-h1 em { font-style: normal; color: var(--indigo); }
.fm-proof { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-6) 0 0; }
.fm-proof .ic { width: 24px; height: 24px; color: var(--indigo); }
.fm-proof strong { font-weight: 600; }

/* Feature strip */
.fm-features { border-bottom: 1px solid var(--rule); background: var(--paper); }
.fm-features__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.fm-features article { padding: var(--space-8) var(--space-8) var(--space-8) 0; }
.fm-features article + article { padding-left: var(--space-8); border-left: 1px solid var(--rule); }
.fm-features .ic { width: 32px; height: 32px; color: var(--indigo); }
.fm-features .fm-h3 { margin: var(--space-4) 0 var(--space-2); }
.fm-features .fm-body + .fm-body { margin-top: var(--space-3); }
.fm-features a { color: var(--indigo); font-weight: 600; }

/* Sections */
.fm-section { padding-block: var(--space-24); }
.fm-section--band { background: var(--paper-2); }
.fm-section__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-8); margin-bottom: var(--space-12); }
.fm-section__head .fm-label { margin-bottom: var(--space-3); }
.fm-section__head .fm-body { margin-top: var(--space-4); }

/* A credited user quote after the page features */
.fm-quote { padding-block: var(--space-12); }
.fm-quote__in { max-width: 880px; margin: 0; }
.fm-quote__intro { margin-top: var(--space-3); }
.fm-quote__text { margin: var(--space-6) 0 0; font: italic 400 34px/42px var(--font-serif); color: var(--ink); text-wrap: pretty; }
.fm-quote__text p { margin: 0; }
.fm-quote__by { margin-top: var(--space-6); font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.fm-quote__by a { color: var(--indigo); font-weight: 600; }

/* Quick answers: questions in a map key */
.fm-qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.fm-qa article { padding-top: var(--space-6); border-top: 2px solid var(--ink); }
.fm-qa .fm-body { margin-top: var(--space-3); }
.fm-qa a { color: var(--indigo); font-weight: 600; }

/* A cited guide: key numbers, then short sections with their sources */
.fm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); margin: 0 0 var(--space-12); padding: 0; list-style: none; }
.fm-stats li { padding-top: var(--space-6); border-top: 2px solid var(--indigo); }
.fm-stats strong { display: block; color: var(--indigo); font: 700 40px/44px var(--font-sans); letter-spacing: -0.02em; }
.fm-stats span { display: block; margin-top: var(--space-2); color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.fm-cite { margin-top: var(--space-3); color: var(--ink-faint); }
.fm-cite a { font-weight: 500; }
.fm-guide__note { margin-top: var(--space-12); color: var(--ink-faint); }

/* Related pages */
.fm-related { padding-block: var(--space-12) 64px; border-top: 1px solid var(--rule); }
.fm-related .fm-chips { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.fm-chip .ic:last-child { width: 16px; height: 16px; color: var(--ink-faint); }

/* Alert distances: copy, then the radius map with its place list */
.fm-alerts { display: grid; grid-template-columns: 5fr 7fr; align-items: start; gap: var(--space-12); }
.fm-alerts__copy .fm-label { margin-bottom: var(--space-3); }
.fm-alerts__copy .fm-body { margin-top: var(--space-6); }
.fm-panel { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--card); }
.fm-radiusmap { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--rule); }
.fm-radiusmap .fm-placename { font-size: 15px; }

/* Place list: alert areas with their distances, then alert settings */
.fm-places { margin: 0; padding: 0 var(--space-6); list-style: none; }
.fm-places > li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 4px var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--rule); }
.fm-places > li:first-child { border-top: 0; }
.fm-places .ic { width: 24px; height: 24px; color: var(--indigo); }
.fm-places strong { display: block; font-weight: 600; line-height: 22px; }
.fm-places li > div > span { display: block; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.fm-places b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fm-places .fm-setting b { color: var(--indigo); font-size: 15px; }
.fm-switch { width: 44px; height: 26px; padding: 3px; border-radius: 13px; background: var(--indigo); }
.fm-switch::after { content: ""; display: block; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: var(--on-indigo); }
.fm-slider { grid-column: 2 / 4; position: relative; height: 20px; margin-top: 4px; }
.fm-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo) var(--v), var(--rule) var(--v)); }
.fm-slider::after { content: ""; position: absolute; top: 0; left: var(--v); width: 20px; height: 20px; margin-left: -10px; border: 2px solid var(--indigo); border-radius: 50%; background: var(--card); }
.fm-slider__ends { grid-column: 2 / 4; display: flex; justify-content: space-between; color: var(--ink-faint); font-size: 12px; font-weight: 600; line-height: 14px; font-variant-numeric: tabular-nums; }

/* App screens with numbered control circles */
.fm-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.fm-shot { margin: 0; }
.fm-shot__frame { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--card); }
.fm-shot__frame { aspect-ratio: 640 / 1387; }
.fm-shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fm-shot figcaption { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.fm-shot .fm-small { margin-top: 2px; }
/* Three screens: the heading takes the first column */
.fm-tour--side .fm-wrap { display: grid; grid-template-columns: 1fr 3fr; align-items: start; gap: var(--space-8); }
.fm-tour--side .fm-section__head { grid-template-columns: 1fr; margin: 0; }
.fm-tour--side .fm-h2 { font-size: 40px; line-height: 44px; }
.fm-tour--side .fm-shots { grid-template-columns: repeat(3, 1fr); }
.fm-control { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--indigo); border-radius: 50%; color: var(--indigo); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Why people switch: a map key */
.fm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.fm-why li { padding-top: var(--space-6); border-top: 2px solid var(--ink); }
.fm-symbol { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-6); border-radius: 50%; background: var(--indigo-tint); color: var(--indigo); }
.fm-symbol .ic { width: 30px; height: 30px; }
.fm-why .fm-body { margin-top: var(--space-3); }

/* Activity cards */
.fm-activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
.fm-activity { display: block; color: inherit; text-decoration: none; }
.fm-activity__photo { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--paper-2); }
.fm-activity__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-activity:hover .fm-activity__photo img { transform: scale(1.04); }
.fm-activity__text { display: grid; grid-template-columns: 28px 1fr 24px; gap: 2px var(--space-3); margin-top: var(--space-4); }
.fm-activity__text .ic { width: 28px; height: 28px; color: var(--indigo); }
.fm-activity__text .fm-small { grid-column: 2; }
.fm-activity__text .fm-go { width: 22px; height: 22px; color: var(--ink-faint); }
.fm-activity:hover .fm-h3 { color: var(--indigo); }
.fm-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-12); }
.fm-chip { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.fm-chip .ic { width: 20px; height: 20px; color: var(--indigo); }
.fm-chip:hover { border-color: var(--indigo); color: var(--indigo); }

/* Safety band: contour lines on deep overprint ink */
.fm-note { position: relative; overflow: hidden; background: var(--band); color: var(--on-band); }
.fm-note::before { content: ""; position: absolute; inset: 0; background: var(--on-band); opacity: .14; -webkit-mask: url(/assets/landing/fieldmap/topo-lines.svg) center / cover no-repeat; mask: url(/assets/landing/fieldmap/topo-lines.svg) center / cover no-repeat; }
.fm-note__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); padding-block: 88px; }
.fm-note .fm-statement { max-width: 18ch; }

/* Documents: privacy, disclaimer and help. The body keeps its own policy and help markup. */
.fm-doc-hero { padding-block: 72px 56px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.fm-doc-hero--alert { box-shadow: inset 0 4px 0 var(--age-10); }
.fm-doc-hero .fm-label { margin-bottom: var(--space-4); }
.fm-doc-title { max-width: 22ch; font-size: 56px; line-height: 60px; }
.fm-doc-hero .fm-lead { max-width: 64ch; margin-top: var(--space-6); }
.fm-doc-hero__grid { display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: var(--space-12); }
.fm-doc-hero__shot { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--lift); }
.fm-doc-hero__shot img { display: block; width: 100%; height: auto; }
.fm-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.fm-badges li { padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); background: var(--card); color: var(--ink-muted); font-size: 14px; font-weight: 500; line-height: 20px; }
.fm-doc { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 64px; padding-block: 56px 96px; }
.fm-doc__nav { position: sticky; top: var(--space-6); align-self: start; display: grid; }
.fm-doc__nav a { padding: 7px 0 7px 14px; border-left: 2px solid var(--rule); color: var(--ink-muted); font-size: 15px; line-height: 20px; text-decoration: none; }
.fm-doc__nav a:hover { border-color: var(--indigo); color: var(--ink); }
.fm-doc__content { max-width: 760px; }
.fm-doc__content .policy-section { padding-block: var(--space-8); border-top: 1px solid var(--rule); scroll-margin-top: var(--space-6); }
.fm-doc__content .policy-section:first-child { padding-top: 0; border-top: 0; }
.fm-doc__content h2 { margin: 0 0 var(--space-4); font: 700 28px/34px var(--font-sans); letter-spacing: -0.02em; }
.fm-doc__content h3 { margin: var(--space-6) 0 var(--space-2); font: 600 20px/26px var(--font-sans); }
.fm-doc__content p, .fm-doc__content li { color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.fm-doc__content p { margin: 0 0 var(--space-4); }
.fm-doc__content ul, .fm-doc__content ol { margin: 0 0 var(--space-4); padding-left: 22px; }
.fm-doc__content li + li { margin-top: 6px; }
.fm-doc__content a { color: var(--indigo); font-weight: 600; }
.fm-doc__content strong { color: var(--ink); }
.fm-doc__content .policy-chip { margin-left: var(--space-2); padding: 2px 8px; border-radius: var(--radius-sm); background: var(--indigo-tint); color: var(--indigo); font-size: 13px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.fm-doc__content .policy-section-alert { margin-bottom: var(--space-8); padding: var(--space-6); border: 1px solid var(--rule-strong); border-left: 4px solid var(--indigo); border-radius: var(--radius-md); background: var(--card); }
.fm-doc__content .policy-section-alert p:last-child { margin-bottom: 0; }
.fm-doc__content .policy-step { display: inline-block; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--paper-2); color: var(--ink); font-weight: 600; }
.fm-doc__content .policy-meta-list { border-top: 1px solid var(--rule); }
.fm-doc__content .policy-meta-row { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--rule); }
.fm-doc__content .policy-meta-label { color: var(--ink-faint); font-size: 14px; font-weight: 600; }
.fm-doc__content .policy-meta-value { color: var(--ink); }
.help-section__layout { display: grid; grid-template-columns: 200px 1fr; align-items: start; gap: 40px; }
.help-figure { margin: 0; }
.help-figure img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--radius-md); }
.help-figure figcaption { margin-top: var(--space-2); color: var(--ink-faint); font-size: 14px; line-height: 20px; }
.help-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-bottom: var(--space-4); }
.help-question-list { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.help-choice-card, .help-question { padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--card); }
.fm-doc__content .help-choice-card h3, .fm-doc__content .help-question h3 { margin-top: 0; }
.help-choice-card p:last-child, .help-question p:last-child { margin-bottom: 0; }
.fm-alts { display: grid; gap: var(--space-3); }
.fm-alt--ours { border-color: var(--indigo); box-shadow: inset 4px 0 0 var(--indigo); }
.fm-cmp-row { padding-block: var(--space-4); border-top: 1px solid var(--rule); }
.fm-doc__content .fm-cmp-row h3 { margin: 0 0 var(--space-2); }
.fm-cmp-row__cells { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.fm-cmp-row__cells p { margin: 0; }
.fm-cmp-row__ours { padding-left: var(--space-3); border-left: 3px solid var(--indigo); }
.fm-stamp { color: var(--ink-faint) !important; font-size: 14px !important; font-weight: 600; }

/* Footer */
.fm-footer { border-top: 1px solid var(--rule); background: var(--paper-2); }
.fm-footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 36px 48px; }
.fm-footer a { color: var(--ink-muted); font-size: 15px; text-decoration: none; }
.fm-footer a:hover { color: var(--ink); text-decoration: underline; }
.fm-footer .fm-social { display: flex; flex-wrap: wrap; gap: 8px 20px; flex-basis: 100%; }

/* Medium screens: shift the hero map so the ring clears the cartouche */
@media (max-width: 1180px) {
  .fm-hero > .fm-mapbox { --vx: 120; --vw: 1420; }
  .fm-cartouche { width: 500px; padding: 40px 40px 28px; }
  .fm-h1 { font-size: 64px; line-height: 64px; }
  .fm-callout { width: 280px; left: calc(50% + (var(--x) - var(--vx) - var(--vw) / 2) * var(--s) - 140px); bottom: calc(50% - (var(--y) - var(--vy) - var(--vh) / 2) * var(--s) + 44px); }
  .fm-callout::before { left: 50%; bottom: -44px; width: 1.5px; height: 44px; transform: none; }
}

/* Narrow layouts: the page reflows under 1000px and again under 720px */
@media (max-width: 999px) {
  .fm-hero { min-height: 0; }
  .fm-hero > .fm-mapbox { position: relative; order: 2; height: 480px; --vx: 760; --vy: 300; --vw: 660; --vh: 680; }
  .fm-hero > .fm-hero__photo { position: relative; order: 2; height: 420px; }
  .fm-hero__photo img { object-position: var(--pos-narrow); }
  .fm-hero__in { order: 1; pointer-events: auto; }
  .fm-cartouche { width: auto; max-width: 640px; margin: 0; padding: var(--space-12) 0 var(--space-8); border-radius: 0; background: none; box-shadow: none; }
  .fm-callout { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); width: auto; }
  .fm-callout::before { display: none; }
  .fm-mapscale { top: var(--space-4); right: var(--space-4); bottom: auto; }
  .fm-alerts { grid-template-columns: 1fr; }
  .fm-shots { grid-template-columns: repeat(2, 1fr); }
  .fm-tour--side .fm-wrap { display: block; }
  .fm-tour--side .fm-section__head { margin-bottom: var(--space-8); }
  .fm-tour--side .fm-shots { grid-template-columns: repeat(2, 1fr); }
  .fm-qa { grid-template-columns: 1fr; }
  .fm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-doc { grid-template-columns: 1fr; gap: var(--space-8); }
  .fm-doc-hero__grid { grid-template-columns: 1fr; }
  .fm-doc-hero__shot { max-width: 220px; }
  .fm-doc__nav { position: static; display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .fm-doc__nav a { padding: 6px 12px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--card); }
}
@media (max-width: 720px) {
  .fm-wrap { padding-inline: var(--space-4); }
  .fm-header__in { height: 64px; }
  .fm-nav__link { display: none; }
  .fm-h1 { font-size: 44px; line-height: 46px; letter-spacing: -0.03em; }
  .fm-h2, .fm-tour--side .fm-h2 { font-size: 34px; line-height: 38px; }
  .fm-lead { font-size: 18px; line-height: 27px; }
  .fm-statement { font-size: 30px; line-height: 36px; }
  .fm-cartouche { padding: var(--space-8) 0 var(--space-6); }
  .fm-cartouche .fm-stores { margin-top: var(--space-6); }
  .fm-stores img { height: 44px; }
  .fm-hero > .fm-mapbox { height: 440px; --vx: 790; --vy: 300; --vw: 600; --vh: 690; }
  .fm-hero > .fm-hero__photo { height: 300px; }
  .fm-hero__credit { right: var(--space-3); bottom: var(--space-3); font-size: 12px; }
  .fm-quote__text { font-size: 24px; line-height: 31px; }
  .fm-mapscale { left: var(--space-4); right: auto; }
  .fm-features__in, .fm-why, .fm-activities { grid-template-columns: 1fr; }
  .fm-features article, .fm-features article + article { display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-4); padding: var(--space-6) 0; border-left: 0; }
  .fm-features article + article { border-top: 1px solid var(--rule); }
  .fm-features .ic { grid-row: 1 / 3; }
  .fm-features .fm-h3 { margin: 2px 0 var(--space-1); }
  .fm-features .fm-body { grid-column: 2; }
  .fm-symbol { width: 48px; height: 48px; margin-bottom: var(--space-4); }
  .fm-symbol .ic { width: 26px; height: 26px; }
  .fm-shot .fm-h3 { font-size: 18px; line-height: 23px; }
  .fm-activity { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: var(--space-4); }
  .fm-activity__photo { aspect-ratio: 1 / 1; }
  .fm-activity__text { grid-template-columns: 24px 1fr 20px; gap: 2px var(--space-2); margin-top: 0; }
  .fm-activity__text .ic { width: 24px; height: 24px; }
  .fm-activity__text .fm-small { grid-column: 1 / 4; }
  .fm-activity .fm-h3 { font-size: 19px; line-height: 24px; }
  .fm-section { padding-block: 64px; }
  .fm-section__head { grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-8); }
  .fm-stats { gap: var(--space-6) var(--space-4); margin-bottom: var(--space-8); }
  .fm-stats strong { font-size: 26px; line-height: 30px; }
  .fm-alerts { gap: var(--space-8); }
  .fm-places { padding-inline: var(--space-4); }
  .fm-shots { gap: var(--space-6) var(--space-4); }
  .fm-shot figcaption { grid-template-columns: 1fr; gap: var(--space-2); }
  .fm-activities { gap: var(--space-4); }
  .fm-note__in { flex-direction: column; align-items: flex-start; padding-block: 64px; }
  .fm-doc-hero { padding-block: 48px 40px; }
  .fm-doc-title { font-size: 40px; line-height: 44px; }
  .fm-doc { padding-block: 40px 64px; }
  .help-section__layout, .help-choice-grid, .fm-cmp-row__cells { grid-template-columns: 1fr; }
  .help-figure { max-width: 240px; }
  .fm-doc__content .policy-meta-row { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .fm-activity__photo img, .fm-btn { transition: none; }
  .fm-play .fm-s--newest, .fm-play .fm-s-halo, .fm-play .fm-callout { animation: none; }
  .fm-arrival .fm-hero .fm-callout { opacity: 1; }
}

/* Map key: a symbol and its meaning */
.fm-key { display: flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); font-size: 14px; line-height: 18px; }
.fm-key svg { width: 32px; height: 32px; flex: none; }

/* Pictures fill their frames */
.fm-shot__frame picture, .fm-activity__photo picture { display: block; height: 100%; }

/* The shared language selector, styled for the footer */
.fm-footer .language-selector { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.fm-footer .fm-languages { display: flex; flex-wrap: wrap; gap: 8px 20px; flex-basis: 100%; }
.fm-footer .fm-languages a { font-size: 14px; }
.fm-footer .fm-languages a[aria-current] { color: var(--ink); font-weight: 600; }
.fm-footer .language-selector label { font: 600 12px/16px var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.fm-footer .language-selector select { appearance: none; height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius-md); background-color: var(--card); background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; color: var(--ink); font: 500 15px/1 var(--font-sans); }
@media (max-width: 720px) {
  .fm-footer .language-selector { margin-left: 0; }
}

/* Browsers without container query units cannot place labels on the map: show the map alone */
@supports not (width: 1cqw) {
  .fm-mapbox > .fm-map { left: 0; top: 0; width: 100%; height: 100%; }
  .fm-anchor, .fm-callout, .fm-mapscale { display: none; }
}
