/* ==========================================================================
   Agent Link — official website
   Design language: warm cream, ink black, minimal bronze accents.
   ========================================================================== */

:root {
  --bg: #f4f1e9;
  --bg-alt: #ece6d8;
  --surface: #fdfcf8;
  --surface-2: #f8f5ec;
  --ink: #1c1a14;
  --ink-2: rgba(28, 26, 20, 0.66);
  --ink-3: rgba(28, 26, 20, 0.44);
  --line: rgba(28, 26, 20, 0.12);
  --line-strong: rgba(28, 26, 20, 0.2);
  --accent: #9c6b3f;
  --accent-2: #b9895a;
  --accent-ink: #7a4f2b;
  --dark: #14120e;
  --dark-bg: #16140f;
  --dark-text: #f2efe6;
  --danger: #b43a2b;
  --ok: #3e7c4f;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 20, 0.06), 0 4px 14px rgba(28, 26, 20, 0.05);
  --shadow-md: 0 2px 4px rgba(28, 26, 20, 0.05), 0 16px 40px rgba(28, 26, 20, 0.08);
  --shadow-lg: 0 4px 8px rgba(28, 26, 20, 0.06), 0 32px 80px rgba(28, 26, 20, 0.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.container-narrow {
  max-width: 780px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.display {
  font-size: clamp(44px, 8.4vw, 86px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 52px;
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(28, 26, 20, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(28, 26, 20, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fdfbf5;
  box-shadow: 0 8px 24px rgba(156, 107, 63, 0.3);
}

.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
  min-height: 58px;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14.5px;
  min-height: 42px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 233, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 241, 233, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand em {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(28, 26, 20, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav.open .nav-toggle .icon-open {
  display: none;
}

.nav.open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 15px 18px;
    font-size: 17px;
    justify-content: flex-start;
  }

  .nav-cta .btn-nav {
    display: none;
  }
}

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(
    closest-side,
    rgba(156, 107, 63, 0.16),
    rgba(156, 107, 63, 0) 70%
  );
  pointer-events: none;
  animation: hero-drift 14s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  to {
    transform: translateX(-46%) translateY(26px) scale(1.08);
  }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy .display {
  margin: 18px 0 24px;
}

.hero-copy .lead {
  max-width: 54ch;
}

.hero-cta {
  margin-top: 36px;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}

.agent-cloud {
  margin-top: clamp(30px, 4.5vw, 48px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 560px;
}

.agent-cloud .cloud-head {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 5px;
  white-space: nowrap;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(28, 26, 20, 0.05);
}

.agent-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--accent-2));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
  flex: none;
}

.agent-chip-more {
  background: transparent;
  border-style: dashed;
  color: var(--ink-3);
  font-weight: 500;
}

/* Real-app device frame */
.hero-mock {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 30px;
}

.device {
  position: relative;
  width: min(300px, 84%);
  aspect-ratio: 9 / 19.2;
  background: var(--ink);
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(28, 26, 20, 0.12);
  transform: rotate(2.5deg);
  animation: device-float 9s ease-in-out infinite;
}

@keyframes device-float {
  0%,
  100% {
    transform: rotate(2.5deg) translateY(0);
  }
  50% {
    transform: rotate(2.5deg) translateY(-12px);
  }
}

.device .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface);
}

.device .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device .notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 19px;
  background: var(--ink);
  border-radius: var(--radius-pill);
  z-index: 3;
}

/* Floating call chip over the device */
.call-chip {
  position: absolute;
  right: -8px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: chip-pop 0.7s var(--ease) 0.5s both, chip-float 5s ease-in-out 1.2s infinite;
}

@keyframes chip-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.call-chip .wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.call-chip .wave i {
  width: 3px;
  border-radius: 3px;
  background: var(--accent-2);
  animation: wave 1s ease-in-out infinite;
}

.call-chip .wave i:nth-child(1) { height: 40%; }
.call-chip .wave i:nth-child(2) { height: 90%; animation-delay: 0.12s; }
.call-chip .wave i:nth-child(3) { height: 60%; animation-delay: 0.24s; }
.call-chip .wave i:nth-child(4) { height: 100%; animation-delay: 0.36s; }
.call-chip .wave i:nth-child(5) { height: 55%; animation-delay: 0.48s; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.call-chip .cc-meta {
  font-size: 12px;
  line-height: 1.3;
}

.call-chip .cc-meta b {
  font-size: 13px;
  display: block;
}

.call-chip .live {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-halo {
  position: absolute;
  inset: auto 6% -6% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(156, 107, 63, 0.18), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-cta,
  .btn-row,
  .agent-cloud {
    justify-content: center;
    max-width: none;
  }

  .hero-mock {
    margin-top: 10px;
  }

  .device {
    transform: rotate(0deg);
  }

  @keyframes device-float {
    0%,
    100% {
      transform: rotate(0deg) translateY(0);
    }
    50% {
      transform: rotate(0deg) translateY(-10px);
    }
  }

  .call-chip {
    right: 4%;
  }

  .hero-glow {
    width: 120vw;
  }
}

/* --------------------------------------------------------------------------
   Product showcase (real app screenshots)
   -------------------------------------------------------------------------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1080px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .showcase {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

.shot {
  position: relative;
  border-radius: 30px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.shot:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.shot .shot-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  padding: 7px;
}

.shot .shot-frame .screen {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 17.5;
  background: var(--surface);
}

.shot .shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot .shot-caption {
  padding: 16px 10px 8px;
  text-align: center;
}

.shot .shot-caption b {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.shot .shot-caption span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.45;
}

.shot.main {
  grid-column: span 2;
  grid-row: span 2;
  padding: 14px;
}

.shot.main .shot-frame {
  padding: 9px;
}

.shot.main .shot-caption {
  padding: 20px 12px 10px;
}

.shot.main .shot-caption b {
  font-size: 20px;
}

@media (max-width: 1080px) {
  .shot.main {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .shot.main {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

.step .step-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-ink);
}

.step .step-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.step:hover .step-cta svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Security band
   -------------------------------------------------------------------------- */

.sec-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .sec-band {
    grid-template-columns: 1fr;
  }
}

.sec-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.sec-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sec-list .sec-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(62, 124, 79, 0.12);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.sec-list .sec-icon svg {
  width: 20px;
  height: 20px;
}

.sec-list h3 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.sec-list p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.dl-hero {
  padding: clamp(48px, 7vw, 88px) 0 40px;
  text-align: center;
}

.dl-hero .display {
  font-size: clamp(40px, 7vw, 72px);
}

.dl-hero .lead {
  max-width: 56ch;
  margin: 20px auto 0;
}

.dl-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.dl-platform svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.dl-platform .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s ease-in-out infinite;
}

.dl-body {
  padding: 24px 0 clamp(64px, 8vw, 100px);
}

.dl-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 900px) {
  .dl-grid {
    grid-template-columns: 1fr;
  }
}

