/* GR Flow site. Mobile first: most visitors arrive from a QR code or a link on their phone.
   Colors from GRFlow/UI/Theme.swift and the App Store art. */
:root {
  --bg: #0e0d0b;
  --surface: #181714;
  --raised: #23221e;
  --ink: #edebe6;
  --muted: rgba(237, 235, 230, 0.6);
  --faint: rgba(237, 235, 230, 0.38);
  --hairline: rgba(237, 235, 230, 0.1);
  --amber: #e2b04a;
  --amber-soft: rgba(226, 176, 74, 0.14);
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: 22px;
  --radius: 22px;
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  /* clip, not hidden: hidden would make the page its own scroll area and unpin the top bar. */
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

/* ---------- Type ---------- */

.engraved {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.engraved.amber { color: var(--amber); }

.display {
  margin: 0;
  font-family: var(--rounded);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.amber { color: var(--amber); }
.muted { color: var(--muted); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top);
  background: rgba(14, 13, 11, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav.scrolled { border-bottom-color: var(--hairline); }

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--hairline);
}

.brand .amber { font-weight: 600; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--amber);
  color: #0b0a08;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.pill:active { transform: scale(0.95); }

/* ---------- Buttons ---------- */

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  height: 56px;
  padding: 0 22px;
  border-radius: 17px;
  background: var(--amber);
  color: #0b0a08;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(226, 176, 74, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store:active { transform: scale(0.97); }
.store svg { width: 20px; height: 20px; flex: none; }

.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.button-quiet:active { transform: scale(0.97); }

.fineprint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Hero ----------
   Like the App Store header: the line, then three phones, connect and edit behind with cull in front.
   On a phone the first screen holds the headline and the top of all three phones. */

.hero {
  position: relative;
  /* Room under the button so its soft shadow fades out before the section's edge. */
  padding: 30px 0 40px;
  text-align: center;
  isolation: isolate;
  /* The glow and the side phones may reach past the screen; they're cut here, so the page
     is never wider than the phone and Safari can't zoom out. */
  overflow: hidden;
  overflow: clip;
}

/* One soft light across the top of the page. It reaches transparent well inside its own box,
   and the box is wider than the screen, so there's never an edge to see. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -25%;
  width: max(180vw, 1400px);
  height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(226, 176, 74, 0.16) 0%, rgba(226, 176, 74, 0.07) 40%, rgba(226, 176, 74, 0) 100%);
  pointer-events: none;
}

.hero .kicker::before,
.hero .kicker::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1.5px;
  margin: 0 10px;
  vertical-align: middle;
  background: currentColor;
}

.hero .display {
  margin-top: 14px;
  font-size: clamp(36px, 10.2vw, 72px);
}

.hero .lead {
  max-width: 21em;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

.hero-copy { display: flex; flex-direction: column; align-items: center; }

/* On a phone the button sits under the phones, so the first screen stays the picture. */
.hero-copy .hero-cta { display: none; }
.hero-cta { display: flex; flex-direction: column; align-items: center; }
.mobile-cta { margin-top: 6px; }
.hero .store { height: 54px; }
.hero .fineprint { margin-top: 10px; font-size: 12.5px; }

/* The phones. --pw is the front phone's width; everything else is measured from it. */
.trio {
  /* Sized so all three phones fit side by side, whole, on any phone screen. */
  --pw: min(40.5vw, 230px);
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: calc(var(--pw) * 2.08);
  margin: 30px 0 0;
  /* The phones run off the bottom like the App Store art, fading into the page. */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.phone {
  --w: var(--pw);
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: #0b0b0a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1.5px #2b2a27,
    0 24px 50px rgba(0, 0, 0, 0.65);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--w) * 0.125);
}

/* The Dynamic Island, drawn over the screenshot's status bar. */
.phone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--w) * 0.058);
  width: 31%;
  height: calc(var(--w) * 0.09);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.phone.front {
  z-index: 3;
  transform: translateX(-50%);
}

.phone.side {
  --w: calc(var(--pw) * 0.88);
  top: calc(var(--pw) * 0.2);
  z-index: 1;
}

