:root {
  color-scheme: light;
  --bg: #f7f3ea;
  --surface: #fffaf1;
  --surface-strong: #ffffff;
  --text: #211f1a;
  --muted: #6f675d;
  --line: rgba(45, 38, 28, 0.14);
  --primary: #24574a;
  --primary-strong: #163d34;
  --accent: #d66b3d;
  --accent-soft: #f4d1bd;
  --shadow: 0 22px 70px rgba(41, 34, 25, 0.14);
  --radius: 8px;
  --radius-lg: 18px;
  --shell: min(1120px, calc(100% - 32px));
  --font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151713;
  --surface: #1e211c;
  --surface-strong: #262a23;
  --text: #f4efe4;
  --muted: #b8ad9d;
  --line: rgba(244, 239, 228, 0.16);
  --primary: #9fc9b7;
  --primary-strong: #dceee6;
  --accent: #e19969;
  --accent-soft: rgba(225, 153, 105, 0.2);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(214, 107, 61, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--surface));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(110, 93, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 93, 66, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section--compact {
  padding: 42px 0;
}

.section--quiet {
  background: color-mix(in srgb, var(--surface-strong) 56%, transparent);
  border-block: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  padding: 2px;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 16%, transparent);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.nav-links,
.nav-actions,
.hero__actions,
.feature-list {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-actions {
  gap: 10px;
}

.button,
.theme-toggle {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
}

.button:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.92rem;
}

.nav-login {
  min-width: 68px;
}

.button--primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 24%, transparent);
}

.button--secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-strong) 75%, transparent);
  color: var(--text);
}

.theme-toggle {
  display: grid;
  width: 44px;
  place-items: center;
  background: var(--surface-strong);
  border-color: var(--line);
}

.theme-toggle__icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
}

[data-theme="dark"] .theme-toggle__icon {
  background: transparent;
  box-shadow: inset -6px -3px 0 1px var(--text);
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
}

p {
  text-align: justify;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5vw, 5.9rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero__lead,
.section-heading p,
.pricing p,
.final-cta p,
.site-footer p {
  color: var(--muted);
}

.hero__lead {
  max-width: 620px;
  font-size: 1.2rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 68%, transparent);
  color: var(--muted);
  font-size: 0.95rem;
}

.price-pill strong {
  color: var(--text);
}

.phone-stage {
  display: grid;
  place-items: center;
}

.phone-stage--demo {
  width: 100%;
}

.phone-mockup {
  position: relative;
  width: min(360px, 86vw);
  min-height: 670px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: 36px;
  background: linear-gradient(145deg, var(--surface-strong), color-mix(in srgb, var(--surface) 74%, var(--primary) 8%));
  box-shadow: var(--shadow);
}

.phone-mockup--demo {
  min-height: auto;
}

.phone-mockup__bar {
  width: 90px;
  height: 5px;
  margin: 3px auto 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 22%, transparent);
}

.menu-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.demo-page {
  min-height: calc(100vh - 72px);
}

.demo-hero {
  display: grid;
  gap: 42px;
  padding-top: 58px;
}

.demo-layout {
  display: grid;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 410px);
}

.demo-copy {
  max-width: 720px;
}

.demo-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.demo-copy__accent {
  color: var(--primary);
}

.demo-copy__lead {
  margin-bottom: 26px;
  color: #596271;
  font-size: clamp(1.22rem, 2vw, 1.78rem);
  line-height: 1.35;
}

.demo-copy__lead strong {
  color: var(--primary);
}

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

.demo-feature-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  box-shadow:
    0 14px 30px rgba(30, 31, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.demo-feature-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
}

.demo-feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-feature-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.02rem;
}

.demo-feature-card p {
  margin: 0;
  color: #596271;
  font-size: 0.98rem;
  line-height: 1.42;
}

.demo-actions {
  gap: 16px;
  margin-bottom: 16px;
}

.demo-actions .button {
  min-width: 240px;
}

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #5f6875;
  font-size: 1rem;
}

.demo-device {
  display: grid;
  justify-items: center;
}

.phone-mockup--demo {
  width: min(360px, 100%);
  min-height: auto;
  padding: 12px;
  border: 1px solid rgba(31, 35, 39, 0.08);
  border-radius: 42px;
  background: #fff;
  box-shadow:
    0 36px 70px rgba(26, 31, 26, 0.16),
    0 0 0 10px rgba(255, 255, 255, 0.6);
}

.demo-frame {
  display: block;
  width: 100%;
  height: 714px;
  border: 0;
  border-radius: 30px;
  background: var(--surface-strong);
}

.demo-benefits {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.demo-benefit__check {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.demo-benefit h2 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.2;
}

.demo-benefit p {
  margin: 0;
  color: #596271;
  font-size: 0.98rem;
  line-height: 1.45;
}

.menu-preview__header {
  min-height: 170px;
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(36, 87, 74, 0.88), rgba(214, 107, 61, 0.72)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.12) 12px 14px);
  color: #fffaf1;
}

.menu-preview__header span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 850;
}

.menu-preview__header small {
  display: block;
  margin-top: 6px;
  opacity: 0.84;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.filter-row span,
.feature-list span {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
}

.filter-row span {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.dish-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
}

.dish-card--accent {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
}

.dish-card h2 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.dish-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.split,
.benefits {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.85fr 1.15fr;
}

.section-heading {
  max-width: 760px;
}

.problem-grid,
.steps,
.gallery {
  display: grid;
  gap: 14px;
}

.gallery {
  position: relative;
  gap: 18px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 84vw);
  overflow-x: auto;
  padding: 6px 8px 18px;
  margin-inline: -8px;
  scroll-padding-inline: 8px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--primary) 45%, transparent) transparent;
}

