/* Home page sections. */

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 104px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 32px;
}

.hero__eyebrow { color: var(--ink); }
.hero__title { margin-top: 22px; }
.hero__lead { max-width: 540px; margin-top: 28px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 600;
}

.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--ink); }

.hero__stage {
  --s: 0.78;
  position: relative;
  display: grid;
  place-items: start center;
  min-height: calc(876px * var(--s) + 64px);
}

.hero__phone { position: relative; z-index: 2; }
.hero__stage .device-slot { --s: inherit; }

.hero__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 0;
  height: 0;
  color: #dcdcdc;
  pointer-events: none;
}

.hero__ring { position: absolute; }
.hero__ring--1 { width: 600px; height: 600px; margin: -300px 0 0 -300px; animation: spin-slow 80s linear infinite; }
.hero__ring--2 { width: 800px; height: 800px; margin: -400px 0 0 -400px; animation: spin-slow 120s linear infinite reverse; color: #e9e9e9; }

.hero__pulse {
  position: absolute;
  left: -210px;
  top: -210px;
  width: 420px;
  height: 420px;
  border: 1.5px solid #d2d2d2;
  border-radius: 50%;
  opacity: 0;
  animation: hero-pulse 4.4s ease-out infinite;
}

.hero__pulse + .hero__pulse { animation-delay: 2.2s; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

@keyframes hero-pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero.is-paused *,
.hero.is-paused { animation-play-state: paused !important; }

.float { position: absolute; z-index: 3; pointer-events: none; }

.float--reply {
  left: -2%;
  top: 13%;
  width: 236px;
  animation: float-y 6s ease-in-out infinite alternate;
}

.float-reply__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 4px;
  font-size: 13px;
  color: var(--ink-500);
}

.float-reply__who b { color: var(--ink); font-size: 14px; }

.float-reply__avatar { width: 30px; height: 30px; flex: none; overflow: hidden; border-radius: 50%; }
.float-reply__avatar .avatar { width: 100%; height: 100%; }

.float-reply__bubble {
  padding: 12px 16px;
  border: 1px solid var(--blush);
  border-radius: 20px 20px 20px 4px;
  background: var(--blush);
  box-shadow: var(--shadow-float);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.float--banner {
  left: 50%;
  bottom: 0;
  width: 312px;
  margin-left: -156px;
  animation: float-y 7s ease-in-out -2s infinite alternate;
}

.float--banner .banner { position: relative; left: auto; right: auto; font-size: 16px; }
.float--banner .banner__tags { overflow: hidden; }
.float--banner .banner__tags .tag { flex: none; }

.float--radar {
  right: -5%;
  top: 36%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  background: var(--premium);
  color: #fff;
  box-shadow: var(--shadow-float);
  animation: float-y 6.5s ease-in-out -4s infinite alternate;
}

.float--radar b { display: block; font-size: 16px; }
.float--radar p { margin-top: 2px; color: var(--on-dark-2); font-size: 13px; font-variant-numeric: tabular-nums; }

.mini-radar { position: relative; width: 48px; height: 48px; flex: none; }

.mini-radar span {
  position: absolute;
  inset: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  opacity: 0;
  animation: radar-pulse 2.2s ease-out infinite;
}

.mini-radar span:nth-child(2) { animation-delay: 0.73s; }
.mini-radar span:nth-child(3) { animation-delay: 1.46s; }

.mini-radar i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.3);
}

@keyframes float-y {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

.hero__pause {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: var(--muted);
  color: var(--ink-600);
  font-size: 12px;
}

/* ---------- Manifesto ---------- */
.manifesto__title { max-width: 14ch; margin-top: 18px; font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.035em; }

.manifesto__text {
  max-width: 30em;
  margin-top: clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.38;
  color: var(--on-dark);
}

.manifesto__text .word { color: rgba(255, 255, 255, 0.24); transition: color 280ms var(--ease-press); }
.manifesto__text .word.is-lit { color: var(--on-dark); }

/* ---------- Values ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 30px;
  border-radius: var(--r-xl);
  background: var(--muted);
}

.value-card__art { width: 108px; height: 108px; margin-bottom: 28px; color: var(--ink); }
.value-card__art svg { width: 100%; height: 100%; overflow: visible; }

.value-card h3 { font-size: clamp(34px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.value-card__tag { margin-top: 8px; font-weight: 700; }
.value-card > p:not(.value-card__tag) { margin-top: 12px; color: var(--ink-600); }
.value-card .link-arrow { margin-top: auto; padding-top: 22px; }

.value-art__spin { transform-origin: 60px 60px; animation: spin-slow 16s linear infinite; }

.value-art__wave { transform-origin: 84px 40px; animation: wave 2.4s ease-out infinite; }
.value-art__wave--2 { animation-delay: 1.2s; }

@keyframes wave {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

.value-art__check { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 600ms var(--ease-out) 400ms; }
.value-card.is-visible .value-art__check,
html:not(.js) .value-art__check,
.motion-reduce .value-art__check { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .value-art__check { stroke-dashoffset: 0; }
}

/* ---------- Features ---------- */
.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.feature--alt .feature__copy { order: 2; }

.feature__copy h2 { margin-top: 18px; }
.feature__copy .lead { margin-top: 24px; max-width: 34em; }

.feature__demo { display: flex; justify-content: center; }
.feature__demo .device-slot { --s: 0.74; }

.feature__points { display: grid; gap: 22px; margin: 40px 0 0; padding: 0; list-style: none; }

.feature__points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }

.feature__points h3 { font-size: 18px; }
.feature__points p { margin-top: 4px; color: var(--ink-600); font-size: 16px; line-height: 1.55; }

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--muted);
}

.section--muted .feature__icon { background: var(--paper); }
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon .live-dot { width: 12px; height: 12px; }

.feature__note { margin-top: 28px; color: var(--ink-500); font-size: 14px; line-height: 1.6; }
.feature__note a { color: var(--ink); font-weight: 600; }

/* Video steps */
.steps { display: grid; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  text-align: left;
  transition: background 220ms, transform 180ms var(--ease-press);
}

.step:hover { background: rgba(255, 255, 255, 0.6); }
.step.is-active { background: var(--paper); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.step:active { transform: scale(0.99); }

.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e4e4e4;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: background 220ms, color 220ms;
}

.step.is-active .step__num { background: var(--ink); color: var(--paper); }

.step__text b { display: block; font-family: var(--font-display); font-size: 18px; }
.step__text small { display: block; margin-top: 4px; color: var(--ink-600); font-size: 15px; line-height: 1.5; }

/* ---------- Trust ---------- */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-card {
  padding: 28px 26px 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: #121212;
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #fff;
  color: #000;
}

.trust-card__icon svg { width: 24px; height: 24px; }
.trust-card__icon--text { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }

.trust-card h3 { font-size: 19px; }
.trust-card p { margin-top: 8px; color: var(--on-dark-2); font-size: 15px; line-height: 1.55; }

.trust__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-head--side { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.section-head--side .link-arrow { margin-top: 28px; }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }

.cta__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--r-hero);
  background: var(--ink-900);
  color: var(--on-dark);
}

.cta__card .eyebrow { color: var(--on-dark-3); }
.cta__card h2 { margin-top: 18px; }
.cta__card .lead { margin-top: 20px; color: var(--on-dark-2); max-width: 30em; }

.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.cta__meta { color: var(--on-dark-3); font-size: 14px; font-weight: 600; }

.cta__art { position: relative; display: grid; place-items: center; min-height: 260px; }
.cta__mark { position: relative; z-index: 1; width: min(100%, 300px); fill: #fff; }

.cta__rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: hero-pulse 4.2s ease-out infinite;
}

.cta__rings span:nth-child(2) { animation-delay: 1.4s; }
.cta__rings span:nth-child(3) { animation-delay: 2.8s; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { max-width: 680px; }
  .hero__stage { --s: 0.7; margin-top: 16px; }
  .float--reply { left: calc(50% - 330px); top: 12%; }
  .float--radar { right: calc(50% - 360px); top: 36%; }

  .values__grid { grid-template-columns: 1fr; }
  .value-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 28px; }
  .value-card__art { grid-row: span 4; width: 96px; height: 96px; margin: 0; }
  .value-card .link-arrow { padding-top: 16px; }

  .feature__grid { grid-template-columns: 1fr; }
  .feature--alt .feature__copy { order: 0; }
  .feature__copy { max-width: 680px; }
  .feature__demo .device-slot { --s: 0.74; }

  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-section__grid { grid-template-columns: 1fr; }
  .section-head--side { position: static; }
  .cta__card { grid-template-columns: 1fr; }
  .cta__art { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 639px) {
  .hero { padding-top: 20px; }
  .hero__actions { gap: 16px 22px; }
  .hero__proof { gap: 10px 18px; margin-top: 30px; }
  .hero__stage { --s: 0.64; min-height: calc(876px * var(--s) + 72px); }
  .hero__rings { transform: scale(0.72); }
  .float--reply { left: 0; top: 17%; width: 188px; }
  .float--banner .banner__tags .tag + .tag { display: none; }
  .float-reply__bubble { font-size: 14px; padding: 10px 13px; }
  .float--banner { width: 272px; margin-left: -136px; }
  .float--banner .banner { min-height: 72px; padding: 10px 12px 10px 10px; gap: 10px; }
  .float--banner .banner__avatar,
  .float--banner .banner__avatar .avatar { width: 48px; height: 48px; }
  .float--banner .banner__name { font-size: 15px; }
  .float--radar { display: none; }
  .hero__pause { right: 50%; transform: translateX(50%); bottom: -4px; }

  .value-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .value-card__art { grid-row: auto; width: 84px; height: 84px; margin-bottom: 20px; }

  .feature__demo .device-slot { --s: 0.72; }
  .trust__grid { grid-template-columns: 1fr; }
  .step { padding: 14px; gap: 14px; }
}

@media (max-width: 379px) {
  .hero__stage { --s: 0.58; }
  .feature__demo .device-slot { --s: 0.66; }
  .float--reply { width: 170px; }
  .float--banner { width: 250px; margin-left: -125px; }
}
