/* VenueNudge marketing site
   Brand system: VenueNudge Brand Options & Customisation Guide.
   Shape scale: cards and panels 16px, buttons 12px, inputs 10px, chips and pills fully rounded.
   Layers: header 100, mobile menu 90, skip link 200. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours */
  --ink: #17252A;
  --green: #32D583;
  --coral: #FF6B5E;
  --bg: #FAFAF7;

  /* Derived tones */
  --ink-muted: #4A5A5F;
  --ink-soft: #5E6E73;
  --green-text: #1A9A5A; /* Nudge Green deepened for large text on light backgrounds (3.4:1) */
  --green-tint: #E8F8EF;
  --coral-tint: #FFEEEB;
  --surface: #FFFFFF;
  --line: rgba(23, 37, 42, 0.1);
  --line-strong: rgba(23, 37, 42, 0.16);
  --input-border: #7F8D91;
  --on-ink: #FAFAF7;
  --on-ink-muted: rgba(250, 250, 247, 0.78);
  --error: #B42318;
  --error-tint: #FDECEA;

  --shadow-sm: 0 1px 2px rgba(23, 37, 42, 0.06);
  --shadow-md: 0 1px 2px rgba(23, 37, 42, 0.05), 0 14px 32px -18px rgba(23, 37, 42, 0.28);
  --shadow-lg: 0 2px 6px rgba(23, 37, 42, 0.05), 0 36px 72px -28px rgba(23, 37, 42, 0.38);

  --r-card: 16px;
  --r-btn: 12px;
  --r-input: 10px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  color-scheme: light;
}

/* ---------- Base ---------- */

[hidden] {
  display: none !important;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: inherit;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.on-ink :focus-visible,
.cell-intro :focus-visible {
  outline-color: var(--green);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Logo artwork: images/logo/VenueNudge-logo-color-500w.png (500 x 115) */
.logo {
  width: auto;
  height: 34px;
}

/* The N and its coral strokes, cut from the logo: images/logo/venuenudge-icon.png */
.logo-icon {
  width: auto;
  height: 60px;
}

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

.btn {
  --nudge-shadow: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--nudge-shadow);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.2s ease;
}

/* The nudge: buttons shift forward and up, like the displaced stroke of the N */
.btn:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 var(--nudge-shadow);
}

