:root {
  --bg: #0b0e10;
  --surface: #12171a;
  --raised: #20272b;
  --line: #1d2428;
  --edge: #2b3237;
  --text: #f2f5f6;
  --muted: #b7c0c5;
  --dim: #8d989e;
  --accent: #35d08a;
  --accent-hi: #6fe3ad;
  --ink: #06120c;
  --display: Archivo, "Segoe UI", Roboto, system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 14, 16, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 700 19px var(--display); letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; transition: transform 0.5s var(--back); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; }
nav a:not(.btn) { color: var(--muted); text-decoration: none; position: relative; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
nav a:not(.btn):hover { color: var(--text); }
nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 26px; background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s var(--back), box-shadow 0.2s; }
.btn:hover { background: var(--accent-hi); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-small { min-height: 44px; padding: 0 20px; border-radius: 22px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--edge); }
.btn-ghost:hover { background: var(--raised); color: var(--text); }

/* ---- hero ---- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 48px; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.addr { margin: 0; min-height: 22px; font: 500 14px var(--mono); color: var(--accent); letter-spacing: 0.02em; }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1 { margin: 0; font: 800 clamp(42px, 6vw, 76px)/1.02 var(--display); letter-spacing: -0.035em; }
.lead { margin: 0; max-width: 34em; font-size: 19px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { margin: 0; font-size: 14px; color: var(--dim); }

.hero-art { flex: 1 1 460px; min-width: 0; max-width: 680px; margin: 0 auto; position: relative; aspect-ratio: 1.12; }
.shot { margin: 0; }
.shot.pc { position: absolute; top: 0; right: 0; width: 92%; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); }
.shot.phone { position: absolute; left: 0; bottom: 0; width: 34%; border-radius: 28px; overflow: hidden; border: 6px solid var(--raised); background: var(--bg); }
.shot img { width: 100%; }

/* A scan line sweeping the QR on the PC: what the other phone's camera does. */
.scan { position: absolute; left: 6%; width: 22%; top: 18%; height: 2px; background: var(--accent); box-shadow: 0 0 16px 4px rgba(53, 208, 138, 0.55); opacity: 0; animation: scan 3.2s var(--ease) 1.6s infinite; }
@keyframes scan {
  0% { top: 18%; opacity: 0; }
  10% { opacity: 1; }
  45% { top: 52%; opacity: 1; }
  55%, 100% { top: 52%; opacity: 0; }
}
.float { animation: float 6s ease-in-out 1.4s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
/* The phone and the PC are talking: a ring spreading out from the phone. */
.pulse { position: absolute; left: 18%; bottom: 46%; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); pointer-events: none; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s var(--ease) infinite; }
.pulse::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(5); opacity: 0; } }

/* ---- facts ---- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact b { font: 700 30px var(--display); letter-spacing: -0.02em; }
.fact span { font-size: 14px; color: var(--dim); }

/* ---- sections ---- */
.section { padding-top: 112px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.kicker { margin: 0; font: 400 14px var(--mono); color: var(--accent); }
h2 { margin: 0; font: 800 clamp(32px, 4vw, 48px)/1.08 var(--display); letter-spacing: -0.03em; }
h3 { margin: 0; }
.muted { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--surface); border-radius: 20px; transition: transform 0.4s var(--back), background 0.3s; }
.step:hover { transform: translateY(-6px); background: #151b1f; }
.step h3 { font: 700 24px var(--display); letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); }
.who { font: 400 14px var(--mono); color: var(--dim); }
.who.them { color: var(--accent); }
.phone-img { width: 100%; max-width: 260px; align-self: center; margin-top: auto; border-radius: 22px; border: 5px solid var(--raised); }

.mini-page { width: 100%; max-width: 260px; align-self: center; margin-top: auto; border-radius: 22px; border: 5px solid var(--raised); background: #fff; color: #14181a; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.4; }
.mp-head { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #5b656a; }
.mp-head i { width: 7px; height: 7px; border-radius: 4px; background: #0a7d4e; }
.mp-head b { font-weight: 600; letter-spacing: 0.08em; }
.mp-head span { margin-left: auto; }
.mp-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.mp-all { height: 38px; border-radius: 19px; background: #0a7d4e; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.mp-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #dde2e4; border-radius: 11px; }
.mp-tag { width: 30px; height: 30px; flex: none; border-radius: 8px; background: #f4f6f7; border: 1px solid #dde2e4; font-size: 8px; font-weight: 700; color: #5b656a; display: flex; align-items: center; justify-content: center; }
.mp-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mp-name small { color: #5b656a; font-size: 12px; }
.mp-get { padding: 5px 11px; border: 1px solid #c9d0d3; border-radius: 14px; font-weight: 600; }
/* The Get buttons get tapped, one after the other. */
.in .mp-row:nth-of-type(4) .mp-get { animation: tap 4s ease 1.2s infinite; }
.in .mp-row:nth-of-type(5) .mp-get { animation: tap 4s ease 2.2s infinite; }
@keyframes tap { 0%, 18%, 100% { background: #fff; color: #14181a; } 6%, 12% { background: #0a7d4e; color: #fff; border-color: #0a7d4e; } }

.split { flex-direction: row; flex-wrap: wrap-reverse; align-items: center; gap: 64px; }
.split-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; gap: 20px; }
.split-art .phone-img { width: 46%; max-width: 280px; margin: 0; border-width: 6px; border-radius: 26px; }
.split-art .tilt-r { margin-top: 56px; }
.split-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.ticks b { font-weight: 600; }
.ticks span { color: var(--muted); }

.band { margin-top: 112px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .section { padding-top: 96px; padding-bottom: 96px; gap: 48px; }
.pc-head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.pc-head > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pc-head > p { flex: 1 1 360px; min-width: 0; }
.pc-shot { width: 100%; border-radius: 16px; border: 1px solid var(--edge); }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.three h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.three p { margin: 0; font-size: 15px; color: var(--muted); }

.narrow { max-width: 880px; gap: 36px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 0; padding: 0 0 24px; color: var(--muted); }

.cta { background: var(--accent); color: var(--ink); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }
.cta p { margin: 0; font-size: 18px; max-width: 30em; }
.dl { display: flex; flex-wrap: wrap; gap: 14px; }
.dl-btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 0 26px; border-radius: 18px; background: var(--ink); color: var(--text); text-decoration: none; transition: transform 0.25s var(--back); }
.dl-btn:hover { color: var(--text); transform: translateY(-3px); }
.dl-btn:active { transform: scale(0.97); }
.dl-btn b { font-size: 17px; }
.dl-btn span { font-size: 13px; color: #8fe0b8; }

.foot { border-top: 1px solid var(--line); margin-top: 72px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 48px; font-size: 14px; color: var(--dim); }
.foot-row a { color: var(--muted); }
.brand-sm { display: flex; align-items: center; gap: 10px; }
.brand-sm img { border-radius: 6px; }

/* ---- entrances ---- */
.rise { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 0.12s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 0.1s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tilt-l.reveal.in { transform: rotate(-3deg); }
.js .tilt-r.reveal.in { transform: rotate(3deg); }

@media (max-width: 700px) {
  nav { gap: 18px; }
  nav a:not(.btn) { display: none; }
  .hero { padding-top: 32px; }
  .section { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scan, .pulse { display: none; }
}
