/* === Instant Queue page (anonymous session live phase) === */
.instant-queue {
  padding: clamp(72px, 9vh, 110px) clamp(var(--ez-space-md), 3vw, var(--ez-space-xl)) var(--ez-space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-lg);
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.instant-queue__nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--ez-space-md);
  background: var(--ez-peach-50);
  border: 1px solid var(--ez-peach-200);
  padding: var(--ez-space-md) var(--ez-space-lg);
  margin: 0;
}
.instant-queue__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--ez-space-md);
}
.instant-queue__title { min-width: 0; flex: 1 1 280px; }
.instant-queue__title h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.instant-queue__actions { flex: 0 1 auto; }

@media (max-width: 640px) {
  .instant-queue { padding-top: clamp(64px, 11vh, 88px); }
  .instant-queue__header { align-items: stretch; }
  .instant-queue__actions { width: 100%; }
  .instant-queue__actions .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}

/* === Landing Page (single-scroll, dark aurora) === */
.landing-page {
  min-height: 100vh;
  background: transparent;
  color: var(--ez-cream);
  position: relative;
}

.landing-page section[id] {
  scroll-margin-top: clamp(72px, 12vh, 110px);
}
.landing-page #hero { scroll-margin-top: 0; }

/* === Glass-pill fixed nav === */
.landing-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  width: min(calc(100% - 32px), 1240px);
  background: var(--ez-nav-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--ez-glass-border);
  border-radius: var(--ez-r-pill);
  box-shadow: var(--ez-nav-shadow);
  transition: top 0.35s var(--ez-ease-out), padding 0.35s var(--ez-ease-out),
              width 0.35s var(--ez-ease-out), background 0.35s ease;
  animation: ez-nav-drop 0.9s var(--ez-ease-out) both;
  animation-delay: 0.15s;
}
.landing-nav.is-scrolled {
  top: 10px;
  padding: 6px 8px 6px 18px;
  width: min(calc(100% - 32px), 1140px);
  background: var(--ez-nav-bg-scrolled);
}

.landing-nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.landing-nav__brand .wordmark { font-size: 18px; }

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  justify-content: center;
}
.landing-nav__link {
  position: relative;
  padding: 8px 14px;
  font-family: var(--ez-font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ez-link-nav);
  border-radius: var(--ez-r-pill);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.landing-nav__link:hover {
  color: var(--ez-text);
  background: var(--ez-link-nav-hover-bg);
}
.landing-nav__link.is-active {
  color: var(--ez-text);
  background: var(--ez-link-nav-active-bg);
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}
.landing-nav__actions .lang-selector,
.landing-nav__actions .btn { flex-shrink: 0; }

.landing-nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--ez-r-pill);
  color: var(--ez-cream);
  background: var(--ez-pill-bg);
  border: 1px solid var(--ez-glass-border);
  transition: background 0.2s ease, border-color 0.2s ease;
  flex: 0 0 auto;
  padding: 0;
}
.landing-nav__hamburger:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}

@keyframes ez-nav-drop {
  from { transform: translate(-50%, -130%); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

/* === Mobile menu panel === */
.landing-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: var(--ez-bg-2);
  border-bottom: 1px solid var(--ez-line-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ez-ease-out), opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-md);
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  box-sizing: border-box;
}
.landing-mobile-menu > * {
  flex-shrink: 0;
}
[data-theme="light"] .landing-mobile-menu {
  background: var(--ez-bg);
}
.landing-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ez-space-md);
  padding: 4px 4px 8px;
  margin-bottom: 4px;
}
.landing-mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--ez-r-pill);
  background: var(--ez-pill-bg);
  border: 1px solid var(--ez-pill-border);
  color: var(--ez-cream);
  flex-shrink: 0;
  transition: background 0.15s var(--ez-ease-out), border-color 0.15s var(--ez-ease-out);
  padding: 0;
}
.landing-mobile-menu__close:hover {
  background: rgba(244, 165, 116, 0.16);
  border-color: rgba(244, 165, 116, 0.45);
}
.landing-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.landing-mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.landing-mobile-menu__link {
  display: block;
  padding: 14px 16px;
  font-family: var(--ez-font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ez-link-nav);
  border-radius: var(--ez-r-md);
  transition: background 0.2s ease, color 0.2s ease;
  min-height: 48px;
}
.landing-mobile-menu__link:hover,
.landing-mobile-menu__link:active,
.landing-mobile-menu__link.is-active {
  color: var(--ez-cream);
  background: rgba(244, 165, 116, 0.14);
}
.landing-mobile-menu__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}
.landing-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-mobile-menu__actions .lang-selector { align-self: flex-start; }
.landing-mobile-menu__actions .btn { width: 100%; min-height: 48px; }
.landing-mobile-menu__scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(8, 4, 1, 0.45);
  border: 0;
  cursor: pointer;
  animation: ez-fade-in 0.2s var(--ez-ease-out) both;
}