.btn:active {
  transform: translate(0, 0) scale(0.98);
  box-shadow: 0 0 0 0 var(--nudge-shadow);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-secondary {
  --nudge-shadow: var(--green);
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 1.0625rem;
}

.btn-sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.btn .icon {
  width: 1.125em;
  height: 1.125em;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(23, 37, 42, 0.05);
}

.nav-cta-item {
  display: none;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(23, 37, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.menu-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--ink);
}

.menu-toggle .icon {
  width: 26px;
  height: 26px;
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-open {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-close {
  display: block;
}

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

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.h2 {
  font-size: clamp(2rem, 1.25rem + 2.3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.lede {
  margin-top: 16px;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.script {
  font-family: var(--font-script);
  font-weight: 600;
  line-height: 1.1;
}

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

.hero {
  padding-block: clamp(28px, 5vw, 64px) clamp(64px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-copy {
  container-type: inline-size;
}

.hero-title {
  font-size: clamp(2.375rem, 10cqi, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.hl {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--green-text);
  white-space: nowrap;
}

/* Brush-style swash in full Nudge Green, sitting behind the word */
.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.2em;
  border-radius: var(--r-pill);
  background: var(--green);
  opacity: 0.55;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.hero-sub {
  max-width: 34ch;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-media {
  position: relative;
  isolation: isolate;
  margin: 20px 20px 0 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  max-height: min(640px, calc(100dvh - 190px));
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-card);
  background: #d9d4cb;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

/* The displaced block echoes the N's forward-and-up stroke */
.hero-block {
  position: absolute;
  z-index: 0;
  top: -20px;
  right: -20px;
  width: 46%;
  height: 40%;
  border-radius: var(--r-card);
  background: var(--green);
}

.hero-marks {
  position: absolute;
  z-index: 2;
  top: -58px;
  right: -46px;
  width: 58px;
  height: auto;
  color: var(--coral);
}

/* ---------- Ribbon ---------- */

.ribbon {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--ink);
  padding-block: clamp(14px, 1.8vw, 22px);
}

/* Fades the words out under the pause button at the right edge */
.ribbon::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 120px;
  background: linear-gradient(to right, rgba(50, 213, 131, 0), var(--green) 65%);
  pointer-events: none;
}

.ribbon-toggle {
  position: absolute;
  top: 50%;
  right: clamp(12px, 2vw, 24px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--green);
  transform: translateY(-50%);
  transition: transform 0.2s var(--ease-out);
}

.ribbon-toggle:hover {
  transform: translateY(-50%) scale(1.06);
}

.ribbon-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.ribbon-toggle .icon {
  width: 16px;
  height: 16px;
}

.ribbon-toggle .icon-play,
.ribbon.is-paused .ribbon-toggle .icon-pause {
  display: none;
}

.ribbon.is-paused .ribbon-toggle .icon-play {
  display: block;
}

/* Nothing to pause without JavaScript or when motion is reduced */
.no-js .ribbon-toggle,
.no-js .ribbon::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-toggle,
  .ribbon::after {
    display: none;
  }
}

.ribbon-track {
  display: flex;
  width: max-content;
}

.ribbon-list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
  padding-right: clamp(20px, 2.6vw, 36px);
  font-size: clamp(1.625rem, 1rem + 2.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.ribbon-list li {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.ribbon-sep {
  width: 0.62em;
  height: auto;
  color: var(--ink);
  opacity: 0.85;
}

/* ---------- Features (bento) ---------- */

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

.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 236px;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.cell h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cell p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cell-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--green-text);
}

.cell-icon .icon {
  width: 24px;
  height: 24px;
}

.cell-intro {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3.4vw, 48px);
  border-color: transparent;
  background: var(--ink);
  color: var(--on-ink);
}

.cell-intro h2 {
  font-size: clamp(2rem, 1.2rem + 2.3vw, 3.125rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.cell-intro h2 span {
  display: block;
  color: var(--green);
}

.cell-intro p {
  max-width: 40ch;
  margin-top: 20px;
  color: var(--on-ink-muted);
  font-size: 1.0625rem;
}

.intro-sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.intro-sign .script {
  max-width: 21ch;
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--green);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.intro-sign .logo-icon {
  flex: none;
}

.cell-order {
  grid-column: span 2;
  flex-direction: row;
  gap: 0;
  padding: 0;
}

.cell-order .cell-text {
  display: flex;
  flex: 1 1 52%;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 30px);
}

.cell-order img {
  flex: 1 1 48%;
  min-width: 0;
  width: 48%;
  object-fit: cover;
}

.cell-marketing,
.cell-ai {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.cell-marketing {
  border-color: transparent;
  background: var(--green-tint);
}

.cell-marketing .cell-icon {
  background: var(--surface);
}

.cell-ai {
  border-color: transparent;
  background: var(--green-tint);
}

.cell-ai .cell-icon {
  background: var(--surface);
}

.cell-copy {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  gap: 10px;
}

.cell-mini {
  margin-top: auto;
}

/* Mini product moments inside the bento */

.booking-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.875rem;
  line-height: 1.3;
}

.booking-chip div {
  white-space: nowrap;
}

.booking-chip strong {
  display: block;
  font-weight: 600;
}

.booking-chip span {
  color: var(--ink-soft);
}

.booking-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--ink) !important;
  font-size: 0.75rem;
  font-weight: 600;
}

.booking-ok .icon {
  width: 14px;
  height: 14px;
  color: var(--green-text);
}

.stamp-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.stamps {
  display: flex;
  gap: 8px;
}

.stamp {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px dashed rgba(23, 37, 42, 0.28);
  border-radius: var(--r-pill);
}

.stamp.is-filled {
  border: 0;
  background: var(--ink);
}

.stamp.is-filled img {
  width: auto;
  height: 16px;
}

.stamp-note {
  margin-top: 10px;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  color: var(--ink-soft) !important;
}

.message-card {
  flex: 1 1 50%;
  max-width: 300px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  line-height: 1.45;
}

.message-from {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.message-from strong {
  color: var(--ink);
  font-weight: 600;
}

.venue-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #6B4A34;
  color: #FFF4E8;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.message-time {
  margin-left: auto;
}

.message-card p {
  color: var(--ink);
  font-size: 0.875rem;
}

.stars {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  color: var(--green);
}

.stars .icon {
  width: 22px;
  height: 22px;
}

.message-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Online ordering ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 32px;
}

.feature-item {
  display: grid;
  align-content: start;
  gap: 8px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--green);
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-item p {
  color: var(--ink-muted);
  font-size: 0.96875rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }
}

@media (max-width: 640px) {
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ---------- Demo ---------- */

.demo-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 128px);
  padding: clamp(36px, 6vw, 72px) 24px;
  overflow: hidden;
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--green) 10%, var(--bg));
}

