/* ==========================================================================
   Agent Bond — home
   One idea per section, huge type, the product doing the talking.
   Standalone: this page does not load site.css. No frameworks, no WebGL.
   Motion is CSS transforms/opacity only (GPU-composited) and is switched
   off under prefers-reduced-motion.
   ========================================================================== */

:root {
  --canvas: #f4f1e9;
  --canvas-2: #ece8dd;
  --ink: #11110f;
  --ink-2: #3c3a35;
  --muted: #6d6a62;
  --line: rgba(17, 17, 15, 0.08);
  --accent: #315d46;
  --glass: rgba(255, 253, 249, 0.62);
  --glass-strong: rgba(255, 253, 249, 0.82);
  --glass-rim: rgba(255, 255, 255, 0.9);
  --shadow: 0 30px 80px -30px rgba(59, 51, 38, 0.35), 0 10px 30px -18px rgba(59, 51, 38, 0.25);
  --radius: 28px;
  --wrap: 1180px;
  --display: "Inter Tight", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------------------------------------------------------------- Glass -- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--line);
  border-top-color: var(--glass-rim);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 40px -18px rgba(59, 51, 38, 0.35);
}

/* ------------------------------------------------------------------ Nav -- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(980px, calc(100% - 24px));
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: var(--canvas); }
.btn-dark:hover { background: #2a2925; }
.btn-glass { background: var(--glass-strong); border: 1px solid var(--line); border-top-color: var(--glass-rim); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 17px; }

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-glass { display: none; }
}

/* ------------------------------------------------------------ Sections -- */
section { position: relative; }
.chapter { padding: clamp(96px, 16vw, 200px) 0 0; }
.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8.2vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}
.headline .soft { color: #9d998e; }
.sub {
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.38;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 620px;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* ----------------------------------------------------------------- Hero -- */
.hero { padding-top: 132px; text-align: center; overflow: hidden; }
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 136px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero-title span { display: block; color: #a29d91; font-size: 0.56em; letter-spacing: -0.045em; margin-top: 0.18em; }
.hero .sub { margin: 26px auto 0; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-stage {
  position: relative;
  margin: 56px auto 0;
  height: clamp(560px, 62vw, 760px);
  max-width: 1100px;
}
.hero-stage .phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.hero-stage .phone.side { z-index: 1; top: 70px; opacity: 0.96; }
.hero-stage .phone.left { transform: translateX(calc(-50% - 290px)) scale(0.86) rotate(-4deg); }
.hero-stage .phone.right { transform: translateX(calc(-50% + 290px)) scale(0.86) rotate(4deg); }
.chip {
  position: absolute;
  z-index: 3;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.chip i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--canvas); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.hero-stage .chip.a { left: 4%; top: 150px; }
.hero-stage .chip.b { right: 3%; top: 330px; }
.hero-stage .chip.c { left: 9%; top: 470px; }
@media (max-width: 900px) {
  .hero-stage .phone.side, .hero-stage .chip { display: none; }
}

/* --------------------------------------------------------------- Phones -- */
.phone {
  --w: clamp(250px, 26vw, 320px);
  width: var(--w);
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * 0.16);
  padding: calc(var(--w) * 0.035);
  background: linear-gradient(145deg, #2b2a27, #0c0c0b 45%, #262521);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}
.phone::after { /* side button */
  content: "";
  position: absolute;
  right: -3px;
  top: 26%;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #1c1b18;
}
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--w) * 0.13);
  overflow: hidden;
  background: var(--canvas);
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone.sm { --w: clamp(210px, 21vw, 270px); }

.pair { display: flex; gap: clamp(20px, 5vw, 64px); justify-content: center; align-items: flex-start; margin-top: 70px; }
.pair .phone:nth-child(2) { margin-top: 90px; }
@media (max-width: 680px) {
  .pair { gap: 14px; }
  .pair .phone { --w: 44vw; }
  .pair .phone:nth-child(2) { margin-top: 50px; }
}

/* --------------------------------------------------------- Split layout -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip .split-copy { order: 2; }
.split-media { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip .split-copy { order: 0; }
}

/* ---------------------------------------------------------------- Bands -- */
.band {
  margin: clamp(96px, 14vw, 180px) auto 0;
  width: min(1320px, 100% - 24px);
  border-radius: 44px;
  padding: clamp(72px, 10vw, 140px) 0;
  background: var(--ink);
  color: #f4f1e9;
  overflow: hidden;
}
.band .headline .soft { color: #6f6b62; }
.band .sub { color: #aaa597; }
.band .eyebrow { color: #9cc3a9; }
.band .phone { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }

/* ---------------------------------------------------------------- Calls -- */
.call-orbit { position: relative; display: flex; justify-content: center; margin-top: 70px; overflow: visible; }
.band { overflow: hidden; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { .call-orbit .ring { width: 340px; height: 340px; } }
.call-orbit .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 233, 0.08);
  transform: translate(-50%, -50%);
  animation: ring 4.8s var(--ease) infinite;
}
.call-orbit .ring:nth-child(2) { animation-delay: 1.6s; }
.call-orbit .ring:nth-child(3) { animation-delay: 3.2s; }
@keyframes ring {
  from { transform: translate(-50%, -50%) scale(0.55); opacity: 0.9; }
  to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.call-facts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.pill {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(244, 241, 233, 0.08);
  border: 1px solid rgba(244, 241, 233, 0.1);
}

/* --------------------------------------------------------------- Models -- */
.models {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 60px auto 0;
  max-width: 980px;
}
.model {
  border-radius: 18px;
  padding: 16px 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 170px;
}
.model small { font-family: var(--text); font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* --------------------------------------------------------------- Voices -- */
.voices { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.voice { border-radius: 22px; padding: 22px 18px; text-align: left; }
.voice b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -0.03em; }
.voice span { color: var(--muted); font-size: 14px; }
.wave { display: flex; gap: 3px; align-items: center; height: 26px; margin-top: 16px; }
.wave i { width: 3px; border-radius: 2px; background: var(--ink); opacity: 0.8; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; }
.wave i:nth-child(4) { animation-delay: 0.3s; } .wave i:nth-child(5) { animation-delay: 0.4s; }
.wave i:nth-child(6) { animation-delay: 0.5s; } .wave i:nth-child(7) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.langs { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-size: clamp(20px, 2.6vw, 30px); font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; color: #aaa597; }
.langs span:nth-child(3n + 1) { color: var(--ink); }
@media (max-width: 900px) { .voices { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ Connectors -- */
.logos { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.logo-tile { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.logo-tile img { width: 30px; height: 30px; object-fit: contain; }
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 60px; }
.kind { border-radius: 24px; padding: 26px; }
.kind b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.025em; margin-bottom: 6px; }
.kind span { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- Security -- */
.vault { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.vault .kind { background: rgba(244, 241, 233, 0.06); border: 1px solid rgba(244, 241, 233, 0.1); }
.vault .kind span { color: #aaa597; }
.vault svg { width: 30px; height: 30px; margin-bottom: 18px; stroke: #9cc3a9; }
@media (max-width: 900px) { .vault { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vault { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Everywhere -- */
.laptop { margin: 70px auto 0; width: min(980px, 100%); }
.laptop .lid {
  border-radius: 22px 22px 0 0;
  padding: 1.6%;
  background: linear-gradient(160deg, #2b2a27, #0d0d0c);
  box-shadow: var(--shadow);
}
.laptop .lid img { border-radius: 10px; width: 100%; }
.laptop .base {
  height: 16px;
  margin: 0 -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#d9d5cb, #b9b4a8);
}
.platforms { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.store-badge { display: none; }
.store-badge.is-live { display: inline-flex; }
.store-note { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* ----------------------------------------------------------------- Final -- */
.final { text-align: center; padding: clamp(120px, 18vw, 220px) 0; }

/* ---------------------------------------------------------------- Footer -- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 60px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer a:hover { color: var(--ink); }

/* ----------------------------------------------------------------- Intro -- */
/* The hero is on screen at first paint, so it animates with CSS alone rather
   than waiting for the reveal script (which held back the largest paint). */
.intro { animation: intro 1s var(--ease) both; }
.intro.d1 { animation-delay: 0.06s; } .intro.d2 { animation-delay: 0.12s; } .intro.d3 { animation-delay: 0.18s; }
@keyframes intro { from { transform: translateY(24px); } to { transform: none; } }

/* ---------------------------------------------------------------- Reveal -- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
.rise .phone { transform: translateY(80px) scale(0.96); transition: transform 1.4s var(--ease); }
.rise.in .phone { transform: none; }
.rise.in .phone:nth-child(2) { transition-delay: 0.12s; }

/* Parallax lift for the hero phones, driven by scroll where supported. */
@supports (animation-timeline: scroll()) {
  .hero-stage .phone.center-phone { animation: lift linear both; animation-timeline: scroll(); animation-range: 0 700px; }
  @keyframes lift { to { transform: translateX(-50%) translateY(-60px) scale(1.04); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise .phone { opacity: 1; transform: none; transition: none; }
  .intro { animation: none; }
  .call-orbit .ring, .wave i, .hero-stage .phone.center-phone { animation: none; }
}

@media (max-width: 600px) {
  .models { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .model { min-width: 0; padding: 12px 14px; font-size: 16px; }
  .voices { gap: 8px; }
  .voice { padding: 16px 14px; }
  .voice b { font-size: 20px; }
}

/* ------------------------------------------------------ Added sections -- */
/* Three phones side by side (People). */
.trio { display: flex; gap: clamp(14px, 3vw, 40px); justify-content: center; align-items: flex-start; margin-top: 70px; }
.trio .phone { --w: clamp(200px, 22vw, 290px); }
.trio .phone:nth-child(2) { margin-top: 70px; }
@media (max-width: 760px) {
  .trio .phone { --w: 30vw; }
  .trio .phone:nth-child(2) { margin-top: 36px; }
}

/* Light tags (Connections, multimodal). */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.center .tags { justify-content: center; }
.tag { border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

/* Feature tiles on the light canvas. */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 60px; text-align: left; }
.tile { border-radius: 24px; padding: 26px; }
.tile svg { width: 28px; height: 28px; stroke: var(--accent); margin-bottom: 16px; }
.tile b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.025em; margin-bottom: 6px; }
.tile span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Quickee mark next to its headline. */
.quickee-mark { width: 72px; height: 72px; border-radius: 50%; background: #1f5e45; display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 18px 40px -16px rgba(31, 94, 69, 0.7); }
.quickee-mark svg { width: 34px; height: 34px; fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .quickee-mark { animation: breathe 4s ease-in-out infinite; }
  @keyframes breathe { 50% { transform: scale(1.06); } }
}
