/* 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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(64px, 10vw, 110px) var(--gutter) 52px;
  color: var(--dim);
  font-size: 14px;
  text-align: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer__dot { color: var(--mute); }

.footer__note { margin: 0; max-width: 42ch; }

/* ------------------------------------------------------------ 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; }
  /* Three links and two dots wrap into an orphaned separator at this width.
     One per line, no dots. */
  .footer__links { flex-direction: column; gap: 12px; }
  .footer__dot { display: none; }
}

/* ------------------------------------------------------- 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 > .still { position: static; 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}}