.demo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.demo-item figcaption {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.demo-hint {
  position: absolute;
  top: 120px;
  right: calc(100% + 18px);
  width: 150px;
  font-size: 1.75rem;
  color: var(--ink);
  text-align: right;
  transform: rotate(-6deg);
}

.demo-hint::after {
  content: "";
  display: block;
  width: 64%;
  height: 4px;
  margin: 4px 0 0 auto;
  border-radius: var(--r-pill);
  background: var(--green);
}

/* Phone */

.phone {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 10px;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #FFFFFF;
  font-size: 14px;
  line-height: 1.35;
}

.phone-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 4px 26px 0 30px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}

.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 88px;
  height: 25px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transform: translateX(-50%);
}

.phone-signal {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-signal i {
  display: block;
  width: 22px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.phone-signal i::after {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.phone-signal b {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 11px;
}

.phone-signal b span {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}

.venue-head {
  position: relative;
  flex: none;
  height: 136px;
  color: #FFFFFF;
}

.venue-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 18, 12, 0.45) 0%, rgba(23, 18, 12, 0.15) 40%, rgba(23, 18, 12, 0.72) 100%);
}

.venue-name {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
}

.venue-name strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.venue-name span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.menu-tabs {
  display: flex;
  flex: none;
  gap: 6px;
  padding: 12px 14px 6px;
}

.menu-tabs button {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
}

.menu-list {
  flex: 1;
  overflow-y: auto;
  padding: 2px 14px 8px;
  scrollbar-width: none;
}

.menu-list::-webkit-scrollbar {
  display: none;
}

.menu-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.menu-item + .menu-item {
  border-top: 1px solid var(--line);
}

.menu-item[hidden] {
  display: none;
}

.menu-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.mi-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
}

.mi-desc {
  display: block;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mi-price {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
}

.mi-add {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--ink);
  transition: transform 0.2s var(--ease-spring);
}

.mi-add .icon {
  width: 18px;
  height: 18px;
}

.mi-add:active {
  transform: scale(0.88);
}

.mi-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.mi-qty[hidden] {
  display: none;
}

.order-bar {
  flex: none;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}

.order-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--green);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.order-btn[aria-disabled="true"] {
  justify-content: center;
  background: #EEF0EE;
  color: var(--ink-soft);
  cursor: default;
}

.order-btn.is-bumped {
  animation: nudge 0.45s var(--ease-out);
}

.powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.powered .logo {
  height: 13px;
}

/* Order sheet inside the phone */

