/* Menelier — public website design system
   Editorial light surface, near-black ink and the Atelier indigo/violet
   accent (#5127f5). Display type uses the Libre Caslon / Iowan / Palatino /
   Georgia fallback stack without a CDN font request; UI stays system sans.
*/

/* Libre Caslon Display — actual WOFF2 webfont, weight 400 only. */
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("/assets/fonts/libre-caslon-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("/assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #18151f;
  --ink-soft: #3a3542;
  --muted: #625d6b;
  --paper: #fcfff9;
  --paper-raised: #ffffff;
  --line: #e7e1ee;
  --line-strong: #cfc7dc;
  --accent: #5127f5;
  --accent-dark: #3513bc;
  --accent-soft: #f0ebff;
  --focus: #1857c4;
  --radius-s: 6px;
  --radius-m: 8px;
  --shadow-card: 0 18px 40px rgba(24, 21, 31, 0.09);
  --shadow-lift: 0 30px 70px rgba(24, 21, 31, 0.15);
  --font-display: "Libre Caslon Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(2rem, 1.6rem + 1.6vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.9rem + 2.8vw, 4.2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus-visible { left: 1rem; }

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

.shell {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  background: var(--paper);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.site-header::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 31, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(101, 91, 80, 0.14);
}
.nav-row {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.8rem, 1.2vw, 1.35rem);
  padding-block: 0.45rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-height: 2.5rem;
}
.brand-mark {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  object-fit: contain;
}
.brand-wordmark {
  display: block;
  width: 6rem;
  height: auto;
  max-height: 1.5rem;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  min-width: 0;
  gap: clamp(0.8rem, 1.2vw, 1.65rem);
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-right { display: flex; align-items: center; justify-self: end; gap: clamp(0.55rem, 0.8vw, 0.85rem); min-width: max-content; }
.nav-signin { text-decoration: none; font-weight: 650; font-size: 0.88rem; line-height: 1.2; white-space: nowrap; flex: 0 0 auto; }
.site-nav-toggle {
  display: none;
  place-items: center;
  align-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
}
.site-nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.site-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(81, 39, 245, 0.22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.nav-right > .btn {
  min-height: 3rem;
  width: auto;
  min-width: max-content;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  padding: 0.4rem;
  min-width: 220px;
  display: grid;
  gap: 0.1rem;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  font-size: 0.9rem;
}
.lang-menu a:hover { background: var(--accent-soft); }
.lang-menu a[aria-current="true"] { font-weight: 700; background: var(--accent-soft); }
.lang-flag {
  display: block;
  width: 1rem;
  height: 0.625rem;
  flex: 0 0 1rem;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(24, 21, 31, 0.12);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.6rem, 2rem + 3vw, 5.4rem) 0 clamp(1.6rem, 1.2rem + 1.5vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 1.3rem + 1.5vw, 3rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.25rem;
}
.hero-title-copy {
  min-width: 0;
}
.hero-product-subtitle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin: -0.2rem 0 0;
  color: var(--accent-dark);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero-product-subtitle::before,
.hero-product-subtitle::after {
  content: "";
  width: clamp(1.35rem, 1.2rem + 0.6vw, 1.8rem);
  height: 0.3rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}
.hero-product-easel {
  flex: 0 0 auto;
  display: block;
  width: clamp(3.4rem, 3rem + 1.5vw, 4.8rem);
  height: auto;
  margin: 0;
  transform: rotate(2deg);
  transform-origin: 50% 75%;
  filter: drop-shadow(0 8px 10px rgb(39 18 86 / 0.12));
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: var(--step-4);
  line-height: 1.03;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  .hero-title-lockup {
    gap: 0.25rem;
  }
  .hero-product-subtitle {
    gap: 0.45rem;
    letter-spacing: 0.075em;
  }
  .hero-product-subtitle::before,
  .hero-product-subtitle::after {
    width: 1rem;
  }
  .hero-product-easel {
    width: 3.1rem;
  }
}
.hero-lead {
  max-width: 48ch;
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.12rem);
  font-weight: 750;
  line-height: 1.55;
}
.hero-sub {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 1.6rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.hero-output-line {
  margin: 1.1rem 0 0;
  max-width: 58ch;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
}
.trust-line {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* Hero visual: modeled on the real Menelier Atelier editor chrome —
   a left "add element" icon grid, a center canvas showing the designed
   menu, and a right property panel (Background / Border, color swatch,
   opacity slider) — not an invented UI and not a single prompt box. */
.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  aspect-ratio: 6 / 5;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid var(--line);
  background: #f7f6fa;
  flex-shrink: 0;
}
.app-logo {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.app-topbar .app-plan {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
}
.app-topbar .app-btns { margin-left: auto; display: flex; gap: 0.35rem; }
.app-topbar .app-btn {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.app-topbar .app-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.app-body { flex: 1; display: flex; min-height: 0; }

.app-left {
  width: 4.4rem;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: #f7f6fa;
  padding: 0.55rem 0.5rem;
}
.app-left-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.app-left-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.3rem; }
.el-btn {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.el-btn.active { border-color: var(--accent-dark); color: var(--accent-dark); background: var(--accent-soft); }

.app-canvas {
  position: relative;
  flex: 1;
  min-width: 0;
  background:
    repeating-conic-gradient(#eeecf2 0% 25%, transparent 0% 50%) 50% / 14px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.85rem;
  overflow: hidden;
}
.canvas-page {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(33, 27, 21, 0.08);
  width: 100%;
  max-width: 250px;
  padding: 1rem 0.95rem;
}
.canvas-menu { font-family: var(--font-display); }
.canvas-menu .mm-hd { font-size: 1rem; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 0.3rem; margin-bottom: 0.5rem; }
.cm-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.34rem 0.3rem;
  border-bottom: 1px dotted var(--line);
  font-size: 0.74rem;
  border-radius: 4px;
}
.cm-item small { display: block; color: var(--muted); font-family: var(--font-ui); font-size: 0.64rem; }
.cm-item.selected {
  outline: 1.5px dashed var(--accent-dark);
  outline-offset: 2px;
  background: rgba(34, 63, 57, 0.05);
}
.cm-item.selected::before,
.cm-item.selected::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-dark);
  border-radius: 1px;
  top: -3px;
}
.cm-item.selected::before { left: -3px; }
.cm-item.selected::after { right: -3px; }

.app-right {
  width: 8.6rem;
  flex-shrink: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  padding: 0.6rem 0.6rem;
  overflow: hidden;
}
.app-right-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.app-right-label.second { margin-top: 0.8rem; }
.prop-row { margin-bottom: 0.55rem; }
.prop-row .prop-caption {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  display: block;
}
.swatch {
  display: block;
  width: 100%;
  height: 1rem;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
}
.mini-slider {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
}
.mini-slider::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 70%;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-dark);
  transform: translateY(-50%);
}
.mini-slider::before {
  content: "";
  position: absolute;
  left: 70%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  transform: translate(-50%, -50%);
}
.mini-input {
  font-size: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.22rem 0.4rem;
  color: var(--ink-soft);
  background: #fff;
  display: inline-block;
}
.ai-chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-dark);
  box-shadow: var(--shadow-card);
}
.ai-chip .ai-dots { display: inline-flex; gap: 0.2rem; }
.ai-chip .ai-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.4; }
.ai-chip .ai-dots span:nth-child(1) { opacity: 1; }

