:root {
  --bg: #f4f7ff;
  --bg-soft: #eef2ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --surface-accent: #e7ecff;
  --line: rgba(99, 102, 241, 0.13);
  --line-strong: rgba(99, 102, 241, 0.22);
  --text: #18213d;
  --muted: #58627d;
  --primary: #6366f1;
  --primary-deep: #4f46e5;
  --primary-soft: #cfd6ff;
  --accent: #f59e0b;
  --accent-soft: #fff3d7;
  --success: #22c55e;
  --shadow: 0 30px 90px rgba(79, 70, 229, 0.14);
  --shadow-soft: 0 20px 45px rgba(99, 102, 241, 0.12);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #eff4ff 46%, #f8fbff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

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

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

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 80;
  padding-top: 18px;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(115, 126, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 30px;
  object-fit: cover;
}

.brand-name {
  font-family: "Unbounded", sans-serif;
  font-size: 0.93rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-deep);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.08);
}

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

.nav-toggle:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.35);
  outline-offset: 2px;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-deep);
  outline: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(24, 33, 61, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.menu-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

/* FAB menu button (mobile only) */
.nav-fab {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.14);
  color: var(--primary-deep);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.18s, box-shadow 0.18s;
}

.nav-fab svg {
  width: 20px;
  height: 20px;
}

.nav-fab:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.nav-fab.is-open {
  background: rgba(79, 70, 229, 0.12);
}

/* Mobile nav popup */
.nav-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 80px 14px 24px;
  pointer-events: none;
}

.nav-popup.open {
  pointer-events: all;
}

.nav-popup-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 28px;
  padding: 24px;
  width: 240px;
  box-shadow: 0 24px 60px rgba(47, 56, 108, 0.22);
  transform: translateY(-12px) scale(0.96);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
}

.nav-popup.open .nav-popup-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nav-popup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.nav-popup-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.nav-popup-brand span {
  font-family: "Unbounded", sans-serif;
  font-size: 0.88rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.nav-popup-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.nav-popup-links a {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.97rem;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-popup-links a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-deep);
}

.nav-popup-cta {
  display: block;
  text-align: center;
  width: 100%;
}

.hero {
  padding: 52px 0 26px;
}

.hero-grid {
  display: block;
}

.hero-copy,
.bento-card,
.steps-card,
.install-card,
.faq-card,
.footer-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  border-radius: 36px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 68%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.09);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.075em;
}

.hero-copy p {
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 18px 32px rgba(79, 70, 229, 0.28);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-point {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.hero-point strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-point span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── Showcase (hero second screen) ─────────────────────── */

.hero-showcase {
  padding-top: 0;
}

.showcase-stage {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(145deg, #1a1f52 0%, #252c7a 50%, #1e2660 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 100px rgba(20, 24, 80, 0.35);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 48px 36px;
  min-height: 700px;
}

.showcase-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.28);
  top: -80px;
  left: -60px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.18);
  bottom: -60px;
  right: 20%;
}

.blob-3 {
  width: 260px;
  height: 260px;
  background: rgba(99, 102, 241, 0.2);
  bottom: -40px;
  right: -40px;
}

.showcase-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.col-left { align-items: flex-end; }
.col-right { align-items: flex-start; }
.col-center { align-items: center; }

.showcase-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 26px;
  padding: 20px;
  color: #fff;
  width: 220px;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

/* Activity panel (left) */
.activity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.activity-title {
  flex: 1;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-count {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
}

.activity-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.activity-text {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
}

.activity-text strong {
  color: #fff;
}

.activity-sub {
  display: block;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
}

.activity-emoji {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.activity-progress {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}

.activity-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.activity-prog-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.activity-prog-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #a5b4fc);
}

/* Phone (center) */
.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(180deg, #1d2348, #3a4372);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(10, 12, 50, 0.6),
    0 0 60px rgba(99, 102, 241, 0.25);
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, #f8faff, #eef3ff);
  min-height: 560px;
}

.phone-notch {
  width: 124px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #1d2348;
  margin: 0 auto;
}

.phone-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.phone-content {
  padding: 16px 16px 20px;
}

.phone-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.phone-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.11);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.list-card {
  border-radius: 20px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 20px 28px rgba(107, 113, 173, 0.12);
}

.list-card h3 {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.shop-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
}

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

.tick {
  width: 20px;
  height: 20px;
}

.tick rect {
  fill: rgba(99, 102, 241, 0.08);
  stroke: rgba(99, 102, 241, 0.18);
}

.tick path {
  stroke: var(--primary);
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-row.done .name {
  text-decoration: line-through;
  color: #9aa3bd;
}

.qty {
  color: var(--muted);
  font-size: 0.84rem;
}

.showcase-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-green 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Added panel (right) */
.added-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.added-list {
  display: grid;
  gap: 10px;
}

.added-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.added-emoji {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.added-info {
  flex: 1;
}

.added-info strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.added-info span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
}

.added-check {
  font-size: 0.82rem;
  color: #4ade80;
  font-weight: 700;
}

section {
  padding: 26px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-kicker {
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 42rem;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  border-radius: 30px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: rgba(99, 102, 241, 0.06);
  transform: rotate(16deg);
}

.bento-card.large {
  grid-column: span 7;
  min-height: 280px;
}

.bento-card.medium {
  grid-column: span 5;
  min-height: 280px;
}

.bento-card.small {
  grid-column: span 4;
  min-height: 240px;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  margin-bottom: 20px;
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
}

.bento-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  max-width: 30rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.amber-pill {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.steps-solo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.steps-card,
.install-card,
.faq-card,
.footer-card {
  border-radius: 30px;
  padding: 24px;
}

.steps-panel {
  display: grid;
  gap: 16px;
}

.step {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--surface-accent);
  color: var(--primary-deep);
  font-weight: 800;
  margin-bottom: 14px;
}

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

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.steps-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(99, 102, 241, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(235, 240, 255, 0.9), rgba(247, 249, 255, 0.82));
}

.steps-visual::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 90px;
  bottom: 90px;
  width: 2px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.35), rgba(99, 102, 241, 0.12));
}

