@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #0c0d10;
  --ink-2: #15171c;
  --ink-3: #1c1f27;
  --fog: #e8ecf2;
  --muted: #9aa3b2;
  --text: #f4f6fa;
  --text-dim: #b8c0ce;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #0d7a78;
  --teal-bright: #14a8a4;
  --teal-soft: rgba(13, 122, 120, 0.18);
  --card: #ffffff;
  --card-ink: #15202b;
  --card-muted: #5d6b7c;
  --radius: 14px;
  --nav-h: 72px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.home-page {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.home-wrap {
  overflow-x: clip;
}

/* --- Nav --- */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-brand img {
  height: 34px;
  width: auto;
}

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

.home-brand-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.home-brand-tag {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.home-nav-links a:hover { color: #fff; }

.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 122, 120, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(13, 122, 120, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.btn-light {
  background: #fff;
  color: var(--teal);
}

.btn-light:hover { background: #f2fffe; }

.btn-nav-demo {
  padding: 10px 16px;
  background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
}

.btn-nav-demo:hover {
  border-color: var(--teal-bright);
  background: var(--ink-2);
}

.btn-nav-demo svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 40px) clamp(48px, 8vw, 88px);
  background:
    linear-gradient(90deg, rgba(6, 8, 14, 0.9) 0%, rgba(6, 8, 14, 0.72) 45%, rgba(6, 8, 14, 0.62) 100%),
    #05070c url("/background.png") center / cover no-repeat;
  overflow: visible;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 75%, transparent 100%);
  opacity: 0.14;
  pointer-events: none;
  animation: hero-grid-drift 28s linear infinite;
}

@keyframes hero-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 28px 14px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) auto;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.hero-copy {
  animation: rise-in 0.8s ease both;
  transform: translateX(-10%);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateX(-10%) translateY(18px); }
  to { opacity: 1; transform: translateX(-10%) translateY(0); }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.hero-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal-bright);
}

.hero h1 {
  margin: 0 0 22px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 > span {
  display: block;
  white-space: nowrap;
}

.hero-accent {
  color: #0066ff;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-dim);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ctas .btn-primary {
  background: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.hero-ctas .btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}

.hero-visual {
  animation: rise-in 0.9s ease 0.12s both;
  justify-self: end;
  max-width: none;
}

.device {
  position: relative;
  width: calc(1448px * 0.504);
  max-width: none;
  aspect-ratio: 1448 / 1086;
  transform: translateX(20%);
  transition: transform 0.4s ease;
}

.device:hover {
  transform: translateX(20%) translateY(-2px);
}

.device-screen {
  position: absolute;
  z-index: 1;
  top: 12.155%;
  left: 11.74%;
  width: 76.657%;
  height: 68.14%;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
  background: #f7f8fa;
}

.device-slides,
.device-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.device-slide {
  display: block;
  object-fit: fill;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.6s ease, transform 5.5s ease;
}

.device-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.device-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.45);
}

.device-control {
  position: absolute;
  z-index: 3;
  top: 45.8%;
  width: 34px;
  height: 34px;
  padding: 0 0 2px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.62);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.device-control:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: scale(1.06);
}

.device-prev { left: 12.6%; }
.device-next { right: 11.8%; }

.device-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 76.2%;
  display: flex;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.55);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.device-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.device-dot.is-active {
  width: 19px;
  background: #fff;
}

/* --- Sections --- */
.section {
  padding: clamp(56px, 9vw, 96px) clamp(16px, 4vw, 40px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: "Syne", sans-serif;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--card-ink);
}

.section-head p {
  margin: 0;
  color: var(--card-muted);
  font-size: 16px;
}

.section-light {
  background:
    linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
  color: var(--card-ink);
}

.section-white {
  background: #ffffff;
  color: var(--card-ink);
}

#coverage {
  padding-bottom: clamp(28px, 4.5vw, 48px);
}

#stats {
  padding-top: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

/* --- Features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(20, 30, 50, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 30, 50, 0.08);
}

.feature-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
  flex-shrink: 0;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-text {
  min-width: 0;
  flex: 1;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--card-ink);
}

.feature p {
  margin: 0;
  color: var(--card-muted);
  font-size: 14px;
  line-height: 1.45;
}

.feature-art {
  margin-top: auto;
  height: 150px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid #e5ebf2;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px 10px;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 6px 0;
  background: transparent;
  border-radius: 0;
  align-items: center;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 18px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: #c5d0e0;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2563eb;
  flex-shrink: 0;
}

.stat-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.stat-text strong,
.stat-text span {
  display: block;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #15202b;
  letter-spacing: -0.02em;
}

/* --- How it works --- */
#how {
  background: #ffffff;
}

