/* Solo Era — one page, no build step.
   Every colour here is one of the app's six, from Theme.swift, or one of them
   composited on another. Nothing else. */

@font-face {
  font-family: "Archivo Black";
  src: url("fonts/ArchivoBlack-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:     #050506;  /* background */
  --surface: #131316;  /* cards */
  --signal:  #FF9F1C;  /* sodium-lamp amber — the before state */
  --calm:    #9BE8D8;  /* pale mint — the after state */
  --bone:    #F2F0EB;  /* primary text */
  --mute:    #6E6E76;  /* secondary text */

  /* Reading copy is not set in --mute. On --ink it measures 4.03:1, under the
     4.5:1 WCAG AA floor for body text — fine for the small labels the app uses
     it for, not fine for the paragraphs that carry this page. This is bone
     composited on ink at 56%, so it is still two palette colours and nothing
     else, and it measures 5.82:1. --mute keeps the incidental marks. */
  --dim: rgba(242, 240, 235, 0.56);

  --display: "Archivo Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --maxw: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Without this the browser paints its own chrome — scrollbars, the video's
     fallback controls, form widgets — in its light scheme on a near-black page. */
  color-scheme: dark;
  /* The header is sticky; anything the browser scrolls to the top edge
     (find-in-page, a fragment, a restored scroll position) would land under it. */
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--calm); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------------------------------------------------------------- header -- */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(5, 5, 6, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(242, 240, 235, 0.07);
}

.wordmark {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--bone);
}

/* ------------------------------------------------------------------ badge -- */
/* Apple's own artwork, unmodified. It is never recoloured, never redrawn and
   never sits beside another store's mark: this app is iPhone only. The hover
   state moves it and does not touch how it is drawn — no opacity, no filter,
   no tint — because Apple's guidelines are about the badge's appearance. */

.badge {
  display: inline-block;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.14s ease;
}
.badge:hover { transform: translateY(-2px); text-decoration: none; }
.badge:active { transform: translateY(0); }
.badge img { width: 168px; height: auto; }
/* The badge artwork is 119.66 x 40, so a width of 120 is exactly its native
   height of 40 — Apple's guidelines set that as the floor and it is not worth
   shaving pixels off. `height: auto` above keeps the ratio, so the width
   attribute in the markup only reserves the space. */
.badge--compact img { width: 120px; }

/* ------------------------------------------------------------------- hero -- */

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 88px) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--signal);
  padding: 7px 14px;
  border: 1px solid rgba(255, 159, 28, 0.35);
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 20px;
  color: var(--bone);
  text-wrap: balance;
}

.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--dim);
  margin: 0 0 30px;
  max-width: 40ch;
  text-wrap: pretty;
}


.hero__phone { justify-self: center; width: 100%; max-width: clamp(260px, 34vw, 360px); }

/* ------------------------------------------------------------------ phone -- */
/* 13% of the width and 6% of the height come out to the same number of pixels
   at this aspect ratio, so the corner stays circular at every size. */

.phone {
  position: relative;
  border-radius: 13% / 6%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(242, 240, 235, 0.09);
  box-shadow: 0 24px 60px rgba(5, 5, 6, 0.72);
}

.demo {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  background: var(--ink);
}

/* The first frame of the four clips below the fold. A `poster` attribute is
   fetched eagerly whatever `preload` says, and four of them came to 178 KB
   spent before the visitor had scrolled — half the weight of the page. As an
   image the browser defers it natively, and unlike a poster swapped in by
   script it is still there with JavaScript off. The hero keeps its poster: it
   is the largest paint on the screen and wants fetching as early as possible.

   It sits on top of the video rather than beside it, so `.phone` still takes
   its height from `.demo`'s aspect-ratio and nothing moves when either lands. */

.still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Taken away only once the video behind it is actually painting frames — never
   on `play`, which fires before there is anything to show. Under reduced motion
   no clip ever plays, so this never applies and the still is the whole page. */
.phone.is-playing .still { opacity: 0; }

