/* Alsa site. Tokens mirror the Webflow "Base collection" variables (site alsa-b396cf),
   which mirror the app's Theme.swift. Dark is the default; light follows the system. */
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --color--lime: #c6f432;
  --color--lime-hover: #d8ff4a;
  --color--lime-ink: #1d2600;
  --color--background: #0a0a0a;
  --color--surface: #181818;
  --color--text: #f5f5f4;
  --color--text-muted: #b8b8b6;
  --color--text-subtle: #7a7a78;
  --color--border: rgba(245, 245, 244, 0.10);
  --color--border-strong: rgba(245, 245, 244, 0.14);
  --color--accent-text: #c6f432;      /* lime as text: volt on dark, ink on light */
  --color--nav: rgba(20, 20, 20, 0.72);
  --color--glow: rgba(198, 244, 50, 0.22);
  --color--lime-line: rgba(198, 244, 50, 0.45);
  --shadow--nav: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  --font--display: "Archivo Black", Impact, sans-serif;
  --font--body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius--pill: 999px;
  --radius--card: 26px;
  --wrap: 1200px;
  --gutter: 32px;
}

@media (prefers-color-scheme: light) {
  :root {
    --color--background: #ececea;
    --color--surface: #ffffff;
    --color--text: #151515;
    --color--text-muted: #4a4a47;
    --color--text-subtle: #6b6b68;
    --color--border: rgba(21, 21, 21, 0.10);
    --color--border-strong: rgba(21, 21, 21, 0.16);
    --color--accent-text: #151515;    /* volt can't be read as text on light */
    --color--nav: rgba(255, 255, 255, 0.78);
    --color--glow: rgba(198, 244, 50, 0.55);
    --color--lime-line: rgba(21, 21, 21, 0.16);
    --shadow--nav: 0 10px 30px 0 rgba(0, 0, 0, 0.08);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--color--background);
  color: var(--color--text);
  font-family: var(--font--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--color--lime); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--color--lime); color: var(--color--lime-ink);
  padding: 10px 16px; border-radius: var(--radius--pill); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--font--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

/* Eyebrow: the Webflow pill */
.eyebrow {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--color--border-strong);
  border-radius: var(--radius--pill);
  color: var(--color--accent-text);
  font-size: 12px; line-height: 1.2; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 0 16px;
}
.nav-pill {
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px;
  background: var(--color--nav);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--color--border);
  border-radius: var(--radius--pill);
  box-shadow: var(--shadow--nav);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand span { font-family: var(--font--display); font-size: 20px; line-height: 1; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 12px; border-radius: var(--radius--pill);
  color: var(--color--text-muted); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--color--text); background: var(--color--border); }
.nav-cta {
  padding: 10px 18px; border-radius: var(--radius--pill);
  background: var(--color--lime); color: var(--color--lime-ink);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background-color 200ms ease, transform 200ms ease;
}
.nav-cta:hover { background: var(--color--lime-hover); transform: translateY(-2px); }

/* ---------- Buttons (pill + arrow circle) ---------- */
.button {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius--pill);
  font-size: 16px; line-height: 1.2; font-weight: 700; text-decoration: none;
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.button-lime {
  background: var(--color--lime); color: var(--color--lime-ink);
  box-shadow: 0 10px 30px 0 rgba(198, 244, 50, 0.25);
}
.button-lime:hover {
  background: var(--color--lime-hover); transform: translateY(-3px);
  box-shadow: 0 16px 44px 0 rgba(198, 244, 50, 0.4);
}
.button-ghost {
  padding: 15px 24px;
  border: 1px solid var(--color--border-strong); color: var(--color--text);
}
.button-ghost:hover { background: var(--color--border); transform: translateY(-3px); }
.btn-arrow {
  display: flex; flex: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color--lime-ink); color: var(--color--lime);
  font-size: 18px; line-height: 1;
}
.btn-arrow span { display: block; transform: rotate(-45deg); transition: transform 220ms ease; }
.button:hover .btn-arrow span { transform: rotate(0deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 168px 0 96px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -10%; top: 8%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, var(--color--glow), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.75rem, 6.2vw, 5.75rem); margin-top: 24px; }
.hero-lead { margin-top: 28px; max-width: 30ch; color: var(--color--text-muted); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 28px; color: var(--color--text-subtle); font-size: 15px; }

.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 720 / 1564;
  border: 9px solid #000; border-radius: 46px; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1.5px #3b3b40, 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-front { left: 4%; top: 30px; transform: rotate(-6deg); z-index: 2; }
.phone-back { right: 2%; top: 0; transform: rotate(5deg); }

/* Load-in: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .rise-2 { animation-delay: 120ms; }
  .rise-3 { animation-delay: 240ms; }
  .phone-front { animation: phone-in 1100ms 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .phone-back { animation: phone-in-back 1100ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(80px) rotate(-12deg); } }
@keyframes phone-in-back { from { opacity: 0; transform: translateY(80px) rotate(10deg); } }

/* ---------- Type band ---------- */
.band { border-block: 1px solid var(--color--border); padding: 20px 0; overflow: hidden; }
.band-track {
  display: flex; gap: 48px; width: max-content;
  font-family: var(--font--display); text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--color--border-strong);
}
.band-track span:nth-child(4n + 2) { -webkit-text-stroke-color: var(--color--lime); }
@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: band 40s linear infinite; }
}
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 720px; }
.section-title { font-size: clamp(2.25rem, 5vw, 4rem); margin-top: 18px; }
.section-sub { margin-top: 20px; max-width: 56ch; color: var(--color--text-muted); font-size: 18px; }

