/* Mountain Identifier — site styles
   Concept B2 from the 2026-10 redesign: white page, the iPhone's own system
   font, brand blue for actions, navy only for the closing download bands. The
   phone is the hero: real app screens and the live-label view sit in one
   consistent frame (.phone), and every page shows it more than once.
     brand blue #0066F3 (screenshot headlines)   navy #182443 (Peaks Passport card)
   No web fonts, no framework. Class names no longer match flock-web's. */

:root {
  --ink: #101010;
  --mute: #4a5059;
  --mute-2: #5b616b;
  --line: #e8e9ec;
  --soft: #f4f6f9;
  --chip: #f1f3f6;
  --paper: #ffffff;
  --blue: #0066f3;
  --blue-hover: #0057d1;
  --blue-ink: #0057d1;        /* blue as text: 5.4:1 on white */
  --navy: #182443;
  --invert: #f4f6fb;
  --invert-mute: #b4bfd6;
  --bezel: #0e1016;

  --wrap: 1080px;
  --col: 720px;
  --gutter: 40px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

a { color: var(--blue-ink); }
a:hover { color: var(--ink); }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.col { max-width: var(--col); }
.mute { color: var(--mute); }
.fine { font-size: 0.82rem; color: var(--mute-2); }
.fine a { color: inherit; }
.lede { font-size: 1.2rem; color: var(--mute); max-width: 36em; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--blue); color: #fff;
  padding: 0.75rem 1.25rem; font-weight: 700; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(16, 16, 16, 0.08);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand {
  display: flex; align-items: center; gap: 0.6rem; flex: none;
  font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand__short { display: none; }
.site-nav { flex: 1; display: flex; align-items: center; gap: 1rem; }
.site-nav__links { display: flex; gap: 2rem; margin: 0 auto; }
.site-nav__links a { color: var(--mute); text-decoration: none; font-size: 0.94rem; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--ink); }
.site-nav__links a[aria-current="page"] { font-weight: 600; }
.site-nav .appstore img { height: 40px; }
.site-nav .get-pill { display: none; }

.nav-toggle {
  display: none; flex: none;
  width: 44px; height: 44px; padding: 0; margin-right: -10px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block; width: 18px; height: 1.6px; border-radius: 2px;
  background: currentColor; transition: transform 0.18s ease, background 0.18s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .brand__long { display: none; }
  .brand__short { display: inline; }
  .site-nav { justify-content: flex-end; gap: 0.4rem; }
  .site-nav .appstore { display: none; }
  .site-nav .get-pill { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  /* The panel drops out of the header, full bleed. `visibility` rather than
     `display` so it can animate and so the links stay out of the tab order
     while closed. */
  .site-nav__links {
    display: grid; gap: 0; margin: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; box-shadow: 0 18px 40px rgba(16, 24, 48, 0.14);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .site-nav__links[data-open] { visibility: visible; opacity: 1; transform: none; }
  .site-nav__links a {
    padding: 1rem var(--gutter); font-size: 1.05rem; color: var(--ink);
    border-top: 1px solid var(--line);
  }
}
/* No script, no toggle: show the links inline under the bar. */
.no-js .nav-toggle { display: none; }
@media (max-width: 760px) {
  .no-js .site-nav__links { position: static; visibility: visible; opacity: 1; transform: none; display: flex; gap: 1rem; box-shadow: none; }
  .no-js .site-nav__links a { border: 0; padding: 0; font-size: 0.9rem; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn--sm { padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { background: var(--soft); color: var(--ink); }

/* App Store badge: Apple's own artwork, used unmodified. Apple's marketing
   guidelines allow uniform scaling only, so nothing here may recolour, crop or
   re-round the SVG. Minimum badge height is 40px. */
.appstore { display: inline-block; flex: none; line-height: 0; border-radius: 9px; text-decoration: none; }
.appstore img { display: block; height: 54px; width: auto; }
.appstore:hover { filter: brightness(1.12); }
.appstore:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }

/* QR to the listing. Desktop only: on a phone the badge is one tap away. */
.qr { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.qr img { width: 56px; height: 56px; image-rendering: pixelated; border-radius: 4px; }
.qr p { margin: 0; font-size: 0.8rem; line-height: 1.35; color: var(--mute-2); max-width: 9.5em; }
.on-dark .qr p { color: var(--invert-mute); }
@media (max-width: 900px), (hover: none) { .qr { display: none; } }

/* ---------------------------------------------------------------- the phone
   One frame for everything that shows the app. The element is the screen; the
   bezel is a box-shadow, so it takes no layout space (give the phone room).
   Width comes from --w. Label sizes are in cqw, so they scale with the phone. */
.phone {
  --w: 280px; --b: 11px;
  position: relative; flex: none;
  width: var(--w); aspect-ratio: 9 / 19.5;
  border-radius: 13% / 6%; overflow: hidden;
  container-type: inline-size;
  background: #1b2643;
  box-shadow: 0 0 0 var(--b) var(--bezel), 0 0 0 calc(var(--b) + 1.5px) #4a4f59,
    0 calc(var(--b) * 3) calc(var(--b) * 6) calc(var(--b) * -2) rgba(16, 24, 48, 0.45);
}
.phone > img, .phone > svg { position: absolute; max-width: none; }
.phone__photo, .phone > svg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* App Store screenshots carry a headline and their own drawn phone. These
   offsets crop to the app screen alone (measured on the 640 px files: screen at
   x 85–555, y 302). */
.phone__shot { top: 0; left: -18.09%; width: 136.17%; height: auto; margin-top: -64.26%; }
.phone__island {
  position: absolute; z-index: 4; left: 50%; top: 1.7%;
  width: 30%; height: 3.5%; transform: translateX(-50%);
  background: #000; border-radius: 999px;
}
.phone__time {
  position: absolute; z-index: 3; top: 2.2%; left: 11%;
  font-size: 11px; font-size: 4cqw; font-weight: 600; line-height: 1; color: #fff;
}
.flag {
  position: absolute; z-index: 2; display: block;
  background: #fff; color: var(--ink);
  border-radius: 2.8cqw; padding: 1.5cqw 3cqw;
  font-size: 12px; font-size: 4.2cqw; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 1cqw 4cqw rgba(8, 14, 30, 0.3);
}
.flag span { display: block; color: var(--blue-ink); font-size: 3.5cqw; }
.flag__stem { position: absolute; z-index: 1; display: block; border-left: 1.5px solid #fff; transform: translateX(-0.75px); }
.flag__dot {
  position: absolute; z-index: 2; display: block;
  width: 2.8cqw; height: 2.8cqw; border-radius: 50%;
  background: var(--blue); border: 0.7cqw solid #fff; transform: translate(-50%, -50%);
}
.phone__sheet {
  position: absolute; z-index: 3; left: 4.5%; right: 4.5%; bottom: 2.6%;
  background: rgba(255, 255, 255, 0.95); border-radius: 7cqw; padding: 4.5cqw 5.5cqw;
  font-size: 12px; font-size: 4.4cqw; line-height: 1.35; color: var(--mute);
  box-shadow: 0 2cqw 8cqw rgba(8, 14, 30, 0.25);
}
.phone__sheet b { display: block; font-size: 5.4cqw; color: var(--ink); }

/* ---------------------------------------------------------------- zoom figure
   A photo with one region outlined, and a phone showing that region zoomed in
   and labelled. Positions are % of the photo, set inline as custom properties
   by the build. Below 760px the phone drops under the photo, centred. */
.zoom { position: relative; margin: 0; padding-bottom: var(--pb, 0); }
.zoom__frame { position: relative; }
.zoom__frame > img { width: 100%; height: auto; }
.zoom__box {
  position: absolute; border: 2px solid #fff; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(8, 14, 30, 0.15), 0 6px 20px rgba(8, 14, 30, 0.25);
}
.zoom__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zoom__lines line { stroke: #fff; stroke-opacity: 0.85; stroke-width: 1.5; }
/* top is set as a margin because margins resolve against the width: it keeps
   the phone pinned to the photo whatever padding the figure adds below. */
.zoom > .phone { position: absolute; left: var(--x); top: 0; margin-top: var(--yw); --w: var(--pw); --b: var(--zb); }
.zoom--round .zoom__frame > img { border-radius: 22px; }

/* Drawn skyline: the same figure without a photo. The wide drawing is washed
   out and unlabelled; the phone shows its slice of it, sharp and labelled. */
.lens__sky { filter: saturate(0.6) blur(1px); }
.zoom--lens .zoom__frame { overflow: hidden; background: #dce6f4; }
.zoom--lens .zoom__frame > svg { width: 100%; height: auto; }

@media (max-width: 760px) {
  .zoom > .phone { position: relative; left: auto; top: auto; --w: min(62vw, 250px); --b: 9px; margin: -12% auto 0; }
  .zoom__lines { display: none; }
  .zoom { padding-bottom: 0; }
}

/* ---------------------------------------------------------------- home */
.home-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 0; text-align: center; }
.home-hero h1 { max-width: 13em; margin: 0 auto 1.2rem; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.2rem); }
.home-hero .lede { margin: 0 auto 2rem; }
.home-hero .cta-row { justify-content: center; }
.home-hero .fine { margin: 1rem 0 0; }

.zoom--hero { max-width: 1680px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding-bottom: max(var(--pb), var(--cap-h, 250px)); }
/* Beside the part of the phone that hangs below the picture. */
.zoom--hero figcaption {
  position: absolute; top: 0; margin-top: calc(var(--fh) + 2.25rem);
  left: var(--cap-x, 44%); width: var(--cap-w, min(480px, 48%)); text-align: left;
}
.zoom--hero figcaption p:first-child { font-size: 1.35rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.zoom--hero figcaption .mute { font-size: 1rem; margin-bottom: 1.25rem; }
.zoom--hero figcaption .appstore img { height: 46px; }
.zoom--hero figcaption .fine { margin: 1rem 0 0; }
@media (max-width: 760px) {
  .zoom--hero { padding-bottom: 0; }
  .zoom--hero figcaption { position: static; margin: 0; width: auto; padding: 2rem var(--gutter) 0; text-align: center; }
  .zoom--hero figcaption p:first-child { font-size: 1.15rem; }
  .zoom--hero figcaption .cta-row { justify-content: center; }
}

.stats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--line);
  text-align: center; font-size: 0.92rem; color: var(--mute);
}
.stats b { display: block; font-size: 1.75rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }

.story { padding-top: clamp(3rem, 6vw, 4.5rem); }
.story__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem; align-items: center; padding: 3.5rem 0;
}
.story__row:nth-of-type(even) .story__text { order: 2; }
.story__text { max-width: 26rem; }
.story__text .step-n { font-size: 0.92rem; font-weight: 600; color: var(--blue-ink); margin: 0 0 0.6rem; }
.story__text h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; }
.story__text p { font-size: 1.12rem; color: var(--mute); margin: 0; }
.story__phone { display: flex; justify-content: center; padding: 1.5rem 0; }
.story__phone .phone { --w: 270px; }
.story__cta { display: flex; justify-content: center; padding-top: 1rem; }
@media (max-width: 760px) {
  .story__row { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0; text-align: center; }
  .story__row:nth-of-type(even) .story__text { order: 0; }
  .story__text { max-width: none; }
  .story__phone .phone { --w: min(64vw, 250px); --b: 9px; }
}

.questions {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 4rem; padding-top: clamp(4rem, 8vw, 7rem);
}
.questions__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.questions__head h2, .questions h2 { font-size: 1.9rem; margin: 0; }
.questions__head a { font-size: 0.94rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.questions aside h2 { margin-bottom: 1.25rem; }
@media (max-width: 860px) { .questions { grid-template-columns: minmax(0, 1fr); gap: 3rem; } }

.glist { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.glist a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500;
}
.glist a::after { content: "→"; color: var(--blue); }
.glist a:hover { color: var(--blue-ink); }
.glist small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--mute); margin-top: 0.2rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-size: 0.94rem; font-weight: 500; padding: 0.6rem 1rem;
  background: var(--chip); border-radius: 999px; color: var(--ink); text-decoration: none;
}
.chip:hover { background: #e6e9ee; color: var(--ink); }

.home-faq { max-width: 52rem; padding-top: clamp(4rem, 8vw, 7rem); }
.home-faq h2 { font-size: 1.9rem; }

/* ---------------------------------------------------------------- faq */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--mute-2); border-bottom: 2px solid var(--mute-2);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__body { padding-bottom: 1.2rem; max-width: 42em; }
.faq__body p { color: var(--mute); margin: 0; }
.faq__body a { font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- closing band */
.final { margin-top: clamp(4rem, 8vw, 7rem); background: var(--navy); color: var(--invert); overflow: hidden; }
.final__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem; align-items: end; padding-top: 4.5rem;
}
.final__text { padding-bottom: 4.5rem; }
.final h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.08; color: #fff; margin-bottom: 0.9rem; }
.final p { color: var(--invert-mute); max-width: 30em; margin-bottom: 1.75rem; }
.final__phone { display: flex; justify-content: center; height: 400px; padding-top: 14px; }
.final__phone .phone { --w: 290px; --b: 12px; }
@media (max-width: 760px) {
  .final__inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 3.5rem; text-align: center; }
  .final__text { padding-bottom: 2.5rem; }
  .final p { margin-inline: auto; }
  .final .cta-row { justify-content: center; }
  .final__phone { height: 300px; }
  .final__phone .phone { --w: 230px; --b: 10px; }
}

/* ---------------------------------------------------------------- guides */
.guide-head { padding-top: 3rem; }
.guide-head h1 { max-width: 15em; margin-bottom: 1rem; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); }
.byline { font-size: 0.9rem; color: var(--mute-2); margin: 0 0 1.75rem; }
.answer-box {
  max-width: var(--col); background: var(--soft); border-radius: 18px;
  padding: 1.5rem 1.75rem; margin-bottom: 1.25rem;
}
.answer-box p:first-child { font-size: 0.82rem; font-weight: 600; color: var(--blue-ink); margin: 0 0 0.4rem; }
.answer-box p:last-child { font-size: 1.2rem; line-height: 1.55; margin: 0; }
.app-line { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; margin: 0; }
.app-line img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.app-line a { font-weight: 600; text-decoration: none; }

.guide-figure { margin-top: 2.5rem; }
.guide-figure figcaption .fine { display: block; margin-top: 0.5rem; }
@media (max-width: 760px) { .guide-figure > .phone { --w: min(50vw, 200px); --b: 8px; } }
.guide-figure figcaption { font-size: 0.98rem; line-height: 1.5; margin-top: 1.1rem; max-width: 42rem; }
.guide-figure figcaption a { font-weight: 600; text-decoration: none; }
.guide-figure .fine { margin-top: 0.5rem; }
@media (max-width: 760px) { .guide-figure figcaption { margin-top: 1.5rem; } }

.guide-layout {
  display: grid; grid-template-columns: minmax(0, 680px) 260px;
  justify-content: space-between; gap: 4rem; padding: 1rem 0 5rem;
}
.rail { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 3rem; }
.rail .phone { --w: 210px; --b: 9px; }
.rail__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 2.2rem 0 0.4rem; }
.rail__credit { font-size: 0.72rem; margin: 1.25rem 0 0; }
.rail .fine { margin: 0 0 1rem; }
.rail .appstore img { height: 44px; }
.rail .qr { margin-top: 1.1rem; }
.rail .qr img { width: 48px; height: 48px; }
@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
}