/* ------------------------------------------------------------ walkthrough -- */
/* The one section that is not a feature. It sits directly under the hero
   because it explains the product better than any sentence on the page does,
   and it is centred rather than side-by-side so it reads as a chapter marker
   rather than as the first of the three below it. Its phone is a little larger
   than theirs for the same reason. */

.walkthrough {
  max-width: 720px;
  margin: clamp(56px, 9vw, 104px) auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

.walkthrough h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--bone);
}

.walkthrough .lede { margin: 0 auto clamp(28px, 4vw, 44px); }

.walkthrough__phone {
  width: 100%;
  max-width: clamp(260px, 32vw, 340px);
  margin: 0 auto;
}

/* --------------------------------------------------------------- features -- */

.features {
  max-width: var(--maxw);
  margin: clamp(56px, 9vw, 120px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vw, 132px);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.feature--reverse .feature__text { order: 2; }

.feature__num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.feature__text h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 14px;
  color: var(--bone);
  text-wrap: balance;
}

.feature__text p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--dim);
  margin: 0;
  max-width: 40ch;
  text-wrap: pretty;
}

.feature__video { max-width: clamp(240px, 30vw, 320px); width: 100%; margin: 0 auto; }

/* ----------------------------------------------------------------- closer -- */

.closer {
  max-width: 640px;
  margin: clamp(80px, 12vw, 150px) auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}

.closer h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--bone);
}

.closer .lede { margin: 0 auto 30px; }

/* ================================================================ articles ==
   The written pages. One stylesheet for the whole site rather than one per
   page: it is 4 KB, every page needs the header, the badge and the footer
   anyway, and a single file is cached once and reused across all eight URLs.

   Nothing here loads an image. The largest paint on a written page is its own
   h1, which is text in a font that is already preloaded, so these pages settle
   in about the time it takes to parse them. That is the point - they are meant
   to be read, and the home page is where the videos live. */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) 0;
}

/* -------------------------------------------------------------- crumbs -- */
/* Only on /alone/*, which is the only place with a real hierarchy above it.
   A crumb trail on a top-level page would be inventing a level that is not
   there. Marked up as BreadcrumbList in the page's JSON-LD. */

.crumbs {
  font-size: 13.5px;
  color: var(--dim);
  margin-bottom: clamp(20px, 4vw, 32px);
  letter-spacing: 0.01em;
}
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--calm); }
.crumbs span { color: var(--mute); padding: 0 7px; }

/* --------------------------------------------------------------- prose -- */

.prose h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--bone);
  text-wrap: balance;
}

/* The standfirst. Larger than the body, lighter than the heading, and it
   carries the answer rather than a tease - somebody who reads this line and
   nothing else should have what they came for. */
.prose .lede {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.45;
  color: var(--bone);
  max-width: none;
  margin: 0 0 clamp(30px, 5vw, 44px);
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(23px, 3.1vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: clamp(44px, 6vw, 64px) 0 16px;
  color: var(--bone);
  text-wrap: balance;
}

.prose h3 {
  font-family: var(--text);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 34px 0 10px;
  color: var(--bone);
}

.prose p {
  margin: 0 0 18px;
  color: var(--dim);
  text-wrap: pretty;
}

/* Reading copy runs a little larger than the home page's, because on the home
   page it is a caption beside a phone and here it is the whole point. */
.prose { font-size: 17.5px; line-height: 1.62; }

.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose em { font-style: italic; }

.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--dim); }
.prose li { margin-bottom: 9px; text-wrap: pretty; }
.prose li::marker { color: var(--mute); }

/* A line that matters on its own, set off without a box around it. */
.prose blockquote {
  margin: 26px 0;
  padding: 2px 0 2px 20px;
  border-left: 2px solid rgba(255, 159, 28, 0.5);
  color: var(--bone);
  font-size: 18.5px;
  line-height: 1.5;
}
.prose blockquote p:last-child { margin-bottom: 0; color: var(--bone); }

