/* Fabor public site: black-and-white "Mono" style, matching the app. */
:root {
  --ink: #0a0a0a;
  --graphite: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --mist: #f4f4f4;
  --paper: #ffffff;
  --radius: 20px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(10,10,10,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span { font-size: 21px; font-weight: 800; letter-spacing: -0.6px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #cfcfcf; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: #1e1e1e; }
.nav a.cta { background: #fff; color: var(--ink); font-weight: 600; }
.nav a.cta:hover { background: #e9e9e9; }
@media (max-width: 640px) {
  .nav a:not(.cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, transform .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9e9e9; }
.btn-ghost { color: #fff; border: 1px solid #3a3a3a; }
.btn-ghost:hover { background: #1e1e1e; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline { color: var(--ink); border: 1px solid #dcdcdc; background: #fff; }
.btn-outline:hover { background: var(--mist); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1; }
.btn .stack { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }

/* ---------- Phone frame ---------- */
/* The frame takes its height from the screenshot, so images are never cropped or distorted. */
.phone { position: relative; width: 280px; border-radius: 44px; padding: 9px; background: linear-gradient(145deg, #3a3a3a, #111 60%); box-shadow: 0 30px 70px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.08); flex: none; }
.phone img { width: 100%; height: auto; aspect-ratio: 780 / 1694; border-radius: 36px; background: #fff; }

/* ---------- Hero (home) ---------- */
.hero { background: radial-gradient(120% 90% at 80% 10%, #2a2a2a 0%, #0a0a0a 55%); color: #fff; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 72px 32px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.hero-copy { padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #bdbdbd; background: #1a1a1a; border: 1px solid #262626; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.045em; margin: 22px 0 18px; font-weight: 800; }
.hero p.lead { font-size: clamp(17px, 1.4vw, 20px); color: #bbbbbb; max-width: 500px; margin: 0 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: #1e1e1e; color: #dddddd; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.chips svg { width: 16px; height: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; top: 24px; left: 50%; width: 270px; }
.hero-phones .p1 { transform: translateX(-50%); z-index: 3; }
.hero-phones .p2 { top: 70px; transform: translateX(-112%) rotate(-7deg) scale(.86); transform-origin: top right; z-index: 2; opacity: .9; }
.hero-phones .p3 { top: 70px; transform: translateX(12%) rotate(7deg) scale(.86); transform-origin: top left; z-index: 1; opacity: .9; }

/* ---------- Facts strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul { max-width: 1200px; margin: 0 auto; padding: 26px 32px; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.facts svg { width: 22px; height: 22px; flex: none; }
.facts small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* ---------- Full-width showcase rows ---------- */
.show { padding: 96px 0; overflow: hidden; }
.show.alt { background: var(--mist); }
.show.dark { background: var(--ink); color: #fff; }
.show-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.show.flip .show-copy { order: 2; }
.show-copy { max-width: 500px; }
.show .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.show.dark .kicker { color: #9a9a9a; }
.show h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.04em; margin: 12px 0 16px; font-weight: 800; }
.show p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.show.dark p { color: #bbbbbb; }
.show-art { position: relative; display: flex; justify-content: center; align-items: center; }
.show-art::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, #e2e2e2 0%, rgba(226,226,226,0) 70%); }
.show.alt .show-art::before { background: radial-gradient(circle, #ffffff 0%, rgba(255,255,255,0) 70%); }
.show.dark .show-art::before { background: radial-gradient(circle, #2c2c2c 0%, rgba(44,44,44,0) 70%); }
.show-art.pair { gap: 24px; }
.show-art.pair .phone { width: min(240px, 46%); }
.show-art.pair .phone:nth-child(2) { margin-top: 64px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }

/* ---------- How it works ---------- */
.steps { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; background: #fff; }
.step b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; margin-bottom: 18px; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.steps-head { max-width: 1200px; margin: 0 auto 36px; padding: 0 32px; }
.steps-head h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.04em; line-height: 1.05; margin: 10px 0 0; font-weight: 800; }

/* ---------- Generic sections (contact, support) ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--mist); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.06; letter-spacing: -0.035em; margin: 10px 0 14px; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 12px; }
.band p { color: #bbbbbb; margin: 0 0 26px; font-size: 18px; max-width: 520px; }
.band.full { border-radius: 0; max-width: none; padding: 88px max(32px, calc((100vw - 1136px) / 2)); }
.qr { background: #fff; border-radius: 20px; padding: 18px; text-align: center; color: var(--ink); }
.qr img { width: 168px; height: 168px; image-rendering: pixelated; margin: 0 auto; }
.qr span { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Responsive ---------- */
/* Two columns down to tablet width; one column only on phones. */
@media (max-width: 980px) {
  .hero-phones { height: 480px; }
  .hero-phones .phone { width: 220px; }
  .show-inner { gap: 40px; }
  .phone { width: 240px; border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 31px; }
  .show-art.pair .phone { width: min(200px, 46%); border-radius: 32px; padding: 7px; }
  .show-art.pair .phone img { border-radius: 26px; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-inner, .show-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { padding: 48px 20px 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-phones { height: 420px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-phones .phone { width: 200px; }
  .show { padding: 64px 0; }
  .show-inner { padding: 0 20px; }
  .show-copy { max-width: none; }
  .show.flip .show-copy { order: 0; }
  .show-art::before { width: 320px; height: 320px; }
  .show-art .phone { width: 240px; }
  .show-art.pair .phone { width: 44%; max-width: 200px; border-radius: 28px; padding: 6px; }
  .show-art.pair .phone img { border-radius: 23px; }
  .show-art.pair .phone:nth-child(2) { margin-top: 36px; }
  .show p { font-size: 17px; }
  .facts ul { grid-template-columns: 1fr; padding: 20px; }
  .steps { grid-template-columns: 1fr; padding: 0 20px; }
  .steps-head { padding: 0 20px; }
  .band { grid-template-columns: 1fr; padding: 36px 24px; }
  .band.full { padding: 64px 20px; }
  .qr { display: none; }
}

/* ---------- Inner page header ---------- */
.page-head { background: var(--ink); color: #fff; }
.page-head .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.04; margin: 14px 0 12px; font-weight: 800; }
.page-head p { color: #bbbbbb; font-size: 18px; margin: 0; max-width: 620px; }

/* ---------- Contact / support ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.02em; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card a.value { font-weight: 600; font-size: 17px; text-decoration: none; word-break: break-word; }
.card a.value:hover { text-decoration: underline; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--graphite); margin: 12px 0 0; }

/* ---------- Legal documents ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; text-decoration: none; color: var(--graphite); padding: 6px 10px; border-radius: 8px; }
.toc a:hover { background: var(--mist); color: var(--ink); }
.doc { max-width: 760px; font-size: 16.5px; color: #262626; }
.doc h2 { font-size: 24px; letter-spacing: -0.025em; margin: 44px 0 12px; color: var(--ink); scroll-margin-top: 88px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; color: var(--ink); }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc li { margin: 6px 0; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.doc .loading { color: var(--muted); }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { display: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9a9a9a; padding: 56px 0 40px; font-size: 14px; border-top: 1px solid #1f1f1f; }
.footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid #222; }
.footer .brand { margin-bottom: 10px; }
.footer .tag { max-width: 300px; margin: 0; }
.footer nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer h4 { color: #fff; font-size: 13px; margin: 0 0 12px; letter-spacing: .04em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #cfcfcf; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .bottom { padding-top: 24px; }

:focus-visible { outline: 2px solid #7aa7ff; outline-offset: 2px; }

/* ---------- Video ---------- */
.video-section { background: var(--ink); color: #fff; padding: 96px 32px 104px; text-align: center; }
.video-head { max-width: 720px; margin: 0 auto 40px; }
.video-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a9a9a; }
.video-head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.05; margin: 12px 0 14px; font-weight: 800; }
.video-head p { color: #bbbbbb; font-size: 18px; margin: 0; }
.video-frame { max-width: 1100px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px #262626; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (max-width: 760px) {
  .video-section { padding: 64px 16px 72px; }
  .video-frame { border-radius: 16px; }
}
.video-frame { position: relative; }
.sound-btn { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 "Inter Tight", "Inter", -apple-system, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: opacity .2s, transform .2s; }
.sound-btn svg { width: 20px; height: 20px; }
.sound-btn:hover { transform: translateX(-50%) scale(1.03); }
.sound-btn[hidden] { display: none; }
@media (max-width: 760px) { .sound-btn { bottom: 52px; height: 40px; font-size: 14px; padding: 0 14px; } }