.sheet-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(23, 37, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sheet {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  max-height: 78%;
  padding: 10px 18px 18px;
  border-radius: 24px 24px 0 0;
  background: #FFFFFF;
  transform: translateY(105%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.phone-screen.sheet-open .sheet {
  transform: none;
  visibility: visible;
  transition: transform 0.4s var(--ease-out), visibility 0s;
}

.phone-screen.sheet-open .sheet-scrim {
  opacity: 1;
  pointer-events: auto;
}

.sheet-grip {
  width: 38px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
}

.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sheet-head strong {
  font-size: 17px;
}

.sheet-head span {
  color: var(--ink-soft);
  font-size: 12px;
}

.sheet-lines {
  overflow-y: auto;
}

.sheet-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.sheet-line .qty-btn {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #FFFFFF;
  color: var(--ink);
}

.sheet-line .qty-btn .icon {
  width: 13px;
  height: 13px;
}

.sheet-line span {
  font-size: 13.5px;
}

.sheet-line b {
  font-size: 13.5px;
  font-weight: 600;
}

.sheet-total {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 14px;
  font-size: 15px;
}

.sheet-total strong {
  font-weight: 700;
}

.link-btn {
  display: block;
  margin: 10px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sheet-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 4px 4px;
  text-align: center;
}

.sheet-done[hidden] {
  display: none;
}

.done-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--ink);
}

.done-icon .icon {
  width: 28px;
  height: 28px;
}

.sheet-done strong {
  font-size: 17px;
}

.sheet-ref {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Table card */

.table-card {
  position: relative;
  width: 264px;
  padding: 30px 26px 18px;
  border-radius: var(--r-card);
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: rotate(-2deg);
}

.tc-title-word {
  position: relative;
  display: inline-block;
}

.tc-marks {
  position: absolute;
  top: -0.4em;
  right: -0.52em;
  width: 0.46em;
  height: auto;
  color: var(--coral);
}

.tc-title {
  font-size: 1.9375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tc-sub {
  margin-top: 8px;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tc-sub span {
  display: block;
  color: var(--green-text);
}

.tc-qr {
  width: 172px;
  height: 172px;
  margin: 20px auto 14px;
  padding: 8px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--line);
}

.tc-qr svg {
  width: 100%;
  height: 100%;
}

.tc-tap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tc-tap .icon {
  width: 22px;
  height: 22px;
}

.tc-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.6875rem;
}

.tc-powered .logo {
  height: 15px;
}

/* ---------- How it works ---------- */

.flow {
  position: relative;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4%;
}

.flow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  overflow: visible;
  pointer-events: none;
}

.flow-line polyline {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 10;
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Steps rise left to right: each one a nudge further forward and up */
.flow-step:nth-child(1) {
  margin-top: 96px;
}

.flow-step:nth-child(2) {
  margin-top: 48px;
}

.flow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--green);
  box-shadow: 0 0 0 8px var(--bg);
}

.flow-icon .icon {
  width: 28px;
  height: 28px;
}

.flow-step h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.flow-step p {
  max-width: 30ch;
  margin-top: 10px;
  color: var(--ink-muted);
}

.how-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
}

.faq-toggle .icon {
  width: 16px;
  height: 16px;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--green);
  box-shadow: none;
}

.faq-item summary:hover .faq-toggle {
  background: var(--green-tint);
}

.faq-item[open] summary:hover .faq-toggle {
  background: var(--green);
}

.faq-body p {
  max-width: 62ch;
  padding: 0 48px 24px 0;
  color: var(--ink-muted);
}

/* ---------- Get started ---------- */

.cta-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(28px, 5.2vw, 72px);
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--ink);
  color: var(--on-ink);
}

.cta-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  opacity: 0.55;
}

.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 37, 42, 0.82) 0%, rgba(23, 37, 42, 0.9) 45%, rgba(23, 37, 42, 0.97) 70%),
    linear-gradient(0deg, rgba(23, 37, 42, 0.6), rgba(23, 37, 42, 0) 60%);
}

.cta-copy h2 {
  font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.cta-word {
  position: relative;
  display: inline-block;
  color: var(--green);
}

.cta-word svg {
  position: absolute;
  top: -0.32em;
  right: -0.42em;
  width: 0.42em;
  height: auto;
  color: var(--coral);
}

.cta-copy p {
  max-width: 38ch;
  margin-top: 22px;
  color: var(--on-ink-muted);
  font-size: 1.125rem;
}

.cta-copy .script {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
  color: var(--green);
  transform: rotate(-3deg);
}

.cta-copy .script::after {
  content: "";
  display: block;
  width: 72%;
  height: 4px;
  margin-top: 6px;
  border-radius: var(--r-pill);
  background: var(--coral);
}

/* Form */

.lead-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.field legend {
  margin-bottom: 7px;
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--r-input);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink-muted);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(50, 213, 131, 0.45), 0 0 0 1px var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6E7D82;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field-error {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  position: relative;
  display: inline-flex;
}