.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.dl-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}

.dl-card > p {
  color: var(--ink-2);
  margin-bottom: 26px;
}

.store-buttons {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(28, 26, 20, 0.25);
}

.store-btn svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.store-btn .sb {
  text-align: left;
  line-height: 1.2;
}

.store-btn .sb small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(244, 241, 233, 0.66);
}

.store-btn .sb b {
  font-size: 18px;
  font-weight: 650;
  display: block;
}

.store-btn.primary {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156, 107, 63, 0.22);
}

.store-btn .soon {
  margin-left: auto;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(185, 137, 90, 0.5);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

.dl-note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.dl-note a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl-stack {
  display: grid;
  gap: 22px;
}

/* Waitlist form on the download page (light surface) */
.cta-form-dark {
  margin-top: 6px;
}

.cta-form-dark input[type="email"] {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  padding: 15px 18px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cta-form-dark input[type="email"]::placeholder {
  color: var(--ink-3);
}

.cta-form-dark input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(156, 107, 63, 0.14);
}

/* QR card (desktop) */
.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.qr-card .qr-frame {
  width: min(240px, 72%);
  margin: 6px auto 18px;
  padding: 14px;
  border-radius: 22px;
  background: #fdfcf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.qr-card .qr-frame img {
  width: 100%;
  height: auto;
}

.qr-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.qr-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.qr-card .qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
}

