/* Arc — kebbystudios.com/arc
   Dark, moody, one accent (Glacier). The screen background in the clips is
   #05070a (SpeedBackground, dark), so the page uses the same black. */
/* Arriving from kebbystudios.com, the zoomed card and this page are the same
   picture; the browser crossfades between them instead of cutting. */
@view-transition { navigation: auto; }
:root {
  --bg: #05070a;
  --bg-raised: #0c1015;
  --line: rgba(255, 255, 255, .08);
  --text: #f2f4f7;
  --text-2: #9aa3ad;
  --text-3: #6a737d;
  --accent: #5cc8ff;
  --accent-deep: #0071c7;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-left));
  padding-inline: clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(5, 7, 10, .85), rgba(5, 7, 10, 0));
  transition: background .3s;
}
.nav.solid {
  background: rgba(5, 7, 10, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.pill {
  color: var(--bg) !important;
  background: var(--text);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .nav-links a:not(.pill) { display: none; }
}

/* ---------- Story (pinned) ---------- */
.story { position: relative; height: 1200vh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.stage-bg { position: absolute; inset: 0; background: var(--bg); }
.stage-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(60% 70% at var(--lx, 30%) 50%, #232a33 0%, #141920 45%, rgba(5, 7, 10, 0) 100%),
    linear-gradient(180deg, #0d1116, #0a0d11);
  will-change: opacity;
}

/* The phone. Sizes come from main.js: --dw/--dh (body), --sw/--sh (screen). */
.device {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--dw);
  height: var(--dh);
  margin-left: calc(var(--dw) / -2);
  margin-top: calc(var(--dh) / -2);
  z-index: 3;
  will-change: transform;
  transform-origin: 50% 50%;
}
.screen {
  position: absolute;
  /* Bezel is 52 of 1424 × 2972 units; bleed 1 unit under the frame. */
  left: calc(51 / 1424 * 100%);
  top: calc(51 / 2972 * 100%);
  width: calc(1322 / 1424 * 100%);
  height: calc(2870 / 2972 * 100%);
  border-radius: calc(var(--sw) * .142);
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
  /* Hero: the screen's edges fade into the page (main.js lifts this as the
     phone appears), so no rectangle shows around the speedometer. */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 var(--m0, 400%), transparent var(--m1, 420%));
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 var(--m0, 400%), transparent var(--m1, 420%));
}
.layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  background: var(--bg);
}
/* Settings: screenshots that crossfade (main.js picks the one shown). */
.layer-shots img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.layer-shots img.on { opacity: 1; }
.layer-land {
  /* The Focus clip, recorded in the phone's portrait frame; it looks
     right while the whole phone is turned to landscape. */
  opacity: 1;
}
.frame {
  position: absolute;
  left: calc(-16 / 1424 * 100%);
  top: 0;
  width: calc(1456 / 1424 * 100%);
  height: 100%;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .55));
}

