/* ==========================================================================
   WAVL — Smarter restaurant websites
   ========================================================================== */

:root {
  --ink: #0B1324;
  --ink-2: #1B2436;
  --muted: #5B6477;
  --body: #4E586B;
  --blue: #1463FF;
  --blue-2: #4F8BFF;
  --blue-dark: #0B47C2;
  --bg: #F6F8FC;
  --line: #E6EAF2;
  --line-2: #CDD3DE;
  --tint: #E8EFFD;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--blue); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue) !important; outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }
button { font: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.container { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Accessibility modes ---------- */
html.a11y-gray { filter: grayscale(1); }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast #wavl-main * { color: #000 !important; border-color: #000 !important; box-shadow: none !important; }
html.a11y-contrast #wavl-main [data-dark],
html.a11y-contrast #wavl-main [data-dark] * { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-font * { font-family: Verdana, Tahoma, Arial, sans-serif !important; }
html.a11y-spacing #wavl-main * { letter-spacing: .05em !important; word-spacing: .12em !important; line-height: 1.8 !important; }
html.a11y-links #wavl-main a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links #wavl-main a:not([data-btn]) { background: #FFF3A3 !important; color: #000 !important; }
html.a11y-pause *, html.a11y-pause *::before, html.a11y-pause *::after { animation-play-state: paused !important; transition: none !important; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; transition: top .25s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Brand ---------- */
/* ---------- Ripple background ---------- */
.ripple-bg {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; display: block;
}
#wavl-main { position: relative; z-index: 1; }
html.a11y-contrast .ripple-bg, html.a11y-pause .ripple-bg { display: none; }

/* ---------- Hero entrance ----------
   Pure CSS so it starts on first paint (no wait for GSAP/CDN) and only animates
   transform + opacity, which never causes layout shift (CLS) or delays LCP. */
@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 44px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes device-in {
  from { opacity: 0; transform: translate3d(0, 70px, 0) scale(.94); }
  to { opacity: 1; transform: none; }
}
[data-hero], [data-hero-stats] [data-item], [data-hero-device] {
  animation: rise-in 1.3s cubic-bezier(.16, 1, .3, 1) both;
}
[data-hero-device] { animation-name: device-in; animation-duration: 1.6s; animation-delay: .15s; }
[data-hero]:nth-child(2) { animation-delay: .08s; }
[data-hero]:nth-child(3) { animation-delay: .16s; }
[data-hero]:nth-child(4) { animation-delay: .24s; }
[data-hero-stats] [data-item] { animation-duration: 1.1s; }
[data-hero-stats] [data-item]:nth-child(1) { animation-delay: .2s; }
[data-hero-stats] [data-item]:nth-child(2) { animation-delay: .28s; }
[data-hero-stats] [data-item]:nth-child(3) { animation-delay: .36s; }
html.a11y-pause [data-hero], html.a11y-pause [data-hero-stats] [data-item], html.a11y-pause [data-hero-device] { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-hero], [data-hero-stats] [data-item], [data-hero-device] { animation: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}
.btn:active { transform: translateY(0) scale(.97); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(11,19,36,.55); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(20,99,255,.6); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.7); border: 1.5px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--ink); background: #fff; color: var(--ink); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.05rem; }
.btn--md { min-height: 52px; padding: 0 26px; font-size: .95rem; gap: 10px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.site-header__bg {
  position: absolute; inset: 0; height: 76px;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(11,19,36,.07);
  opacity: 0; transition: opacity .5s var(--ease);
}
.site-header.is-solid .site-header__bg { opacity: 1; }
.nav {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter);
  height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform .5s var(--ease);
}
.site-header.is-condensed .nav { transform: translateY(-10px) scale(.96); }
.nav__brand {
  display: flex; align-items: center; gap: 16px; color: var(--ink); min-height: 44px;
  transition: transform .35s var(--ease);
}
.nav__brand:hover { transform: scale(1.03); color: var(--ink); }
.nav__brand img { flex: none; height: auto; }
.nav__mark { width: 78px; }
.nav__wordmark { width: 114px; }
@media (max-width: 480px) {
  .nav__mark { width: 64px; }
  .nav__wordmark { width: 94px; }
}
.nav__cta svg { transition: transform .35s var(--ease); }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(20,99,255,.55); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid #E1E6F0;
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle:active { transform: scale(.94); }

.mobile-menu {
  position: relative; margin: 0 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(11,19,36,.3);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu li a {
  display: flex; align-items: center; min-height: 56px; padding: 0 16px;
  color: var(--ink); font-weight: 600; font-size: 1.1rem; border-radius: 12px;
}
.mobile-menu li a:active { background: #F1F5FD; }
.mobile-menu .btn { margin-top: 8px; display: flex; min-height: 56px; width: 100%; font-size: 1rem; }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 14vw, 150px) 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; right: -10%; top: -5%; width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,99,255,.12), rgba(20,99,255,0) 65%); pointer-events: none;
}
.hero__line { position: absolute; right: 0; top: 110px; width: 160px; pointer-events: none; }
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 5vw, 56px); align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 clamp(28px, 4vw, 48px);
  padding: 9px 16px; border-radius: 999px; background: var(--tint); border: 1px solid #D6E2FB;
  font-size: .82rem; color: var(--ink-2); line-height: 1.4;
}
.pill svg { flex: none; }
.pill strong { font-weight: 700; }
.hero__title {
  margin: 0; font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance;
}
.hero__title span { color: var(--blue); }
.hero__lede {
  margin: clamp(20px, 3vw, 32px) 0 0; max-width: 520px;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--body); text-wrap: pretty;
}
.hero__actions { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { padding: 0 30px; }

.stats {
  list-style: none; margin: 0 0 clamp(16px, 2vw, 24px); padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px);
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(12px, 1.6vw, 18px);
  box-shadow: 0 18px 40px -22px rgba(11,19,36,.25);
}
.stat__label { margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.stat__row { margin-top: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.stat__num { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; }
.stat__row svg { flex: none; }
.stat__text { margin: 10px 0 0; font-size: .78rem; line-height: 1.45; color: var(--muted); }

/* Device mockups (sized with container query units) */
.devices { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1.32 / 1; }
.laptop { position: absolute; left: 0; top: 2%; width: 84%; }
.laptop__lid {
  background: #0E1116; border-radius: 2.2cqw 2.2cqw .6cqw .6cqw; padding: 1.5cqw;
  border: 1px solid #2C313B; box-shadow: 0 40px 80px -30px rgba(11,19,36,.55);
}
.laptop__screen { position: relative; aspect-ratio: 16 / 10; border-radius: .6cqw; overflow: hidden; background: #15181E; }
.laptop__photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 64%;
  background: repeating-linear-gradient(135deg, #2A2F39 0 10px, #232831 10px 20px);
}
.laptop__fade { position: absolute; inset: 0; background: linear-gradient(90deg, #15181E 36%, rgba(21,24,30,.55) 58%, rgba(21,24,30,0) 80%); }
.laptop__caption {
  position: absolute; right: 4%; bottom: 5%; font-family: 'JetBrains Mono', monospace;
  font-size: 1.3cqw; color: #9AA3B2; letter-spacing: .04em;
}
.laptop__nav {
  position: absolute; top: 5%; left: 5%; right: 4%; display: flex; align-items: center;
  justify-content: space-between; color: #fff;
}
.laptop__logo { font-size: 1.45cqw; font-weight: 700; letter-spacing: .03em; }
.laptop__links { display: flex; align-items: center; gap: 2.4cqw; font-size: 1.1cqw; }
.laptop__links .chip { background: #fff; color: var(--ink); padding: .7cqw 1.6cqw; border-radius: 99px; font-weight: 600; }
.laptop__copy { position: absolute; left: 5%; top: 27%; width: 44%; color: #fff; }
.laptop__copy .laptop__headline { margin: 0; font-size: 3.6cqw; font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.laptop__copy p { margin: 2cqw 0 0; font-size: 1.2cqw; line-height: 1.5; color: #D5DAE3; }
.laptop__btns { margin-top: 2.6cqw; display: flex; gap: 1.4cqw; font-size: 1.1cqw; font-weight: 600; }
.laptop__btns span { padding: 1cqw 2.2cqw; border-radius: 99px; }
.laptop__btns span:first-child { background: #fff; color: var(--ink); }
.laptop__btns span:last-child { border: 1px solid #8C93A1; }
.laptop__base {
  height: 1.8cqw; margin: 0 -7%; background: linear-gradient(#E4E7EC, #A6ADB8);
  border-radius: 0 0 3cqw 3cqw; box-shadow: 0 20px 30px -16px rgba(11,19,36,.45);
}
.phone { position: absolute; right: 0; bottom: 0; width: 25%; }
.phone__body {
  background: #0E1116; border-radius: 4.2cqw; padding: .9cqw;
  box-shadow: 0 40px 70px -24px rgba(11,19,36,.6); border: 1px solid #2C313B;
}
.phone__screen {
  aspect-ratio: 9 / 19; border-radius: 3.4cqw; background: #fff; overflow: hidden;
  padding: 2.2cqw 1.6cqw; display: flex; flex-direction: column; gap: 1.4cqw;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; font-size: 1cqw; font-weight: 700; color: var(--ink); }
.phone__top span:last-child { font-size: 1.6cqw; }
.phone__photo { aspect-ratio: 4 / 3; border-radius: 1.4cqw; background: repeating-linear-gradient(135deg, #E9ECF2 0 6px, #DFE3EA 6px 12px); }
.phone__title { margin: 0; font-size: 2cqw; font-weight: 700; line-height: 1.1; color: var(--ink); }
.phone__text { margin: 0; font-size: .95cqw; line-height: 1.45; color: var(--body); }
.phone__cta {
  margin-top: auto; background: var(--ink); color: #fff; font-size: 1.05cqw; font-weight: 600;
  text-align: center; padding: 1.3cqw; border-radius: 99px;
}

/* ---------- Features strip ---------- */
.features { padding: clamp(24px, 4vw, 48px) 0; }
.features ul {
  list-style: none; margin: 0 auto; max-width: 1100px; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px clamp(32px, 5vw, 64px);
}
.features li {
  display: flex; align-items: center; gap: 14px; font-size: 1.05rem; font-weight: 500;
  color: var(--ink-2); min-height: 44px;
}

/* ---------- Cards (shared) ---------- */
.card {
  position: relative; overflow: hidden; height: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 16px 40px -20px rgba(16,24,40,.14);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 34px 64px -24px rgba(20,99,255,.32); }
.card__glow {
  position: absolute; left: 0; top: 0; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,99,255,.14), rgba(20,99,255,0) 70%);
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.card__inner { position: relative; }

/* ---------- Services ---------- */
.services { padding: clamp(24px, 4vw, 40px) 0 clamp(64px, 9vw, 120px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.service { padding: clamp(26px, 3vw, 34px); }
.service__icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; transition: transform .6s var(--ease);
}
.service h3 { margin: 24px 0 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.035em; }
.service p { margin: 14px 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--muted); }
.link-arrow {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); font-weight: 600; transition: gap .35s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--blue); }

/* ---------- Section headings ---------- */
.eyebrow { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .24em; color: var(--muted); }
.section-title {
  margin: 18px 0 0; font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.08; text-wrap: balance;
}
.section-lede {
  margin: 18px auto 0; max-width: 720px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6; color: var(--body); text-wrap: pretty;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Grow ---------- */
.grow { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 140px); overflow: hidden; }
.grow__glow {
  position: absolute; left: -15%; top: 10%; width: min(800px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,99,255,.09), rgba(20,99,255,0) 65%); pointer-events: none;
}
.grow__head { max-width: 900px; }
.grid-2 {
  margin-top: clamp(40px, 6vw, 72px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2vw, 24px);
}
.panel { border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 20px 50px -24px rgba(16,24,40,.18); }
.panel:hover { box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 40px 70px -28px rgba(20,99,255,.34); }
.panel .card__glow { width: 360px; height: 360px; background: radial-gradient(circle, rgba(20,99,255,.12), rgba(20,99,255,0) 70%); }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel__head h3 { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.panel__head span { font-size: .85rem; color: var(--muted); }

.bars {
  margin-top: 28px; height: 180px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 14px); align-items: end;
}
.bars__col { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.bars__bar { width: 100%; border-radius: 8px; background: #CFDDFB; }
.bars__bar.is-mid { background: var(--blue-2); }
.bars__bar.is-top { background: var(--blue); }
.bars__col span { font-size: .75rem; color: var(--muted); }
.kpis { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpis li { padding: 14px 16px; border-radius: 14px; background: #F4F7FD; }
.kpis li span { display: block; }
.kpis li span:first-child { font-size: .78rem; color: var(--muted); }
.kpis li span:last-child { margin-top: 4px; font-weight: 700; }

.panel--dark { background: var(--ink); border-color: #1C2740; color: #fff; box-shadow: 0 30px 60px -28px rgba(11,19,36,.6); }
.panel--dark:hover { box-shadow: 0 44px 80px -30px rgba(20,99,255,.55); }
.panel--dark .card__glow { background: radial-gradient(circle, rgba(79,139,255,.22), rgba(79,139,255,0) 70%); }
.panel--dark .panel__head span { color: #B9C3D6; }
.chat { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chat li { max-width: 80%; padding: 12px 16px; font-size: .95rem; line-height: 1.5; }
.chat .guest { align-self: flex-start; border-radius: 18px 18px 18px 6px; background: #1C2740; }
.chat .agent { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--blue); }

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; background: #fff; border-top: 1px solid #E9EDF4; border-bottom: 1px solid #E9EDF4; }
.how__head { max-width: 640px; }
.steps-wrap { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.steps-track { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.steps-track div { width: 100%; height: 100%; background: linear-gradient(90deg, var(--ink), var(--blue)); transform-origin: left; }
.steps {
  position: relative; list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(28px, 4vw, 48px);
}
.step__num {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem;
}
.steps h3 { margin: 24px 0 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.steps p { margin: 12px 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--muted); max-width: 340px; }

/* ---------- Reviews ---------- */
.reviews { padding: 0 0 clamp(72px, 10vw, 140px); }
.reviews .container { max-width: 980px; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.carousel-controls { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), border-color .3s;
}
.round-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.round-btn:active { transform: scale(.94); }
.carousel { margin-top: 40px; }
.review { border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 60px -30px rgba(16,24,40,.22); }
.review:hover { box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 44px 80px -32px rgba(20,99,255,.34); }
.review .card__glow { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,99,255,.12), rgba(20,99,255,0) 70%); }
.stars { display: flex; gap: 4px; }
.review blockquote {
  margin: 24px 0 0; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); font-weight: 600;
  line-height: 1.35; letter-spacing: -0.02em; text-wrap: pretty;
}
.review__author { margin-top: 32px; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.review__name { margin: 0; font-weight: 700; }
.review__role { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.dots { margin-top: 20px; display: flex; justify-content: center; gap: 4px; }
.dots button {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dots button span { width: 28px; height: 4px; border-radius: 4px; background: #C3CAD6; transition: background .4s; }
.dots button[aria-current="true"] span { background: var(--ink); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 clamp(72px, 10vw, 140px); }
.contact__box {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff;
  padding: clamp(28px, 6vw, 72px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 64px);
}
.contact__glow {
  position: absolute; right: -20%; top: -40%; width: min(800px, 100vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,99,255,.35), rgba(20,99,255,0) 62%); pointer-events: none;
}
.contact__copy, .contact__cta { position: relative; }
.contact h2 { margin: 0; }
.contact__lede { margin: 18px 0 0; font-size: 1.15rem; line-height: 1.6; color: #C9D1E0; max-width: 440px; }
.contact__email { margin: 32px 0 0; font-size: 1rem; color: #C9D1E0; }
.contact__email a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.contact__cta { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__list li {
  display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: #E3E8F1;
}
.contact__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.contact__btn {
  min-height: 60px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center;
  gap: 10px; transition: transform .35s var(--ease), box-shadow .35s;
}
.contact__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(79,139,255,.7); color: var(--ink); }
.contact__btn:active { transform: scale(.97); }

/* ---------- Demo page ---------- */
.demo { position: relative; padding: clamp(120px, 14vw, 150px) 0 clamp(72px, 10vw, 120px); overflow: hidden; }
.demo__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.demo__intro { position: sticky; top: 120px; }
.demo__intro .pill { margin-bottom: clamp(20px, 3vw, 32px); }
.demo__title {
  margin: 0; font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.8rem);
  line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance;
}
.demo__title span { color: var(--blue); }
.demo__lede { margin: 20px 0 0; max-width: 480px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--body); }
.demo__expect { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.demo__expect li { display: flex; gap: 16px; align-items: flex-start; }
.demo__expect .step__num { flex: none; width: 40px; height: 40px; font-size: .85rem; }
.demo__expect strong { display: block; font-size: 1.05rem; }
.demo__expect div span { display: block; margin-top: 4px; color: var(--muted); line-height: 1.5; }
.demo__card { padding: clamp(24px, 4vw, 40px); border-radius: 28px; }
.demo__card:hover { box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 16px 40px -20px rgba(16,24,40,.14); }

.form { display: grid; gap: 18px; }
.form__note { margin: 0; font-size: .9rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #D9DFEA;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230B1324' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
}
.field select:invalid { color: #7A8396; }
.field ::placeholder { color: #9AA2B1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,99,255,.12); outline: none; }
.field [aria-invalid="true"] { border-color: #D64545; }
.field__error { margin: 0; color: #C23434; font-size: .88rem; }
.form__submit {
  margin-top: 6px; min-height: 60px; border-radius: 999px; border: 0; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 1.05rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 10px; box-shadow: 0 14px 30px -12px rgba(11,19,36,.55); transition: transform .35s var(--ease), box-shadow .35s;
}
.form__submit:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(20,99,255,.6); }
.form__submit:active { transform: scale(.97); }
.form__fine { margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }
.form__success { padding: 8px 0; }
.form__success h2 { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.form__success p { margin: 12px 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--body); }
.form__success a { display: inline-flex; margin-top: 24px; }

@media (max-width: 900px) {
  .demo__intro { position: static; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 120px; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer__brand { display: flex; align-items: center; min-height: 44px; }
.site-footer__brand img { width: 92px; height: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer ul a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--body); font-size: .95rem; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer__copy { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Accessibility widget ---------- */
.a11y {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.a11y__panel {
  width: min(340px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); overflow-y: auto;
  background: #fff; color: var(--ink); border: 1px solid #D9DFEA; border-radius: 22px;
  box-shadow: 0 30px 70px -20px rgba(11,19,36,.4); padding: 20px;
  font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: 0;
}
.a11y__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a11y__top h2 { margin: 0; font-size: 18px; font-weight: 700; }
.a11y__close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid #D9DFEA; background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.a11y__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.a11y__row:first-of-type { margin-top: 16px; }
.a11y__row > span { font-weight: 600; font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid #D9DFEA; background: var(--bg);
  font-size: 20px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.stepper output { min-width: 48px; text-align: center; font-size: 14px; font-weight: 600; }
.a11y__toggles { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.toggle {
  width: 100%; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink); text-align: left;
}
.toggle:hover { background: var(--bg); }
.toggle__track { flex: none; width: 40px; height: 24px; border-radius: 24px; background: #C3CAD6; position: relative; transition: background .3s; }
.toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .3s var(--ease);
}
.toggle[aria-pressed="true"] .toggle__track { background: var(--blue); }
.toggle[aria-pressed="true"] .toggle__knob { transform: translateX(16px); }
.a11y__reset {
  margin-top: 14px; width: 100%; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer;
}
.a11y__fab {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: var(--blue); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(20,99,255,.6); transition: transform .35s var(--ease);
}
.a11y__fab:hover { transform: scale(1.07); }
.a11y__fab:active { transform: scale(.94); }