/* TestFlight-ready note */
.tf-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(62, 124, 79, 0.09);
  border: 1px solid rgba(62, 124, 79, 0.25);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.tf-note svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--ok);
  margin-top: 2px;
}

@media (max-width: 620px) {
  .dl-card {
    padding: 24px 20px;
  }
}
/* --------------------------------------------------------------------------
   Sections & layout
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .kicker {
  justify-content: center;
}

.section-head.center .kicker::before {
  display: none;
}

.section-head .lead {
  margin-top: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft, rgba(156, 107, 63, 0.13));
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.card-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(156, 107, 63, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}

.marquee span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Problem section
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split-visual {
  position: relative;
  padding: 20px;
}

.frag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.frag-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.frag-card .frag-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.frag-card:nth-child(1) .frag-icon { background: #10a37f; }
.frag-card:nth-child(2) .frag-icon { background: #d97757; }
.frag-card:nth-child(3) .frag-icon { background: #4285f4; }
.frag-card:nth-child(4) .frag-icon { background: #f24e1e; }

.frag-card .frag-name {
  font-size: 14.5px;
  font-weight: 650;
}

.frag-card .frag-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.frag-card:nth-child(2),
.frag-card:nth-child(3) {
  transform: translateY(14px);
}

.frag-arrow {
  position: absolute;
  right: -6px;
  bottom: 8px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: pulse-soft 3s ease-in-out infinite;
}

.frag-arrow svg {
  width: 26px;
  height: 26px;
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-visual {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Feature list (editorial rows)
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 44px);
}

.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.feature-copy p {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.65;
}

.feature-points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.feature-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  font-weight: 550;
}

.feature-points li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(62, 124, 79, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233e7c4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row .feature-visual {
    order: -1;
  }
}

/* Feature visuals — mini UI panels built in CSS */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px;
}

.panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-title .pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  background: rgba(156, 107, 63, 0.12);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.panel .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.panel .row:last-child {
  border-bottom: 0;
}

.panel .row .who {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
}

.panel .row .who .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #fdfbf5;
  flex: none;
}

.panel .row .tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tag-agent {
  background: rgba(156, 107, 63, 0.14);
  color: var(--accent-ink);
}

.tag-human {
  background: rgba(28, 26, 20, 0.08);
  color: var(--ink);
}

.tag-done {
  background: rgba(62, 124, 79, 0.14);
  color: var(--ok);
}

.tag-pending {
  background: rgba(156, 107, 63, 0.14);
  color: var(--accent-ink);
}

.tag-live {
  background: rgba(62, 124, 79, 0.14);
  color: var(--ok);
}

.panel .bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--line);
  overflow: hidden;
  margin-top: 6px;
}

.panel .bar i {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.panel .bar i.green {
  background: var(--ok);
}

/* --------------------------------------------------------------------------
   Voice section
   -------------------------------------------------------------------------- */

.voice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .voice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.voice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.voice-card .voice-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 17px;
  margin-bottom: 14px;
}

.voice-card .voice-name {
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.3;
}

.voice-card .voice-lang {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 3px;
}

.voice-note {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Trust section
   -------------------------------------------------------------------------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.trust-item .t-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(62, 124, 79, 0.12);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.trust-item .t-icon svg {
  width: 21px;
  height: 21px;
}

.trust-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 780px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  text-align: left;
  font-size: 17.5px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.faq-q .faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-q .faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-q .faq-icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.faq-a {
  padding: 0 4px 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 66ch;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--dark-text);
  padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 88px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(
    closest-side,
    rgba(185, 137, 90, 0.22),
    transparent 70%
  );
  pointer-events: none;
}