/* === Section shell === */
.landing-section {
  padding: clamp(72px, 9vw, 120px) var(--ez-space-xl);
  max-width: 1180px;
  margin: 0 auto;
}
.landing-section__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ez-tint-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* === Hero (v4) === */
.v4-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--ez-space-2xl);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(112px, 14vh, 160px) var(--ez-space-xl) clamp(48px, 6vw, 80px);
}
.v4-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-md);
  text-align: left;
  align-items: flex-start;
  min-width: 0;
}
.v4-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--ez-r-lg);
  background: var(--ez-pill-bg-strong);
  border: 1px solid var(--ez-pill-border-strong);
  font-family: var(--ez-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ez-cream);
  flex-wrap: nowrap;
  max-width: 100%;
  text-align: left;
}
.v4-hero__chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ez-peach-400);
  box-shadow: 0 0 8px var(--ez-peach-400);
  flex-shrink: 0;
}
.v4-hero__title {
  font-family: var(--ez-font-display);
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ez-cream);
  margin-top: 6px;
  text-wrap: balance;
}
.v4-hero__title-accent {
  color: var(--ez-peach-400);
  font-weight: 700;
}
.v4-hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ez-tint-text-muted);
  max-width: 520px;
}
.v4-hero__sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ez-tint-text-dim);
  max-width: 520px;
}
.v4-hero__cta {
  display: flex;
  align-items: center;
  gap: var(--ez-space-md);
  flex-wrap: wrap;
  margin-top: var(--ez-space-md);
}
.v4-hero__cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ez-cream);
}
.v4-hero__inline-form {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  margin-top: var(--ez-space-sm);
  padding: 6px;
  border-radius: var(--ez-r-pill);
  background: var(--ez-surface-glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--ez-glass-border);
  box-shadow: var(--ez-shadow-glass);
  animation: ez-fade-in 0.2s var(--ez-ease-out);
}
.landing-hero-input {
  width: 280px;
  font-family: var(--ez-font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--ez-r-pill);
  background: transparent;
  color: var(--ez-cream);
  transition: box-shadow 0.2s var(--ez-ease-out);
  min-width: 0;
}
.landing-hero-input::placeholder { color: var(--ez-ink-600); font-weight: 400; }
.landing-hero-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(244, 165, 116, 0.18); }
.landing-hero-input--error { box-shadow: 0 0 0 3px rgba(229, 84, 84, 0.30) !important; }
.landing-hero-input--shake { animation: ez-shake 0.4s ease-in-out; }
@keyframes ez-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.landing-hero-btn { flex-shrink: 0; }

.v4-hero__footnote {
  font-family: var(--ez-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ez-tint-text-dim);
  margin-top: var(--ez-space-sm);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.landing-existing-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ez-space-md);
  margin-top: var(--ez-space-md);
  padding: var(--ez-space-md) var(--ez-space-lg);
  background: var(--ez-surface-glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(244, 165, 116, 0.30);
  box-shadow: var(--ez-shadow-glass), 0 0 60px rgba(244, 165, 116, 0.18);
  border-radius: var(--ez-r-lg);
  width: 100%;
  max-width: 560px;
  animation: ez-fade-in 0.25s var(--ez-ease-out);
  color: var(--ez-cream);
}
.landing-existing-line p { font-size: 15px; font-weight: 500; color: var(--ez-cream); }
.landing-existing-line strong { color: var(--ez-peach-200); font-weight: 700; }