.phone.side img { filter: brightness(0.72); }

.phone.left { transform: translateX(calc(-50% - var(--pw) * 0.74)); }
.phone.right { transform: translateX(calc(-50% + var(--pw) * 0.74)); }

/* ---------- In motion: the App Store preview, playing once it's on screen ---------- */

.motion { text-align: center; }

.motion-phone {
  width: min(78vw, 320px);
  margin: 0 auto;
  aspect-ratio: 540 / 1000;
}

.motion-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The video's own backdrop fades out on every side, so no box shows around it. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
                      linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
              linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%);
  mask-composite: intersect;
}

/* Compatibility: engraved like the ring around a lens, names split by fine rules. */
.compat {
  margin: 6px 0 0;
  padding: 22px 0 20px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.compat .engraved { font-size: 10px; color: var(--faint); }

.models {
  display: flex;
  justify-content: center;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.models li {
  padding: 0 clamp(10px, 3.6vw, 22px);
  font-family: var(--rounded);
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.models li + li { border-left: 1px solid rgba(237, 235, 230, 0.22); }

.compat-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- Sections ---------- */

section { padding: 88px 0 0; }

.section-title {
  font-size: clamp(32px, 9vw, 52px);
  margin: 0 0 30px;
}

.engraved + .section-title { margin-top: 12px; }

/* Import, Cull, Edit: big numerals and fine rules, like chapters in a camera manual. */
.chapters {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.chapters li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--hairline);
}

.numeral {
  font-family: var(--rounded);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.chapters h3 {
  margin: 0 0 6px;
  font-family: var(--rounded);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.chapters p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Screenshot strip: swipe sideways, snaps to each shot */
.shots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(var(--pad), env(safe-area-inset-left));
  padding: 0 max(var(--pad), env(safe-area-inset-left)) 4px;
  margin: -40px 0 0;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar { display: none; }

.shots li {
  flex: none;
  width: min(64vw, 270px);
  scroll-snap-align: start;
}

.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface);
}

/* Look cards: the real thing, with a code that works. */
.share-copy p:not(.engraved) { margin: 0 0 14px; color: var(--muted); font-size: 16.5px; max-width: 30em; }

.card-figure { margin: 34px 0 0; }

/* The card you can scan in front, the other two styles fanned out behind it. */
.card-stack {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 4% 0 0;
}

.card-stack img {
  display: block;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(237, 235, 230, 0.08);
}

.card-front { position: relative; z-index: 2; width: 80%; margin: 0 auto; }

.card-back {
  position: absolute;
  top: 0;
  width: 66%;
  filter: brightness(0.82);
}
.card-back.left { left: 0; transform: rotate(-9deg); transform-origin: 50% 100%; }
.card-back.right { right: 0; transform: rotate(9deg); transform-origin: 50% 100%; }


.card-figure figcaption {
  /* Above the cards, so their shadows never fall across it. */
  position: relative;
  z-index: 3;
  max-width: 440px;
  margin: 22px auto 0;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.on-desktop { display: none; }

/* The details: a compact spec sheet, two to a row. Engraved label over a short fact. */
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  margin: 0;
}

.spec div {
  padding: 14px 0 15px;
  border-top: 1px solid var(--hairline);
}

.spec dt {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.spec dd {
  margin: 5px 0 0;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
}

/* Pricing: the free trial first, then what happens after, said plainly. */
.pricing { text-align: center; }

.trial-line {
  margin: 12px 0 0;
  font-size: clamp(40px, 11.5vw, 68px);
  line-height: 1.04;
}

.price-terms {
  max-width: 24em;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
}

/* Today, 14 days, then: a fine rule with an amber mark at each step. */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  margin: 34px auto 30px;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: 5px;
  height: 1px;
  background: linear-gradient(to right, var(--amber), rgba(226, 176, 74, 0.25));
}

.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline li:last-child::before { background: var(--bg); border: 1.5px solid var(--amber); box-sizing: border-box; }

.timeline b {
  font-family: var(--rounded);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.timeline span {
  margin-top: 4px;
  max-width: 9em;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.fineprint strong { color: var(--ink); font-weight: 650; }

/* FAQ */
.faq {
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

.faq details { border-bottom: 1px solid var(--hairline); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq details p {
  margin: -6px 2px 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Closing call to action */
.closing {
  padding: 84px 0 10px;
  text-align: center;
}

.closing .icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 21px;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(226, 176, 74, 0.14);
}

.closing .display { font-size: clamp(26px, 7.6vw, 48px); margin-bottom: 24px; white-space: nowrap; }

/* ---------- Footer ---------- */

footer.site {
  margin-top: 70px;
  padding: 26px 0 max(30px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--faint);
}

footer.site .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

footer.site nav { display: flex; gap: 22px; }

footer.site a {
  color: var(--muted);
  text-decoration: none;
}

footer.site p { margin: 0; }

/* ---------- Text pages: privacy, support, terms ---------- */

.doc {
  max-width: 680px;
  padding-top: 36px;
}

.doc .display { font-size: clamp(34px, 9vw, 48px); margin: 10px 0 6px; }
.doc .updated { margin: 0 0 26px; font-size: 13px; color: var(--faint); }
.doc h2 { margin: 34px 0 8px; font-family: var(--rounded); font-size: 21px; font-weight: 750; }
.doc p { margin: 0 0 14px; color: var(--muted); }
.doc p strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--amber); text-decoration: none; }
.doc a.pill, .doc a.store { color: #0b0a08; }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 8px;
  padding: 18px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.contact-card div { min-width: 0; }
.contact-card strong { display: block; font-size: 16px; color: var(--ink); }
.contact-card span { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Guides ---------- */

.crumbs { margin: 0 0 6px; font-size: 13px; }
.crumbs a { color: var(--amber); }
.crumbs a::before { content: "\2039\00a0"; }

.doc figure { margin: 26px auto 30px; max-width: 260px; }
.doc figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--hairline);
}
.doc figcaption { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }

/* The app, offered once near the end of each guide, in the same card as the contact page. */
.guide-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 10px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.guide-cta img { flex: none; border-radius: 13px; }
.guide-cta div { flex: 1; min-width: 0; }
.guide-cta strong { display: block; font-size: 16px; color: var(--ink); }
.guide-cta span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.guide-cta .store { flex: none; width: auto; height: 44px; padding: 0 18px; border-radius: 13px; font-size: 15px; }
@media (max-width: 520px) {
  .guide-cta { flex-wrap: wrap; }
  .guide-cta div { flex-basis: calc(100% - 72px); }
  .guide-cta .store { width: 100%; text-align: center; }
}

.guide-links { margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.guide-links li { margin: 0 0 10px; }

/* The guides index: one quiet row per guide, divided by hairlines. */
.guide-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.guide-list li { border-bottom: 1px solid var(--hairline); }
.guide-list a { display: block; padding: 20px 0; }
.guide-list strong { display: block; font-family: var(--rounded); font-size: 19px; font-weight: 750; color: var(--ink); line-height: 1.25; }
.guide-list span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.guide-list a:hover strong { color: var(--amber); }

/* ---------- Look pages ---------- */

.look-doc .look-lead { font-size: 17px; }

/* Before and after, stacked; the after photo is revealed from the left as the slider moves. */
.compare {
  position: relative;
  max-width: 440px;
  margin: 26px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--hairline);
  user-select: none;
}
.compare img { display: block; width: 100%; height: auto; }
.compare .after { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
/* Sideways drags belong to the slider; vertical swipes still scroll the page. */
.compare { touch-action: pan-y; cursor: ew-resize; }

/* The round handle on the divider, so it's obvious the photo can be dragged. */
.compare .handle {
  position: absolute;
  top: 50%;
  left: var(--split);
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(242, 239, 232, 0.95);
  color: #1b1a16;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: transform 0.15s ease;
}
.compare.dragging .handle { transform: scale(1.1); }

/* Kept for the keyboard and screen readers, out of the way of touches. */
.compare input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.compare input:focus-visible ~ .handle,
.compare:has(input:focus-visible) .handle { outline: 2px solid var(--amber); outline-offset: 3px; }
.compare .tag {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 13, 11, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare .before-tag { right: 12px; }
.compare .after-tag { left: 12px; }
.compare figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

.look-add { margin: 24px auto 6px; max-width: 440px; text-align: center; }
.look-add .store { width: 100%; max-width: none; }
.look-qr { display: none; }

.look-spec { margin-top: 18px; }

/* The looks index: one photo tile per look. */
.look-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.look-grid a { display: block; }
.look-grid img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--hairline); }
.look-grid strong { display: block; margin-top: 14px; font-family: var(--rounded); font-size: 19px; font-weight: 750; color: var(--ink); }
.look-grid span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

@media (min-width: 900px) {
  /* On a computer, the code sits beside the button for scanning with an iPhone. */
  .look-add { display: flex; align-items: center; gap: 24px; max-width: none; text-align: left; }
  .look-add .store { width: auto; flex: none; }
  .look-qr { display: flex; align-items: center; gap: 14px; }
  .look-qr img { width: 96px; height: 96px; padding: 8px; border-radius: 12px; background: #f2efe8; image-rendering: pixelated; }
  .look-qr span { font-size: 13px; color: var(--muted); max-width: 15em; }
}

/* ---------- Shared look page ---------- */

.look-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.look {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 10px;
  position: relative;
  isolation: isolate;
}

.look::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 700px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(226, 176, 74, 0.18), transparent);
  pointer-events: none;
}

.look .mark {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 26px;
}

.look h1 {
  margin-top: 8px;
  font-size: clamp(36px, 10.5vw, 54px);
  overflow-wrap: anywhere;
}

/* What the look changes, as one engraved line rather than chips. */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.tags li + li::before {
  content: "·";
  margin: 0 0.7em;
  color: var(--faint);
}

.tags li.profile { color: var(--amber); }

.how {
  width: 100%;
  max-width: 340px;
  margin: 30px 0 26px;
  padding: 0;
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--hairline);
}

.how li {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--muted);
}

.how li b {
  font-family: var(--rounded);
  font-weight: 800;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.look .button-quiet { margin-top: 10px; }

.look-about {
  margin-top: 34px;
  font-size: 13px;
  color: var(--faint);
}

.look-about a { color: var(--muted); }

/* ---------- Larger screens ---------- */

@media (min-width: 760px) {
  :root { --pad: 32px; }

  .shots { justify-content: safe center; margin-top: -20px; }
  .shots li { width: 230px; }

  .chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 0; }
  .chapters li { grid-template-columns: 1fr; gap: 14px; border-top: 1px solid var(--hairline); border-bottom: 0; }

  .spec { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }

  .share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .card-figure { margin: 0; }
  .on-phone { display: none; }
  .on-desktop { display: inline; }
}

@media (min-width: 980px) {
  .hero { padding-top: 64px; text-align: left; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .hero-copy { align-items: flex-start; }
  .hero .lead { margin-left: 0; font-size: 18px; max-width: 24em; }
  .hero .display { font-size: clamp(40px, 3.9vw, 48px); }
  .hero .display .amber { white-space: nowrap; }
  .hero-copy .hero-cta { display: flex; align-items: flex-start; margin-top: 30px; }
  .mobile-cta { display: none; }
  /* Wide enough for all three phones whole, centered on its column and free to reach into the gap. */
  .trio { --pw: 225px; margin: 0; height: calc(var(--pw) * 2.12); width: calc(var(--pw) * 2.6); left: auto; transform: none; justify-self: center; }
  .hero::before { left: 70%; }
}

@media (hover: hover) {
  .store:hover { box-shadow: 0 14px 40px rgba(226, 176, 74, 0.3); }
  .pill:hover, .button-quiet:hover { opacity: 0.9; }
  footer.site a:hover { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* An inline link in body copy, in the accent color. */
.text-link { color: var(--amber); font-weight: 600; text-decoration: none; }

/* Look settings stay two to a row, since some values are a short phrase. */
@media (min-width: 900px) { .look-spec { grid-template-columns: repeat(2, 1fr); } }
