:root {
  color-scheme: light dark;
  --bg: #f7f8f8;
  --surface: #ffffff;
  --ink: #0e0f10;
  --muted: #686e73;
  --line: #e3e6e7;
  --red: #E8203A;
  --red-soft: rgba(232, 32, 58, 0.08);
  --red-25: rgba(232, 32, 58, 0.25);
  --nav-bg: rgba(247, 248, 248, 0.84);
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(14, 15, 16, 0.22);
  --max: 1160px;
  --app-bg: #f7f8f8;
  --app-ink: #0e0f10;
  --app-line: #e3e6e7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0d;
    --surface: #121416;
    --ink: #f2f3f3;
    --muted: #9aa0a5;
    --line: #24272a;
    --red-soft: rgba(232, 32, 58, 0.14);
    --red-25: rgba(232, 32, 58, 0.32);
    --nav-bg: rgba(11, 12, 13, 0.84);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

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

section[id] {
  scroll-margin-top: 84px;
}

/* ---------- download bar ---------- */

.dl-bar {
  position: relative;
  z-index: 101;
  background: var(--ink);
  color: var(--bg);
}

.dl-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 34px;
  margin-block: 0;
  padding: 6px 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.dl-bar-inner [aria-hidden="true"] {
  opacity: 0.55;
}

.dl-bar strong {
  color: var(--red);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 1.1rem;
}

.brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.nav-inner nav {
  display: flex;
  gap: 26px;
  font-size: 0.86rem;
  color: var(--muted);
}

.nav-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-inner nav a:hover {
  color: var(--ink);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red-25);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-download:hover {
  background: var(--red);
  color: #fff;
}

/* ---------- shared type ---------- */

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  text-wrap: balance;
}