/* Hero story: paper menu → Menelier → editor → export → online menu. */
.hero-story {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #17131c;
  box-shadow: var(--shadow-lift);
}
.hero-story-stage,
.hero-story-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero-story-slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 650ms ease, transform 1.2s ease, visibility 0s linear 650ms;
}
.hero-story-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}
.hero-story-slide::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 12, 18, 0.2) 24%, rgba(15, 12, 18, 0.88));
}
.hero-story-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-story-slide:nth-child(1) img { object-position: 54% center; }
.hero-story-slide:nth-child(2) img { object-fit: contain; object-position: center; background: #fff; }
.hero-story-slide:nth-child(3) img { object-position: 55% center; }
.hero-story-slide:nth-child(4) img { object-position: 44% center; }
.hero-story-slide:nth-child(5) img { object-position: 58% center; }
.hero-story-slide:nth-child(6) img { object-position: 50% center; }
.hero-story-slide:nth-child(7) img { object-position: 50% center; }
.hero-story-slide figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 2.5vw, 1.55rem);
  bottom: 3.9rem;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  width: fit-content;
  max-width: min(32rem, calc(100% - clamp(2rem, 5vw, 3.1rem)));
  padding: 0.56rem 0.74rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 0 12px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}
.hero-story-slide figcaption strong {
  font-size: clamp(0.74rem, 0.69rem + 0.25vw, 0.9rem);
  line-height: 1.25;
}
.hero-story-brand {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 16, 24, 0.5);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-story-brand img {
  width: 1.15rem;
  height: 1.15rem;
  filter: brightness(0) invert(1);
}
.hero-story-brand span {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-story-controls {
  position: absolute;
  z-index: 4;
  left: clamp(1rem, 2.5vw, 1.55rem);
  right: clamp(1rem, 2.5vw, 1.55rem);
  bottom: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.story-dots {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex: 1;
}
.story-dot,
.story-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.story-dot {
  width: 1.15rem;
  height: 1.25rem;
  padding: 0.5rem 0;
  transition: width 240ms ease;
}
.story-dot.is-active { width: 2.65rem; }
.story-dot > span {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}
.story-dot.is-active > span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform-origin: left;
  animation: hero-story-progress 7s linear forwards;
}
.hero-story.is-paused .story-dot.is-active > span::after { animation-play-state: paused; }
.story-toggle {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(20, 16, 24, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.story-toggle > span::before,
.story-toggle > span::after {
  content: "";
  position: absolute;
  top: 0.62rem;
  bottom: 0.62rem;
  width: 2px;
  border-radius: 99px;
  background: currentColor;
}
.story-toggle > span::before { left: 0.76rem; }
.story-toggle > span::after { right: 0.76rem; }
.hero-story.is-paused .story-toggle > span::before {
  left: 0.78rem;
  top: 0.56rem;
  bottom: auto;
  width: 0;
  height: 0;
  border-top: 0.44rem solid transparent;
  border-bottom: 0.44rem solid transparent;
  border-left: 0.68rem solid currentColor;
  border-radius: 0;
  background: transparent;
}
.hero-story.is-paused .story-toggle > span::after { display: none; }
.story-dot:focus-visible,
.story-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@keyframes hero-story-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}


/* ---------- Section scaffolding ---------- */
section { padding: clamp(3rem, 2.2rem + 3vw, 5.6rem) 0; }
section[id] { scroll-margin-top: 5rem; }
section.band-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band-ink { background: var(--ink); color: #f4efe4; }
section.band-ink .muted-on-ink { color: #cfc6b6; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 0.72rem;
}
.section-head p { color: var(--ink-soft); font-size: var(--step-1); margin: 0; }
section.band-ink .section-head p { color: #cfc6b6; }

#menu-types {
  padding-bottom: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
}
#outputs {
  padding-top: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.audience-section {
  padding-bottom: 1.15rem;
}
#free {
  padding-top: 1.15rem;
}
#faq {
  padding-top: clamp(2rem, 1.6rem + 1vw, 3rem);
  padding-bottom: clamp(2rem, 1.6rem + 1vw, 3rem);
}
#faq .section-head {
  margin-bottom: 1.2rem;
}