/* ------------------------------------------------------------ missions -- */
/* A real entry out of the app's library, printed the way the app prints it:
   the difficulty as filled pips, then the title, then the one line that says
   what actually counts. This is the component the listicles cannot copy -
   their items are suggestions, these are graded and the grade is the point. */

.mission {
  border-top: 1px solid rgba(242, 240, 235, 0.09);
  padding: 15px 0 16px;
}
.mission:last-of-type { border-bottom: 1px solid rgba(242, 240, 235, 0.09); }

.mission__title {
  display: block;
  color: var(--bone);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.mission__what {
  display: block;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.5;
}

/* Five pips, filled to the difficulty. aria-hidden because the difficulty is
   already written out in the label beside it - a screen reader should hear
   "Difficulty 3 of 5", not five list items. */
.pips {
  display: inline-flex;
  gap: 3px;
  vertical-align: 1px;
  margin-right: 9px;
}
.pips i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242, 240, 235, 0.22);
}
.pips i.on { background: var(--signal); }

/* --dim rather than --mute, and the reason is measured: --mute on --ink is
   4.03:1, and 12px bold is not large text by WCAG's definition (that starts at
   18.66px bold), so it needs 4.5:1 and misses. --dim is bone on ink at 56% and
   measures 5.82:1. The same trap the palette comment at the top of this file
   describes, walked into at a smaller size. */
.mission__grade {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-bottom: 7px;
}

/* ---------------------------------------------------------- the ladder -- */
/* The 1-5 scale itself, when a page needs to explain it rather than use it. */

.ladder { list-style: none; margin: 24px 0 28px; padding: 0; }
.ladder li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(242, 240, 235, 0.09);
  margin: 0;
}
.ladder li:last-child { border-bottom: 1px solid rgba(242, 240, 235, 0.09); }
.ladder b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  color: var(--signal);
  min-width: 1ch;
}

/* --------------------------------------------------------------- aside -- */
/* The one place a written page mentions the product in its own voice rather
   than in a sentence. Once per page, never twice. */

.pitch {
  margin: clamp(40px, 6vw, 60px) 0;
  padding: clamp(22px, 4vw, 30px);
  background: var(--surface);
  border: 1px solid rgba(242, 240, 235, 0.09);
  border-radius: 16px;
}
.pitch h2 { margin-top: 0; font-size: clamp(21px, 2.7vw, 26px); }
.pitch p:last-of-type { margin-bottom: 20px; }
.pitch .badge img { width: 152px; }

/* ------------------------------------------------------- home: the term -- */
/* The solomaxxing block on the home page. It sits between the walkthrough and
   the features, and it is the only text section on a page otherwise made of
   phones - so it is centred like the walkthrough rather than set as a column. */

.term {
  max-width: 660px;
  margin: clamp(56px, 9vw, 104px) auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}
.term h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--bone);
  text-wrap: balance;
}
.term p { color: var(--dim); margin: 0 auto 16px; text-wrap: pretty; }
.term p:last-child { margin-bottom: 0; }

/* Underlined, like the links in the written pages and unlike the rest of the
   home page. A link sitting inside a paragraph cannot be told apart by colour
   alone here: calm on dim is 2.48:1, under the 3:1 that WCAG asks for when
   colour is the only signal. The underline carries it instead. */
.term p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ----------------------------------------------- narrow view, articles -- */

@media (max-width: 560px) {
  .prose { font-size: 17px; }
  .prose .lede { font-size: 18px; }
  .ladder li { grid-template-columns: 1fr; gap: 3px; }
}

/* ----------------------------------------------------------------- footer -- */

