/* Sacrifice Golf — one stylesheet for every page.
   Layout: a single 1120px column. The studio pages stay neutral so the app
   icons and screenshots carry the colour; each app page takes its own accent
   from the app (--app), set by a t-<app> class on <body>.
   Ink, soft and edge colours come from the original privacy pages. */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --bg-card: #e9eef3;
  --ink: #15242f;
  --ink-2: #46586a;
  --ink-3: #6b7b8a;
  --line: #e2e8ee;
  --focus: #0a84ff;
  --app: #15242f;
  --app-soft: #eef2f6;
  --on-app: #ffffff;
  --shadow: 0 1px 2px rgba(21, 36, 47, .08), 0 8px 24px rgba(21, 36, 47, .08);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1120px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --r-lg: 28px;
  --r-md: 18px;
  --icon-r: 22.5%;
  color-scheme: light;
}

/* App accents, light */
.t-exifix       { --app: #0a5f52; --app-soft: #e4f3f0; --on-app: #ffffff; }
.t-frameworthy  { --app: #c2410c; --app-soft: #fdefe7; --on-app: #ffffff; }
.t-rephotograph { --app: #206614; --app-soft: #e7f4e3; --on-app: #ffffff; }
.t-beatpace     { --app: #c2410c; --app-soft: #fdefe7; --on-app: #ffffff; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1218; --bg-soft: #121a22; --bg-card: #17212b;
    --ink: #edf2f6; --ink-2: #a9b6c2; --ink-3: #82909d; --line: #233140;
    --app: #edf2f6; --app-soft: #17212b; --on-app: #0c1218;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .t-exifix       { --app: #3cc4ac; --app-soft: #10292a; --on-app: #06201c; }
  :root:not([data-theme="light"]) .t-frameworthy  { --app: #ff8a5c; --app-soft: #2b1912; --on-app: #2a0f04; }
  :root:not([data-theme="light"]) .t-rephotograph { --app: #6ad655; --app-soft: #142616; --on-app: #0b2207; }
  :root:not([data-theme="light"]) .t-beatpace     { --app: #fb923c; --app-soft: #2b1912; --on-app: #2a0f04; }
}
:root[data-theme="dark"] {
  --bg: #0c1218; --bg-soft: #121a22; --bg-card: #17212b;
  --ink: #edf2f6; --ink-2: #a9b6c2; --ink-3: #82909d; --line: #233140;
  --app: #edf2f6; --app-soft: #17212b; --on-app: #0c1218;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
:root[data-theme="dark"] .t-exifix       { --app: #3cc4ac; --app-soft: #10292a; --on-app: #06201c; }
:root[data-theme="dark"] .t-frameworthy  { --app: #ff8a5c; --app-soft: #2b1912; --on-app: #2a0f04; }
:root[data-theme="dark"] .t-rephotograph { --app: #6ad655; --app-soft: #142616; --on-app: #0b2207; }
:root[data-theme="dark"] .t-beatpace     { --app: #fb923c; --app-soft: #2b1912; --on-app: #2a0f04; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.app-icon { border-radius: var(--icon-r); box-shadow: 0 0 0 .5px rgba(21, 36, 47, .12), 0 2px 6px rgba(21, 36, 47, .12); background: var(--bg-card); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 44rem; }
.section-head h2 { font-size: clamp(28px, 2.2vw + 18px, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 18px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  background: var(--ink); color: var(--bg); border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-soft); opacity: 1; }
.btn.app { background: var(--app); color: var(--on-app); }
.arrow-link { font-weight: 600; text-decoration: none; color: var(--app); display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }
.badge-link { display: inline-block; line-height: 0; border-radius: 9px; }
.badge-link img, .badge-link svg { height: 48px; width: auto; }
.badge-link.small img, .badge-link.small svg { height: 36px; }

/* Studio header */
.site-header { padding-block: 18px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 17px/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.wordmark svg { width: 24px; height: 24px; flex: none; }
.wordmark .ball { fill: var(--ink); }
.wordmark .dimple { fill: var(--bg); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }

/* Home hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero h1 {
  font-size: clamp(38px, 4.6vw + 16px, 72px);
  line-height: 1.04; letter-spacing: -.04em; font-weight: 750; max-width: 16ch;
}
.hero .lede { margin-top: 24px; font-size: clamp(18px, .5vw + 16px, 21px); color: var(--ink-2); max-width: 40rem; line-height: 1.5; }
.inline-app { white-space: nowrap; text-decoration: none; color: inherit; border-radius: 10px; }
.inline-app span { background-image: linear-gradient(currentColor, currentColor); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.inline-app:hover span { background-size: 100% 3px; }
.inline-app img { display: inline-block; width: .84em; height: .84em; vertical-align: -.08em; margin-right: .16em; border-radius: var(--icon-r); box-shadow: 0 0 0 .5px rgba(21, 36, 47, .12), 0 2px 6px rgba(21, 36, 47, .14); }
.facts-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); background: var(--bg-soft); border-radius: 999px; padding: 7px 14px; }
.chip svg { width: 15px; height: 15px; flex: none; color: var(--ink); }

/* Home app cards */
.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 20px; }
/* Each card spans five shared rows, so names, text, buttons and screenshots line up across cards. */
.app-card {
  background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; min-width: 0;
  display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 14px; padding-top: 28px;
}
.app-card > * { padding-inline: 28px; min-width: 0; }
.app-card .id { display: flex; align-items: center; gap: 16px; align-self: start; }
.app-card .actions { align-self: start; }
.nw { white-space: nowrap; }
.app-card .id img { width: 64px; height: 64px; flex: none; }
.app-card h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.app-card h3 a { text-decoration: none; }
.app-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.app-card { position: relative; }
.app-card .sub { font-size: 15px; color: var(--ink-2); margin-top: 3px; }
.app-card .desc { font-size: 16px; color: var(--ink); line-height: 1.5; }
.app-card .meta { font-size: 13px; color: var(--ink-3); }
.app-card .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.app-card .shot { padding-top: 14px; align-self: end; }
.app-card .shot img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 0; border-radius: 20px 20px 0 0; }

.beta {
  margin-top: 20px; display: grid; gap: 16px;
  border: 1px solid var(--line); border-radius: 22px; padding: 22px;
}
.beta .head { display: flex; align-items: center; gap: 16px; }
.beta .head img { width: 56px; height: 56px; flex: none; }
@media (max-width: 560px) { .beta .head { align-items: flex-start; } .beta .head img { width: 48px; height: 48px; margin-top: 4px; } }
.beta .txt { flex: 1 1 auto; min-width: 0; margin: 0; }
.beta .story { margin: 0; max-width: 62ch; color: var(--ink-2); }
.beta .invite { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: var(--bg-card); }
.beta .invite p { margin: 0; flex: 1 1 260px; font-weight: 550; }
.beta .txt strong { font-weight: 650; }
.beta .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }
.beta .links { display: flex; gap: 16px; font-size: 15px; }
.beta .links a { color: var(--ink-2); }

/* Principles */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; }
.point { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.point h3 { font-size: 20px; letter-spacing: -.015em; }
.point p { color: var(--ink-2); font-size: 16px; }
.point .num { font: 700 34px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* About + contact */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; }
.about .body { display: grid; gap: 16px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.about .body p:first-child { color: var(--ink); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.contact .panel { background: var(--bg-soft); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 12px; align-content: start; }
.contact h3 { font-size: 22px; letter-spacing: -.015em; }
.contact p { color: var(--ink-2); }
.email { font: 600 18px/1.3 var(--font); color: var(--ink); user-select: all; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font: 600 13px/1 var(--font); color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-about { display: grid; gap: 12px; max-width: 24rem; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--ink-3); font-size: 13px; }

/* App pages: "more apps" strip */
.more-strip { background: var(--bg-soft); font-size: 13px; color: var(--ink-2); }
.more-strip .wrap { display: flex; align-items: center; gap: 6px 18px; min-height: 40px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.more-strip .wrap::-webkit-scrollbar { display: none; }
.more-strip .label { color: var(--ink-3); }
.more-strip a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 500; padding-block: 8px; }
.more-strip a:hover span { text-decoration: underline; }
.more-strip img, .more-strip svg { width: 20px; height: 20px; border-radius: var(--icon-r); flex: none; }
.more-strip .home-link { margin-left: auto; color: var(--ink-2); font-weight: 400; }

/* App pages: sticky bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.app-bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.app-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.app-bar .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 17px/1 var(--font-display); letter-spacing: -.01em; margin-right: auto; white-space: nowrap; }
.app-bar .brand img, .app-bar .brand svg { width: 30px; height: 30px; border-radius: var(--icon-r); }
.app-bar nav { display: flex; gap: 2px; }
.app-bar nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.app-bar nav a:hover, .app-bar nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.app-bar .badge-link img, .app-bar .badge-link svg { height: 34px; }
.app-bar .beta-pill { font-size: 12px; font-weight: 600; color: var(--app); background: var(--app-soft); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

/* App hero */
.app-hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); }
.app-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px 56px; align-items: center; }
.app-hero .copy { display: grid; gap: 22px; justify-items: start; }
.app-hero .app-id { display: flex; align-items: center; gap: 18px; }
.app-hero .icon { width: 104px; height: 104px; flex: none; }
.app-hero .app-id p { display: grid; gap: 2px; }
.app-hero .app-id strong { font: 700 22px/1.2 var(--font-display); letter-spacing: -.015em; }
.app-hero .app-id span { font-size: 15px; color: var(--ink-2); }
.more-strip .short { display: none; }
.app-hero h1 { font-size: clamp(38px, 3.4vw + 20px, 64px); line-height: 1.04; letter-spacing: -.04em; font-weight: 750; }
.app-hero .lede { font-size: clamp(18px, .5vw + 16px, 21px); color: var(--ink-2); max-width: 34rem; line-height: 1.5; }
.app-hero .cta { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.app-hero .cta .note { font-size: 14px; color: var(--ink-3); }
.app-hero .phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.app-hero .phones img { width: min(48%, 280px); border-radius: 26px; box-shadow: var(--shadow); }
.app-hero .phones .offset { margin-top: 48px; }

/* App facts */
.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: 28px 28px 28px 0; display: grid; gap: 6px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; }
.fact .v { font: 700 30px/1.1 var(--font-display); letter-spacing: -.03em; color: var(--app); font-variant-numeric: tabular-nums; }
.fact .k { font-size: 15px; color: var(--ink-2); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px 32px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 700 16px/1 var(--font-display);
  background: var(--app); color: var(--on-app);
}
.steps h3 { font-size: 20px; letter-spacing: -.015em; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Screenshot gallery */
.gallery-band { background: var(--bg-soft); }
/* Full-bleed strip whose first screenshot lines up with the page column. */
.gallery {
  --edge-l: calc(max(0px, (100% - var(--maxw)) / 2) + var(--gutter-l));
  --edge-r: calc(max(0px, (100% - var(--maxw)) / 2) + var(--gutter-r));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 22vw, 248px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px;
  padding-left: var(--edge-l); padding-right: var(--edge-r); scroll-padding-left: var(--edge-l); scrollbar-width: thin;
}
.gallery img { width: 100%; border-radius: 22px; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 36px 48px; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
.feature p { color: var(--ink-2); font-size: 16.5px; }
.quote { margin-top: clamp(40px, 6vw, 64px); background: var(--app-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.quote p { font: 600 clamp(21px, 1vw + 16px, 28px)/1.35 var(--font-display); letter-spacing: -.02em; color: var(--ink); max-width: 46rem; }
.quote .src { font-size: 14px; color: var(--ink-2); font-weight: 400; font-family: var(--font); letter-spacing: 0; }

/* Privacy + pricing panels */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.panel-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); display: grid; gap: 16px; align-content: start; }
.panel-card.privacy { background: var(--app-soft); }
.panel-card.pricing { background: var(--bg-soft); }
.panel-card h2 { font-size: clamp(24px, 1vw + 18px, 30px); letter-spacing: -.025em; }
.panel-card p { color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink); }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--app); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.4 var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--font); color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 46rem; }
.faq-more { margin-top: 24px; }

/* Other apps */
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.other { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: var(--bg-soft); text-decoration: none; transition: background .15s ease; }
.other:hover { background: var(--bg-card); }
.other img, .other svg { width: 56px; height: 56px; flex: none; }
.other strong { display: block; font: 650 18px/1.2 var(--font-display); letter-spacing: -.01em; }
.other span { font-size: 14px; color: var(--ink-2); }

/* Legal + support pages */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-block: 48px 72px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc .eyebrow { display: block; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; text-decoration: none; color: var(--ink-2); padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--app); }
.toc .switch { margin-top: 20px; display: grid; gap: 8px; }
.toc-mobile { display: none; }

.app-legal { max-width: 44rem; }
.app-legal .al-mark { display: none; }
.app-legal .al-top { display: grid; gap: 10px; margin-bottom: 26px; }
.app-legal h1 { font-size: clamp(34px, 2.4vw + 22px, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; }
.app-legal .al-date { font-size: 15px; color: var(--ink-3); }
.app-legal .al-lede { font-size: 21px; line-height: 1.5; color: var(--ink); padding: 22px 24px; background: var(--app-soft); border-radius: var(--r-md); margin-bottom: 8px; }
.app-legal h2 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; margin-top: 48px; margin-bottom: 14px; scroll-margin-top: 84px; }
.app-legal h3 { font-size: 19px; letter-spacing: -.01em; margin-top: 28px; margin-bottom: 8px; }
.app-legal p { margin-bottom: 14px; color: var(--ink); }
.app-legal ul, .app-legal ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.app-legal li::marker { color: var(--app); }
.app-legal a { color: var(--app); font-weight: 500; }
.app-legal .al-end { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
.app-legal .al-end p { margin: 0; color: var(--ink-2); }

/* Hubs (support, privacy, press) */
.page-head { padding-block: clamp(40px, 6vw, 80px) 24px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(36px, 3vw + 20px, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 750; }
.page-head p { font-size: 19px; color: var(--ink-2); max-width: 40rem; }
.hub { display: grid; gap: 16px; padding-bottom: 72px; }
.hub-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 22px; border-radius: 22px; background: var(--bg-soft); }
.hub-row img, .hub-row svg { width: 64px; height: 64px; }
.hub-row h2 { font-size: 21px; letter-spacing: -.015em; }
.hub-row p { color: var(--ink-2); font-size: 15px; }
.hub-row .go { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.press-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; padding-block: 40px; border-top: 1px solid var(--line); }
.press-app .id { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.press-app .id img { width: 72px; height: 72px; }
.press-app h2 { font-size: 26px; letter-spacing: -.02em; }
.press-app .blurb { display: grid; gap: 12px; align-content: start; color: var(--ink-2); }
.press-app .blurb p:first-child { color: var(--ink); }
.press-app dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; font-size: 15px; }
.press-app dt { color: var(--ink-3); }
.press-app dd { margin: 0; color: var(--ink); }
.press-app .dl { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.boiler { background: var(--bg-soft); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 12px; margin-block: 24px 72px; }
.boiler h2 { font-size: 22px; }
.boiler p { color: var(--ink-2); max-width: 48rem; }

/* Responsive */
@media (max-width: 900px) {
  .app-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .app-hero .phones { justify-content: flex-start; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; font-size: 15px; }
  .toc-mobile summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
  .toc-mobile ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
  .toc-mobile a { color: var(--ink-2); text-decoration: none; }
  .press-app { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .app-bar nav a.opt { display: none; }
  .facts .wrap { grid-template-columns: minmax(0, 1fr); }
  .fact { padding: 18px 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .hub-row { grid-template-columns: 52px minmax(0, 1fr); }
  .hub-row img, .hub-row svg { width: 52px; height: 52px; }
  .hub-row .go { grid-column: 1 / -1; justify-content: flex-start; }
  .site-nav a { padding: 8px 9px; }
}
@media (max-width: 520px) {
  .app-bar .brand span { display: none; }
  .more-strip .long, .more-strip .home-link { display: none; }
  .more-strip .short { display: inline; }
  .app-hero .icon { width: 80px; height: 80px; }
  .app-bar nav a { padding: 7px 8px; }
  .app-bar .badge-link img { height: 32px; }
  .app-card > * { padding-inline: 22px; }
  .site-nav .opt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* AVIF wrappers don't take part in layout; the <img> inside does. */
picture { display: contents; }
picture > source { display: none; }

/* Page transitions (Safari 18.2+, Chrome 126+): pages cross-fade, and an app's icon glides from
   the card you tapped into place on the next page. Other browsers just change pages. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .34s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

/* Reduce Motion: no transitions, demos jump straight to their end state. */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Exifix demo: the app's fix screen in miniature. Markup starts in the fixed state (what you see
   without JavaScript); the script resets it and plays the fix when it scrolls into view. */
.xdemo-band { background: var(--app-soft); }
.xdemo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.xdemo .copy { display: grid; gap: 14px; align-content: start; }
.xdemo h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.xdemo .body { color: var(--ink-2); font-size: 18px; max-width: 34rem; }
.xd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.xd-go { min-width: 150px; }
.xd-status { font-weight: 600; color: var(--ink); min-height: 1.5em; }
.xd-note { font-size: 13px; color: var(--ink-3); }
.xd-card { background: var(--bg); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.xd-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 6px 0; font-size: 14px; color: var(--ink-2); }
.xd-head strong { color: var(--ink); }
.xd-map { display: block; width: 100%; height: auto; margin: 12px 0 10px; background: var(--bg-soft); border-radius: 14px; }
.xd-map text { font: 600 11px var(--font); fill: var(--ink-3); }
.xd-route-base { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .45; }
.xd-route { fill: none; stroke: var(--app); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.xd-dot { fill: var(--app); stroke: var(--bg); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2);
  transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 170ms + 250ms); }
.xd-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.xd-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 8px; border-radius: 12px;
  transition: background-color .4s; transition-delay: calc(var(--i) * 170ms + 250ms); }
.xd-th { width: 40px; height: 40px; border-radius: 8px; display: block; }
.xd-qr { box-shadow: inset 0 0 0 1px var(--line); }
.xd-rows .f { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.3; }
.xd-rows .f strong { font-weight: 600; }
.xd-rows .tag { font-size: 12px; color: var(--ink-3); }
.xd-rows .loc { font-size: 12px; font-weight: 600; color: var(--app); white-space: nowrap; opacity: 0; transform: translateX(-4px);
  transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * 170ms + 250ms); }
.xd-rows .loc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.xd-rows .t { display: grid; font: 12.5px/1.45 var(--mono); color: var(--ink-2); margin-top: 2px; }
.xd-rows .new { color: var(--app); font-weight: 600; opacity: 0; transform: translateY(-3px);
  transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * 170ms + 250ms); }
.xd-rows .old { transition: color .35s, text-decoration-color .35s; transition-delay: calc(var(--i) * 170ms + 250ms); text-decoration: line-through transparent; }
.xdemo.done .xd-route { stroke-dashoffset: 0; }
.xdemo.done .xd-dot { opacity: 1; transform: none; }
.xdemo.done .xd-rows .loc, .xdemo.done .xd-rows .new { opacity: 1; transform: none; }
.xdemo.done .xd-rows .old { color: var(--ink-3); text-decoration-color: currentColor; }
.xdemo.done .xd-code { background: var(--app-soft); }
.xdemo.instant, .xdemo.instant * { transition: none !important; }
@media (max-width: 860px) { .xdemo { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .xd-card { padding: 12px; } .xd-rows li { gap: 10px; padding: 6px; } .xd-rows .t { font-size: 11.5px; } }
.xdemo.done .xd-code .old { color: var(--ink-2); text-decoration-color: transparent; }

/* All three demos share the band and the two-column layout above. #demo is the anchor the
   home cards and each page's hero link to. */
#demo { scroll-margin-top: 64px; }
.try-link { justify-self: start; }
.app-card .try-link { flex-basis: 100%; font-size: 15px; padding-top: 2px; }
.app-hero .try-link { margin-top: 2px; }
.xd-start { fill: var(--ink-3); }

/* Rephotograph: two aligned photos and a line to drag between them. */
.rp-card { padding: 12px; }
.rp-compare { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-soft); touch-action: pan-y;
  cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.rp-layer { position: absolute; inset: 0; }
.rp-layer img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.rp-b { clip-path: inset(0 0 0 var(--pos)); }
.rp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px; display: grid; place-items: center; }
.rp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 0 12px rgba(0, 0, 0, .25); }
.rp-grip { position: relative; display: inline-flex; align-items: center; white-space: nowrap; background: #fff; color: #15242f; font: 600 12px/1 var(--font); padding: 8px 11px;
  border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.rp-grip::before, .rp-grip::after { content: ""; display: inline-block; width: 0; height: 0; border-block: 4px solid transparent; vertical-align: 0; }
.rp-grip::before { border-right: 5px solid currentColor; margin-right: 6px; }
.rp-grip::after { border-left: 5px solid currentColor; margin-left: 6px; }
.rp-handle:focus-visible { outline: none; }
.rp-handle:focus-visible .rp-grip { outline: 2px solid var(--focus); outline-offset: 2px; }
.rp-date { position: absolute; top: 10px; font: 600 12px/1 var(--font); color: #fff; background: rgba(10, 16, 22, .55);
  padding: 6px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.rp-date { transition: opacity .2s; }
.rp-date-a { left: 10px; }
.rp-compare.hide-a .rp-date-a, .rp-compare.hide-b .rp-date-b { opacity: 0; }
.rp-date-b { right: 10px; }
.rp-pairs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rp-pairs button { font: 600 14px var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); cursor: pointer; }
.rp-pairs button.on { background: var(--app); border-color: var(--app); color: var(--on-app); }

/* Frame Worthy: the app's 1.1 board, photos across and people down, and the card under it. As in
   the app, tapping a face shows it big; the pill rates it. The photos show their pile as you go. */
.fw-card { container-type: inline-size; display: grid; gap: 12px; padding: 14px; --sel: #0a84ff; --great: #2fa84f; --gold: #e8a400; --bad: #e5484d;
  --wash: rgba(255, 255, 255, .5); --seg: var(--bg-soft); --seg-on: #fff; }
:root[data-theme="dark"] .fw-card { --wash: rgba(12, 18, 24, .55); --seg-on: #2e3c49; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fw-card { --wash: rgba(12, 18, 24, .55); --seg-on: #2e3c49; } }
.fw-bar { font: 600 15px/1.2 var(--font); text-align: center; color: var(--ink); margin: 0; }
.fw-grid { display: grid; grid-template-columns: 30px repeat(var(--cols), minmax(0, 1fr)); gap: 3px; align-items: end; }
.fw-ph { display: grid; justify-items: center; gap: 4px; padding: 0 0 4px; border: 0; background: none; cursor: pointer; color: var(--ink-3); }
.fw-th { position: relative; width: 100%; border-radius: 5px; background-color: var(--bg-soft); }
.fw-th::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--bg); background: center / contain no-repeat; opacity: 0; transform: scale(.3);
  transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.fw-ph.keep .fw-th::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232fa84f'/%3E%3Cpath d='M5.6 10.4l2.9 2.8 5.9-6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); opacity: 1; transform: none; }
.fw-ph.del .fw-th::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e5484d'/%3E%3Cpath d='M6.9 8.1h6.2l-.55 6a1.3 1.3 0 0 1-1.3 1.2H8.75a1.3 1.3 0 0 1-1.3-1.2z' fill='%23fff'/%3E%3Cpath d='M5.6 6.3h8.8M8.3 6.1V5h3.4v1.1' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); opacity: 1; transform: none; }
.fw-num { font: 600 10px/1 var(--mono); padding: 2px 5px; border-radius: 999px; transition: background-color .2s, color .2s; }
.fw-ph.sel .fw-num { background: var(--sel); color: #fff; }
.fw-av { display: grid; justify-items: center; gap: 2px; align-self: center; font: 600 9px/1 var(--mono); color: var(--ink-3); }
.fw-avf { width: 22px; height: 22px; border-radius: 50%; background-color: var(--bg-soft); transition: box-shadow .2s; }
.fw-av.sel .fw-avf { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--sel); }
.fw-face { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 22%; cursor: pointer; background-color: var(--bg-soft);
  transition: box-shadow .15s; }
/* Not this one washes the face out, as on the app's board, under its red thumb. */
.fw-face::before, .fw-sf::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wash); opacity: 0; transition: opacity .25s; }
.fw-face::after, .fw-sf::after, .fw-big::after { content: ""; position: absolute; top: -3px; right: -3px; width: 44%; max-width: 19px; aspect-ratio: 1;
  background: center / contain no-repeat; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.fw-face.bad::before, .fw-sf.bad::before { opacity: 1; }
.fw-card .bad::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 30 30'%3E%3Cpath d='M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z' fill='%23e5484d' stroke='%23fff' stroke-width='3.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E"); opacity: 1 !important; transform: none !important; }
.fw-card .great::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 38 32'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z' transform='scale(.86)' fill='%232fa84f' stroke='%23fff' stroke-width='3.2' stroke-linejoin='round' paint-order='stroke'/%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z' transform='translate(8 4)' fill='%232fa84f' stroke='%23fff' stroke-width='3.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E"); opacity: 1 !important; transform: none !important; }
.fw-face.sel, .fw-sf.sel { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3.5px var(--sel); z-index: 1; }
.fw-face:focus-visible, .fw-ph:focus-visible, .fw-sf:focus-visible, .fw-big:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* The card: the picked face big, where it stands, the strip of the same person, the pill, the way on. */
.fw-detail { display: grid; gap: 10px; justify-items: center; padding-top: 4px; border-top: 1px solid var(--line); }
.fw-detail > * { min-width: 0; }
.fw-big { position: relative; width: min(156px, 48cqw); aspect-ratio: 1; margin-top: 8px; border-radius: 22%; background-color: var(--bg-soft);
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.fw-big::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.fw-big::after { top: 8px; right: 8px; width: 30px; max-width: none; }
.fw-counts { display: flex; gap: 16px; margin: 0; font: 13px/1 var(--font); color: var(--ink-3); }
.fw-counts > span { display: inline-flex; align-items: center; gap: 5px; }
.fw-counts svg { width: 14px; height: 14px; }
.fw-counts b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fw-strip { width: 100%; overflow: hidden; padding: 5px 0; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.fw-strip-in { display: flex; gap: 6px; transition: transform .3s cubic-bezier(.3, .8, .3, 1); }
.fw-sf { position: relative; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 22%; cursor: pointer; background-color: var(--bg-soft); }
.fw-sf::after { top: -4px; right: -4px; width: 17px; }
.fw-pill { display: flex; width: 100%; max-width: 360px; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-soft); }
.fw-pill button { --seg: var(--bg-soft); flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 600 14px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color .2s, box-shadow .2s; }
.fw-pill button[aria-checked="true"] { --seg: var(--seg-on); background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04); }
.fw-pill svg { height: 17px; width: auto; flex: none; }
.fw-pill .t-front { stroke: var(--seg); stroke-width: 3; paint-order: stroke; stroke-linejoin: round; transition: stroke .2s; }
.fw-pill .g path { fill: var(--great); } .fw-pill .o path { fill: var(--gold); } .fw-pill .x path { fill: var(--bad); }
.fw-see { width: 100%; max-width: 360px; transition: opacity .2s, transform .15s; }
.fw-see.wait { opacity: .45; }
.fw-need { margin: 0; text-align: center; font-size: 13px; color: var(--ink-2); max-width: 32ch; }

/* See results (or a photo along the top): the photo, its place, and the way back. */
.fw-res { display: grid; gap: 10px; justify-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.fw-photo { position: relative; width: 100%; max-width: 420px; margin: 0; overflow: hidden; border-radius: 14px; background: var(--bg-soft); }
.fw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-photo figcaption { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.fw-photo figcaption span { font: 600 12px/1 var(--font); padding: 6px 9px; border-radius: 999px; background: #fff; color: #15242f; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.fw-piles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.fw-piles span { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--font); padding: 8px 12px; border-radius: 999px; }
.fw-piles span::before { content: ""; width: 16px; height: 16px; background: center / contain no-repeat; }
.fw-piles .k { background: color-mix(in srgb, var(--great) 14%, transparent); }
.fw-piles .k::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232fa84f'/%3E%3Cpath d='M5.6 10.4l2.9 2.8 5.9-6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fw-piles .d { background: color-mix(in srgb, var(--bad) 13%, transparent); }
.fw-piles .d::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e5484d'/%3E%3Cpath d='M6.9 8.1h6.2l-.55 6a1.3 1.3 0 0 1-1.3 1.2H8.75a1.3 1.3 0 0 1-1.3-1.2z' fill='%23fff'/%3E%3Cpath d='M5.6 6.3h8.8M8.3 6.1V5h3.4v1.1' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fw-card [hidden] { display: none !important; }

@container (min-width: 460px) {
  .fw-detail { grid-template-columns: 156px minmax(0, 1fr); column-gap: 20px; row-gap: 10px; justify-items: stretch; align-items: center; padding-top: 14px; }
  .fw-big { grid-row: 1 / span 5; margin: 0; width: 156px; }
  .fw-counts { justify-content: center; }
  .fw-pill, .fw-see { max-width: none; }
}
@container (max-width: 380px) {
  .fw-grid { grid-template-columns: 24px repeat(var(--cols), minmax(0, 1fr)); gap: 2px; }
  .fw-avf { width: 19px; height: 19px; }
  .fw-th::after { width: 12px; height: 12px; right: -3px; bottom: -3px; }
  .fw-face::after { top: -2px; right: -2px; }
  .fw-pill button { padding: 0 6px; font-size: 13px; gap: 5px; }
  .fw-pill svg { height: 15px; }
}

/* Why the app exists: one line in the founder's words, between the demo and the facts. */
.origin { padding-block: clamp(40px, 6vw, 72px); }
.origin .wrap { display: grid; gap: 12px; }
.origin-text { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.015em;
  font-weight: 600; color: var(--ink); max-width: 36ch; text-wrap: pretty; }