/* ---------- Ticket rail (workflow — signature element) ---------- */
.workflow-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(34rem, 52vw, 46rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #17131c;
}
.section-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.workflow-visual__image {
  object-position: center 48%;
}
.workflow-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(19, 16, 15, 0.84) 0%, rgba(19, 16, 15, 0.62) 48%, rgba(19, 16, 15, 0.4) 100%);
  pointer-events: none;
}
.workflow-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 10, 0.36));
  pointer-events: none;
}
.workflow-visual__content {
  position: relative;
  z-index: 3;
}
.workflow-visual .section-head {
  max-width: 74ch;
  margin-bottom: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.workflow-visual .section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  color: #fff;
  font-size: clamp(2.4rem, 1.9rem + 2.1vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.workflow-visual .section-head p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.ticket-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  position: relative;
}
.ticket-rail::before { display: none; }
.ticket {
  position: relative;
  min-height: 10.7rem;
  background: rgba(21, 18, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1.15rem 1.05rem 1.1rem;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.ticket::before { display: none; }
.ticket-tag {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #d7ccff;
  font-weight: 700;
  text-transform: uppercase;
}
.ticket h3 { font-family: var(--font-display); color: #fff; font-size: 1.2rem; font-weight: 400; font-synthesis: none; margin: 0.4rem 0 0.5rem; }
.ticket p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; }

/* Full-width editorial images used as visual breathing room inside long sections. */
.section-with-visual {
  padding-bottom: 0;
}
.section-visual {
  width: 100%;
  height: clamp(18rem, 38vw, 34rem);
  margin-top: clamp(3rem, 2.2rem + 2vw, 4.5rem);
  object-fit: cover;
  border-top: 1px solid rgba(24, 21, 31, 0.08);
}
.section-visual--editor {
  object-position: center 52%;
}
.pricing-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f5f2ec;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-visual__image {
  object-position: center 56%;
}
.pricing-visual .shell {
  position: relative;
  z-index: 1;
}
.pricing-visual .section-head {
  display: inline-block;
  max-width: min(40rem, 100%);
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(252, 255, 249, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(24, 21, 31, 0.08);
}
.pricing-visual .section-head h2,
.pricing-visual .section-head p {
  text-shadow: none;
}
.pricing-visual .pricing-card {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(24, 21, 31, 0.08);
}
.pricing-visual .pricing-card.is-recommended {
  box-shadow: 0 16px 40px rgba(81, 39, 245, 0.16);
}
.teamwork-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(36rem, 52vw, 48rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #17131c;
}
.teamwork-visual__image {
  object-position: center 54%;
}
.teamwork-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18, 15, 14, 0.8) 0%, rgba(18, 15, 14, 0.68) 34%, rgba(18, 15, 14, 0.5) 56%, rgba(18, 15, 14, 0.24) 100%);
  pointer-events: none;
}
.teamwork-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 8, 0.32));
  pointer-events: none;
}
.teamwork-visual__content {
  position: relative;
  z-index: 3;
}
.teamwork-visual .section-head {
  max-width: 64ch;
}
.teamwork-visual .section-head h2,
.teamwork-visual .section-head p {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}
.teamwork-visual .section-head p {
  color: rgba(255, 255, 255, 0.84);
}
.teamwork-grid--overlay {
  gap: 1.2rem;
}
.teamwork-grid--overlay .feature {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 11, 10, 0.16);
}
.teamwork-grid--overlay .feature h3 {
  color: var(--ink);
}
.teamwork-grid--overlay .feature p {
  color: var(--ink-soft);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.teamwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-raised);
}
.feature h3 { font-size: 1.05rem; margin: 0 0 0.5rem; font-weight: 700; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.ai-note {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 0.92rem;
  color: var(--accent-dark);
  width: 100%;
  max-width: none;
}

/* ---------- Menu types ---------- */
.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.menu-types-head { max-width: 70ch; }
.menu-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #d9d0c1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}
.menu-type-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  padding: clamp(1.75rem, 1.35rem + 1vw, 2rem);
  border: 0;
  border-right: 1px solid #d9d0c1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.menu-type-card:last-child { border-right: 0; }
.menu-type-card > * { position: relative; z-index: 1; }
.menu-type-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}
.menu-type-card__number {
  color: #a97723;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.menu-type-card__tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}
.menu-type-card h3 {
  max-width: 24ch;
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
}
.menu-type-card p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.62;
}
.menu-type-card--stepped {
  border-color: #d9d0c1;
  background: transparent;
}
.menu-type-card--stepped::before,
.menu-type-card--stepped::after {
  display: none;
}
.menu-type-card--stepped .menu-type-card__tag {
  color: var(--muted);
  background: transparent;
}