/* === Hero demo column (trio) === */
.v4-hero__demo {
  position: relative;
  height: clamp(420px, 50vw, 560px);
  pointer-events: none;
  align-self: stretch;
}
.v4-hero__conic {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  background: radial-gradient(circle, rgba(244, 165, 116, 0.55), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.v4-demo__card {
  position: absolute;
  pointer-events: auto;
  border-radius: 22px;
  color: var(--ez-cream);
  transform-origin: 50% 50%;
  transform-box: border-box;
  transition: transform 0.3s var(--ez-ease-out), box-shadow 0.3s var(--ez-ease-out);
}

.v4-demo__backend {
  background: var(--ez-surface-glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--ez-pill-border-strong);
  box-shadow: var(--ez-shadow-glass), 0 0 80px rgba(244, 165, 116, 0.18);
  left: 0;
  top: 30px;
  width: clamp(240px, 60%, 270px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: rotate(-3deg) scale(1);
  z-index: 3;
}
.v4-demo__backend:hover {
  transform: rotate(3deg) scale(1.04);
}
.v4-demo__backend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.v4-demo__backend-biz {
  font-family: var(--ez-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ez-tint-text-dim);
}
.v4-demo__backend-num {
  font-family: var(--ez-font-display);
  font-size: clamp(48px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ez-peach-400);
  line-height: 1;
  margin-top: 2px;
}
.v4-demo__backend-name {
  font-family: var(--ez-font-display);
  font-size: 14px;
  color: var(--ez-tint-text-muted);
}
.v4-demo__backend-tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.v4-demo__ticket {
  padding: 6px 4px;
  border-radius: 8px;
  background: var(--ez-tint-soft);
  border: 1px solid var(--ez-pill-border);
  font-family: var(--ez-font-mono);
  font-size: 10px;
  color: var(--ez-tint-text-dim);
  text-align: center;
}
.v4-demo__backend-meta {
  font-family: var(--ez-font-mono);
  font-size: 10px;
  color: var(--ez-tint-text-dim);
  margin-top: 4px;
}

.v4-demo__qr {
  right: 30px;
  top: 0;
  transform: rotate(4deg) scale(1);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--ez-peach-500);
  padding: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.v4-demo__qr:hover {
  transform: rotate(-4deg) scale(1.04);
}
.v4-demo__qr-frame {
  background: #FFF8F4;
  padding: 12px;
  border-radius: 19px;
}
.v4-demo__qr-link {
  font-family: var(--ez-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ez-tint-text-muted);
  text-align: center;
  padding: 0 8px 4px;
}
.v4-demo__qr-link strong { color: #fff; font-weight: 700; }

.v4-demo__phone {
  bottom: 0;
  right: 80px;
  width: clamp(180px, 22%, 200px);
  aspect-ratio: 200 / 380;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a0d04, #0a0502);
  border: 1px solid var(--ez-line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg) scale(1);
  z-index: 2;
}
.v4-demo__phone:hover {
  transform: rotate(4deg) scale(1.04);
}
.v4-demo__phone-inner {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--ez-phone-screen-bg);
  color: var(--ez-phone-screen-fg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v4-demo__phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ez-font-mono);
  font-size: 9px;
  color: var(--ez-phone-screen-fg-muted);
}
.v4-demo__phone-number-block {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v4-demo__phone-number {
  font-family: var(--ez-font-display);
  font-size: clamp(44px, 6.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ez-peach-400);
  line-height: 0.9;
}
.v4-demo__phone-stats {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.v4-demo__phone-stat {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  background: var(--ez-phone-screen-pill-bg);
  border: 1px solid var(--ez-phone-screen-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v4-demo__phone-stat .meta { color: var(--ez-phone-screen-fg-dim); }
.v4-demo__phone-stat strong {
  font-family: var(--ez-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ez-phone-screen-fg);
}
.v4-demo__phone-spacer { flex: 1; }
.v4-demo__phone-serving {
  font-family: var(--ez-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ez-peach-400);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* === Section divider === */
.landing-divider {
  border: 0;
  height: 1px;
  width: min(100% - 2 * var(--ez-space-xl), 720px);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(244, 165, 116, 0.45), transparent);
}

/* === Section heading === */
.landing-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ez-space-sm);
  text-align: center;
  margin-bottom: var(--ez-space-2xl);
}
.landing-section-head h2 {
  font-family: var(--ez-font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ez-cream);
  text-wrap: balance;
}

/* === How it works — zigzag with traveling peach trail === */
.how-zigzag {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  aspect-ratio: 1180 / 640;
}

/* SVG path connector */
.how-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.how-path__line {
  stroke-dashoffset: 1100;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.how-zigzag.is-revealed .how-path__line {
  opacity: 1;
  animation: how-draw 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
}
.how-path__dot {
  cx: 0;
  cy: 0;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(244, 165, 116, 0.85));
  offset-path: path('M 280 130 C 540 130, 600 280, 800 320 S 940 540, 380 540');
  offset-distance: 0%;
  offset-rotate: 0deg;
}
.how-zigzag.is-revealed .how-path__dot {
  animation: how-trail 2s cubic-bezier(0.5, 0, 0.5, 1) 0.6s forwards;
}

/* Cards */
.how-card {
  position: absolute;
  width: clamp(300px, 32vw, 380px);
  padding: var(--ez-space-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ez-ease-out), transform 0.6s var(--ez-ease-out),
              box-shadow 0.25s var(--ez-ease-out);
}
.how-zigzag.is-revealed .how-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--how-card-delay, 0ms);
}
.how-card--1 { left: 0; top: 0; }
.how-card--2 { left: 50%; top: 36%; transform: translate(-10%, 14px); }
.how-zigzag.is-revealed .how-card--2 { transform: translate(-10%, 0); }
.how-card--3 { left: 6%; bottom: 0; }

.how-card__numeral {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--ez-font-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 165, 116, 0.45);
  user-select: none;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s ease, color 0.3s ease,
              background 0.3s ease, -webkit-background-clip 0.3s ease;
}
.how-card:hover .how-card__numeral {
  -webkit-text-stroke: 1.5px transparent;
  background: var(--ez-grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.how-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.how-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 165, 116, 0.14);
  border: 1px solid rgba(244, 165, 116, 0.28);
  color: var(--ez-peach-300);
  flex-shrink: 0;
  transition: transform 0.25s var(--ez-ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.how-card:hover .how-card__icon-wrap {
  transform: scale(1.06);
  background: rgba(244, 165, 116, 0.22);
  border-color: var(--ez-peach-300);
  box-shadow: 0 0 18px rgba(244, 165, 116, 0.45);
}
.how-card__step-label {
  font-family: var(--ez-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ez-peach-300);
  text-transform: uppercase;
}

.how-card__title {
  font-family: var(--ez-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ez-cream);
  letter-spacing: -0.01em;
}
.how-card__body { font-size: 14px; line-height: 1.6; }

/* Per-card decorative accents */
.how-card__accent { margin-top: var(--ez-space-md); position: relative; }

/* — Card 1: glass URL pill */
.how-card__accent--url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--ez-r-pill);
  background: var(--ez-pill-bg);
  border: 1px solid var(--ez-pill-border);
  font-family: var(--ez-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ez-tint-text-muted);
  width: fit-content;
  align-self: flex-start;
  transition: border-color 0.25s, background 0.25s;
}
.how-card:hover .how-card__accent--url {
  border-color: rgba(244, 165, 116, 0.45);
  background: rgba(244, 165, 116, 0.10);
}
.how-card__accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ez-peach-400);
  box-shadow: 0 0 8px var(--ez-peach-400);
  flex-shrink: 0;
}
.how-card__accent-text { color: var(--ez-tint-text-muted); }
.how-card__accent-text strong { color: var(--ez-text); font-weight: 700; }
.how-card__accent-status {
  font-family: var(--ez-font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ez-peach-300);
  padding: 3px 8px;
  border-radius: var(--ez-r-pill);
  border: 1px solid rgba(244, 165, 116, 0.35);
}