/* Ruled feature rows */
.rows { margin-top: 64px; border-top: 1px solid var(--color--border-strong); }
.row {
  display: grid; grid-template-columns: 1fr 1.25fr 200px; gap: 48px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--color--border-strong);
}
.row-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.row-copy { color: var(--color--text-muted); max-width: 46ch; }
.row-copy p + p { margin-top: 12px; }
.row-shot {
  width: 200px; aspect-ratio: 720 / 1000; overflow: hidden;
  border: 6px solid #000; border-bottom: 0; border-radius: 34px 34px 0 0;
  box-shadow: 0 0 0 1.5px #3b3b40;
  align-self: end; margin-bottom: -41px;
}
.row-shot img { width: 100%; }

/* Privacy band (lime panel) */
.panel {
  background: var(--color--lime); color: var(--color--lime-ink);
  border-radius: 40px; padding: 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.panel .display { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.panel-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid rgba(29, 38, 0, 0.25); }
.panel-list li { padding: 16px 0; border-bottom: 1.5px solid rgba(29, 38, 0, 0.25); font-weight: 600; font-size: 18px; }
.panel .button { margin-top: 32px; background: var(--color--lime-ink); color: var(--color--lime); }
.panel .button .btn-arrow { background: var(--color--lime); color: var(--color--lime-ink); }
.panel .button:hover { transform: translateY(-3px); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 168px 0 0; }
.page-title { font-size: clamp(2.75rem, 7vw, 5.5rem); margin-top: 22px; max-width: 14ch; }
.page-lead { margin-top: 24px; max-width: 52ch; color: var(--color--text-muted); font-size: 1.2rem; }
.page-meta { margin-top: 20px; color: var(--color--text-subtle); font-size: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.toc a {
  padding: 10px 18px; border-radius: var(--radius--pill);
  border: 1px solid var(--color--border-strong);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.toc a:hover { background: var(--color--lime); border-color: var(--color--lime); color: var(--color--lime-ink); }

/* FAQ: ruled two-column grid (Webflow Faq Grid / Faq Card) */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 72px; }
.faq-item { padding: 24px 0 40px; border-top: 1px solid var(--color--border-strong); }
.faq-q { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.faq-a { margin-top: 12px; max-width: 46ch; color: var(--color--text-muted); font-size: 16px; }
.faq-a a, .legal a { color: var(--color--accent-text); text-underline-offset: 3px; }

.contact {
  margin-top: 40px; padding: 40px 0 120px;
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--color--border-strong);
}
.contact .display { font-size: clamp(2rem, 4vw, 3rem); }
.contact p { margin-top: 12px; color: var(--color--text-muted); max-width: 48ch; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; padding-bottom: 120px; }
.legal-short {
  margin-top: 56px; padding: 28px;
  border: 1px solid var(--color--lime-line); border-radius: var(--radius--card);
}
.legal-short h2 { font-family: var(--font--display); font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.legal-anchor { padding-top: 96px; }
.legal-h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-top: 16px; }
.legal h3 { margin-top: 40px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.legal p { margin-top: 14px; color: var(--color--text-muted); line-height: 1.7; }
.dots { list-style: none; margin: 12px 0 0; padding: 0; }
.dots li { position: relative; padding-left: 22px; margin-top: 12px; color: var(--color--text-muted); line-height: 1.6; }
.dots li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--color--lime);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color--border); padding: 36px 0 48px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-fine { margin-top: 20px; color: var(--color--text-subtle); font-size: 13px; max-width: 72ch; }

/* ---------- Tablet (991px) ---------- */
@media (max-width: 991px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .phones { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .row { grid-template-columns: 1fr 1fr; }
  .row-shot { display: none; }
  .panel { grid-template-columns: 1fr; padding: 56px; gap: 32px; }
  .section { padding: 96px 0; }
}

/* ---------- Mobile (767px) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-pill { gap: 16px; }
  .phones { height: 470px; }
  .phone { width: 210px; border-width: 7px; border-radius: 36px; }
  .phone-front { left: 0; }
  .phone-back { right: 0; }
  .row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .panel { padding: 40px 24px; border-radius: 28px; }
  .faq { grid-template-columns: 1fr; margin-top: 48px; }
  .section { padding: 80px 0; }
  .page-hero { padding-top: 132px; }
  .contact { padding-bottom: 80px; }
  .legal-anchor { padding-top: 72px; }
}

/* ---------- Small phones (400px) ---------- */
@media (max-width: 400px) {
  .phones { height: 400px; }
  .phone { width: 176px; border-radius: 30px; }
  .nav-cta { padding: 10px 14px; }
}