/* Text panels */
.panel {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: min(440px, 36vw);
  opacity: 0;
  transform: translateY(-50%);
  will-change: opacity, transform;
}
.panel-hero { left: 55%; width: min(560px, 40vw); z-index: 5; opacity: 1; }
.panel-right { left: 57%; }
.panel h1 { font-size: clamp(40px, 4.6vw, 72px); font-weight: 800; }
.panel h2 { font-size: clamp(34px, 3.6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.panel p { color: var(--text-2); font-size: 18px; }
.lede { margin-top: 20px; max-width: 30em; }
.cta-row { margin-top: 30px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.05;
  transition: transform .2s;
}
.store-btn:hover { transform: translateY(-1px); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .01em; }

.styles {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  /* Two even rows of four. */
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-items: start;
  gap: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-3);
}
.styles li { position: relative; display: flex; align-items: center; transition: color .35s; }
.styles li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.styles li.on { color: var(--text); }
.styles li.on::after { transform: scaleX(1); }

/* Arc Pro: a small accent box beside what it unlocks. Same size everywhere;
   its parent centers it on the text beside it (flex, not the baseline). */
.pro {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-left: 5px;
  padding: 2px 3.5px;
  border: 1px solid rgba(92, 200, 255, .55);
  border-radius: 4px;
  background: rgba(92, 200, 255, .1);
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.with-pro { display: flex; align-items: center; }
.pro-note {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px !important;
  color: var(--text-3) !important;
}
.pro-note .pro { margin-left: 0; }

/* Settings steps: the one on screen is lit; click to show another. */
.shots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shots li {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s, border-color .35s;
}
.shots b { display: flex; align-items: center; color: var(--text-3); font-weight: 600; font-size: 17px; transition: color .35s; }
.shots li > span { color: var(--text-3); font-size: 15px; line-height: 1.45; transition: color .35s; }
.shots li.on { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.shots li.on b { color: var(--text); }
.shots li.on > span { color: var(--text-2); }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { color: var(--text-2); font-size: 17px; padding-left: 18px; position: relative; }
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.points b { color: var(--text); font-weight: 600; }

.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.facts li { display: grid; gap: 2px; }
.facts b { font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.facts span { color: var(--text-2); font-size: 15px; }

.disclaimer {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 159, 10, .3);
  background: rgba(255, 159, 10, .06);
  border-radius: 12px;
  font-size: 14px !important;
  line-height: 1.5;
}
.disclaimer b { color: #ffb340; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: opacity .3s;
}
.scroll-hint svg { width: 20px; height: 20px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* Phones and tall windows: phone on top, text underneath, no sideways swipe. */
.compact .panel,
.compact .panel-hero,
.compact .panel-right {
  left: 20px;
  right: 20px;
  width: auto;
  top: auto;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: none;
  text-align: center;
}
.compact .panel h1 { font-size: clamp(30px, 8.4vw, 44px); }
.compact .panel h2 { font-size: clamp(26px, 7.4vw, 38px); margin-bottom: 10px; }
.compact .panel p, .compact .points li { font-size: 15px; }
.compact .lede { margin: 12px auto 0; }
.compact .cta-row { margin-top: 18px; }
.compact .styles { justify-content: center; margin-top: 22px; gap: 8px 12px; font-size: 13px; }
.compact .points { gap: 8px; text-align: left; max-width: 26em; margin: 0 auto; }
.compact .points li:nth-child(3) { display: none; }
.compact .facts { display: none; }
.compact .pro-note { justify-content: center; margin-top: 10px; font-size: 12.5px !important; text-align: left; }
.compact .with-pro { justify-content: center; }
.compact .shots li:not(.on) { display: none; }
.compact .shots li { padding: 8px 12px; text-align: left; max-width: 26em; margin: 0 auto; }
.compact .shots b { font-size: 15px; }
.compact .shots li > span { font-size: 13.5px; }
.compact .disclaimer { margin-top: 12px; text-align: left; font-size: 12.5px !important; }
.compact .eyebrow { margin-bottom: 6px; font-size: 11px; }
.compact .scroll-hint { display: none; }

/* ---------- Sections ---------- */
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.section-title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; max-width: 16em; }
.section-lede { margin-top: 16px; color: var(--text-2); font-size: 19px; max-width: 34em; }

.features { padding: 140px 0 100px; position: relative; z-index: 1; background: var(--bg); }
.grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  padding: 28px 26px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f141a, #0a0d12);
  border: 1px solid var(--line);
}
.card svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 22px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15.5px; }

.pro-section { padding: 40px 0 60px; }
.features, .pro-section, .faq { scroll-margin-top: calc(var(--nav-h) - 20px); }
.tiers {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  padding: 30px 28px 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f141a, #0a0d12);
  border: 1px solid var(--line);
}
.tier-pro {
  border-color: rgba(92, 200, 255, .35);
  background: linear-gradient(180deg, rgba(92, 200, 255, .09), rgba(92, 200, 255, .02) 60%), #0a0d12;
}
.tier h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tier li { color: var(--text-2); font-size: 16px; padding-left: 26px; position: relative; }
.tier li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.faq { padding: 80px 0 120px; }
.faq .section-title { margin-bottom: 36px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--text-2); padding: 0 0 24px; max-width: 40em; }

.closing {
  padding: 120px 0 140px;
  text-align: center;
  background: radial-gradient(50% 60% at 50% 40%, rgba(92, 200, 255, .1), rgba(5, 7, 10, 0) 70%);
}
.closing .wrap { display: grid; justify-items: center; gap: 18px; }
.closing-icon { border-radius: 22px; box-shadow: 0 20px 60px rgba(92, 200, 255, .18); }
.closing h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; margin-top: 10px; }
.closing p { color: var(--text-2); font-size: 19px; margin-bottom: 10px; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--text-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 9px; }
.footer-brand strong { display: block; color: var(--text); font-size: 15px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-links .more { color: var(--accent); }
.legal { margin-top: 28px; font-size: 12px; color: var(--text-3); }

/* ---------- Document pages (support, privacy, terms) ---------- */
.doc { padding: calc(var(--nav-h) + 60px) 0 100px; }
.doc .wrap { width: min(760px, 100% - 40px); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; margin-bottom: 10px; }
.doc .updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.doc a { color: var(--accent); }
.doc strong { color: var(--text); }
.contact-card {
  margin: 8px 0 32px;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f141a, #0a0d12);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-card p { margin: 0; }
.contact-card .store-btn { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint svg { animation: none; }
}
