/* getlimiter.com — the home page.
   Static, no JavaScript, nothing loaded from anyone else. Every app screen is
   shown whole: nothing overlaps a screen and nothing cuts one off. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-1.000-latin.var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-4.1-latin.var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-1.7.2-latin.var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* The ground matches the fal clips' own background, so they sit in the
     page with no seam. */
  --ground: #020d19;
  --ground-2: #06182b;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f7fb;
  --ink-2: #b4c1d1;
  --ink-3: #7d8da2;
  --blue: #38b8f5;
  --mint: #6cdebe;
  --ramp: linear-gradient(90deg, #38b8f5, #6cdebe);
  --display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(16px, min(4.4vw, 48px));
  --wrap: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--ground); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow { max-width: 40rem; }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(3.1rem, 8.6vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display .line { display: block; }
.h2 {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(2.7rem, 6.4vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.ramp-text {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dim { color: var(--ink-3); }
.lede { font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.eyebrow {
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 22px;
}
.meta { font: 400 0.8125rem/1.5 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); }
.fine { font-size: 0.875rem; color: var(--ink-3); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.links.center { justify-content: center; }
.links a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 222, 190, 0.5);
  padding-bottom: 2px;
}
.links a::after { content: " →"; color: var(--mint); }
.links a:hover { border-color: var(--mint); }

/* ---------- Header ---------- */

.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 13, 25, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
.nav a:hover { color: var(--ink); }
.help {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(108, 222, 190, 0.55);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  box-shadow: 0 0 24px -8px rgba(108, 222, 190, 0.6);
}
.help:hover { background: rgba(108, 222, 190, 0.1); }
@media (max-width: 760px) {
  .nav { display: none; }
  .help { margin-left: auto; }
}

/* ---------- Media: videos, and their stills under reduced motion ---------- */

.still { display: none; }
@media (prefers-reduced-motion: reduce) {
  video { display: none !important; }
  .still { display: block; }
}
.clip { position: relative; }
.clip video, .clip .still { width: 100%; height: auto; }
/* The fal clips carry their own ground; a soft edge blends them into the page. */
/* Each edge fades to the ground on its own, so no box shows, and the fades
   stop well short of the phone in the middle, which stays whole. */
.clip-4x5, .gallery, .signal-band {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}
.gallery {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.signal-band {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); overflow: clip; }
.hero-glow {
  position: absolute; inset: -20% -10% auto 30%; height: 120%;
  background:
    radial-gradient(40% 45% at 60% 45%, rgba(56, 184, 245, 0.20), transparent 70%),
    radial-gradient(35% 40% at 80% 70%, rgba(108, 222, 190, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: min(82svh, 860px);
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  font: 500 0.8125rem/1 var(--body);
  color: var(--ink-2);
  margin-bottom: 28px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(108, 222, 190, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 222, 190, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(108, 222, 190, 0); } }
}
.hero h1 { margin-bottom: 30px; }
.hero .lede { margin-bottom: 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.badges.center { justify-content: center; }
.badge img { height: 50px; width: auto; }
/* Google's badge carries its own clear space; this sets its visible pill to
   the App Store badge's height. */
.badge-play img { height: 72px; margin: -11px -9px; }
.badge { border-radius: 10px; transition: transform 0.2s var(--ease); }
.badge:hover { transform: translateY(-2px); }
.hero-stage { justify-self: center; width: min(100%, 560px); }
@media (prefers-reduced-motion: no-preference) {
  .hero .line, .hero .lede, .hero .badges, .hero .meta, .hero .kicker { animation: rise 0.9s var(--ease) both; }
  .hero .line:nth-child(2) { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero .badges { animation-delay: 0.22s; }
  .hero .meta { animation-delay: 0.28s; }
  .hero-stage { animation: float 7s ease-in-out infinite; }
  @keyframes rise { from { transform: translateY(24px); } to { transform: none; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-stage { width: min(100%, 440px); }
}

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li {
  display: inline-flex; align-items: center;
  padding: 22px 0;
  font: 600 clamp(0.95rem, 1.4vw, 1.2rem)/1 var(--display);
  font-stretch: 88%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 7px; height: 7px; margin: 0 clamp(20px, 3vw, 40px);
  background: var(--ramp);
  transform: rotate(45deg);
  border-radius: 1px;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: marquee 44s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Signal ---------- */

.signal { padding: clamp(80px, 11vw, 150px) 0 0; }
.signal-head { text-align: center; }
.signal-head .h2 { margin-bottom: 24px; }
.signal-head .lede { margin: 0 auto; }
.signal-band { margin-top: clamp(24px, 4vw, 56px); }
.signal-band video, .signal-band .still { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; }

/* ---------- Features ---------- */

.feature { padding: clamp(72px, 10vw, 140px) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.feature-grid.flip .feature-copy { order: 2; }
.feature-copy .h2 { margin-bottom: 26px; }
.feature-stage { justify-self: center; width: min(100%, 520px); position: relative; }
.feature-stage::before {
  content: "";
  position: absolute; inset: 10% 5%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(56, 184, 245, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.flip .feature-copy { order: 0; }
  .feature-stage { width: min(100%, 440px); }
}

/* A real screen recording in a drawn device frame, whole. */
.phone {
  width: min(100%, 340px);
  margin: 0 auto;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2a3442, #0d141d 40%, #1b2430);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 30px 120px -40px rgba(56, 184, 245, 0.35);
}
.phone video, .phone .still { width: 100%; border-radius: 44px; aspect-ratio: 720 / 1430; object-fit: cover; }

.moves { margin-top: 30px; border-top: 1px solid var(--line); }
.moves li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  color: var(--ink-2);
}
.moves b { color: var(--ink); font-weight: 600; }
.moves .n { font: 500 0.8125rem/1 var(--mono); color: var(--mint); letter-spacing: 0.1em; }

.stat { display: grid; gap: 14px; margin-top: 8px; }
.stat-n {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(4.4rem, 11vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-t { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 30rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ---------- The total ---------- */

.total { padding: clamp(72px, 10vw, 140px) 0; }
.total-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 10; stroke-linecap: round; }
.ring-arc {
  fill: none; stroke: url(#ramp); stroke-width: 10; stroke-linecap: round;
  filter: drop-shadow(0 0 14px rgba(56, 184, 245, 0.55));
}
.ring-read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-n {
  font: 500 clamp(3rem, 7vw, 5.4rem)/1 var(--mono);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ring-u { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.total-copy .h2 { margin-bottom: 26px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ring-arc {
      stroke-dasharray: 100 100;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
    @keyframes draw { from { stroke-dashoffset: 100; opacity: 0; } 6% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
  }
}
@media (max-width: 900px) {
  .total-inner { grid-template-columns: 1fr; }
  .ring { width: min(80%, 320px); }
}

/* ---------- Privacy + gallery ---------- */

.privacy { padding: clamp(72px, 10vw, 140px) 0; }
.privacy-head { text-align: center; }
.privacy-head .h2 { margin-bottom: 24px; }
.privacy .links { margin-top: 36px; }
.gallery { margin: clamp(24px, 4vw, 48px) auto 0; max-width: 1400px; }
.gallery video, .gallery .still { width: 100%; }
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 4vw, 48px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.proof > div { background: var(--ground); padding: 24px 22px; }
.proof dt { font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.proof dd { font-size: 1.125rem; font-weight: 600; }
.proof dd.sub { font: 400 0.8125rem/1.4 var(--mono); color: var(--ink-3); font-weight: 400; margin-top: 6px; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Pricing and family ---------- */

.duo { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 140px); }
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}
.panel .h3 { margin-bottom: 20px; }
.panel p { color: var(--ink-2); }
.price li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.price li:first-child { border-top: 0; padding-top: 0; }
.price b { color: var(--ink); }
.panel-family { background: linear-gradient(160deg, rgba(56, 184, 245, 0.10), rgba(108, 222, 190, 0.05) 60%, rgba(255, 255, 255, 0.02)); }
@media (max-width: 900px) { .duo-grid { grid-template-columns: 1fr; } }

/* ---------- Closing band ---------- */

.finale { position: relative; padding: clamp(96px, 13vw, 180px) 0; overflow: clip; isolation: isolate; }
.finale-bg { position: absolute; inset: 0; z-index: -1; }
.finale-bg video, .finale-bg .still { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.finale-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ground), transparent 22%, transparent 78%, var(--ground));
}
.finale-inner { text-align: center; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 22px; box-shadow: 0 20px 60px -20px rgba(56, 184, 245, 0.7); }
.finale-title { font-size: clamp(3.4rem, 10vw, 9.6rem); margin-bottom: 26px; }
.finale .lede { margin: 0 auto 34px; }

/* ---------- Crisis ---------- */

.crisis { padding: clamp(64px, 8vw, 110px) 0; background: #010912; border-top: 1px solid var(--line); }
.crisis-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.crisis-copy .h3 { margin-bottom: 16px; }
.crisis-copy p { color: var(--ink-2); margin-bottom: 12px; }
.lines li {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.lines li:last-child { border-bottom: 1px solid var(--line); }
.line-name { font-weight: 600; }
.line-how { font-family: var(--mono); font-size: 0.9375rem; color: var(--ink-2); }
.line-how a { color: var(--mint); text-underline-offset: 3px; }
.nb { white-space: nowrap; }
@media (max-width: 900px) {
  .crisis-grid { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */

.foot { position: relative; padding: 64px 0 0; border-top: 1px solid var(--line); overflow: clip; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { color: var(--ink-3); margin-top: 14px; font-size: 0.9375rem; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
.foot nav a:hover { color: var(--ink); }
.foot-meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.foot-meta p { font-size: 0.8125rem; color: var(--ink-3); max-width: 60rem; }
.wordmark {
  margin: 24px 0 -0.22em;
  text-align: center;
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(6rem, 26vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Scroll rise: moves, never hides ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise, .feature-stage, .gallery, .proof, .ring {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 260px;
    }
    @keyframes rise-in { from { translate: 0 36px; scale: 0.98; } to { translate: 0 0; scale: 1; } }
  }
}
