/* Owj landing site. Plain CSS, no build step. Colors follow lib/core/theme/app_theme.dart. */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --bg: #0b1015;
  --bg-deep: #070b0f;
  --surface: #111820;
  --surface-2: #131b23;
  --surface-3: #1a242e;
  --line: #243039;
  --line-strong: #3b4855;
  --text: #e6edf3;
  --muted: #94a3b0;
  --accent: #14b8a6;
  --accent-hi: #2dd4bf;
  --accent-lo: #0f766e;
  --accent-ink: #032b27;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow: 0 30px 80px -30px rgb(0 0 0 / 0.7);
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  line-height: 1.65;
}

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

a {
  color: var(--accent-hi);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgb(11 16 21 / 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-inline-start: auto;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

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

.lang-switch {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--line-strong);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 12px 30px -10px rgb(20 184 166 / 0.6);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px -10px rgb(20 184 166 / 0.75);
}

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--surface-3);
}

.btn-sm {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn .btn-label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: start;
}

.btn .btn-label small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

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

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 75% 30%, rgb(20 184 166 / 0.22), transparent 70%),
    radial-gradient(500px 360px at 15% 70%, rgb(45 212 191 / 0.1), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgb(45 212 191 / 0.3);
  border-radius: 999px;
  background: rgb(20 184 166 / 0.08);
  color: var(--accent-hi);
  font-size: 14px;
  font-weight: 500;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 4px rgb(45 212 191 / 0.2);
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
}

html[lang="en"] .hero h1 {
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-hi), #5eead4 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 19px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes svg {
  width: 18px;
  height: 18px;
  color: var(--accent-hi);
}

/* ---------- Phone mockups ---------- */

.phone {
  position: relative;
  width: 280px;
  padding: 40px 10px 10px;
  border-radius: 46px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box content-box,
    linear-gradient(160deg, #2a3641, #10161c 40%, #1d2731);
  box-shadow:
    inset 0 0 0 1.5px rgb(255 255 255 / 0.08),
    var(--shadow);
}

/* The screen: a status-bar strip, then the screenshot. */
.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 37px;
  background: var(--bg);
}

.phone img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 0 0 36px 36px;
  background: var(--bg);
}

.phone::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 78px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}

.hero-visual .phone-back {
  position: absolute;
  top: 60px;
  inset-inline-end: 4%;
  transform: rotate(-7deg) scale(0.88);
  opacity: 0.9;
}

[dir="rtl"] .hero-visual .phone-back {
  transform: rotate(7deg) scale(0.88);
}

.hero-visual .phone-front {
  position: relative;
  inset-inline-end: 12%;
  z-index: 1;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(19 27 35 / 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.4;
  animation: bob 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 16px;
}

.float-card span {
  color: var(--muted);
}

.float-card .badge-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgb(20 184 166 / 0.16);
  color: var(--accent-hi);
}

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

.float-card.fc-1 {
  top: 90px;
  inset-inline-start: 0;
}

.float-card.fc-2 {
  bottom: 70px;
  inset-inline-end: 0;
  animation-delay: -3s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Stats strip ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

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

.stat {
  padding: 32px 16px;
  text-align: center;
}

.stat + .stat {
  border-inline-start: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.3;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Sections ---------- */

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  color: var(--accent-hi);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html[lang="en"] .kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.section h2 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.35;
  font-weight: 900;
}

html[lang="en"] .section h2 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* ---------- Features ---------- */

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

.feature {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.feature:hover {
  border-color: rgb(45 212 191 / 0.35);
  transform: translateY(-3px);
}

.feature::before {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(20 184 166 / 0.14), transparent 70%);
  pointer-events: none;
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgb(45 212 191 / 0.25);
  border-radius: 14px;
  background: rgb(20 184 166 / 0.1);
  color: var(--accent-hi);
}

.feature .icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Spotlight rows ---------- */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.spotlight + .spotlight {
  margin-top: 110px;
}

.spotlight.reverse .spotlight-visual {
  order: -1;
}

.spotlight-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.spotlight-visual::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(20 184 166 / 0.25), transparent 65%);
  filter: blur(20px);
}

.spotlight h2 {
  margin-top: 6px;
}

.spotlight p {
  color: var(--muted);
  font-size: 17.5px;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  padding: 3px;
  border-radius: 50%;
  background: rgb(20 184 166 / 0.16);
  color: var(--accent-hi);
}