.flow-card {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 20px 30px rgba(92, 102, 176, 0.12);
  margin-left: 62px;
}

.flow-card::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(99, 102, 241, 0.12);
}

.flow-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.invite-line,
.grow-list,
.sync-line {
  margin-top: 14px;
}

.invite-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-chip {
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-deep);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.send-chip {
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #7b7df6);
  color: #fff;
  font-weight: 700;
}

.grow-list {
  display: grid;
  gap: 10px;
}

.grow-item {
  padding: 10px 12px;
  border-radius: 15px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grow-item span:last-child {
  color: var(--muted);
}

.sync-line {
  display: flex;
  gap: 12px;
}

.sync-box {
  flex: 1;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.sync-box strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.sync-box .progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  overflow: hidden;
}

.sync-box .progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.install-tabs-wrap {
  background: var(--surface-strong);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.install-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.install-tabs::-webkit-scrollbar {
  display: none;
}

.install-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.install-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.install-tab:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.install-tab.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-deep);
}

.install-panels {
  padding: 28px;
}

.install-panel {
  display: none;
}

.install-panel.active {
  display: block;
}

.install-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.install-steps-col ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 14px;
  line-height: 1.65;
  font-size: 0.97rem;
}

.install-note {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #895609;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.5;
}

.install-note-warning {
  background: #fff1f2;
  color: #b91c1c;
}

.install-screens-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.install-screens {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 19;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
  cursor: zoom-in;
}

.install-screens--desktop {
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.install-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s;
}

.install-screen.active {
  opacity: 1;
}

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

.screen-prev,
.screen-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--primary-deep);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.screen-prev:hover,
.screen-next:hover {
  background: var(--bg-soft);
}

.screen-counter {
  font-size: 0.82rem;
  color: var(--muted);
  min-width: 40px;
  text-align: center;
}

.screen-caption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.4em;
  line-height: 1.4;
  padding: 0 8px;
}

.install-panel-inner--desktop {
  grid-template-columns: 0.55fr 1fr;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 12, 30, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.1s ease;
  cursor: zoom-in;
  user-select: none;
  touch-action: none;
}

.lightbox-img.zoomed {
  cursor: grab;
}

.lightbox-img.zoomed:active {
  cursor: grabbing;
}

.lightbox-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.4s;
}

.lightbox-hint.hidden {
  opacity: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.faq-aside {
  padding: 10px 8px 10px 0;
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}

.faq-trigger span {
  font-size: 1rem;
  font-weight: 700;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--primary-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-content > div {
  overflow: hidden;
}

.faq-content p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(99, 102, 241, 0.16);
}

.footer-card {
  margin-bottom: 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted);
  line-height: 1.65;
  max-width: 34rem;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-deep);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  color: var(--muted);
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .steps-solo {
    grid-template-columns: 1fr;
  }

  .steps-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .bento-card.large,
  .bento-card.medium,
  .bento-card.small {
    grid-column: span 6;
  }
}

@media (max-width: 780px) {
  .site-header {
    display: none;
  }

  .nav-fab {
    display: inline-flex;
  }

  .nav-popup {
    display: flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
    .bento-card,
  .steps-card,
  .install-card,
  .faq-card,
  .footer-card {
    border-radius: 26px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .install-panel-inner {
    grid-template-columns: 1fr;
  }

  .install-screens {
    max-width: 340px;
  }

  .showcase-stage {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
    min-height: auto;
  }

  .col-left, .col-right {
    align-items: center;
  }

  .showcase-panel {
    width: 100%;
    max-width: 340px;
  }

  .bento-card.large,
  .bento-card.medium,
  .bento-card.small {
    grid-column: span 12;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .install-panels {
    padding: 18px;
  }

  .install-screens-col {
    order: -1;
  }

  body::before {
    background-size: 28px 28px;
  }

  .shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero-copy,
    .bento-card,
  .steps-card,
  .install-card,
  .faq-card,
  .footer-card {
    padding: 18px;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.5rem);
  }

  .hero-copy p,
  .section-head p {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .phone-screen {
    min-height: 500px;
  }

  .phone-image {
    height: 200px;
  }

  .status-pill {
    min-width: 0;
    width: calc(100% - 36px);
    font-size: 0.86rem;
  }

  .steps-visual {
    min-height: auto;
  }

  .steps-visual::before {
    left: 28px;
  }

  .flow-card {
    left: auto;
    right: auto;
    margin-left: 24px;
  }

  .flow-card::before {
    left: -31px;
  }

  .sync-line {
    flex-direction: column;
  }
}

/* ─── Cookie banner ─────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  width: min(calc(100% - 32px), 680px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.18), 0 2px 8px rgba(79, 70, 229, 0.08);
  padding: 18px 20px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.cookie-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.cookie-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-text span {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-accept {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: "Onest", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}

.cookie-accept:hover {
  background: var(--primary-deep);
}

.cookie-accept:active {
  transform: scale(0.96);
}

@media (max-width: 500px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-accept {
    text-align: center;
  }
}


/* ─── Install panel CTA ─────────────────────────────────────── */
.install-cta {
  margin-top: 20px;
  align-self: flex-start;
}

@media (max-width: 780px) {
  .install-cta {
    display: none;
  }
}

/* ─── Footer CTA ────────────────────────────────────────────── */
.footer-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.footer-cta .button-primary {
  flex-shrink: 0;
}

.footer-cta-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