/* ---------------------------------------------------------------- prose */
.prose { max-width: 680px; }
.prose h2 { font-size: 1.75rem; margin: 2.8rem 0 0.8rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { font-weight: 500; }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.3rem; background: var(--soft); border-radius: 14px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .table-scroll { margin: 1.2rem 0 1.5rem; }
.prose .note { margin: 1.2rem 0 1.5rem; }

.app-card {
  display: flex; gap: 2rem; align-items: center;
  margin: 2.75rem 0; padding: 1.75rem 2rem 1.75rem 2.25rem;
  background: var(--soft); border-radius: 22px; overflow: hidden;
}
.app-card .phone { --w: 140px; --b: 7px; }
.app-card p { margin: 0; }
.app-card__kicker { font-size: 0.82rem; font-weight: 600; color: var(--blue-ink); margin-bottom: 0.4rem !important; }
.app-card__title { font-size: 1.35rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.5rem !important; }
.app-card__body { font-size: 1rem; color: var(--mute); margin-bottom: 1rem !important; }
.prose .app-card a { font-weight: 600; text-decoration: none; }
@media (max-width: 520px) { .app-card { padding: 1.5rem; gap: 1.25rem; } .app-card .phone { --w: 104px; --b: 5px; } .app-card__title { font-size: 1.15rem; } }

.end-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 2rem; align-items: start;
  margin-top: 3.5rem; padding: 2.5rem 2.5rem 0; height: 340px;
  background: var(--navy); color: var(--invert); border-radius: 24px; overflow: hidden;
}
.end-cta__text { align-self: center; padding-bottom: 2.5rem; }
.end-cta__title { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin: 0 0 0.6rem !important; }
.end-cta p { color: var(--invert-mute); font-size: 1rem; margin-bottom: 1.4rem; }
.end-cta .appstore img { height: 46px; }
.end-cta .phone { --w: 210px; --b: 9px; margin-top: 10px; }
@media (max-width: 600px) {
  .end-cta { grid-template-columns: minmax(0, 1fr); height: auto; padding: 2rem 1.5rem 0; text-align: center; }
  .end-cta__text { padding-bottom: 0; }
  .end-cta .appstore { margin: 0 auto; }
  .end-cta__phone { height: 190px; display: flex; justify-content: center; padding-top: 1.5rem; }
  .end-cta .phone { --w: 170px; --b: 8px; margin: 0; }
}