/* — Card 2: abstract dot-grid "QR" */
.how-card__accent--qr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 84px;
  height: 84px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ez-tint-soft);
  border: 1px solid rgba(244, 165, 116, 0.18);
  box-shadow: 0 0 24px rgba(244, 165, 116, 0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.how-card:hover .how-card__accent--qr {
  border-color: rgba(244, 165, 116, 0.45);
  box-shadow: 0 0 32px rgba(244, 165, 116, 0.30);
}
.how-card__qr-dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.5px;
  background: var(--ez-tint-soft);
  transition: background 0.3s;
}
.how-card__qr-dot.is-on {
  background: var(--ez-peach-300);
  box-shadow: 0 0 4px rgba(244, 165, 116, 0.65);
}
.how-card:hover .how-card__qr-dot.is-on {
  background: var(--ez-peach-200);
}

/* — Card 3: concentric pulsing rings */
.how-card__accent--rings {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-card__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--ez-peach-400);
  opacity: 0;
  width: 14px;
  height: 14px;
  animation: how-ring-pulse 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.how-card__ring--1 { animation-delay: 0s; }
.how-card__ring--2 { animation-delay: 0.85s; }
.how-card__ring--3 { animation-delay: 1.7s; }
.how-card__ring-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ez-peach-400);
  box-shadow: 0 0 14px var(--ez-peach-400);
}

