/* AnyFront site, Brand Kit v1 (2026-10-19): mostly monochrome (80% black/ink, 15% white/gray,
   5% delight colour). Colour lives in the smile and in a few small labels, never in controls.
   Styro Black (Fontshare, ITF Free Font License v2.0): self-hosted official file, unmodified,
   brand marks only ("AnyFront"); all text is the system UI font. */
@font-face {
  font-family: "Styro";
  src: url("/Styro-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --black: #000000;
  --ink: #050609;
  --surface: #0F1116;
  --panel: #17191F;
  --border: #353943;
  --white: #FFFFFF;
  --muted: #A4AAB4;
  --cyan: #25ECF5;
  --pink: #E33CF0;
  --delight: linear-gradient(100deg, #3A9DFF, #8064FF 22%, #E33CF0 43%, #FF70AA 60%, #FFDC6D 77%, #25ECF5);
  --radius-card: 18px;
  --radius-small: 10px;
  --ease: 200ms ease;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--white); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: var(--muted); }
a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--white); color: var(--black); }

/* ---- text pages: /privacy/ and /support/ (markup unchanged; styled here only) ---- */
main { max-width: 700px; margin: 0 auto; padding: 32px 16px 72px; }
main > header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.brand { font-family: "Styro", -apple-system, sans-serif; font-weight: 900; letter-spacing: 0; }
.app {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--white); font-weight: 600; text-decoration: none; font-size: 17px;
}
.app:hover { color: var(--muted); }
h1 {
  font-size: clamp(34px, 8vw, 48px); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.01em; text-transform: uppercase; margin: 20px 0 8px;
}
h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 44px 0 10px; }
p, li { color: var(--muted); text-wrap: pretty; }
strong { color: var(--white); }
.meta { color: var(--muted); font-size: 14px; margin: 0; }
.lede { font-size: 19px; color: var(--white); }
ul { padding-left: 22px; }
li { margin: 8px 0; }
li::marker { color: var(--border); }
.box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  margin: 24px 0;
}
.mail {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 22px; font-weight: 700; word-break: break-all; text-decoration: none;
}
.box .meta { margin-top: 4px; }
main > footer {
  margin-top: 64px; padding-top: 12px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 14px;
}
main > footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
main > footer a:hover { color: var(--white); }

/* ---- home ---- */
.home main { max-width: 1120px; padding: 0 16px 24px; }
.bar {
  max-width: 1120px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { display: block; height: 22px; width: auto; }
.bar nav, .foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.bar nav a, .foot nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
}
.bar nav a:hover, .foot nav a:hover { color: var(--white); }

.hero { max-width: 860px; margin: 0 auto; padding: 8px 0 48px; text-align: center; }
.hero .mark { display: block; width: min(232px, 58vw); height: auto; margin: 0 auto; }
.home h1 {
  font-size: clamp(38px, 7.6vw, 72px); line-height: 0.98; letter-spacing: -0.015em;
  margin: 0 auto 20px; max-width: 15ch; text-wrap: balance;
}
.hero .line { margin: 0 0 18px; color: var(--white); font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; }
.hero .lede { margin: 0 auto 32px; max-width: 34em; color: var(--muted); font-size: 18px; }
.store { display: flex; justify-content: center; margin: 0 0 20px; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0;
  padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--panel); color: var(--white); font-size: 16px; font-weight: 600;
}
.soon::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--delight); background-size: 400% 100%;
}
.badge { display: inline-block; padding: 14px; margin: -14px; border-radius: var(--radius-small); }
.badge img { display: block; height: 54px; width: auto; }
.device { margin: 0 auto; max-width: 30em; color: var(--muted); font-size: 14px; line-height: 1.5; }

.film { margin: 0 0 88px; }
.film video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-card);
}

.sides { max-width: 1000px; margin: 0 auto 24px; }
.sides h2, .home h2 {
  font-size: clamp(28px, 4.4vw, 40px); line-height: 1.05; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 14px; text-align: center; text-wrap: balance;
}
.sides .intro { max-width: 36em; margin: 0 auto 36px; text-align: center; color: var(--muted); font-size: 18px; }
.cards, .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts { max-width: 1000px; margin: 0 auto 72px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 28px 24px; display: flex; flex-direction: column; align-items: flex-start;
}
.tag {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag.you { color: var(--cyan); }
.tag.them { color: var(--pink); }
.card h3 { margin: 0 0 8px; font-size: 32px; line-height: 1.1; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.card .big { color: var(--white); font-size: 21px; line-height: 1.4; font-weight: 600; flex: 1; }
.more {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px;
  color: var(--muted); font-size: 15px; font-weight: 600;
}
.more:hover { color: var(--white); }

.guides { max-width: 1000px; margin: 0 auto 72px; }
.guides .intro { max-width: 36em; margin: 0 auto 28px; text-align: center; color: var(--muted); font-size: 18px; }
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide-card {
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 22px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card);
  color: var(--white); text-decoration: none; transition: border-color var(--ease);
}
.guide-card:hover { color: var(--white); border-color: var(--muted); }
.guide-card .tag { color: var(--muted); }
.guide-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; font-weight: 700; }
.guide-card p { margin: 0; color: var(--muted); font-size: 15px; }
.guides .all { display: flex; justify-content: center; gap: 0 28px; margin: 16px 0 0; }