/* ---------- Screenshot gallery ---------- */

.gallery-wrap {
  position: relative;
}

.gallery {
  display: flex;
  gap: 28px;
  padding: 20px max(20px, calc((100vw - var(--maxw)) / 2)) 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery figure {
  flex: none;
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}

.gallery .phone {
  width: 250px;
}

.gallery figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.icon-btn:hover {
  background: var(--surface-3);
  border-color: var(--line-strong);
}

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

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

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

.platform {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.platform.is-current {
  border-color: rgb(45 212 191 / 0.55);
  background: linear-gradient(180deg, rgb(20 184 166 / 0.1), var(--surface) 60%);
  box-shadow: 0 0 0 4px rgb(20 184 166 / 0.08);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.platform-head .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-3);
  color: var(--text);
}

.platform-head .icon svg {
  width: 26px;
  height: 26px;
}

.platform h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.platform .tag {
  display: none;
  margin-inline-start: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgb(20 184 166 / 0.16);
  color: var(--accent-hi);
  font-size: 12px;
  font-weight: 700;
}

.platform.is-current .tag {
  display: inline-block;
}

.platform ol {
  flex: 1;
  margin: 0 0 24px;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 15.5px;
}

html[lang="fa"] .platform ol {
  list-style-type: persian;
}

.platform ol li + li {
  margin-top: 6px;
}

.platform .btn {
  width: 100%;
}

.platform kbd {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9em;
}

/* ---------- Privacy band ---------- */

.privacy-band {
  position: relative;
  padding: 64px;
  border: 1px solid rgb(45 212 191 / 0.25);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgb(20 184 166 / 0.18), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.privacy-band .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-band h2 {
  margin-top: 6px;
}

.privacy-band p {
  color: var(--muted);
}

.privacy-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(7 11 15 / 0.5);
}

.privacy-list svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  color: var(--accent-hi);
}

.privacy-list b {
  display: block;
}

.privacy-list span {
  color: var(--muted);
  font-size: 15px;
}

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

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s;
}

.faq details + details {
  margin-top: 12px;
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-inline-end: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq .answer p {
  margin: 0;
}

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

.final-cta {
  text-align: center;
  padding: 90px 24px;
  border-radius: 32px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgb(45 212 191 / 0.3), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--bg-deep));
  border: 1px solid var(--line);
}

.final-cta img {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 22px;
  box-shadow: 0 20px 50px -15px rgb(20 184 166 / 0.6);
}

.final-cta h2 {
  margin: 0 0 12px;
}

.final-cta p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.final-cta .cta-row {
  justify-content: center;
}

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

.site-footer {
  margin-top: 110px;
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 6px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-about p {
  max-width: 340px;
  margin: 14px 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- Legal page ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 0 0;
}

.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.35;
}

.legal .updated {
  color: var(--muted);
  font-size: 15px;
}

.legal h2 {
  margin: 40px 0 10px;
  font-size: 22px;
}

.legal p,
.legal li {
  color: #c4ced8;
}

.legal hr {
  margin: 72px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  text-align: center;
}

.not-found b {
  display: block;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

/* ---------- Reveal on scroll ---------- */

/* Hidden only once site.js is running, so the page never stays blank without it. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-card {
    animation: none;
  }

  .btn:hover,
  .feature:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-band {
    padding: 44px 32px;
  }

  .privacy-band .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 68px;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgb(11 16 21 / 0.97);
  }

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

  .nav-links a {
    padding: 12px;
    font-size: 17px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions {
    margin-inline-start: auto;
  }

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

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .spotlight {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    text-align: center;
  }

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

  .hero .cta-row,
  .hero-notes {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .spotlight.reverse .spotlight-visual {
    order: 0;
  }

  .spotlight + .spotlight {
    margin-top: 72px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-inline-start: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .features-grid,
  .download-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 240px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-visual .phone-back {
    inset-inline-end: -4%;
  }

  .hero-visual .phone-front {
    inset-inline-end: 8%;
  }

  .float-card {
    font-size: 13px;
    padding: 10px 12px;
  }

  .float-card.fc-1 {
    top: 30px;
  }

  .float-card.fc-2 {
    bottom: 30px;
  }

  .gallery .phone {
    width: 220px;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .privacy-band {
    padding: 36px 22px;
  }

  .final-cta {
    padding: 64px 20px;
  }

  .brand small {
    display: none;
  }
}