@keyframes how-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes how-trail {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes how-ring-pulse {
  0%   { width: 14px; height: 14px; opacity: 0.85; border-width: 1.5px; }
  80%  { width: 78px; height: 78px; opacity: 0;    border-width: 1px; }
  100% { width: 78px; height: 78px; opacity: 0;    border-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .how-zigzag.is-revealed .how-path__line,
  .how-zigzag.is-revealed .how-path__dot,
  .how-card__ring {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 0 !important;
  }
  .how-zigzag.is-revealed .how-path__line { opacity: 1 !important; }
}

/* === Who it's for === */
.who-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
.who-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--ez-r-pill);
  background: var(--ez-tint-soft);
  border: 1px solid var(--ez-line);
  color: var(--ez-cream);
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ez-ease-out);
}
.who-chip:hover {
  background: rgba(244, 165, 116, 0.08);
  border-color: rgba(244, 165, 116, 0.30);
  transform: translateY(-1px);
}
.who-chip svg { color: var(--ez-peach-300); }

/* === Features === */
.landing-features {
  padding: clamp(72px, 9vw, 120px) var(--ez-space-xl);
  max-width: 1180px;
  margin: 0 auto;
}
.features-stack {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-lg);
  max-width: 1080px;
  margin: 0 auto;
  perspective: 1400px;
}
.features-card {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-md);
  position: relative;
}
.features-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ez-peach-300);
}
.features-card__head h3 {
  font-family: var(--ez-font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--ez-cream);
  letter-spacing: -0.01em;
}

.landing-modules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--ez-space-lg);
  margin-top: var(--ez-space-xl);
}
.landing-module {
  scroll-margin-top: 96px;
}
.landing-module__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-sm);
  flex: 1;
}
.landing-module__point {
  display: flex;
  align-items: flex-start;
  gap: var(--ez-space-sm);
  color: var(--ez-tint-text-muted);
}
.landing-module__point svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ez-peach-300);
}
.btn.landing-module__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--ez-space-sm);
  white-space: normal;
  max-width: 100%;
  text-align: center;
}
.landing-module__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ez-link);
  text-decoration: underline;
}
.haccp-templates {
  padding-top: clamp(120px, 16vh, 160px);
}
.haccp-templates .landing-section-head h1 {
  font-family: var(--ez-font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ez-cream);
  text-wrap: balance;
}
.haccp-templates__app {
  max-width: 760px;
  margin: 0 auto var(--ez-space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-md);
}
.haccp-templates__inspection {
  max-width: 720px;
  margin: 0 auto var(--ez-space-2xl);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ez-tint-text-muted);
}
.haccp-template {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-sm);
  scroll-margin-top: 96px;
}
.haccp-template__title {
  font-family: var(--ez-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ez-cream);
}
.haccp-template__rule,
.haccp-template__feature {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ez-tint-text-muted);
}
.haccp-template__downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ez-space-sm);
  margin-top: auto;
  padding-top: var(--ez-space-sm);
}
.haccp-templates__note {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-sm);
}
.haccp-templates__note h2 {
  font-family: var(--ez-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ez-cream);
}
.features-card__copy {
  color: var(--ez-ink-700);
  font-size: 14px;
  line-height: 1.6;
  max-width: 640px;
}

.features-card--queue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--ez-space-2xl);
  align-items: center;
  padding: var(--ez-space-xl);
}
.features-card--queue .features-card__head,
.features-card--queue .features-card__copy {
  grid-column: 1 / 2;
}
.features-card__queue-rows {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.features-card__queue-row {
  display: grid;
  grid-template-columns: 56px 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--ez-r-md);
  background: var(--ez-tint-soft);
  border: 1px solid var(--ez-line);
  font-family: var(--ez-font-mono);
  font-size: 12px;
  transition: background 0.2s var(--ez-ease-out);
}
.features-card__queue-row--serving {
  background: linear-gradient(90deg, rgba(244, 165, 116, 0.18), rgba(244, 165, 116, 0.04));
  border-color: rgba(244, 165, 116, 0.32);
}
.features-card__queue-num {
  color: var(--ez-cream);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.features-card__queue-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ez-pill-bg);
  border: 1px solid var(--ez-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ez-peach-300);
  font-family: var(--ez-font-display);
  font-size: 11px;
  font-weight: 500;
}
.features-card__queue-wait {
  color: var(--ez-peach-300);
  letter-spacing: 0.06em;
}