/* footer:start (source of truth; the build copies this block to footer.css for pages without style.css) */
.footer {
  display: block;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 96px) var(--gutter) 40px;
  color: var(--dim);
  font-size: 14px;
  text-align: left;
  border-top: 1px solid rgba(242, 240, 235, 0.08);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__name {
  font-family: var(--display);
  font-size: 22px;
  color: var(--bone);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__badge { display: inline-flex; align-items: center; min-height: 44px; line-height: 0; border-radius: 9px; }
.footer__badge img { width: 120px; height: auto; display: block; }
.footer__tagline { margin: 0; color: var(--dim); }
.footer__note { margin: 4px 0 0; max-width: 34ch; line-height: 1.5; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.footer__h {
  margin: 0 0 8px;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a,
.footer__nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  color: var(--dim);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer__col a:hover,
.footer__col a[aria-current="page"] { color: var(--calm); text-decoration: underline; }
.footer__copy {
  margin: clamp(32px, 5vw, 48px) 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 240, 235, 0.08);
  color: var(--dim);
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__note { max-width: 48ch; }
}

@media (max-width: 600px) {
  .footer__nav { grid-template-columns: 1fr; gap: 20px; }
  .footer__h { margin-bottom: 4px; }
  .footer__col a, .footer__name { min-height: 44px; }
}
/* footer:end */

/* ------------------------------------------------------------ narrow view -- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(30px, 7vw, 48px);
    padding-top: clamp(30px, 7vw, 52px);
    text-align: center;
  }
  .hero__copy { order: 0; }
  .hero__phone { order: 1; max-width: clamp(240px, 66vw, 330px); }
  .lede { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .feature--reverse .feature__text { order: 0; }
  .feature__text { display: flex; flex-direction: column; align-items: center; }
  .feature__video { max-width: min(64vw, 300px); }
  .walkthrough__phone { max-width: min(70vw, 320px); }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  /* Both selectors are (0,1,1), so a bare `.badge img` here would win on source
     order and take the header's compact badge with it — it rendered 152px on a
     390px phone, wider than it is on a desktop. Restate the compact width. */
  .badge img { width: 152px; }
  .badge--compact img { width: 120px; }
  .hero__phone { max-width: 70vw; }
  .feature__video { max-width: 70vw; }
  .walkthrough__phone { max-width: 74vw; }
}

/* ------------------------------------------------------- reduced motion -- */
/* The script never starts a video under this setting; the poster is the whole
   experience, so nothing here has to undo an animation that ran. */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .badge:hover { transform: none; }
}

