/* My Photo Copy site: home, guides, and the shared header/footer.
   Legal pages load this first for the header and footer, then style.css for their body. */

@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans_800ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #10211d;
  --ink-soft: #4b5d57;
  --ink-warm: #3c3a1f;
  --paper: #fff8ef;
  --golden: #f9c74f;
  --golden-soft: #fff3d6;
  --sage: #79cbb3;
  --mist: #e8f0ec;
  --line: #e3d8c6;
  --check: #2f8f6f;
  --measure: 36rem;
  --gutter: clamp(20px, 5vw, 64px);
  /* One vertical rhythm: sections, the gap under a section heading, and the gap between blocks. */
  --space-section: clamp(56px, 8vw, 112px);
  --space-block: clamp(28px, 3.2vw, 44px);
  --font: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.inner { max-width: 76rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------------------------------------------------------------- header (every page) */
.site-head {
  position: relative; z-index: 10;
  background: var(--golden); color: var(--ink);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.primary { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; line-height: 1.2; }
.primary a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.primary a:hover { text-decoration: underline; text-underline-offset: 4px; }

.lang { position: relative; flex: none; font-size: 14px; line-height: 1.2; }
.lang summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px 8px 12px; border-radius: 10px;
  font-weight: 800; letter-spacing: 0.02em; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(16, 33, 29, 0.28);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: "▾"; font-size: 12px; font-weight: 400; }
.lang summary:hover { background: rgba(255, 255, 255, 0.35); }
.lang[open] summary { background: #fff; box-shadow: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px; min-width: 168px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(16, 33, 29, 0.35), 0 0 0 1px rgba(16, 33, 29, 0.06);
}
.lang li { margin: 0; }
.lang a {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.lang a span { color: var(--ink-soft); font-weight: 400; font-size: 13px; }
.lang a:hover { background: var(--paper); }
.lang a[aria-current] { background: var(--golden-soft); }

/* ---------------------------------------------------------------- App Store badge (Apple artwork, unaltered) */
.badge { display: inline-block; flex: none; line-height: 0; border-radius: 9px; }
.badge img { height: 48px; width: auto; }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--golden); overflow: hidden; }
.hero-grid { padding-top: clamp(20px, 3.4vw, 44px); display: grid; gap: 0; }
.hero h1 {
  margin: 0;
  font-weight: 800;
  /* Capped so "No computer needed." (kept on one line by .nb) fits the text measure at every width. */
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.hero h1 .nb { white-space: nowrap; }
.hero-copy { margin-top: clamp(20px, 2.2vw, 30px); }
.hero-lede { margin: 0; max-width: 29rem; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.cta .badge { display: block; }
.how {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 0;
  font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none;
  text-decoration-line: underline; text-decoration-color: rgba(16, 33, 29, .25);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}
.how span { display: inline-block; transition: transform .25s cubic-bezier(.3, .7, .2, 1); }
.how:hover, .how:focus-visible { text-decoration-color: var(--ink); }
.how:hover span, .how:focus-visible span { transform: translateY(3px); }
.free { margin: 12px 0 0; font-size: 15px; color: var(--ink-warm); }

/* The drives that work, as the renders the rest of the page already uses: only drives that have one. */
.drives { margin-top: clamp(24px, 3vw, 36px); padding-top: 16px; border-top: 1px solid rgba(16, 33, 29, .16); max-width: 29rem; }
.drives p { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-warm); }
.drives ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
.drives li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.drives img { width: 64px; height: 43px; object-fit: contain; object-position: left bottom; }
.drives span { font-size: 13px; line-height: 1.25; color: var(--ink); font-weight: 600; white-space: nowrap; }
.drives img { flex-shrink: 0; }

.hero-art { margin-top: clamp(4px, 2vw, 20px); }
.hero-art img {
  display: block; width: 100%; max-width: 1180px; margin: 0 auto;
  /* One moment on load: the render slides in toward the stick and settles, then breathes. */
  animation: settle 1.1s cubic-bezier(.2, .75, .2, 1) both, float 7s ease-in-out 1.1s infinite;
}
@keyframes settle { from { opacity: 0; transform: translate(-3%, 16px) scale(.97) rotate(-1.2deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Below 1024 the copy block dissolves into the grid so the render sits right under the lede:
   h1, lede, render, then the badge row, the free line and the drives. */
@media (max-width: 1023.98px) {
  .hero-copy { display: contents; }
  .hero-lede { order: 1; margin-top: clamp(16px, 2.2vw, 30px); }
  .hero-art { order: 2; }
  .hero .cta { order: 3; margin-top: 8px; }
  .free { order: 4; }
  .drives { order: 5; }
}

/* Two columns from 1024: words left, the product right, running off the page edge. */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    grid-template-areas: "h1 h1" "copy art";
    column-gap: clamp(24px, 3vw, 48px);
  }
  .hero h1 { grid-area: h1; }
  .hero-copy { grid-area: copy; }
  .hero-art { grid-area: art; align-self: center; margin: 0; }
  .hero .facts { margin-top: 40px; }
  .hero-art img {
    /* The column, plus the gutter and the margin beside the 76rem measure, plus a little past the edge. */
    width: calc(100% + var(--gutter) + max(0px, (100vw - 76rem) / 2) + 2vw);
    max-width: none; margin: 0;
  }
}

.facts {
  list-style: none; margin: 0 auto;
  padding-top: 8px; padding-bottom: var(--space-block);
  display: grid; gap: 18px 32px; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts li { font-size: 15px; line-height: 1.45; color: var(--ink-warm); border-top: 2px solid var(--ink); padding-top: 12px; }
.facts b { display: block; font-size: 17px; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--space-section) 0; }
.section h2 {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14em;
}
.section .lede { margin: 0; max-width: var(--measure); font-size: 19px; color: var(--ink-soft); }
.aside { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; max-width: var(--measure); }

/* Tour, on ink so the screenshots' cream edges read. */
.tour { background: var(--ink); color: #fff; }
.tour h2 { color: #fff; }
.tour .lede { color: #c9d6d0; }
.tour-grid { display: none; }
@media (min-width: 900px) {
  .tour-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; margin-top: var(--space-block); }
}
.tour-steps { list-style: none; margin: 0; padding: 0; }
.tour-steps button {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer;
  padding: 18px 20px; border-radius: 16px; color: #b7c7c0; font-size: 16px; line-height: 1.5;
  transition: background-color .2s, color .2s;
}
.tour-steps button b { display: block; font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.tour-steps button:hover { background: #1c3a33; }
.tour-steps button[aria-selected="true"] { background: var(--golden); color: var(--ink-warm); }
.tour-steps button[aria-selected="true"] b { color: var(--ink); }
.tour-steps button:focus-visible { outline: 3px solid var(--golden); outline-offset: 2px; }
.tour-phone { margin: 0; }
.tour-phone img { width: 100%; border-radius: 44px; border: 10px solid #2c4a42; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); transition: opacity .18s; }
.tour-phone img.swap { opacity: .35; }
.strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: var(--space-block) calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 4px;
  scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .strip { display: none; } }
.strip img { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; border-radius: 28px; border: 6px solid #2c4a42; }

/* Which drive fits. */
.picker { margin-top: var(--space-block); }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 5px; gap: 4px; box-shadow: inset 0 0 0 1px #cfe0d8; max-width: 100%; }
.seg button { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-align: center; transition: background-color .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.seg button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.pick { display: grid; gap: 12px 48px; align-items: center; margin-top: 28px; }
@media (min-width: 760px) { .pick { grid-template-columns: 320px 1fr; } }
.pick[hidden] { display: none; }
.pick h3, .sizer h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.pick p { margin: 0 0 10px; max-width: var(--measure); }

.sizer { margin-top: var(--space-block); padding-top: var(--space-block); border-top: 2px solid var(--ink); max-width: 40rem; }
.sizer label { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-weight: 600; margin: 18px 0 0; }
.sizer output { font-variant-numeric: tabular-nums; }
.sizer input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); height: 28px; margin: 0; }
.need { font-size: 22px; margin: 20px 0 8px; letter-spacing: -0.01em; }
.need b { font-weight: 800; }

/* Proof. */
.proof { background: var(--mist); }
.proof .inner { display: grid; gap: 40px 64px; align-items: center; }
@media (min-width: 900px) { .proof .inner { grid-template-columns: 1.05fr 0.95fr; } }
.proof p { color: var(--ink-soft); max-width: var(--measure); margin: 0 0 16px; }
.path { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; color: var(--ink); overflow-wrap: anywhere; }
.proof .result {
  margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid #bcd3c9;
  font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink);
}
.proof .result small { display: block; margin-top: 8px; font-weight: 400; font-size: 16px; letter-spacing: 0; line-height: 1.5; color: var(--ink-soft); }
.proof figure { margin: 0; }
.proof figure img { width: 100%; max-width: 460px; margin: 0 auto; }

/* Comparison: fixed layout, a 28% label column and three equal value columns; every cell has the
   same horizontal padding, the highlighted column included. */
.compare .table-wrap { margin: var(--space-block) 0 20px; }
.compare table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare col.c-label { width: 28%; }
/* Pull the table out by one cell padding so the labels' text lines up with the heading above. */
@media (min-width: 601px) { .compare table { width: calc(100% + 32px); margin: 0 -16px; } }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.4; }
.compare thead th { font-size: 15px; font-weight: 600; color: var(--ink-soft); vertical-align: bottom; }
.compare thead th:nth-child(2) { background: var(--golden); color: var(--ink); font-weight: 800; border-radius: 12px 12px 0 0; border-bottom-color: var(--golden); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody td { color: var(--ink-soft); }
.compare tbody td:nth-child(2) { background: var(--golden-soft); }
.compare tbody tr:last-child td:nth-child(2) { border-radius: 0 0 12px 12px; }
.compare td.y { color: var(--ink); font-weight: 600; }
.compare td.y::before { content: "✓"; display: inline-block; width: 1.3em; color: var(--check); font-weight: 800; }

/* When. */
.when { padding-top: 0; }
.cases { display: grid; gap: 28px 40px; margin-top: var(--space-block); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cases article { border-top: 2px solid var(--ink); padding-top: 16px; }
.cases h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.cases p { margin: 0; color: var(--ink-soft); }

/* FAQ. */
.faq { background: #fff; }
.faq .inner { display: grid; gap: 24px 64px; align-items: start; }
@media (min-width: 900px) { .faq .inner { grid-template-columns: 0.8fr 1.2fr; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 19px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .3s cubic-bezier(.3, .7, .2, 1); }
.faq details[open]:not(.is-closing) summary::after { transform: translateY(-52%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: var(--measure); }

/* Closing band, shared by home and guides. */
.closing { background: var(--golden); text-align: center; padding: var(--space-section) 0; }
.closing h2 { margin: 0 auto; max-width: 16em; font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.closing p { margin: 16px auto 0; max-width: var(--measure); color: var(--ink-warm); }
.closing .badge { margin-top: var(--space-block); }

/* ---------------------------------------------------------------- footer (every page) */

/* ---------------------------------------------------------------- guides */
.guide-head { background: var(--golden); }
.guide-head .inner { padding-top: clamp(8px, 2vw, 24px); padding-bottom: var(--space-block); }
.guide-head h1 { margin: 14px 0 14px; font-weight: 800; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.04em; max-width: 16em; }
.guide-head .lede { margin: 0; max-width: var(--measure); font-size: 19px; line-height: 1.5; }
.crumb { font-size: 14px; font-weight: 600; color: var(--ink-warm); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb span { margin: 0 6px; opacity: 0.6; }

.article { max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-block) var(--gutter) var(--space-section); }
.article > :first-child { margin-top: 0; }
.article h2 { font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; line-height: 1.12; margin: 48px 0 12px; }
.article h3 { font-weight: 800; font-size: 20px; margin: 28px 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.article p { margin: 0 0 16px; }
.article p, .article li { color: #2c3a35; }
.article ol, .article ul { padding-left: 22px; margin: 0 0 16px; }
.article li { margin: 0 0 8px; }
.article code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
.article .callout { background: var(--mist); border-radius: 18px; padding: 18px 22px; margin: 24px 0; }
.article .callout p { margin: 0; }
.article .callout p + p { margin-top: 10px; }
.article figure { margin: 32px 0; }
.article figure img { border-radius: 28px; border: 8px solid var(--ink); max-width: 300px; margin: 0 auto; }
.article figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.article .table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.article table { border-collapse: collapse; width: 100%; font-size: 15px; }
.article th, .article td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 800; }
.article .cta-box { background: var(--golden); color: var(--ink); border-radius: 22px; padding: 28px; margin: 40px 0; }
.article .cta-box h2 { margin-top: 0; }
.article .cta-box p { color: var(--ink-warm); }
.article .cta-box .badge { margin-top: 8px; }

.guide-index { padding-top: var(--space-block); }
.guide-list { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px; border-radius: 22px; background: #fff; text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s;
}
.guide-card:hover { box-shadow: 0 0 0 2px var(--ink); }
.guide-card h2 { margin: 0 0 10px; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.guide-card p { margin: 0 0 20px; color: var(--ink-soft); font-size: 16px; }
.guide-card .more { margin-top: auto; font-weight: 600; font-size: 15px; }

/* ---------------------------------------------------------------- tablet: the header sheds the in-page links */
@media (max-width: 859px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary { gap: 20px; }
  .primary .n-tour, .primary .n-q { display: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 600px) {
  :root { --space-section: 48px; --space-block: 24px; }
  body { font-size: 16px; line-height: 1.5; }

  .bar { min-height: 60px; gap: 14px; }
  .brand { gap: 10px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .brand b { font-size: 16px; }
  .primary { gap: 16px; font-size: 14px; }
  .lang summary { padding: 7px 8px 7px 10px; }

  .badge img { height: 44px; }

  .hero-grid { padding-top: 16px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); line-height: 0.98; letter-spacing: -0.04em; }
  .hero-lede { font-size: 16px; margin-top: 16px; }
  .cta { margin-top: 18px; gap: 10px 20px; }
  .how { font-size: 15px; }
  .free { font-size: 13px; margin-top: 10px; }
  .drives { margin-top: 20px; padding-top: 12px; }
  .drives p { font-size: 11px; }
  /* Three equal columns across the row, each render centred over its label. */
  .drives { max-width: none; }
  .drives ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
  .drives li { align-items: center; text-align: center; min-width: 0; }
  .drives img { width: 56px; height: 37px; object-position: center bottom; }
  .drives span { font-size: 12px; white-space: normal; }
  .hero-art { margin-top: 14px; }
  .facts { gap: 14px 16px; padding-bottom: 28px; }
  .facts li { font-size: 13px; }
  .facts b { font-size: 15px; }

  .section h2 { font-size: 28px; margin-bottom: 10px; }
  .section .lede { font-size: 16px; }

  .seg { display: flex; }
  .seg button { flex: 1; padding: 10px 8px; font-size: 14px; }
  .pick img { max-width: 220px; }
  .need { font-size: 19px; }

  .proof .inner { gap: 20px; }
  .proof p { font-size: 15px; margin-bottom: 12px; }
  .proof figure { display: none; }
  .proof .result { margin-top: 16px; padding-top: 14px; font-size: 26px; }
  .proof .result small { font-size: 14px; }

  /* Comparison stacks: a sticky row of column names, then each row's label over its three answers. */
  .compare .table-wrap { margin-top: 20px; }
  .compare table, .compare thead, .compare tbody { display: block; }
  .compare colgroup { display: none; }
  .compare thead tr, .compare tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 6px; }
  .compare thead tr { position: sticky; top: 0; z-index: 1; background: var(--paper); padding: 8px 0; }
  .compare thead td { display: none; }
  .compare thead th, .compare thead th:nth-child(2) { padding: 8px 10px; border: 0; border-radius: 10px; font-size: 13px; line-height: 1.25; }
  .compare tbody tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 6px; font-size: 15px; }
  .compare tbody td, .compare tbody tr:last-child td:nth-child(2) { border: 0; padding: 6px 10px; font-size: 14px; line-height: 1.3; border-radius: 10px; }
  .compare td.y::before { width: 1.1em; }

  .cases { gap: 20px; }
  .cases h3 { font-size: 17px; }
  .cases p { font-size: 15px; }

  .faq .inner { gap: 12px; }
  .faq summary { padding: 14px 32px 14px 0; font-size: 16px; }
  .faq summary::after { font-size: 22px; }
  .faq details p { font-size: 15px; margin-bottom: 14px; }

  .closing h2 { font-size: 30px; }
  .closing p { font-size: 15px; }


  .guide-head .inner { padding-top: 8px; }
  .guide-head h1 { font-size: clamp(30px, 8.6vw, 38px); margin: 10px 0; }
  .guide-head .lede { font-size: 16px; }
  .article h2 { margin-top: 36px; }
  .article table { font-size: 14px; }
  .article .cta-box { padding: 22px; }
  .guide-card { padding: 22px; }
  .guide-card h2 { font-size: 20px; }
}

/* Very narrow phones keep brand, Guides and the language selector. */
@media (max-width: 440px) {
  .primary .n-support { display: none; }
}



/* Jakarta sets the full stop wide at display sizes; pull it in so "backup." reads as one word. */
h1 .p { margin-left: -0.06em; }

/* The verified count animates: equal-width figures and no break inside the number. */
[data-count] { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ================================================================ polish: pattern, marks, motion
   Every pattern here is a brand render (img/motif.webp, img/frames*.webp, img/check.webp); nothing
   is drawn in CSS. Motion is transform/opacity only, so no animation moves the layout. */

/* The brand motif, faint, in the two golden bands. Its golden cards vanish on golden; the coral,
   ink and mint ones stay as a whisper at the edges, behind the text but never under it heavily. */
.hero, .closing { position: relative; isolation: isolate; }
.hero::before, .closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("/img/motif.webp") center bottom / max(1600px, 100%) auto no-repeat;
}
.hero::before { opacity: .8; }
.closing::before { background-position: center 85%; }
@media (max-width: 600px) {
  .hero::before, .closing::before { background-size: 150% auto; }
  .hero::before { background-position: center 88%; }
}

/* The line-art photo cards, peeking in from an edge: on the ink tour, the guide heads, the FAQ. */
.tour, .guide-head, .faq { position: relative; overflow: hidden; isolation: isolate; }
.tour::before, .guide-head::after, .faq::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 640 / 539;
  background: url("/img/frames-light.webp") center / contain no-repeat;
}
.tour::before { width: clamp(280px, 34vw, 520px); top: -6%; right: -7%; opacity: .07; transform: rotate(9deg); }
.guide-head::after { background-image: url("/img/frames.webp"); width: 340px; right: -60px; bottom: -120px; opacity: .1; transform: rotate(-8deg); display: none; }
.faq::after { background-image: url("/img/frames.webp"); width: 380px; left: -90px; bottom: -110px; opacity: .06; transform: rotate(12deg); display: none; }
@media (min-width: 900px) { .guide-head::after, .faq::after { display: block; } }

/* The brand check (cut from the mark render) beside each fact label, and the fact rules drawing in after the render lands. */
.facts li { position: relative; border-top: 0; }
.facts li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink);
  transform-origin: left; animation: rule .7s cubic-bezier(.3, .7, .2, 1) both;
}
.facts li:nth-child(1)::before { animation-delay: .55s; }
.facts li:nth-child(2)::before { animation-delay: .65s; }
.facts li:nth-child(3)::before { animation-delay: .75s; }
.facts li:nth-child(4)::before { animation-delay: .85s; }
@keyframes rule { from { transform: scaleX(0); } }
.facts b::before {
  content: ""; display: inline-block; width: 15px; height: 15px; margin: 0 7px 0 0; vertical-align: -1px;
  background: url("/img/check.webp") center / contain no-repeat;
}

/* The "Verified" pill: the brand check and one word, on white. */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 5px 14px 5px 7px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px #bcd3c9;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
}
.proof .pill { color: var(--ink); margin: 0 0 18px; }
.pill::before { content: ""; width: 20px; height: 20px; background: url("/img/check.webp") center / contain no-repeat; }

/* Focus: one ring, ink on light grounds and golden on the ink band. */
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.tour :focus-visible { outline-color: var(--golden); }

/* App Store badge: only the link moves; Apple's artwork is untouched. */
.badge { transition: transform .2s cubic-bezier(.3, .7, .2, 1), box-shadow .2s; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(16, 33, 29, .55); }
.badge:active { transform: translateY(0) scale(.97); box-shadow: 0 4px 10px -6px rgba(16, 33, 29, .5); transition-duration: .08s; }

/* Language menu opens with a short drop. */
.lang[open] ul { animation: menu-in .18s cubic-bezier(.3, .7, .2, 1); transform-origin: top right; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Tour: numbered steps; the selected one fills a bar while the tour plays itself. */
.tour-steps { counter-reset: step; }
.tour-steps button { position: relative; counter-increment: step; }
.tour-steps button b::before {
  content: counter(step, decimal-leading-zero); display: inline-block; min-width: 2.1em;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums;
  color: var(--sage); vertical-align: 2px;
}
.tour-steps button[aria-selected="true"] b::before { color: var(--ink); }
.tour-steps button::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 8px; height: 3px; border-radius: 2px;
  background: rgba(16, 33, 29, .75); transform: scaleX(0); transform-origin: left; opacity: 0;
}
.tour-grid.auto button[aria-selected="true"]::after { opacity: 1; animation: tourfill 6.5s linear forwards; }
.tour-grid.auto.paused button[aria-selected="true"]::after, .tour-grid.auto.off button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes tourfill { to { transform: scaleX(1); } }
.tour-phone img { transition: opacity .2s, transform .35s cubic-bezier(.3, .7, .2, 1); }
.tour-phone img.swap { transform: scale(.985); }

/* Drive picker: one ink thumb slides between the two options (without JS the button fills itself). */
.seg { position: relative; }
.seg button { position: relative; z-index: 1; }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; }
.seg.js .seg-thumb { opacity: 1; }
.seg.js.ready .seg-thumb { transition: transform .38s cubic-bezier(.3, .8, .2, 1), width .38s cubic-bezier(.3, .8, .2, 1); }
.seg.js button[aria-checked="true"] { background: transparent; }
.pick:not([hidden]) > img { animation: pick-in .4s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes pick-in { from { opacity: 0; transform: translateX(-12px); } }

/* Size estimate: the recommended drive is a chip that pops when it changes. */
.need [data-out="drive"] { display: inline-block; padding: 0 .38em; border-radius: 9px; background: var(--golden); }
.need [data-out="drive"].bump { animation: bump .45s cubic-bezier(.3, .7, .2, 1); }
@keyframes bump { 40% { transform: scale(1.12); } }
.need [data-out="gb"] { font-variant-numeric: tabular-nums; }

/* Guides: a reading bar under the page top, and the card arrow leaning in on hover. */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 3px; pointer-events: none;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
}
.guide-card .more span { display: inline-block; transition: transform .2s cubic-bezier(.3, .7, .2, 1); }
.guide-card:hover .more span { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .how span { transition: none; }
  .hero-art img, .facts li::before, .lang[open] ul, .pick:not([hidden]) > img, .need [data-out="drive"].bump { animation: none; }
  .tour-steps button, .seg button, .tour-phone img, .guide-card, .guide-card .more span, .badge,
  .seg.js.ready .seg-thumb, .faq summary::after { transition: none; }
  .badge:hover, .badge:active { transform: none; }
}

/* Owner: "don't see it". The same elements, set to be seen. */
.tour::before { opacity: .2; width: clamp(320px, 38vw, 580px); }
.guide-head::after { opacity: .22; }
.faq::after { opacity: .14; }
.tour-steps button b::before { font-size: 20px; letter-spacing: -.01em; min-width: 2em; vertical-align: -1px; color: var(--golden); }
.tour-steps button[aria-selected="true"] b::before { color: var(--ink); }
.tour-steps button[aria-selected="true"] { background-image: linear-gradient(rgba(16, 33, 29, .16), rgba(16, 33, 29, .16)); background-repeat: no-repeat; background-size: calc(100% - 40px) 5px; background-position: 20px calc(100% - 9px); }
.tour-steps button::after { height: 5px; bottom: 9px; border-radius: 3px; background: var(--ink); }
.read-progress { height: 5px; background: var(--apricot); box-shadow: 0 1px 6px rgba(255, 122, 102, .5); }
.guide-card:hover .more span { transform: translateX(8px); }
.read-progress { background: var(--ink); box-shadow: none; }

/* Footer: ink, three columns, the sister app as a card, a quiet sign-off. */
.site-foot { background: var(--ink); color: #c9d6d0; padding: 72px 0 0; margin-top: 0; font-size: 15px; }
.site-foot a { color: #eef4f0; text-decoration: none; }
.site-foot a:hover { color: var(--golden); }
.foot-grid { display: grid; gap: 40px 56px; grid-template-columns: 1.3fr 1fr 1.3fr; padding-bottom: 56px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo img { border-radius: 10px; }
.foot-logo b { font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.foot-brand p { margin: 0 0 20px; max-width: 26rem; line-height: 1.55; }
.foot-col h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8fa39b; font-weight: 700; margin: 0 0 12px; }
.foot-col h2 ~ h2 { margin-top: 28px; }
.foot-col > a { display: block; padding: 5px 0; }
.xpromo { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, border-color .2s, transform .2s; }
.xpromo:hover { background: rgba(255, 255, 255, .1); border-color: rgba(249, 199, 79, .5); color: #eef4f0; transform: translateY(-2px); }
.xpromo img { border-radius: 13px; flex: 0 0 auto; }
.xpromo b { display: block; color: #fff; font-size: 16px; }
.xpromo small { display: block; font-size: 14px; line-height: 1.45; color: #c9d6d0; margin: 3px 0 8px; }
.xpromo em { font-style: normal; font-weight: 700; color: var(--golden); font-size: 14px; }
.xpromo em span { display: inline-block; transition: transform .2s; }
.xpromo:hover em span { transform: translateX(4px); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8fa39b; }
.heart { display: inline-block; color: #ff4d5e; animation: beat 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-foot { padding-top: 48px; } .foot-grid { grid-template-columns: 1fr; gap: 32px; } .foot-base { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } .xpromo, .xpromo em span { transition: none; } .xpromo:hover { transform: none; } }
.foot-col > a.xpromo { display: flex; margin-bottom: 4px; }
.foot-col > a.xpromo { padding: 18px; gap: 16px; align-items: center; }
.xpromo small { margin: 4px 0 10px; }

/* Sticky header: transparent on the golden top, a frosted compact bar once you scroll, out of the way
   while reading down, back on the first scroll up; the badge joins it once the hero is gone. */
.site-head { position: sticky; top: 0; z-index: 40; transition: background-color .3s, box-shadow .3s, transform .35s cubic-bezier(.3, .7, .2, 1); }
.site-head .bar { transition: min-height .3s; }
.site-head.is-scrolled { background: rgba(255, 248, 239, .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(16, 33, 29, .08), 0 10px 30px -18px rgba(16, 33, 29, .45); }
.site-head.is-scrolled .bar { min-height: 62px; }
.site-head.is-hidden { transform: translateY(-100%); box-shadow: none; }
.head-cta { display: flex; align-items: center; max-width: 0; opacity: 0; overflow: hidden; transform: translateY(-6px); pointer-events: none; transition: max-width .4s cubic-bezier(.3, .7, .2, 1), opacity .25s, transform .3s; }
.head-cta .badge { display: block; padding: 2px; }
.head-cta .badge img { height: 34px; width: auto; }
.site-head.show-cta .head-cta { max-width: 160px; opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 560px) {
  .site-head.is-scrolled .bar { min-height: 56px; }
  .site-head.show-cta .primary { display: none; }
  .head-cta .badge img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .site-head, .site-head .bar, .head-cta { transition: none; } .site-head.is-hidden { transform: none; } }

/* ---------------------------------------------------------------- the product film
   A real screen recording in a plain bezel. The screen keeps the film's own ratio (640x1300), so
   nothing is letterboxed and the box is reserved before a byte of video arrives. */
.film-grid { display: grid; gap: 0; }
.film-copy { display: contents; }
.film h2 { order: 1; }
.film .lede { order: 2; }
.beats { order: 3; }
.device { order: 4; }
.film-note { order: 5; }

.beats { list-style: none; margin: var(--space-block) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.beats button {
  all: unset; box-sizing: border-box; display: block; width: 100%; height: 100%; cursor: pointer; position: relative; overflow: hidden;
  padding: 12px 14px 16px; border-radius: 14px; background: var(--mist); color: var(--ink-soft);
  font-size: 15px; line-height: 1.45; transition: background-color .2s, color .2s;
}
.beats b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.beats b::before { content: counter(beat); counter-increment: beat; margin-right: .45em; color: var(--check); font-weight: 800; }
.beats { counter-reset: beat; }
.beats span { display: block; margin-top: 2px; }
.beats i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; }
.beats button:hover { background: #dde9e3; }
.beats button[aria-current="step"] { background: var(--golden); color: var(--ink-warm); }
.beats button[aria-current="step"] b::before { color: var(--ink); }
.beats button[aria-current="step"] i { opacity: 1; }

.device { margin: var(--space-block) auto 0; width: min(320px, 72vw); }
.device-screen {
  position: relative; overflow: hidden;
  border: 10px solid var(--ink); border-radius: 46px; background: var(--paper);
  box-shadow: 0 0 0 1px rgba(16, 33, 29, .5), 0 34px 70px -24px rgba(16, 33, 29, .55), 0 10px 22px -12px rgba(16, 33, 29, .35);
}
.device video { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1300; object-fit: cover; border-radius: 36px; background: var(--paper); cursor: pointer; }
.film-toggle {
  all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  margin: 16px auto 0; min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 800;
}
.film-toggle[hidden] { display: none; }
.film-toggle.is-paused { background: var(--golden); color: var(--ink); }
.film-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.film-note { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 600px) {
  /* On a phone the beats become three chips above the phone: titles only, the bar shows the progress. */
  .beats { gap: 6px; margin-top: 20px; }
  .beats button { padding: 10px 8px 12px; text-align: center; border-radius: 12px; }
  .beats b { font-size: 14px; }
  .beats b::before { content: none; }
  .beats span { display: none; }
  .device { width: min(280px, 70vw); margin-top: 20px; }
  .device-screen { border-width: 8px; border-radius: 40px; }
  .device video { border-radius: 32px; }
}

@media (min-width: 900px) {
  .film-grid { grid-template-columns: 340px minmax(0, 1fr); column-gap: clamp(48px, 7vw, 112px); align-items: center; }
  .film-copy { display: block; grid-column: 2; grid-row: 1; }
  .device { grid-column: 1; grid-row: 1; margin: 0; width: 100%; }
  .beats { grid-template-columns: none; gap: 8px; max-width: var(--measure); }
  .beats button { padding: 16px 20px 18px; }
  .film-note { text-align: left; margin-top: 16px; }
}