.features-pair {
  display: flex;
  gap: var(--ez-space-lg);
}
.features-pair > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 768px) {
  .features-pair { flex-direction: column; }
}
.features-card__emoji {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--ez-space-md);
  border-top: 1px solid var(--ez-line);
}
.features-card__emoji-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding: 8px 0;
  border-radius: var(--ez-r-md);
  background: var(--ez-tint-soft);
  border: 1px solid var(--ez-line);
  transition: transform 0.2s var(--ez-ease-out), border-color 0.2s var(--ez-ease-out), background 0.2s var(--ez-ease-out);
  filter: grayscale(0.4) brightness(0.85);
}
.features-card__emoji-chip--active {
  transform: scale(1.18);
  filter: none;
  border-color: var(--ez-peach-400);
  background: rgba(244, 165, 116, 0.16);
  box-shadow: 0 0 24px rgba(244, 165, 116, 0.45);
}
.features-card__sparkline {
  width: 100%;
  height: 64px;
  margin-top: auto;
}
.features-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ez-space-md);
  padding-top: var(--ez-space-md);
  border-top: 1px solid var(--ez-line);
}
.features-card__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.features-card__stats strong {
  font-family: var(--ez-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ez-cream);
  letter-spacing: -0.01em;
}

/* === Pricing (folded from old pricing.css) === */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ez-space-lg);
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1400px;
}
.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-lg);
  padding: var(--ez-space-2xl) var(--ez-space-xl);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s var(--ez-ease-out), box-shadow 0.25s var(--ez-ease-out);
}
.pricing-tier--highlight {
  border-color: rgba(244, 165, 116, 0.45);
  box-shadow: var(--ez-shadow-glass), 0 0 80px rgba(244, 165, 116, 0.20);
  isolation: isolate;
}
.pricing-tier--highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ez-bento-angle, 0deg),
    rgba(249, 196, 163, 0.65),
    transparent 25%,
    transparent 75%,
    rgba(232, 130, 92, 0.65)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: ez-bento-rotate 14s linear infinite;
  z-index: 0;
}
.pricing-tier--highlight > * { position: relative; z-index: 1; }

.pricing-tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--ez-r-pill);
  background: var(--ez-grad-btn);
  color: var(--ez-on-peach);
  font-family: var(--ez-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  box-shadow: var(--ez-shadow-btn);
  z-index: 2;
}

/* .pricing-tier__head, __name, __pitch, __price*, __features, __feature, __check
   moved to components.css so dashboard pages (BillingPage, SubscribeConfirmDialog)
   render them too — landing.css is only loaded on public pages. */

.pricing-tier__cta { margin-top: auto; }

/* === FAQ === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ez-space-lg);
  max-width: 1080px;
  margin: 0 auto;
  perspective: 1200px;
}
.faq-item {
  padding: var(--ez-space-lg);
  border-radius: var(--ez-r-lg);
  background: var(--ez-tint-soft);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s var(--ez-ease-out), box-shadow 0.25s var(--ez-ease-out);
  border: 1px solid var(--ez-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item h3 {
  font-family: var(--ez-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ez-cream);
  letter-spacing: -0.005em;
}
.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ez-tint-text-muted);
}
.faq-item strong { color: var(--ez-peach-200); font-weight: 600; }

/* === About === */
.landing-about { perspective: 1400px; }
.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--ez-space-2xl);
  align-items: stretch;
  padding: var(--ez-space-2xl);
  max-width: 1080px;
  margin: 0 auto;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s var(--ez-ease-out), box-shadow 0.25s var(--ez-ease-out);
}
.about-card__bio {
  display: flex;
  flex-direction: column;
  gap: var(--ez-space-md);
}
.about-card__bio .body-text { font-size: 15px; line-height: 1.7; color: var(--ez-tint-text-muted); }
.about-card__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
}
.about-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--ez-r-md);
  background: var(--ez-tint-soft);
  border: 1px solid var(--ez-line);
  color: var(--ez-cream);
  min-height: 56px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ez-ease-out);
}
.about-contact-row:hover {
  background: rgba(244, 165, 116, 0.10);
  border-color: rgba(244, 165, 116, 0.32);
  transform: translateY(-1px);
}
.about-contact-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(244, 165, 116, 0.14);
  border: 1px solid rgba(244, 165, 116, 0.24);
  color: var(--ez-peach-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-contact-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.about-contact-row__body strong {
  font-family: var(--ez-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ez-cream);
  letter-spacing: -0.005em;
  word-break: break-all;
}

/* === CTA === */
.landing-cta {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--ez-space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ez-space-md);
}
.landing-cta h2 {
  font-family: var(--ez-font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ez-cream);
  text-wrap: balance;
}
.landing-cta__buttons {
  display: flex;
  gap: var(--ez-space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--ez-space-md);
}