/* Solo Pass update: native-feeling, responsive feature summaries. */
.update-features { max-width: 1120px; margin: 80px auto; padding: 0 24px; }
.update-features .eyebrow { color: #9be8d8; font-size: .8rem; letter-spacing: .12em; }
.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.update-grid article { padding: 28px; border: 1px solid #344039; border-radius: 24px; background: #151e1d; }
.update-grid h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 16px; }
.update-grid p, .offer-note { color: #adb9b3; line-height: 1.65; }
.update-grid a { color: #9be8d8; text-underline-offset: 4px; }
@media (max-width: 760px) { .update-grid { grid-template-columns: 1fr; } .update-features { margin: 48px auto; } }

/* Current product captures are standalone images, not video overlays. */
.phone > picture { display: block; width: 100%; }
.phone > .still, .phone > picture > .still { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; }

/* Editorial guides: readable answers, restrained product context, no catalogue dump. */
.skip-link{position:absolute;left:12px;top:-80px;padding:12px;background:#9be8d8;color:#050506;z-index:10}.skip-link:focus{top:12px}
.guide-meta{font-size:13px!important;line-height:1.5!important;color:var(--dim);letter-spacing:.025em}
.guide-quick{border-left:3px solid var(--calm);padding:4px 0 4px 20px;margin:24px 0 36px}.guide-quick p{font-size:16px;margin:0 0 10px}.guide-quick a{color:var(--calm);font-weight:600}.guide-quick small{display:block;color:var(--dim);font-size:12px;margin-top:8px}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.guide-card{display:block;padding:24px;border:1px solid #303b37;border-radius:22px;background:#111a18;text-decoration:none!important}.guide-card:hover{border-color:var(--calm)}.guide-card h3{margin:0 0 14px;font-size:20px;line-height:1.3}.guide-card p{font-size:15px;line-height:1.55;margin-bottom:16px}.guide-card span{color:var(--calm);font-size:14px}.guide-card:focus-visible,a:focus-visible{outline:2px solid var(--calm);outline-offset:5px}
.guide-product{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:28px;align-items:center;margin:56px 0;padding:28px;border:1px solid #303b37;border-radius:26px;background:#111a18}.guide-product h2{margin:10px 0 18px}.guide-product p{font-size:16px}.guide-screen{width:100%;height:auto;border-radius:24px}.guide-product .badge img{max-width:100%;height:auto}.guide-home{max-width:1040px;margin:64px auto;padding:0 var(--gutter)}.guide-home h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,4vw,40px)}.guide-home .guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.guide-grid,.guide-home .guide-grid{grid-template-columns:1fr}.guide-product{grid-template-columns:1fr;padding:24px}.guide-screen{max-width:210px;justify-self:center}.guide-meta{font-size:12px!important}.guide-card{padding:22px}}

/* ======================================================================
   Generated content pages (scripts/build-content.mjs)
   Reuses --ink/--surface/--calm/--bone/--dim/--mute and the .prose, .pitch,
   .crumbs and .guide-* rules above. Mobile-first; nothing below needs a
   breakpoint to be readable at 320px.
   ====================================================================== */

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--mute); padding: 0 7px; }
.crumbs [aria-current="page"] { color: var(--bone); }

.content-meta { margin: 0 0 22px; font-size: 13.5px; color: var(--dim); letter-spacing: 0.02em; }
.content-meta time { color: var(--bone); }

.summary {
  margin: 28px 0 36px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid rgba(242, 240, 235, 0.09);
  border-left: 3px solid var(--calm);
  border-radius: 14px;
}
.summary__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--calm);
}
.summary > :last-child { margin-bottom: 0; }
.summary ul, .summary ol { color: var(--bone); }

.table-wrap { margin: 0 0 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--calm); outline-offset: 4px; }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(242, 240, 235, 0.1); }
.prose th { color: var(--bone); font-weight: 700; border-bottom-color: rgba(242, 240, 235, 0.28); white-space: nowrap; }
.prose td { color: var(--dim); }

.shot { margin: 28px auto; max-width: 260px; text-align: center; }
.shot img { display: block; width: 100%; height: auto; border-radius: 22px; }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }

.faq { margin: clamp(36px, 6vw, 56px) 0 0; }
.faq__item { padding: 16px 0; border-top: 1px solid rgba(242, 240, 235, 0.1); }
.faq__item:last-child { border-bottom: 1px solid rgba(242, 240, 235, 0.1); }
.faq__item h3 { margin: 0 0 8px; }
.faq__item p:last-child { margin-bottom: 0; }

.cta-box {
  margin: clamp(32px, 5vw, 48px) 0;
  padding: clamp(22px, 4vw, 30px);
  background: var(--surface);
  border: 1px solid rgba(255, 159, 28, 0.35);
  border-radius: 16px;
}
.cta-box h2 { margin: 0 0 12px; font-size: clamp(21px, 2.7vw, 26px); }
.cta-box p { margin-bottom: 18px; }
.cta-box .badge img { width: 152px; }

.about-box {
  margin: clamp(32px, 5vw, 48px) 0;
  padding: 18px 22px;
  border: 1px solid rgba(242, 240, 235, 0.09);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}
.about-box h2 { margin: 0 0 8px; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone); }
.about-box p { margin: 0; font-size: 15px; }

.related { margin: clamp(40px, 6vw, 64px) 0 0; }
.related h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3.4vw, 30px); letter-spacing: -0.02em; margin: 0 0 16px; }
.related-grid, .hub-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.hub-card {
  display: block;
  height: 100%;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid rgba(242, 240, 235, 0.09);
  border-radius: 16px;
  color: var(--bone);
  text-decoration: none !important;
}
.hub-card:hover { border-color: var(--calm); }
.hub-card:focus-visible { outline: 2px solid var(--calm); outline-offset: 4px; }
.hub-card__kicker { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--calm); }
.hub-card__title { display: block; margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--bone); }
.hub-card__desc { display: block; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--dim); }