.foot {
  max-width: 1120px; margin: 0 auto; padding: 24px 16px 48px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 13px;
}
.foot nav { margin-bottom: 8px; }
.nowrap { white-space: nowrap; }
.foot p { margin: 6px 0; color: var(--muted); max-width: 60em; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { flex-wrap: wrap; row-gap: 0; padding-top: 4px; padding-bottom: 0; }
  .bar nav { width: 100%; justify-content: space-between; gap: 0; border-top: 1px solid var(--border); }
  .bar nav a { font-size: 14px; }
  .guide-cards { grid-template-columns: 1fr; }
  .hero { padding: 8px 0 36px; }
  .hero .lede { font-size: 17px; }
  .soon { font-size: 15px; padding: 10px 16px; gap: 8px; white-space: nowrap; }
  .film { margin-bottom: 64px; }
  .film video { aspect-ratio: 9 / 16; }
  .cards, .facts { grid-template-columns: 1fr; }
  .card { padding: 24px 20px 20px; }
  .card h3 { font-size: 28px; }
  .card .big { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- content pages: guides, features, cover screen, FAQ (content/layout.html) ---- */
main.doc { max-width: 760px; padding: 8px 16px 24px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-hidden="true"] { color: var(--border); }
.crumbs [aria-current="page"] { color: var(--white); }
.doc article h2 > a { text-decoration: none; }
.doc article h2 > a:hover { color: var(--muted); }
.doc-head { padding: 8px 0 32px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.doc h1 { margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.doc-head .lede { margin: 0; font-size: 19px; color: var(--white); }
.doc article h2 {
  font-size: clamp(24px, 4vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em;
  margin: 48px 0 12px; text-wrap: balance;
}
.doc article h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 28px 0 6px; color: var(--white); }
.doc article p, .doc article li { font-size: 17px; }
.doc article a { color: var(--white); }
.doc article ol, .doc article ul { padding-left: 24px; }
.doc article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--border); }
.doc article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.doc article th, .doc article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.doc article th { color: var(--white); font-weight: 700; }
.note {
  margin: 28px 0; padding: 16px 20px; border-radius: var(--radius-card);
  background: var(--panel); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.note::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--delight); }
.note p { margin: 0; color: var(--white); font-size: 15px; }
.shot { margin: 32px 0; }
.shot picture, .shot img { display: block; }
.shot img { width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--ink); }
.shot--portrait img { max-width: 340px; margin: 0 auto; }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.qa { padding: 20px 0; border-bottom: 1px solid var(--border); }
.doc article .qa h2 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; letter-spacing: 0; }
.qa .answer p { margin: 0 0 8px; }
.cta {
  margin: 64px 0 32px; padding: 36px 24px; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-card);
}
.cta-line { margin: 0 0 20px; color: var(--white); font-size: clamp(22px, 4vw, 28px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.cta .store { margin-bottom: 16px; }
.cta .device { margin: 0 auto; }
.guide-list { list-style: none; padding: 0; margin: 8px 0 0; }
.guide-list li { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--border); }
.guide-list a { font-size: 21px; font-weight: 700; text-decoration: none; }
.guide-list a:hover { color: var(--muted); }
.guide-list p { margin: 6px 0 0; }
@media (max-width: 640px) {
  .doc-head .lede { font-size: 17px; }
  .doc article p, .doc article li { font-size: 16px; }
  .cta { padding: 28px 16px; }
}

/* ---- website consent card (site-src/consent.js) ---- */
.consent {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  padding: 18px 18px 14px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); color: var(--white);
}
.consent-text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent-text strong { color: var(--white); }
.consent-text a { color: var(--white); }
.consent-panel { margin: 0 0 12px; border-top: 1px solid var(--border); }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.consent-row strong { font-size: 14px; }
.consent-row p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.consent-row input { width: 22px; height: 22px; margin: 11px; accent-color: var(--white); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.btn {
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-small); font: inherit; font-size: 15px;
  font-weight: 600; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--primary { background: var(--white); color: var(--black); border: 1px solid var(--white); }
.btn--primary:hover { background: var(--muted); border-color: var(--muted); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--muted); }
.btn:focus-visible, .consent-chip:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.consent-chip {
  position: fixed; z-index: 40; left: 16px; bottom: 16px; min-height: 44px; padding: 0 16px;
  background: var(--panel); color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.consent-chip:hover { color: var(--white); }
@media (max-width: 640px) {
  .consent { right: 8px; left: 8px; bottom: 8px; width: auto; }
  .consent-actions .btn { flex: 1 1 auto; }
}

/* Apple trademark style: in all-caps headings the i of iPhone stays lowercase (iPHONE). */
.lc { text-transform: none; }