/* === Back to top === */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--ez-grad-btn);
  color: var(--ez-cream);
  box-shadow: var(--ez-shadow-btn), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.25s var(--ez-ease-out),
    transform 0.35s var(--ez-ease-out),
    box-shadow 0.35s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--ez-shadow-btn), var(--ez-fire-glow), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

/* === Responsive breakpoints === */
@media (max-width: 1024px) {
  .v4-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ez-space-xl);
  }
  .v4-hero__demo {
    height: clamp(440px, 80vw, 540px);
    margin: 0 auto;
    max-width: 540px;
    width: 100%;
  }
  /* Spread the trio vertically so they don't crowd each other on tablet/mobile */
  .v4-demo__qr    { top: -12%; right: 6%; }
  .v4-demo__phone { bottom: -14%; right: 22%; }
  .v4-demo__backend { top: 12%; left: 0; }
  .features-card--queue {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ez-space-lg);
  }
  .features-card--queue .features-card__head,
  .features-card--queue .features-card__copy,
  .features-card__queue-rows {
    grid-column: 1 / -1;
  }
  .features-pair { grid-template-columns: minmax(0, 1fr); }

  .pricing-tiers { grid-template-columns: minmax(0, 1fr); max-width: 480px; }

  .about-card { grid-template-columns: minmax(0, 1fr); gap: var(--ez-space-xl); }
}