.cta-band .h2 {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}

.cta-band .lead {
  position: relative;
  color: rgba(242, 239, 230, 0.72);
  max-width: 54ch;
  margin: 20px auto 36px;
}

.cta-band .btn-row {
  position: relative;
  justify-content: center;
}

.cta-band .btn-primary {
  background: var(--dark-text);
  color: var(--dark);
}

.cta-band .btn-secondary {
  border-color: rgba(242, 239, 230, 0.32);
  color: var(--dark-text);
}

.cta-band .btn-secondary:hover {
  border-color: var(--dark-text);
}

.store-row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 14px;
  border: 1px solid rgba(242, 239, 230, 0.24);
  background: rgba(242, 239, 230, 0.06);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.store-badge:hover {
  background: rgba(242, 239, 230, 0.12);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 26px;
  height: 26px;
}

.store-badge .sb-label {
  text-align: left;
  line-height: 1.15;
}

.store-badge .sb-label small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.6);
}

.store-badge .sb-label b {
  font-size: 15px;
  font-weight: 650;
  display: block;
}

.cta-note {
  position: relative;
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(242, 239, 230, 0.52);
}

.cta-form {
  position: relative;
  max-width: 460px;
  margin: 34px auto 0;
}

.cta-form-inline {
  display: flex;
  gap: 10px;
  background: rgba(242, 239, 230, 0.08);
  border: 1px solid rgba(242, 239, 230, 0.24);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 22px;
  align-items: center;
}

.cta-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--dark-text);
  font: inherit;
  font-size: 15.5px;
}

.cta-form input[type="email"]::placeholder {
  color: rgba(242, 239, 230, 0.5);
}

.cta-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 6px;
}

.cta-form .btn {
  min-height: 44px;
  padding: 12px 22px;
  background: var(--dark-text);
  color: var(--dark);
  box-shadow: none;
  flex: none;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.4em;
}

.form-note.ok {
  color: #9fd4ad;
}

.form-note.error {
  color: #e88f7f;
}

@media (max-width: 560px) {
  .cta-form-inline {
    flex-direction: column;
    border-radius: 22px;
    padding: 12px;
    align-items: stretch;
  }

  .cta-form input[type="email"] {
    padding: 8px 10px;
  }
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 40px;
  margin-top: clamp(40px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer .brand {
  margin-bottom: 14px;
}

.footer-blurb {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 22px;
}

.footer-bottom .legal-links a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-hero {
  padding: clamp(48px, 8vw, 88px) 0 32px;
}

.legal-hero .kicker {
  margin-bottom: 14px;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.legal-hero .updated {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-3);
}

.legal-body {
  padding: 24px 0 clamp(64px, 8vw, 100px);
}

.legal-body .container-narrow {
  max-width: 780px;
}

.legal-body h2 {
  font-size: clamp(22px, 2.6vw, 27px);
  margin: 44px 0 14px;
  letter-spacing: -0.02em;
}

.legal-body h3 {
  font-size: 18.5px;
  margin: 28px 0 10px;
}

.legal-body p,
.legal-body li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-body p + p {
  margin-top: 14px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin: 14px 0;
  display: grid;
  gap: 9px;
}

.legal-body li::marker {
  color: var(--accent);
}

.legal-body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(122, 79, 43, 0.35);
}

.legal-body a:hover {
  text-decoration-color: var(--accent-ink);
}

.legal-body .toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.legal-body .toc h2 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.legal-body .toc ol {
  padding-left: 20px;
  display: grid;
  gap: 7px;
  margin: 0;
}

.legal-body .toc a {
  color: var(--ink);
  text-decoration: none;
}

.legal-body .toc a:hover {
  color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .device,
  .hero-glow,
  .hero-halo,
  .marquee-track,
  .call-chip,
  .call-chip .wave i,
  .dl-platform .pulse,
  .frag-arrow {
    animation: none !important;
  }
}