.pill input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pill span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border: 1px solid var(--input-border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill .icon {
  display: none;
  width: 15px;
  height: 15px;
  color: var(--green);
}

.pill input:hover + span {
  border-color: var(--ink);
}

.pill input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.pill input:checked + span .icon {
  display: block;
}

.pill input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--r-input);
  background: var(--error-tint);
  color: #8A1C12;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-status:empty {
  display: none;
}

.form-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.form-note {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 4px;
}

.form-success[hidden] {
  display: none;
}

.form-success:focus {
  outline: none;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--ink);
}

.success-icon .icon {
  width: 28px;
  height: 28px;
}

.form-success h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.form-success p {
  color: var(--ink-muted);
}

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

.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--ink-muted);
}

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

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.footer-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a[aria-current="page"],
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  background: rgba(23, 37, 42, 0.06);
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.kicker-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-tint);
}

.hero-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.hero-offers li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-offers .icon {
  width: 20px;
  height: 20px;
  color: var(--green-text);
}

.hero-toast {
  position: absolute;
  z-index: 3;
  left: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  line-height: 1.3;
}

.toast-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
}

.toast-icon .icon {
  width: 20px;
  height: 20px;
}

.toast-text strong {
  display: block;
  font-weight: 600;
}

.toast-text span {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.toast-total {
  margin-left: 6px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Product cards (home) ---------- */

.cell-link,
.intro-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
}

.cell-link {
  margin-top: 2px;
  color: var(--ink);
}

.intro-link {
  margin-top: 26px;
  color: var(--green);
  text-decoration-color: rgba(50, 213, 131, 0.45);
}

.cell-link .icon,
.intro-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

.cell-link:hover,
.intro-link:hover {
  text-decoration-color: currentColor;
}

.cell-link:hover .icon,
.intro-link:hover .icon {
  transform: translate(2px, -2px);
}

.app-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 0.875rem;
  line-height: 1.3;
}

.app-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
}

.app-icon img {
  width: auto;
  height: 18px;
}

.app-chip strong {
  display: block;
  font-weight: 600;
}

.app-chip span span {
  color: var(--ink-soft);
}

.mini-chat {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
}

.bubble.bubble-guest,
.bubble.bubble-agent {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.bubble.bubble-guest {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--ink);
  color: var(--on-ink);
}

.bubble.bubble-agent {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.cell-ops {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.ops-works {
  flex: 1 1 52%;
}

.ops-works p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Why VenueNudge ---------- */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.why-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.why-photo {
  position: relative;
  margin-top: 36px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-card);
  background: #d9d4cb;
  box-shadow: var(--shadow-md);
}

.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}

.why-item:first-child {
  padding-top: 4px;
}

.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green-text);
}

.why-icon .icon {
  width: 26px;
  height: 26px;
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.why-item p {
  max-width: 52ch;
  margin-top: 6px;
  color: var(--ink-muted);
}

/* ---------- How it works: four steps ---------- */

.flow-4 .flow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 3%;
}

.flow-4 .flow-step:nth-child(1) {
  margin-top: 108px;
}

.flow-4 .flow-step:nth-child(2) {
  margin-top: 72px;
}

.flow-4 .flow-step:nth-child(3) {
  margin-top: 36px;
}

.flow-4 .flow-step p {
  max-width: 26ch;
}

/* ---------- Offer band ---------- */

.offer-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 40px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-card);
  background: var(--green);
  color: var(--ink);
}

.offer-marks {
  position: absolute;
  top: -26px;
  right: 40px;
  width: 36px;
  height: auto;
  color: var(--coral);
}

.offer-copy h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.offer-copy p {
  margin-top: 10px;
  color: rgba(23, 37, 42, 0.8);
  font-size: 1.0625rem;
}

.offer-points {
  display: grid;
  gap: 10px;
}

.offer-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.offer-points .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--green);
}

.btn-dark {
  --nudge-shadow: var(--surface);
  background: var(--ink);
  color: var(--on-ink);
}