.hub-section { margin: clamp(32px, 5vw, 48px) 0 0; }
.hub-section > h2 { margin: 0 0 16px; }
.hub-section > h2 a { color: inherit; text-decoration: none; }
.hub-section > h2 a:hover { color: var(--calm); }

@media (min-width: 640px) {
  .related-grid, .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hub-page { max-width: 980px; }
  .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ======================================================================
   Design pass: generated pages match the dark homepage brand.
   Hero header, intro, tables, accordion FAQ, CTA with screenshot, cards.
   ====================================================================== */

.page--article { max-width: 760px; }
.crumbs { margin-bottom: 22px; font-size: 13.5px; color: var(--dim); }

.page-hero { margin: 0 0 clamp(26px, 4vw, 40px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 16px;
  color: var(--bone);
  text-wrap: balance;
}
.page-hero .content-meta { margin: 0 0 20px; }
.page-hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.page-hero__cta .badge img { width: 140px; }
.page-hero__link { font-size: 14.5px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.page-hero__link:hover { color: var(--calm); }

/* first paragraph = standfirst */
.page--article .prose > p:first-child {
  font-size: clamp(18px, 2.3vw, 20.5px);
  line-height: 1.5;
  color: var(--bone);
}
.prose { max-width: 68ch; margin-inline: auto; }
.page--article .prose { max-width: none; }
.page--article .prose > * { max-width: 68ch; }
.page--article .prose > .table-wrap, .page--article .prose > .cta-box, .page--article .prose > .summary { max-width: none; }

.summary {
  background: linear-gradient(180deg, rgba(155, 232, 216, 0.07), rgba(155, 232, 216, 0.02)), var(--surface);
  border: 1px solid rgba(155, 232, 216, 0.22);
  border-radius: 18px;
  padding: 22px 26px;
}
.summary li { margin-bottom: 8px; }
.summary li::marker { color: var(--calm); }

/* tables */
.table-wrap {
  margin: 0 0 30px;
  border: 1px solid rgba(242, 240, 235, 0.1);
  border-radius: 16px;
  background: var(--surface);
}
.prose table { min-width: 560px; font-size: 15px; }
.prose th { background: rgba(242, 240, 235, 0.05); font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.prose td, .prose th { padding: 12px 16px; }
.prose tbody tr:nth-child(even) td { background: rgba(242, 240, 235, 0.025); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:first-child, .prose th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); color: var(--bone); font-weight: 600; }
.prose th:first-child { background: #1a1a1e; }
.prose tbody tr:nth-child(even) td:first-child { background: #17171a; }
.prose tr.is-us td { background: rgba(155, 232, 216, 0.09) !important; color: var(--bone); border-bottom-color: rgba(155, 232, 216, 0.25); }
.prose tr.is-us td:first-child { box-shadow: inset 3px 0 0 var(--calm); color: var(--calm); }

/* FAQ accordion */
.faq > h2 { margin-bottom: 18px; }
.faq__item { padding: 0; border: 1px solid rgba(242, 240, 235, 0.1); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.faq__item:last-child { border-bottom: 1px solid rgba(242, 240, 235, 0.1); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
  font-weight: 600; font-size: 16.5px; line-height: 1.35; color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--calm); transition: transform .15s; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:focus-visible { outline: 2px solid var(--calm); outline-offset: 2px; border-radius: 14px; }
.faq__a { padding: 0 20px 6px; }
.faq__a p:last-child { margin-bottom: 14px; }

/* CTA block */
.cta-box {
  display: grid; gap: 22px; align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(155, 232, 216, 0.10), transparent 55%), var(--surface);
  border: 1px solid rgba(155, 232, 216, 0.25);
  border-radius: 22px;
  overflow: hidden;
}
.cta-box .eyebrow { margin-bottom: 14px; padding: 5px 12px; font-size: 11.5px; }
.cta-box h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; margin-top: 0; }
.cta-box--shot { grid-template-columns: minmax(0, 1fr); }
.cta-box__shot { width: min(190px, 52%); margin: 0 auto -28px; }
.cta-box__shot img { width: 100%; height: auto; border-radius: 22px 22px 0 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
@media (min-width: 700px) {
  .cta-box--shot { grid-template-columns: minmax(0, 1fr) 190px; padding-bottom: 0; align-items: end; }
  .cta-box--shot .cta-box__text { padding-bottom: clamp(22px, 4vw, 30px); align-self: center; }
  .cta-box__shot { margin: 0; width: 190px; }
}
.cta-box .badge { display: inline-block; }

/* related cards */
.related-grid { gap: 16px; }
.hub-card { overflow: hidden; padding: 0 0 18px; transition: border-color .15s, transform .15s; }
.hub-card:hover { transform: translateY(-2px); }
.hub-card > span { margin-left: 20px; margin-right: 20px; }
.hub-card:not(:has(.hub-card__thumb)) { padding-top: 20px; }
.hub-card__thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; margin: 0 0 14px; background: var(--ink); }
.hub-card__kicker { color: var(--signal); }
.related h2 { font-size: clamp(22px, 3.4vw, 30px); }

.shot { max-width: 280px; }
.shot img { border: 1px solid rgba(242, 240, 235, 0.1); }

@media (max-width: 640px) {
  .page--article .prose, .prose { font-size: 17px; }
  .summary { padding: 18px 18px; }
  .cta-box { border-radius: 18px; }
}
.page--article .prose > .shot { max-width: 280px; }
.page--article .prose > .about-box, .page--article .prose > .faq { max-width: none; }
.page-hero__lede { margin: 0; max-width: 62ch; font-size: clamp(18px, 2.3vw, 20.5px); line-height: 1.5; color: var(--bone); }
.hub-page .page-hero { margin-bottom: clamp(28px, 5vw, 44px); }

/* Journal-detail capture is cropped to its content (1206x1808); keep the corners round. */
.phone--crop { border-radius: 9% / 8.7%; }
.phone--crop > picture > .still { aspect-ratio: 1206 / 1250; }
.prose, .prose li, .prose p { overflow-wrap: anywhere; }
.prose td, .prose th { overflow-wrap: normal; }

/* Breadcrumbs: one line; the current item shrinks with an ellipsis. */
.crumbs ol { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.crumbs li { flex: 0 0 auto; white-space: nowrap; }
.crumbs li:last-child { flex: 1 1 auto; min-width: 0; }
.crumbs [aria-current="page"] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .crumbs li:not(:first-child):not(:last-child) { display: none; }
  .crumbs li:last-child::before { content: "/"; }
}

/* Tap targets >= 44px */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.badge--compact { display: inline-flex; align-items: center; min-height: 44px; }
.page-hero__link { display: inline-flex; align-items: center; min-height: 44px; }

/* Legal pages (/privacy, /terms). The policy's table is two columns of running
   text, so on a phone each row stacks into a block instead of scrolling sideways. */
.prose .table-wrap--stack table { min-width: 0; }
.prose .table-wrap--stack td:first-child, .prose .table-wrap--stack th:first-child { position: static; width: 42%; }
@media (max-width: 640px) {
  .prose .table-wrap--stack table, .prose .table-wrap--stack tbody, .prose .table-wrap--stack tr, .prose .table-wrap--stack td, .prose .table-wrap--stack td:first-child { display: block; width: auto; }
  .prose .table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prose .table-wrap--stack tr { padding: 14px 16px; border-bottom: 1px solid rgba(242, 240, 235, 0.1); }
  .prose .table-wrap--stack tbody tr:last-child { border-bottom: 0; }
  .prose .table-wrap--stack td { padding: 0; border: 0; background: none !important; }
  .prose .table-wrap--stack td:first-child { margin-bottom: 4px; }
}

/* Byline and index hubs (round 5) */
.content-meta a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(242, 240, 235, 0.3); text-underline-offset: 3px; }
.content-meta a:hover { text-decoration-color: var(--calm); }
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.az-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid rgba(242, 240, 235, 0.15); border-radius: 10px; color: var(--bone); text-decoration: none; font-weight: 600; }
.az-nav a:hover, .az-nav a:focus-visible { border-color: var(--calm); outline: none; }
.glossary-list { margin: 0; display: grid; gap: 14px; }
.glossary-list__item { padding: 16px 18px; background: var(--surface); border: 1px solid rgba(242, 240, 235, 0.09); border-radius: 14px; }
.glossary-list dt { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.glossary-list dt a { color: var(--bone); text-decoration: none; }
.glossary-list dt a:hover { color: var(--calm); }
.glossary-list dd { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.5; }
@media (min-width: 760px) { .glossary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Breadcrumb links: 44px tap height without moving the text (round 5 QA) */
.crumbs { margin-top: -12px; margin-bottom: 10px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.hub-section > h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current="page"] { padding: 0; }

/* City guides directory (/things-to-do-alone-in-cities) and related-city blocks */
.city-index { margin: 28px 0 0; }
.city-jump ul, .city-countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.prose .city-jump li, .prose .city-countries li { margin: 0; }
.city-jump a, .city-countries a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(242, 240, 235, 0.15); border-radius: 999px; color: var(--bone); text-decoration: none; font-weight: 600; font-size: 15px; }
.city-countries a { font-weight: 500; font-size: 14px; padding: 0 14px; color: var(--dim); }
.city-jump a:hover, .city-jump a:focus-visible, .city-countries a:hover, .city-countries a:focus-visible { border-color: var(--calm); outline: none; color: var(--bone); }
.city-jump__n { font-size: 12px; font-weight: 500; color: var(--calm); }
.city-search { margin: 0 0 8px; min-height: 112px; visibility: hidden; }
.city-search.is-ready { visibility: visible; }
.city-search__label { display: block; margin: 0 0 6px; font-size: 14px; color: var(--dim); }
.city-search__input { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; padding: 0 16px; background: var(--surface); border: 1px solid rgba(242, 240, 235, 0.2); border-radius: 12px; color: var(--bone); font: inherit; font-size: 16px; }
.city-search__input:focus-visible { outline: 2px solid var(--calm); outline-offset: 2px; }
.city-search__status { margin: 8px 0 0; min-height: 22px; font-size: 14px; color: var(--dim); }
.city-region { scroll-margin-top: 16px; margin: 36px 0 0; }
.prose .city-region h2 { margin-top: 0; }
.city-country { margin: 20px 0 0; scroll-margin-top: 16px; }
.prose .city-country h3 { margin: 0 0 12px; font-size: 17px; color: var(--bone); }
.prose .city-index .hub-grid { padding: 0; margin: 0 0 8px; grid-template-columns: 1fr; }
.prose .city-index .hub-grid li, .prose .related--cities .related-grid li { margin: 0; padding: 0; }
@media (min-width: 640px) { .prose .city-index .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city-index [hidden], .city-empty[hidden] { display: none; }
.city-empty { margin: 24px 0 0; color: var(--dim); }
.prose .city-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.prose .city-links li { margin: 0; padding: 0; }
.prose .city-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid rgba(242, 240, 235, 0.15); border-radius: 10px; color: var(--bone); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.prose .city-links a:hover, .prose .city-links a:focus-visible { border-color: var(--calm); outline: none; }
.prose .city-index--compact .city-country h3 { font-size: 15px; color: var(--dim); margin: 0 0 8px; }
.city-region__n { font-size: 0.6em; color: var(--calm); font-weight: 500; vertical-align: middle; }
.prose .city-region__hub { margin: 4px 0 8px; }
.prose .related--cities { margin: 36px 0 28px; }
.prose .related--cities h2 { margin-top: 0; }
.prose .related--cities .related-grid { padding: 0; margin: 0 0 12px; }
.prose .related--cities a.hub-card { text-decoration: none; }
.related__all { margin: 0; }
.related__all a { display: inline-flex; align-items: center; min-height: 44px; }
.hub-card__title, .hub-card__desc { overflow-wrap: anywhere; }