.related { margin-top: 4rem; }
.related h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.related a {
  display: block; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 16px;
  color: var(--ink); text-decoration: none;
}
.related a:hover { border-color: #c9d6ee; background: #fbfcfe; }
.related b { display: block; font-size: 1.02rem; line-height: 1.3; margin-bottom: 0.35rem; }
.related span { font-size: 0.9rem; color: var(--mute); line-height: 1.45; display: block; }

.guide-foot { margin-top: 2.5rem; }
.guide-layout .zoom--lens + * { padding-top: 0; }
.not-found { padding: clamp(4rem, 10vw, 7rem) 0; text-align: center; }
.not-found .lede { margin: 0 auto 2rem; }
.not-found .cta-row { justify-content: center; }

/* Guides index */
.index-head { padding: 3rem 0 1rem; }
.index-head h1 { margin-bottom: 0.75rem; }
.index-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; padding-bottom: 2rem;
}
.index-grid > div > h2 { font-size: 1.2rem; margin: 0.9rem 0 1rem; }
.index-grid .rail { padding-top: 3.5rem; }
@media (max-width: 860px) { .index-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }

/* ---------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 460px; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); }
table.data th { font-size: 0.8rem; font-weight: 600; color: var(--mute); background: var(--soft); border-bottom: 0; }
table.data th:first-child { border-radius: 8px 0 0 8px; }
table.data th:last-child { border-radius: 0 8px 8px 0; }
table.data td.num, table.data th.num { text-align: right; }
table.data a { color: var(--ink); font-weight: 600; text-decoration: none; }
table.data a:hover { color: var(--blue-ink); text-decoration: underline; }

.breadcrumbs { font-size: 0.88rem; color: var(--mute-2); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--mute-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-ink); }
.breadcrumbs span[aria-hidden] { margin: 0 0.45rem; }

.note {
  font-size: 0.88rem; color: var(--mute);
  background: var(--soft); border-radius: 12px; padding: 0.9rem 1.1rem;
}

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: 0.92rem; color: var(--mute-2); }
.site-footer a { color: var(--mute-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer__h { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; letter-spacing: 0; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1.2fr repeat(2, 1fr); }
.footer__grid .brand { margin-bottom: 0.9rem; }
.footer__grid .appstore img { height: 44px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.7; }
.footer__legal p { margin-bottom: 0.6rem; max-width: 60em; }

/* ---------------------------------------------------------------- sticky bar
   Phones only. It's the one CTA that's always in reach while reading. */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  display: none; align-items: center; gap: 0.8rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -1px 0 rgba(16, 16, 16, 0.08);
}
.sticky-cta img { width: 40px; height: 40px; border-radius: 9px; }
.sticky-cta div { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-cta b { display: block; font-size: 0.94rem; }
.sticky-cta small { color: var(--mute); font-size: 0.8rem; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

.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;
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .appstore img { height: 48px; }
}