.btn-ghost-light {
  --nudge-shadow: var(--green);
  background: transparent;
  border-color: rgba(250, 250, 247, 0.6);
  color: var(--on-ink);
}

/* ---------- Get started extras ---------- */

.cta-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.cta-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.cta-points .icon {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.cta-panel-short {
  grid-template-columns: minmax(0, 1.3fr) auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

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

.page-hero {
  padding-block: clamp(40px, 6vw, 84px) clamp(24px, 3vw, 40px);
}

.page-title {
  max-width: 860px;
  font-size: clamp(2.375rem, 1.3rem + 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.page-hero .hero-sub {
  max-width: 52ch;
}

.jump-nav {
  margin-top: 36px;
}

.jump-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s var(--ease-out);
}

.jump-nav a:hover {
  background: var(--green-tint);
  box-shadow: 0 0 0 1px transparent;
  transform: translate(1px, -1px);
}

.jump-nav .icon {
  width: 18px;
  height: 18px;
  color: var(--green-text);
}

.section.fr {
  padding-block: clamp(56px, 7vw, 104px);
}

.fr-alt {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.fr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.fr-grid.is-reversed .fr-visual {
  order: -1;
}

.fr-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

.fr-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--green);
}

.fr-icon .icon {
  width: 20px;
  height: 20px;
}

.fr-copy .lede {
  max-width: 46ch;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--green-text);
}

.check-list strong {
  color: var(--ink);
  font-weight: 600;
}

.fr-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 20px;
}

.tint-green {
  background: var(--green-tint);
}

.tint-coral {
  background: var(--coral-tint);
}

.tint-ink {
  background: var(--ink);
}

/* The displaced block from the hero, tucked behind the mock-up */
.tint-green::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12px;
  right: -12px;
  width: 22%;
  height: 22%;
  border-radius: var(--r-card);
  background: var(--green);
}

.fr-marks {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 30px;
  height: auto;
  color: var(--coral);
}

.mock {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 20px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  line-height: 1.4;
}

.mock-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mock-kicker .icon {
  width: 16px;
  height: 16px;
}

/* Ordering */

.mock-venue {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.mock-venue strong {
  font-size: 1.0625rem;
  font-weight: 700;
}

.mock-venue span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.dot-open {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--green);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg);
}

.seg span {
  padding: 7px 0;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.seg .is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}

.mock-items {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

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

.mock-items img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.mock-items strong {
  display: block;
  font-weight: 600;
}

.mock-items span span {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.mock-items b,
.mock-cta b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.upsell {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--coral-tint);
  font-weight: 500;
}

.upsell .icon {
  width: 18px;
  height: 18px;
  color: var(--coral);
}

.upsell span {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-cta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green);
  font-weight: 600;
}

/* Delivery and languages */

.fr-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.fr-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.fr-card .fr-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: var(--r-btn);
}

.fr-card .fr-icon .icon {
  width: 22px;
  height: 22px;
}

.fr-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fr-card p {
  color: var(--ink-muted);
}

.fr-card .fr-card-note {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.fr-card-note .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--green-text);
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.lang-chips li {
  min-width: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.lang-chips .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

/* Branded app */

.mock-app {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
}

.push {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  line-height: 1.35;
  transform: translateX(22px);
}

.push-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
}

.push-icon img {
  width: auto;
  height: 15px;
}

.push strong {
  display: block;
  font-weight: 600;
}

.push span span {
  color: var(--ink-muted);
}