/* Mobile nav pattern (hamburger) kicks in below 1200px */
@media (max-width: 1199px) {
  .landing-nav {
    top: 8px;
    width: calc(100% - 16px);
    padding: 6px 6px 6px 12px;
    gap: 6px;
  }
  .landing-nav.is-scrolled {
    top: 6px;
    padding: 6px 6px 6px 12px;
    width: calc(100% - 16px);
  }
  .landing-nav__brand { flex-shrink: 1; min-width: 0; }
  .landing-nav__brand .wordmark { font-size: 15px; }
  .landing-nav__links { display: none; }
  .landing-nav__actions { display: flex; gap: 6px; margin-left: auto; }
  .landing-nav__actions .btn { padding: 7px 12px; font-size: 12px; letter-spacing: 0; line-height: 1.5; }
  .landing-nav .landing-nav__btn-register { display: none; }
  .landing-nav .landing-nav__btn-login { display: none; }
  .landing-nav__actions .lang-trigger { padding: 7px 12px; gap: 4px; font-size: 12px; }
  .landing-nav__actions .lang-code { display: none; }
  .landing-nav__hamburger { display: inline-flex; width: 36px; height: 36px; }

  /* Public top nav (no hamburger menu, no in-page links) — keep the primary CTA
     visible on mobile and drop the secondary login button instead. */
  .landing-nav--no-menu .landing-nav__btn-register { display: inline-flex; }
  .landing-nav--no-menu .landing-nav__btn-login { display: none; }
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* How-it-works zigzag — vertical reflow on tablet/mobile */
@media (max-width: 900px) {
  .how-zigzag {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: var(--ez-space-lg);
    align-items: stretch;
  }
  .how-card,
  .how-card--1,
  .how-card--2,
  .how-card--3 {
    position: relative;
    width: 100%;
    max-width: 480px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: translateY(14px);
  }
  .how-card--2 { align-self: flex-end; }
  .how-card--3 { align-self: flex-start; }
  .how-zigzag.is-revealed .how-card,
  .how-zigzag.is-revealed .how-card--2 {
    transform: translateY(0);
  }
  .how-path { display: none; }
}
@media (max-width: 640px) {
  .how-card,
  .how-card--1,
  .how-card--2,
  .how-card--3 {
    align-self: stretch;
    max-width: none;
  }
  .how-card__numeral { font-size: 56px; top: 14px; right: 18px; }
}

@media (max-width: 640px) {
  .v4-hero { padding: clamp(96px, 16vh, 130px) var(--ez-space-md) calc(var(--ez-space-3xl) + 130px); }
  .v4-hero__title { font-size: clamp(40px, 12vw, 64px); }
  .v4-hero__chip {
    font-size: 10px;
    letter-spacing: 0.10em;
    padding: 10px 16px;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .v4-hero__cta .btn { width: 100%; justify-content: center; }
  .v4-hero__inline-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: var(--ez-r-lg);
    padding: 8px;
    box-sizing: border-box;
  }
  .landing-hero-input { width: 100%; }
  .landing-hero-btn { width: 100%; }

  /* Keep the layered/absolute layout on mobile, just shrink everything
     proportionally so the trio still reads as a composition. */
  .v4-hero__demo {
    height: clamp(320px, 70vw, 440px);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .v4-demo__backend {
    left: 0;
    top: 8%;
    width: clamp(180px, 56%, 240px);
    padding: 12px;
    gap: 6px;
  }
  .v4-demo__backend-num { font-size: clamp(36px, 11vw, 48px); }
  .v4-demo__backend-name { font-size: 12px; }
  .v4-demo__qr {
    right: 4%;
    top: 0 !important;
    transform: translateY(-30px) rotate(4deg) !important;
    padding: 2px;
  }
  .v4-demo__qr-frame { padding: 8px; }
  .v4-demo__qr-frame svg { width: 100%; height: auto; max-width: 96px; }
  .v4-demo__qr-link { font-size: 9px; padding: 0 6px 3px; }
  .v4-demo__phone {
    bottom: -130px !important;
    right: 18% !important;
    top: auto !important;
    transform: rotate(-2deg) !important;
    width: clamp(130px, 36%, 170px);
    aspect-ratio: 200 / 380;
    border-radius: 28px;
    padding: 6px;
  }
  .v4-demo__phone-inner { padding: 10px; border-radius: 22px; }
  .v4-demo__phone-number { font-size: clamp(36px, 10vw, 56px); }
  .v4-demo__phone-stat strong { font-size: 14px; }
  .v4-demo__phone-serving { font-size: 18px; }
  .v4-hero__conic { width: 280px; height: 280px; opacity: 0.32; }

  .landing-section { padding: var(--ez-space-3xl) var(--ez-space-md); }
  .landing-features { padding: var(--ez-space-3xl) var(--ez-space-md); }
  .landing-cta { padding: var(--ez-space-3xl) var(--ez-space-md); }

  .landing-cta__buttons { width: 100%; }
  .landing-cta__buttons .btn { flex: 1 1 100%; min-width: 0; justify-content: center; }

  .about-card { padding: var(--ez-space-lg); }
  .pricing-tier { padding: var(--ez-space-xl) var(--ez-space-lg); }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .v4-hero__title { font-size: 38px; }
  .landing-section-head h2 { font-size: 26px; }
  .v4-demo__qr-frame { padding: 6px; }
  .v4-demo__qr-frame svg { max-width: 78px; }
  .v4-hero__demo { height: clamp(280px, 78vw, 360px); }
}

@keyframes ez-bento-rotate {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-nav,
  .landing-mobile-menu,
  .landing-mobile-menu__scrim,
  .back-to-top,
  .pricing-tier--highlight::before {
    animation: none !important;
  }
}

/* === Site menu (solutions, templates, guides) === */
.landing-nav__menu {
  position: relative;
  display: inline-flex;
}
.landing-nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.landing-nav__menu.is-open .landing-nav__menu-btn {
  color: var(--ez-text);
  background: var(--ez-link-nav-hover-bg);
}
.landing-nav__menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: var(--ez-r-md);
  border: 1px solid var(--ez-line);
  background: var(--ez-surface);
  box-shadow: var(--ez-shadow-lg);
  z-index: 60;
}
.landing-nav__menu-panel[hidden] { display: none; }
.landing-nav__menu-item {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ez-link-nav);
  border-radius: var(--ez-r-sm);
  text-decoration: none;
  white-space: nowrap;
}
.landing-nav__menu-item:hover,
.landing-nav__menu-item:focus-visible {
  color: var(--ez-text);
  background: var(--ez-link-nav-hover-bg);
}
.landing-nav__menu-divider {
  height: 1px;
  margin: 6px 4px;
  background: var(--ez-line);
}
.landing-mobile-menu__heading {
  display: block;
  padding: 10px 16px 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ez-tint-text-muted);
}
.landing-mobile-menu__link--sub {
  padding-left: 28px;
  font-size: 14px;
}