.section {
  padding: clamp(84px, 12vw, 150px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
  flex: none;
}

.section-intro {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

/* ---------- buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px -12px rgba(232, 32, 58, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -14px rgba(232, 32, 58, 0.68);
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.dl-help {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* 44px tap area without making the line taller. */
.dl-help a {
  display: inline-block;
  padding: 13px 0;
  margin: -13px 0;
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 3px;
}

.dl-help a:hover {
  color: var(--red);
}

.dl-meta {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.fine {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(70px, 9vw, 110px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(80% 60% at 82% 18%, rgba(232, 32, 58, 0.07), transparent 68%),
    var(--bg);
}

.hero-lambda {
  position: absolute;
  right: -4%;
  top: 50%;
  z-index: 0;
  transform: translateY(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(320px, 60vw, 900px);
  line-height: 0.7;
  color: var(--red);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lambda-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.hero-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 13vw, 8.8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.red-dot {
  color: var(--red);
}

.hero-lede {
  max-width: 34ch;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone-wrap {
  will-change: transform;
}

/* ---------- phone ---------- */

.phone {
  position: relative;
  background: #0e0f10;
  border-radius: clamp(34px, 7vw, 48px);
  padding: clamp(7px, 1.4vw, 10px);
  box-shadow:
    0 40px 80px -30px rgba(14, 15, 16, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone::before {
  content: "";
  position: absolute;
  top: clamp(12px, 2.2vw, 18px);
  left: 50%;
  z-index: 6;
  width: clamp(48px, 26%, 72px);
  height: clamp(12px, 3.4vw, 18px);
  transform: translateX(-50%);
  background: #0e0f10;
  border-radius: 999px;
  pointer-events: none;
}

.phone-screen {
  position: relative;
  height: 100%;
  background: var(--app-bg);
  border-radius: clamp(28px, 6vw, 38px);
  overflow: hidden;
}

.phone-hero {
  width: min(290px, 74vw);
  aspect-ratio: 9 / 19;
  margin-inline: auto;
}

/* ---------- hero demo ---------- */

.demo-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 10px 10px;
  background: var(--app-bg);
  color: var(--app-ink);
  font-family: "Inter", sans-serif;
  font-size: 12px;
}

.demo-status {
  display: flex;
  justify-content: space-between;
  padding: 0 6px 6px;
  font-size: 9px;
  font-weight: 600;
  opacity: 0.55;
}

.demo-appbar {
  padding: 4px 0 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.demo-field {
  position: relative;
  min-height: 86px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  background: var(--red);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.demo-translation {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 150px;
  z-index: 3;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(14, 15, 16, 0.28);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.demo-translation.is-open {
  opacity: 1;
  transform: none;
}

.demo-translation-label {
  margin: 0 0 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.demo-translation-text {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.demo-translation-actions {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.demo-btn {
  padding: 5px 9px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  color: var(--app-ink);
}

.demo-btn-apply {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.demo-keys {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}

.key-row {
  display: flex;
  gap: 4px;
}

.key {
  flex: 1;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 0 #d8dbdc;
  color: var(--app-ink);
  font-size: 10px;
  font-weight: 500;
  user-select: none;
}

.key--space {
  flex: 3;
  font-size: 8px;
  color: #8a8f93;
}

.key--lambda {
  flex: 1.1;
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 0 #a81226;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.key--lambda.is-pressed {
  transform: scale(0.86);
  box-shadow: 0 0 0 6px rgba(232, 32, 58, 0.16);
}

/* ---------- statement ---------- */

.statement {
  padding: clamp(100px, 15vw, 210px) 0;
  border-top: 1px solid var(--line);
}

.statement-title {
  max-width: 16ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.statement-sub {
  max-width: 54ch;
  margin: clamp(24px, 4vw, 40px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  text-wrap: pretty;
}

/* ---------- split text ---------- */

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-char {
  display: inline-block;
}

/* ---------- how it works ---------- */

.how-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.how-sticky {
  position: sticky;
  top: 14vh;
}

.how-sticky .phone {
  width: min(280px, 34vh, 100%);
  aspect-ratio: 9 / 19;
}

.phone-screens {
  position: relative;
  height: 100%;
  background: linear-gradient(160deg, #e9ebec, #d9dddf);
}

.phone-screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.phone-screens img.is-active {
  opacity: 1;
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56vh;
  padding: 24px 0;
}

.step:first-child {
  padding-top: 0;
}

.step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
}

.step h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.step p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  text-wrap: pretty;
}

/* ---------- features ---------- */

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

.feature-card {
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-25);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  background: var(--red-soft);
  border-radius: 12px;
  color: var(--red);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  text-wrap: pretty;
}

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

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: clamp(16px, 2.5vw, 26px);
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.gallery-item {
  margin: 0;
  scroll-snap-align: center;
}

.gallery-item .phone {
  width: 100%;
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 34px;
}

.gallery-item .phone-screen {
  border-radius: 28px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- setup ---------- */

.setup-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.setup-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.setup-list li:first-child {
  padding-top: 0;
}

.setup-num {
  padding-top: 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
}

.setup-list h3 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.setup-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.setup-note {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 16px;
}

.setup-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.setup-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- limits ---------- */

.limits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: clamp(30px, 6vw, 80px);
}

.limits-list li {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  break-inside: avoid;
}

.limits-list li::before {
  content: "—";
  flex: none;
  color: var(--red);
}

/* ---------- final ---------- */

.final {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}

.final-card {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(44px, 8vw, 100px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(70% 80% at 90% 110%, rgba(232, 32, 58, 0.2), transparent 62%),
    var(--ink);
  color: var(--bg);
  border-radius: clamp(28px, 4vw, 44px);
}

.final-lambda {
  position: absolute;
  right: -4%;
  bottom: -30%;
  z-index: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(300px, 45vw, 620px);
  line-height: 0.7;
  color: var(--red);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.final-card .section-label,
.final-card h2,
.final-card .actions,
.final-card .dl-meta,
.final-card .fine {
  position: relative;
  z-index: 1;
}

.final-card .section-label {
  color: color-mix(in srgb, var(--bg) 62%, transparent);
}

.final-card h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.final-card .btn-quiet {
  color: var(--bg);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.final-card .btn-quiet:hover {
  background: color-mix(in srgb, var(--bg) 10%, transparent);
  border-color: var(--bg);
}

.final-card .dl-meta,
.final-card .fine {
  color: color-mix(in srgb, var(--bg) 62%, transparent);
}

/* ---------- footer ---------- */

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 0 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--red);
}

/* ---------- responsive ---------- */

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

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

  .hero-visual {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* One phone pinned under the 64px nav; the steps scroll underneath it. */
  .how-sticky {
    top: 64px;
    z-index: 5;
    padding: 12px 0 28px;
    background: linear-gradient(to bottom, var(--bg) 82%, transparent);
  }

  .how-sticky .phone {
    width: auto;
    height: min(38vh, 340px);
    height: min(38svh, 340px);
    margin-inline: auto;
    padding: 6px;
    border-radius: 28px;
  }

  .how-sticky .phone::before {
    top: 10px;
    height: 10px;
  }

  .how-sticky .phone-screen {
    border-radius: 23px;
  }

  .step {
    min-height: 42vh;
    min-height: 42svh;
    justify-content: flex-start;
    padding: 28px 0;
    border-top: 1px solid var(--line);
  }

  .step:first-child {
    border-top: 0;
  }

  .how-steps {
    padding-bottom: 12vh;
  }

  .setup-wrap {
    grid-template-columns: 1fr;
  }

  .setup-note {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .nav-inner nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .limits-list {
    columns: 1;
  }
}

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

  .container {
    width: min(100% - 32px, var(--max));
  }

  .actions {
    gap: 10px;
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .btn {
    height: 54px;
    padding: 0 20px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (min-width: 1000px) {
  .gallery-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .split-char {
    opacity: 1 !important;
  }
}