.app-screen {
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.app-cover {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.app-body {
  display: grid;
  gap: 2px;
  padding: 16px 18px 20px;
  font-size: 0.875rem;
}

.app-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.app-meta {
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.app-order {
  margin-top: 12px;
  padding: 11px;
  border-radius: 12px;
  background: var(--green);
  font-weight: 600;
  text-align: center;
}

.app-points {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
}

.app-points .icon {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  color: var(--green-text);
}

.app-points em {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
}

/* Rewards */

.points-total strong {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.points-bar {
  display: block;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--green-tint);
}

.points-bar span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--green);
}

.points-next {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.rewards {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.rewards li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  font-weight: 500;
}

.rewards .icon {
  width: 18px;
  height: 18px;
  color: var(--green-text);
}

.rewards b {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
}

.rewards .is-locked {
  opacity: 0.6;
}

.coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1.5px dashed var(--coral);
  border-radius: 12px;
  background: var(--coral-tint);
}

.coupon-code {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Email campaign */

.mail-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mail-head strong {
  display: block;
  font-weight: 600;
}

.mail-head span span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.mail-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  font-size: 0.75rem;
  font-weight: 600;
}

.mail-subject {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.mail-preview {
  margin-top: 6px;
  color: var(--ink-muted);
}

.mail-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.mail-rule .icon {
  width: 16px;
  height: 16px;
}

/* AI chat */

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-done {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chat-done li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  font-size: 0.75rem;
  font-weight: 600;
}

.chat-done .icon {
  width: 15px;
  height: 15px;
  color: var(--green-text);
}

/* Dashboard */

.mock-dash {
  width: min(100%, 420px);
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.dash-tabs {
  display: flex;
  gap: 2px;
}

.dash-tabs b,
.dash-tabs span {
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-tabs b {
  background: var(--ink);
  color: var(--on-ink);
}

.dash-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-loc .icon {
  width: 14px;
  height: 14px;
}

.dash-rows {
  display: grid;
  gap: 8px;
}

.dash-rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
}

.dash-id {
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dash-rows strong {
  display: block;
  font-weight: 600;
}

.dash-rows span span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.st {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.st-prep {
  background: var(--coral-tint);
  color: #9C3329;
}

.st-way {
  background: #E6EDEF;
  color: var(--ink);
}

.st-ready {
  background: var(--green-tint);
  color: #11663C;
}

.tools {
  display: grid;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
}

.tools-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tools-title .icon {
  width: 22px;
  height: 22px;
  color: var(--green-text);
}

.tools .tool-chips li {
  background: var(--surface);
}

.tools-note {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Set up for you */

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.setup-list {
  display: grid;
  gap: 14px;
}

.setup-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.setup-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-card);
  background: var(--green);
  font-size: 1.5rem;
  font-weight: 800;
}

.setup-list li:nth-child(2) .setup-num {
  background: var(--ink);
  color: var(--green);
}

.setup-list li:nth-child(3) .setup-num {
  background: var(--coral-tint);
}

.setup-list h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.setup-list p {
  margin-top: 4px;
  color: var(--ink-muted);
}

/* ---------- Motion ---------- */

@keyframes nudge {
  0% { transform: translate(0, 0); }
  35% { transform: translate(3px, -4px); }
  100% { transform: translate(0, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes nudge-in {
  from { opacity: 0; transform: translate(-18px, 18px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  0% { opacity: 0; transform: scale(0.3) rotate(-12deg); }
  70% { opacity: 1; transform: scale(1.12) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes swash {
  from { transform: rotate(-1.5deg) scaleX(0); }
  to { transform: rotate(-1.5deg) scaleX(1); }
}

@keyframes ribbon-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

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

  .js .hero-title,
  .js .hero-sub,
  .js .hero-actions {
    animation: rise 0.9s var(--ease-out) both;
  }

  .js .hero-sub {
    animation-delay: 0.12s;
  }

  .js .hero-actions {
    animation-delay: 0.22s;
  }

  .js .hero-kicker,
  .js .hero-offers,
  .js .page-hero .eyebrow,
  .js .page-title,
  .js .jump-nav {
    animation: rise 0.9s var(--ease-out) both;
  }

  .js .page-title {
    animation-delay: 0.06s;
  }

  .js .hero-offers,
  .js .jump-nav {
    animation-delay: 0.3s;
  }

  .js .hero-toast {
    animation: nudge-in 0.9s var(--ease-out) 1s both;
  }

  .js .hero-photo {
    animation: rise 1s var(--ease-out) 0.1s both;
  }

  .js .hero-block {
    animation: nudge-in 0.9s var(--ease-out) 0.45s both;
  }

  .js .hero-marks {
    animation: pop 0.7s var(--ease-out) 0.9s both;
  }

  .js .hl::after {
    animation: swash 0.8s var(--ease-out) 0.55s both;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s var(--ease-out) var(--d, 0s),
      transform 0.8s var(--ease-out) var(--d, 0s);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js .flow-line {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s var(--ease-out) 0.2s;
  }

  .js .flow.is-in .flow-line {
    clip-path: inset(0 0 0 0);
  }

  /* Banner scrolls right to left on a loop. It pauses on hover, with the pause
     button, and while it is off screen (set in js/main.js). */
  .ribbon-track {
    animation: ribbon-scroll var(--ribbon-duration, 60s) linear infinite;
    will-change: transform;
  }

  .ribbon:hover .ribbon-track,
  .ribbon.is-paused .ribbon-track,
  .ribbon.is-offscreen .ribbon-track {
    animation-play-state: paused;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }

  :root {
    interpolate-size: allow-keywords;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

  .cell-intro {
    grid-row: auto;
  }

  .cell-intro,
  .cell-order,
  .cell-marketing,
  .cell-ai {
    grid-column: span 2;
  }

  .demo-hint {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    gap: 12px;
  }

  .header-cta {
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 90;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 32px -24px rgba(23, 37, 42, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }

  .site-header.menu-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0s;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 14px 12px;
    border-radius: var(--r-btn);
    font-size: 1.0625rem;
    color: var(--ink);
  }

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

  .hero-title {
    font-size: clamp(2.375rem, 8.6cqi, 3.5rem);
  }

  .hero-media {
    margin: 12px 14px 0 0;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .hero-marks {
    top: -40px;
    right: -18px;
    width: 42px;
  }

  .hero-block {
    top: -14px;
    right: -14px;
  }

  .demo-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    max-width: 520px;
    margin-inline: auto;
  }

  .flow-line {
    display: none;
  }

  .flow-step,
  .flow-step:nth-child(1),
  .flow-step:nth-child(2) {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
    margin-top: 0;
    text-align: left;
  }

  .flow-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .flow-step p {
    margin-top: 6px;
  }

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

  .faq-head {
    position: static;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell-intro,
  .cell-order,
  .cell-marketing,
  .cell-ai,
  .cell-app,
  .cell-loyalty {
    grid-column: auto;
  }

  .cell-order,
  .cell-marketing,
  .cell-ai {
    flex-direction: column;
    align-items: stretch;
  }

  .cell-order img {
    order: -1;
    width: 100%;
    height: 200px;
    flex: none;
  }

  .message-card {
    max-width: none;
  }

  .lead-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-body p {
    padding-right: 0;
  }

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

@media (max-width: 420px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .nav-cta-item {
    display: block;
    margin-top: 10px;
  }

  .nav-cta-item .btn {
    width: 100%;
  }

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

  .phone {
    width: 284px;
    height: 588px;
  }
}

/* ---------- Responsive: product cards, why, steps, offer and features page ---------- */

@media (max-width: 1080px) {
  .cell-ops {
    grid-column: 1 / -1;
  }

  .flow-4 .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .flow-4 .flow-line {
    display: none;
  }

  .flow-4 .flow-step:nth-child(n) {
    margin-top: 0;
  }

  .offer-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .offer-panel .btn {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .hero-toast {
    left: 12px;
    bottom: 12px;
  }

  .why-grid,
  .setup-grid,
  .fr-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-head {
    position: static;
  }

  .fr-grid.is-reversed .fr-visual {
    order: 0;
  }

  .fr-visual {
    min-height: 0;
  }

  .flow-4 .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .cta-panel-short {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cell-ops {
    flex-direction: column;
    align-items: stretch;
  }

  .mini-chat {
    max-width: none;
  }

  .offer-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-marks {
    right: 24px;
  }

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

  .fr-visual {
    padding: 28px 18px;
  }

  .tint-green::before {
    top: -10px;
    right: -10px;
  }

  .push {
    transform: none;
  }

  /* Feature group links scroll sideways instead of stacking */
  .jump-nav ul {
    flex-wrap: nowrap;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .jump-nav ul::-webkit-scrollbar {
    display: none;
  }

  .setup-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .setup-num {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

@media (max-width: 420px) {
  .hero-toast {
    right: 12px;
    max-width: none;
  }

  .toast-text span {
    display: block;
  }

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