/* ---------- Proof / output strip ---------- */
.outputs-section { background: var(--paper); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; }
.proof-card {
  border: 1px solid #ded6c8;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}
.proof-media {
  aspect-ratio: 1.32 / 1;
  background: #f5f2ec;
  border-bottom: 1px solid var(--line);
  padding: 0;
  min-height: 0;
  overflow: hidden;
}
.proof-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}
.proof-body { min-height: 12.6rem; padding: 1.2rem 1.3rem 1.35rem; }
.proof-body h3 { margin: 0 0 0.55rem; font-size: 1rem; line-height: 1.35; }
.proof-body p { margin: 0; font-size: 0.91rem; line-height: 1.65; color: var(--muted); }
.brevo-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--accent-dark) 28%, var(--line));
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, var(--accent-soft), var(--paper-raised) 72%);
}
.brevo-callout-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  color: var(--accent-dark);
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.brevo-callout-mark svg { width: 1.55rem; height: 1.55rem; }
.brevo-callout-mark path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brevo-callout-copy { min-width: 0; }
.brevo-callout-eyebrow {
  margin: 0 0 0.2rem !important;
  color: var(--accent-dark) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brevo-callout-copy h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.brevo-callout-copy > p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; max-width: 76ch; }
.brevo-callout-copy ul { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.brevo-callout-copy li { color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.brevo-callout-copy li::before { content: "✓"; margin-right: 0.35rem; color: var(--accent-dark); font-weight: 900; }
.brevo-callout-cta { white-space: nowrap; }
.cloud-storage-callout {
  margin-top: 0.85rem;
  border-color: color-mix(in srgb, #4968c8 44%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, #4968c8 10%, var(--paper)), var(--paper));
}
.cloud-storage-callout .brevo-callout-mark {
  background: color-mix(in srgb, #4968c8 15%, var(--paper));
  color: #3d58b0;
}
.instagram-callout {
  margin-top: 0.85rem;
  border-color: color-mix(in srgb, #c13584 44%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, #f77737 9%, var(--paper)), color-mix(in srgb, #c13584 8%, var(--paper)) 60%, var(--paper));
}
.instagram-callout .brevo-callout-mark {
  border-color: color-mix(in srgb, #c13584 46%, var(--line));
  background: linear-gradient(145deg, #feda75, #fa7e1e 30%, #d62976 62%, #4f5bd5);
  color: #fff;
}
.instagram-callout .brevo-callout-eyebrow { color: color-mix(in srgb, #c13584 82%, var(--ink)) !important; }
.facebook-callout {
  margin-top: 0.85rem;
  border-color: color-mix(in srgb, #1877f2 44%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, #1877f2 10%, var(--paper)), var(--paper));
}
.facebook-callout .brevo-callout-mark {
  border-color: color-mix(in srgb, #1877f2 46%, var(--line));
  background: #1877f2;
  color: #fff;
}
.facebook-callout .brevo-callout-mark path { fill: currentColor; stroke: none; }
.facebook-callout .brevo-callout-eyebrow { color: color-mix(in srgb, #1877f2 82%, var(--ink)) !important; }
/* ---------- Audience chips ---------- */
.audience-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--paper-raised);
}

/* ---------- Free section ---------- */
.free-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 3rem);
  background: linear-gradient(155deg, var(--accent-soft), var(--paper-raised));
}
.credit-badges { display: flex; gap: 0.7rem; }
.credit-badge {
  flex: 1;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  padding: 0.9rem 0.6rem;
  text-align: center;
  background: #fff;
}
.credit-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.credit-badge span { font-size: 0.72rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper-raised);
}
.pricing-card.is-recommended { border-color: var(--accent); box-shadow: 0 12px 34px rgba(91,45,255,.12); }
.pricing-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; font-synthesis: none; }
.pricing-title { display: flex; align-items: center; gap: .65rem; }
.plan-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: .6rem;
  box-shadow: 0 5px 14px rgba(27,18,67,.12);
}
.plan-mark::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  background: currentColor;
  -webkit-mask: var(--plan-icon) center / contain no-repeat;
  mask: var(--plan-icon) center / contain no-repeat;
}
.plan-mark--free {
  --plan-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='2'/%3E%3Cpath d='M12 8v13M3 12h18M12 8H7.5A2.5 2.5 0 1 1 10 5.5C10 7 12 8 12 8ZM12 8h4.5A2.5 2.5 0 1 0 14 5.5C14 7 12 8 12 8Z'/%3E%3C/svg%3E");
  color: #0f666a;
  background: linear-gradient(145deg, #f4fffd, #bfe8e4);
}
.plan-mark--starter {
  --plan-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4c2.3-2.3 5.1-2.1 6-2-.1.9.3 3.7-2 6l-5.5 5.5-5-5ZM9 7l-4.5.5L2 10l5 1M17 10l-.5 4.5L14 17l-1-5M7 15c-2 0-3 1-3 3 2 0 3-1 3-3ZM9 13c-3 0-5 2-5 5'/%3E%3Ccircle cx='15.5' cy='6.5' r='1.5'/%3E%3C/svg%3E");
  color: #875400;
  background: linear-gradient(145deg, #fffdf5, #f2cc69);
}
.plan-mark--pro {
  --plan-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 4.5 5L12 3l4.5 8L21 6l-2 13H5ZM5 19h14M7 15h10'/%3E%3C/svg%3E");
  color: #5c21a8;
  background: linear-gradient(145deg, #fdfbff, #cbb4f2);
}
.pricing-price { display: grid; gap: .2rem; margin: 0; }
.pricing-price strong { font-family: var(--font-display); font-size: 2rem; }
.pricing-price span { color: var(--muted); font-size: .8rem; }
.pricing-card ul { display: grid; gap: .65rem; margin: 0 0 1rem; padding: 0; color: var(--ink-soft); list-style: none; }
.pricing-features li { position: relative; padding-left: 1.45rem; font-size: .88rem; line-height: 1.4; }
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .02rem;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, #18a65b 14%, var(--paper));
  color: #117742;
  font-size: .68rem;
  font-weight: 900;
}
.pricing-card .btn { width: 100%; margin-top: auto; }
.pricing-badge { align-self: flex-start; padding: .25rem .55rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.45rem; max-width: 74ch; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper-raised);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.82rem 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 1.1rem; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1rem 0.9rem; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; font-synthesis: none; margin: 0 0 0.8rem; }
.final-cta p { color: #cfc6b6; margin: 0 0 1.6rem; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding: clamp(2.2rem, 1.8rem + 1vw, 3.2rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; max-width: 34ch; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 0.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom button.linklike {
  background: none; border: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: inherit;
}

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .site-header.is-nav-open::after { opacity: 1; }
  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.8rem;
  }
  .site-nav-toggle { display: grid; justify-self: end; }
  .nav-links {
    grid-column: 1 / -1;
    display: none;
    justify-self: end;
    justify-items: stretch;
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr);
    width: min(25rem, calc(100vw - 1.6rem));
    gap: 0.3rem;
    overflow: visible;
    margin-top: 0.55rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(24, 21, 31, 0.12);
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 44px;
    padding: 0.62rem 0.9rem;
    border-radius: 12px;
    text-align: right;
    white-space: normal;
  }
  .nav-links a { background: rgba(81, 39, 245, 0.045); }
  .nav-links a:hover { background: var(--accent-soft); }
  .nav-right {
    grid-column: 1 / -1;
    display: none;
    justify-self: end;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    width: min(25rem, calc(100vw - 1.6rem));
    margin-top: 0.55rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 44px rgba(24, 21, 31, 0.14);
  }
  .nav-row.is-nav-open .nav-links { display: grid; }
  .nav-row.is-nav-open .nav-right { display: grid; }
  .nav-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper-raised);
  }
  .nav-right > .btn { grid-column: 1 / -1; width: 100%; }
  .lang-switch { justify-self: start; }
  .lang-switch summary { min-height: 42px; background: var(--paper-raised); }
  .lang-menu { left: 0; right: auto; width: min(220px, calc(100vw - 1.5rem)); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ticket-rail { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .proof-grid, .pricing-grid, .menu-type-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-type-card:nth-child(2) { border-right: 0; }
  .menu-type-card:nth-child(-n + 2) { border-bottom: 1px solid #d9d0c1; }
  .free-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-left { width: 3.6rem; }
  .app-right { width: 7.4rem; }
}
@media (max-width: 620px) {
  .shell { width: min(1240px, calc(100% - 1.5rem)); }
  .nav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    gap: 0.55rem 0.75rem;
    padding-block: 0.55rem;
  }
  .brand { min-width: 0; }
  .brand-mark { width: 2.1rem; height: 2.1rem; flex-basis: 2.1rem; }
  .brand-wordmark { width: 5.2rem; }
  .site-nav-toggle { display: grid; justify-self: end; }
  .nav-links {
    grid-column: 1 / -1;
    display: none;
    justify-self: end;
    justify-items: stretch;
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr);
    width: min(22rem, calc(100vw - 1rem));
    gap: 0.28rem;
    overflow: visible;
    margin-top: 0.45rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 34px rgba(24, 21, 31, 0.14);
  }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.88rem;
    border-radius: 12px;
    text-align: right;
    white-space: normal;
  }
  .nav-links a { background: rgba(81, 39, 245, 0.05); }
  .nav-links a:hover { background: var(--accent-soft); }
  .nav-right {
    grid-column: 1 / -1;
    display: none;
    justify-self: end;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    width: min(22rem, calc(100vw - 1rem));
    margin-top: 0.5rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 40px rgba(24, 21, 31, 0.16);
  }
  .nav-row.is-nav-open .nav-links { display: grid; }
  .nav-row.is-nav-open .nav-right { display: grid; }
  .nav-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-s);
    background: var(--paper-raised);
  }
  .nav-right > .btn { grid-column: 1 / -1; width: 100%; }
  .lang-switch { justify-self: start; }
  .lang-switch summary { min-height: 42px; background: var(--paper-raised); }
  .lang-menu { left: 0; right: auto; width: min(220px, calc(100vw - 1.5rem)); }
  .hero { padding-top: 2rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-story-slide figcaption { inset-inline: 0.65rem; }
  .section-head { margin-bottom: 1.5rem; }
  .ticket-rail, .feature-grid, .proof-grid, .pricing-grid, .menu-type-grid, .footer-grid { grid-template-columns: 1fr; }
  .workflow-visual { min-height: 0; }
  .workflow-visual__image { object-position: 58% center; }
  .teamwork-visual { min-height: 0; }
  .teamwork-visual__image { object-position: 62% center; }
  .ticket { min-height: 0; }
  .menu-type-card,
  .menu-type-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d9d0c1;
    min-height: 0;
  }
  .menu-type-card:last-child { border-bottom: 0; }
  .proof-body { min-height: 0; }
  .section-visual { height: 16rem; }
  .brevo-callout { grid-template-columns: auto minmax(0, 1fr); padding: 1.1rem; }
  .brevo-callout-mark { align-self: start; width: 2.8rem; height: 2.8rem; }
  .brevo-callout-cta { grid-column: 1 / -1; width: 100%; }
  .hero-story { aspect-ratio: 4 / 3; }
  .hero-story-slide figcaption { bottom: 3.65rem; }
  .ticket-rail::before { display: none; }
}

@media (max-width: 360px) {
  .shell { width: min(1240px, calc(100% - 1rem)); }
  .nav-row { padding-inline: 0.1rem; }
  .hero-title-lockup { gap: 0.5rem; }
  .hero-product-easel { width: 44px; height: auto; }
  .ticket, .feature, .menu-type-card, .proof-body, .free-panel { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-story-slide { transition: none; transform: none; }
  .story-dot.is-active > span::after { animation: none; transform: scaleX(1); }
}
