:root {
  --bg: #f2f6f4;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #0e1722;
  --muted: #5f6f81;
  --line: rgba(18, 33, 51, 0.12);
  --topbar-bg: rgba(255, 255, 255, 0.78);
  --accent: #30d8a3;
  --accent-strong: #11b585;
  --income: #17b887;
  --expense: #dd4f4f;
  --shadow-soft: 0 16px 42px rgba(15, 36, 59, 0.12);
  --shadow-heavy: 0 44px 100px rgba(15, 36, 59, 0.26);
  --font-body: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  --bg: #04070d;
  --bg-soft: #0d131d;
  --surface: rgba(17, 22, 31, 0.88);
  --surface-strong: #131a24;
  --text: #edf4ff;
  --muted: #8d99ab;
  --line: rgba(203, 231, 255, 0.12);
  --topbar-bg: rgba(10, 14, 21, 0.9);
  --accent: #30d8a3;
  --accent-strong: #11b585;
  --income: #4be5b5;
  --expense: #ff6f6f;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.36);
  --shadow-heavy: 0 56px 130px rgba(0, 0, 0, 0.68);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(48, 216, 163, 0.22), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(44, 124, 255, 0.12), transparent 36%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background-color 260ms ease, color 260ms ease;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1360px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 52px;
  position: relative;
  z-index: 1;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.bg-shape-one {
  width: 520px;
  height: 520px;
  right: -130px;
  top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(55, 236, 180, 0.32), transparent 68%);
}

.bg-shape-two {
  width: 480px;
  height: 480px;
  left: -180px;
  bottom: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(63, 112, 255, 0.24), transparent 72%);
}

/* ── Topbar ── */

.topbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.topbar-inner {
  width: min(1360px, calc(100% - 44px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.topbar-panel {
  display: block;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(48, 216, 163, 0.45);
}

.brand-name {
  font-size: 1.04rem;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ── Controls shared ── */

.mode-group,
.language-toggle,
.feature,
.stat-card,
.trust-strip,
.how,
.faq,
.download-cta,
.footer {
  border: 1px solid var(--line);
  background: var(--surface);
}

.mode-group {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.mode-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.mode-button:not(.is-active):hover {
  color: var(--text);
}

.mode-button.is-active {
  background: var(--accent);
  color: #062118;
}

.language-toggle {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.lang-button:not(.is-active):hover {
  color: var(--text);
}

.lang-button.is-active {
  background: var(--bg-soft);
  color: var(--text);
}

/* ── Hero ── */

.hero {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 1.03;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-text {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.67;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(12, 28, 46, 0.08);
}

body[data-theme="dark"] .hero-pill {
  background: rgba(18, 24, 34, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  color: #062118;
  box-shadow: 0 16px 30px rgba(27, 178, 133, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(27, 178, 133, 0.52);
}

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

.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(48, 216, 163, 0.4);
  transform: translateY(-1px);
}

/* ── Hero stats ── */

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

.stat-card {
  border-radius: 16px;
  padding: 14px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.05rem;
}

.stat-income {
  color: var(--income);
}

.stat-expense {
  color: var(--expense);
}

.stat-balance {
  color: var(--income);
}

/* ── Phone mockup ── */

.hero-visual {
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(100%, 394px);
  border-radius: 56px;
  padding: 9px;
  background:
    linear-gradient(155deg, #a5afbf 0%, #6a7382 18%, #303846 46%, #1e2632 64%, #495362 82%, #9ca7b7 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-heavy);
  transform: rotate(-1deg);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 55px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
  z-index: 3;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 49px;
  border: 1px solid rgba(9, 12, 17, 0.72);
  pointer-events: none;
  z-index: 2;
}

.phone-hardware {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  z-index: 4;
  pointer-events: none;
}

.phone-hardware-left {
  left: -5px;
}

.phone-hardware-right {
  right: -5px;
}

.phone-button {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #9da8b8 0%, #515c6c 100%);
  box-shadow: 0 0 0 1px rgba(17, 24, 33, 0.45);
}

.mute-switch {
  top: 106px;
  height: 22px;
}

.volume-up {
  top: 146px;
  height: 60px;
}

.volume-down {
  top: 216px;
  height: 60px;
}

.side-button {
  top: 166px;
  height: 96px;
}

.phone-screen {
  position: relative;
  border-radius: 47px;
  aspect-ratio: 1170 / 2532;
  background: #000;
  overflow: hidden;
}

.dynamic-island {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 128px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #040507 0%, #141820 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.island-speaker {
  position: absolute;
  left: 18px;
  top: 15px;
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: #252b34;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.island-camera {
  position: absolute;
  right: 14px;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #385368 0%, #1b232c 45%, #05070a 100%);
  box-shadow:
    inset 0 0 0 2px rgba(74, 96, 117, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

.screen-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.app-preview {
  box-shadow: 0 28px 80px rgba(4, 10, 18, 0.9), 0 0 44px rgba(48, 216, 163, 0.25);
}

.app-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ── Sections shared ── */

.trust-strip,
.features,
.how,
.faq,
.pricing,
.screenshots,
.download-cta,
.footer {
  margin-top: 14px;
  border-radius: 18px;
}

/* ── Trust strip ── */

.trust-strip {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-badge {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

/* ── Screenshots ── */

.screenshots {
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(44, 124, 255, 0.09), transparent 40%),
    linear-gradient(30deg, rgba(48, 216, 163, 0.08), transparent 44%),
    var(--surface);
}

body[data-theme="dark"] .screenshots {
  background:
    linear-gradient(150deg, rgba(44, 124, 255, 0.16), transparent 42%),
    linear-gradient(30deg, rgba(48, 216, 163, 0.14), transparent 46%),
    var(--surface);
}

.screenshots-viewer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.screenshots-rail {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  padding: 30px 10px;
}

.screenshots-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 18px 8px;
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screen-card {
  flex: 0 0 clamp(132px, 19vw, 188px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: var(--surface-strong);
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 220ms ease, border-color 220ms ease, opacity 220ms ease, box-shadow 220ms ease,
    filter 220ms ease;
  opacity: 0.58;
  transform: scale(0.84);
  filter: saturate(0.82);
}

.screen-card.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: rgba(48, 216, 163, 0.52);
  box-shadow: 0 16px 30px rgba(48, 216, 163, 0.24);
  filter: saturate(1.08);
  z-index: 2;
}

.screens-current {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.screenshots-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.screenshots-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(48, 216, 163, 0.4);
  background: var(--bg-soft);
}

.screenshots-meta {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Features ── */

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

.feature {
  border-radius: 14px;
  padding: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(48, 216, 163, 0.3);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(48, 216, 163, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  margin-bottom: 12px;
  transition: background 220ms ease;
}

.feature:hover .feature-icon {
  background: rgba(48, 216, 163, 0.18);
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ── Spotlight ── */

.spotlight {
  margin-top: 14px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(48, 216, 163, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--surface);
}

body[data-theme="dark"] .spotlight {
  background:
    linear-gradient(135deg, rgba(48, 216, 163, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spotlight-card {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.spotlight-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

/* ── How it works ── */

.how {
  padding: 22px;
}

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

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

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface-strong);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.step span {
  font-family: "Sora", sans-serif;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.86rem;
}

.step h3 {
  margin-top: 8px;
}

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

/* ── FAQ ── */

.faq {
  padding: 22px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--surface-strong);
  transition: border-color 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(48, 216, 163, 0.3);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms ease;
}

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

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Download CTA ── */

.download-cta {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.download-note {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}

/* ── Footer ── */

.footer {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms ease;
}

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

/* ── Pricing ── */

.pricing {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface-strong);
  display: flex;
  flex-direction: column;
}

.pricing-card-pro {
  border-color: rgba(48, 216, 163, 0.34);
  background: linear-gradient(145deg, rgba(48, 216, 163, 0.1), rgba(48, 216, 163, 0.03), var(--surface-strong));
  box-shadow: var(--shadow-soft);
}

.pricing-tier {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card-pro .pricing-tier {
  color: var(--accent-strong);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-alt {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing-list {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.pricing-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 1px;
}

.pricing-everyone {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
}

.pricing-everyone-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-everyone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pricing-everyone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
}

.pricing-everyone-item::before {
  content: "✓";
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */

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

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

  .hero-stats,
  .trust-strip,
  .features,
  .steps,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .topbar-inner {
    gap: 8px;
    padding: 9px 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .menu-toggle {
    display: inline-flex;
    order: 4;
  }

  .topbar-panel {
    display: none;
    width: 100%;
    order: 5;
    margin-left: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 2px 0 0;
  }

  .topbar.is-open .topbar-panel {
    display: block;
  }

  .topbar.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .topbar.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .main-nav a {
    width: 100%;
    white-space: normal;
    font-size: 0.83rem;
    padding: 6px 4px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: var(--bg-soft);
  }

  .topbar-right {
    order: 3;
    margin-left: auto;
    justify-content: flex-end;
    width: auto;
    gap: 6px;
  }

  .mode-group,
  .language-toggle {
    padding: 3px;
  }

  .mode-button,
  .lang-button {
    padding: 6px 9px;
    font-size: 0.74rem;
  }

  .download-cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .screenshots-viewer {
    grid-template-columns: 1fr;
  }

  .screenshots-nav {
    justify-self: center;
  }

  .screenshots-nav-prev {
    order: 2;
  }

  .screenshots-rail {
    order: 1;
  }

  .screenshots-nav-next {
    order: 3;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 24px);
  }

  .topbar-inner {
    width: calc(100% - 24px);
    padding: 8px 0;
    align-items: center;
  }

  .topbar-right {
    flex-direction: row;
    align-items: center;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 7px 6px;
  }

  .mode-group,
  .language-toggle {
    width: auto;
    justify-content: center;
  }

  .mode-button,
  .lang-button {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

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

@media (max-width: 480px) {
  .topbar-inner {
    width: calc(100% - 18px);
  }

  .container {
    width: calc(100% - 18px);
  }

  .topbar-panel {
    padding: 2px 0 0;
  }

  .topbar-right {
    gap: 4px;
  }

  .mode-button,
  .lang-button {
    padding: 4px 7px;
    font-size: 0.68rem;
  }

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

  .trust-strip,
  .pricing-everyone-grid {
    grid-template-columns: 1fr;
  }
}