.how-title {
  margin: 0 0 48px;
  text-align: center;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

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

.step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(50% + 52px);
  width: calc(100% - 40px);
  border-top: 2px dashed #3b82f6;
  pointer-events: none;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(100% + 4px);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #3b82f6;
  z-index: 2;
  pointer-events: none;
}

.step-visual {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
}

.step-num {
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.step-ico {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #eef4ff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: hidden;
}

.step-ico img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.step h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0 auto;
  max-width: 22ch;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #334155;
}

/* --- CTA band --- */
.cta-band {
  padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 40px);
  background: #f7f8fb;
}

.cta-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
  border-radius: 12px;
  padding: clamp(26px, 3.5vw, 36px) clamp(24px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  background:
    linear-gradient(100deg, #0b2a6e 0%, #1347b8 42%, #1a5fe0 72%, #2563eb 100%);
  border: none;
  position: relative;
  overflow: hidden;
  min-height: 168px;
}

.cta-media {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(42%, 420px);
  height: 130%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: luminosity;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 42, 110, 0.35) 0%, rgba(19, 71, 184, 0.12) 55%, transparent 78%);
  pointer-events: none;
}

.cta-shield-wrap {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-shield {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  min-width: 0;
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.45;
  max-width: 40ch;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

.cta-btn-primary {
  background: #fff;
  color: #2563eb;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.cta-btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.cta-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 650;
}

.cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* --- Contact --- */
#contact {
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

#contact .section-inner.contact-grid {
  width: min(100%, 820px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

.contact-intro h2 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--card-ink);
}

.contact-card {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 6px 18px rgba(20, 30, 50, 0.04);
}

.contact-card label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--card-muted);
}

.contact-card input,
.contact-card textarea {
  padding: 8px 10px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: var(--card-ink);
  background: #f8fafc;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.contact-card textarea {
  min-height: 72px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
  margin-top: 2px;
  padding: 10px 14px;
  font-size: 14px;
  background: #2563eb;
  box-shadow: none;
}

.contact-submit:hover {
  background: #1d4ed8;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-status {
  min-height: 18px;
  margin: 9px 2px 0;
  font-size: 12px;
  line-height: 1.45;
}

.contact-status:empty {
  display: none;
}

.contact-status.ok { color: #16794a; }
.contact-status.error { color: #b42318; }

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

.contact-note {
  margin: 0;
  color: var(--card-muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 28ch;
}

/* --- Footer --- */
.home-footer {
  padding: 36px clamp(16px, 4vw, 40px) 28px;
  background: #070809;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 10px;
  filter: brightness(1.05);
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  width: min(100%, var(--max));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* --- Mobile nav drawer --- */
.home-nav-panel {
  display: contents;
}

@media (max-width: 960px) {
  .hero-inner,
  .feature-grid,
  .stats,
  .steps,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .step:nth-child(2)::after,
  .step:nth-child(2)::before,
  .step:nth-child(even)::after,
  .step:nth-child(even)::before { display: none; }
  .device { transform: none; width: 100%; max-width: 100%; }
  .device:hover { transform: none; }
  .device-frame { width: 100%; max-width: 100%; height: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 0;
  }
  .cta-media { width: 55%; opacity: 0.35; right: -8%; }
  .cta-actions { width: 100%; min-width: 0; }
}

@media (max-width: 780px) {
  .home-nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .home-nav-panel {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(12, 13, 16, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
    flex-direction: column;
    gap: 14px;
    z-index: 39;
  }
  .home-nav.is-open .home-nav-panel {
    display: flex;
  }
  .home-nav-panel .home-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .home-nav-actions .btn-nav-demo { width: 100%; }

  .hero-inner,
  .feature-grid,
  .stats,
  .steps,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .stats { padding: 0; gap: 4px; }
  .stat { justify-content: flex-start; padding: 10px 12px; }
  .stat:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 12px;
    right: 12px;
    width: auto;
    height: 1px;
  }
  .step:not(:last-child)::after,
  .step:not(:last-child)::before { display: none; }
  .hero { min-height: auto; padding-top: 36px; overflow: visible; }
  .hero-visual { justify-self: stretch; }
  .hero h1 > span { white-space: normal; }
  .device { width: 100%; max-width: 100%; }
  .device-frame { width: 100%; max-width: 100%; height: auto; }
  .home-brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero-copy, .hero-visual { animation: none; }
  .btn, .feature, .device { transition: none; }
  .device-slide, .device-control, .device-dot { transition: none; }
}