.gallery::-webkit-scrollbar {
  height: 10px;
}

.gallery::-webkit-scrollbar-track {
  background: transparent;
}

.gallery::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 32%, var(--surface-strong));
  background-clip: padding-box;
}

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

.problem-grid article,
.steps article,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
}

.problem-grid article {
  padding: 20px;
}

.problem-grid p,
.steps p,
.gallery-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-list {
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list span {
  padding: 10px 14px;
}

.logo-section h2 {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--muted);
}

.logo-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 16px 0;
  animation: marquee 28s linear infinite;
}

.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 850;
}

.gallery-card {
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 96%, #ffffff), var(--surface-strong));
  box-shadow:
    0 22px 46px rgba(23, 28, 22, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gallery-card__visual {
  position: relative;
  min-height: clamp(260px, 62vw, 420px);
  overflow: hidden;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--primary) 74%, #ffffff), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 12px, transparent 12px 28px);
}

.gallery-card__visual--image {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 48%),
    color-mix(in srgb, var(--surface) 82%, #ffffff);
}

.gallery-card__caption {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 62vw, 420px);
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
}

.gallery-card:nth-child(2) .gallery-card__visual {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #ffffff), transparent),
    radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.46), transparent 34%);
}

.gallery-card:nth-child(3) .gallery-card__visual {
  background:
    linear-gradient(145deg, #2c3932, color-mix(in srgb, var(--primary) 48%, #10120f)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22));
}

.gallery-card__body {
  display: grid;
  gap: 10px;
  padding: 18px 18px 22px;
}

.gallery-card__body h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  line-height: 1.05;
}

.gallery-card__body p {
  max-width: 30ch;
  margin: 0;
  font-size: 1rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

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

.benefit-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.benefit-list li::before {
  margin-right: 10px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow);
}

.pricing .eyebrow,
.pricing p {
  color: color-mix(in srgb, var(--bg) 82%, transparent);
}

.pricing h2 {
  margin-bottom: 10px;
}

.pricing .button--primary {
  background: var(--bg);
  color: var(--primary-strong);
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.final-cta {
  padding-top: 32px;
}

.final-cta__inner {
  padding: 52px 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%),
    var(--surface-strong);
  text-align: center;
}

.final-cta__inner .hero__actions {
  justify-content: center;
}

.legal-page .site-header {
  position: sticky;
}

.legal-main {
  min-height: calc(100vh - 72px);
}

.legal-hero {
  display: grid;
  gap: 18px;
  padding-top: 42px;
}

.legal-hero__copy {
  max-width: 760px;
}

.legal-hero__lead {
  margin-bottom: 0;
  max-width: 62ch;
}

.legal-meta-card,
.legal-card,
.legal-toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow:
    0 18px 40px rgba(23, 28, 22, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.legal-meta-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.legal-meta-card__label {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
}

.legal-meta-card p:last-of-type {
  margin-bottom: 0;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-toc {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
}

.legal-toc .eyebrow {
  margin-bottom: 4px;
}

.legal-toc a {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.legal-toc a:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 24px 20px;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

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

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

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

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

@media (min-width: 901px) {
  .steps,
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery {
    align-items: start;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    padding: 10px 0 0;
    margin: 0;
    scroll-snap-type: none;
  }

  .gallery-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  }

  .gallery-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
    box-shadow:
      0 30px 60px rgba(23, 28, 22, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .gallery-card__visual,
  .gallery-card__caption {
    min-height: clamp(220px, 28vw, 380px);
  }

  .legal-hero {
    align-items: start;
    gap: 28px;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .legal-layout {
    align-items: start;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  }

  .legal-toc {
    position: sticky;
    top: 96px;
  }
}

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

  .hero,
  .split,
  .benefits,
  .demo-layout,
  .demo-benefits {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-mockup {
    min-height: auto;
  }

  .pricing,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-meta-card,
  .legal-card,
  .legal-toc {
    border-radius: var(--radius);
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1120px);
  }

  .nav {
    gap: 12px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .section {
    padding: 54px 0;
  }

  .legal-hero {
    padding-top: 26px;
  }

  .legal-meta-card,
  .legal-toc,
  .legal-card {
    padding-inline: 16px;
  }

  .legal-meta-card,
  .legal-toc {
    padding-block: 18px;
  }

  .legal-card {
    padding-block: 22px;
  }

  .legal-toc a {
    width: 100%;
  }

  .site-header .theme-toggle,
  .site-header .nav-login {
    display: none;
  }

  .site-header .nav-whatsapp {
    display: inline-flex;
  }

  h1 {
    font-size: 3rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

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

  .phone-stage {
    display: none;
  }

  .demo-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .demo-copy__lead {
    max-width: none;
    font-size: 1.14rem;
  }

  .demo-feature-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .demo-actions .button {
    min-width: 0;
  }

  .demo-note {
    align-items: flex-start;
    font-size: 0.96rem;
  }

  .demo-benefits {
    gap: 20px;
  }

  .demo-frame {
    height: 620px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps article {
    padding: 22px 18px;
  }

  .steps span {
    margin-bottom: 16px;
  }

  .steps h3 {
    max-width: 16ch;
    font-size: 1.7rem;
    line-height: 1.02;
  }

  .steps p {
    max-width: 24ch;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .gallery {
    grid-auto-columns: minmax(260px, 88vw);
    gap: 14px;
    padding-bottom: 12px;
  }

  .gallery-card__visual,
  .gallery-card__caption {
    min-height: clamp(230px, 72vw, 340px);
  }

  .gallery-card__body {
    padding-inline: 16px;
  }

  .phone-mockup::after {
    display: none;
  }

  .price-pill {
    align-items: flex-start;
    border-radius: var(--radius);
    flex-direction: column;
    gap: 2px;
  }
}
