/*
 * SYQAVO public website: its design system (the brand tokens themselves are in brand.css, shared with the Master Admin). "Midnight Saffron": a deep indigo night lit by slow saffron, rose, violet
 * and mint light, with frosted-glass surfaces on top (Apple's liquid-glass idea, done in plain CSS). Tokens first; change the look here.
 * No web fonts (each device's own UI font: SF Pro on Apple, Segoe on Windows, Roboto on Android) and nothing loaded from elsewhere.
 * Motion: springy and physical, 3D only where it explains the product, and all of it off for people who ask for reduced motion.
 */
:root {
  /* The brand's tokens live in brand.css (apps/web/shared/brand.css, copied here by build.mjs), shared with the Master Admin. */
  --bg: var(--sq-bg); --bg-2: var(--sq-bg-2); --bg-3: var(--sq-bg-3);
  --glass: var(--sq-glass); --glass-2: var(--sq-glass-2); --glass-hi: var(--sq-glass-hi);
  --line: var(--sq-line); --line-2: var(--sq-line-2);
  --ink: var(--sq-ink); --ink-2: var(--sq-ink-2); --mute: var(--sq-mute);
  --saffron: var(--sq-saffron); --rose: var(--sq-rose); --violet: var(--sq-violet); --mint: var(--sq-mint);
  --accent: var(--saffron); --accent-2: var(--sq-accent-2); --accent-ink: var(--sq-accent-ink);
  --brand-grad: var(--sq-grad);
  --ok: var(--sq-ok); --soon: var(--sq-soon); --custom: var(--sq-custom);
  --radius: var(--sq-radius); --radius-sm: var(--sq-radius-sm);
  --wrap: 1200px; --gutter: 20px;
  --font: var(--sq-font);
  --mono: var(--sq-mono);
  --spring: var(--sq-spring);
  --ease: var(--sq-ease);
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; } /* a component's own display rule must never un-hide it */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 92, 138, .35); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }

/* ── the light behind everything: four slow colour fields and a fine grain (one fixed layer, GPU-only transforms) ── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(80px); opacity: .34; will-change: transform; }
.aurora i:nth-child(1) { background: var(--saffron); top: -28vmax; left: -14vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--rose); top: -10vmax; right: -24vmax; opacity: .26; animation: drift2 31s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: var(--violet); bottom: -34vmax; left: 10vmax; opacity: .3; animation: drift3 36s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { background: var(--mint); bottom: -30vmax; right: -20vmax; opacity: .14; animation: drift1 40s ease-in-out infinite alternate-reverse; }
.aurora::after { content: ''; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(7, 6, 15, .75) 100%); }
@keyframes drift1 { to { transform: translate3d(18vmax, 12vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-16vmax, 18vmax, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(14vmax, -16vmax, 0) scale(1.1); } }

/* ── type ── */
h1, h2, h3 { line-height: 1.06; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.3; font-weight: 650; }
p { margin: 0 0 1em; color: var(--ink-2); text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.34rem); color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 650 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
  padding: 8px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line-2); color: var(--accent-2); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 12px var(--rose); }
.grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .grad { color: var(--accent-2); } }
.muted { color: var(--mute); }
.small { font-size: .88rem; }

/* ── glass: the one surface every card, bar and panel is made of ── */
.card, .site-head .in, .flow li, .faq details, .note, .toggle, .shot-label, .cta, .site-foot .foot-grid { --g: var(--glass); }
.card { position: relative; padding: 28px; border-radius: var(--radius); isolation: isolate;
  background: linear-gradient(155deg, var(--glass-2), var(--glass) 60%); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px -32px rgba(0, 0, 0, .7);
  transition: transform .6s var(--spring), border-color .3s, box-shadow .4s var(--ease), background .3s; }
@media (min-width: 900px) and (hover: hover) { .card, .flow li, .faq details { -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); } }
a.card { text-decoration: none; display: block; }
a.card:hover, .card.tilt:hover { border-color: rgba(255, 159, 67, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 34px 80px -30px rgba(255, 92, 138, .35); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
/* 3D tilt that follows the pointer (site.js sets --rx/--ry; nothing happens without a fine pointer). No light on it: it read as a white glare. */
.card.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transform-style: preserve-3d; }
/* under the pointer the tilt follows closely; letting go, it springs back */
.card.tilt:hover { transition: transform .16s var(--ease), border-color .3s, box-shadow .4s var(--ease), background .3s; }
.card.tilt > * { transform: translateZ(24px); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; position: relative;
  background: var(--brand-grad); box-shadow: 0 10px 26px -10px rgba(255, 92, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.icon svg { width: 22px; height: 22px; }
.more { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--accent-2); font-weight: 650; font-size: 15px; }

/* ── header: a floating glass capsule ── */
.site-head { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; view-transition-name: site-head; }
.site-head .in { display: flex; align-items: center; gap: 20px; height: 62px; padding: 0 10px 0 18px; border-radius: 22px;
  background: rgba(16, 13, 32, .62); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px -24px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: .14em; font-size: 15px; }
.logo-mark { flex: none; width: 28px; height: 28px; border-radius: 9px; background: conic-gradient(from 200deg, var(--saffron), var(--rose), var(--violet), var(--mint), var(--saffron));
  box-shadow: 0 0 24px rgba(255, 92, 138, .55); position: relative; animation: spin 14s linear infinite; }
.logo-mark::after { content: ''; position: absolute; inset: 7px; border-radius: 4px; background: var(--bg); }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 13px; border-radius: 12px; transition: color .2s, background .3s var(--ease); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); background: var(--glass-2); }
.head-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.menu-btn { display: none; margin-left: auto; background: var(--glass); border: 1px solid var(--line-2); color: var(--ink); border-radius: 14px; width: 46px; height: 42px; font-size: 18px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav, .head-cta { display: none; }
  .site-head.open .nav, .site-head.open .head-cta { display: flex; position: absolute; left: var(--gutter); right: var(--gutter); background: rgba(16, 13, 32, .92);
    -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border: 1px solid var(--line-2); margin: 0; animation: sheet .45s var(--spring); }
  .site-head.open .nav { flex-direction: column; align-items: stretch; top: 82px; padding: 10px; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .site-head.open .head-cta { top: calc(82px + var(--nav-h, 300px)); padding: 4px 10px 12px; border-radius: 0 0 22px 22px; border-top: 0; }
  .site-head.open .nav a { padding: 13px 14px; font-size: 17px; }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ── buttons: pills that press like iOS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--ink); font: 650 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); transition: transform .5s var(--spring), background .25s, border-color .25s, box-shadow .3s; }
.btn:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn.primary { border: 0; color: var(--accent-ink); background: var(--brand-grad); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 12px 34px -12px rgba(255, 92, 138, .8), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .5s var(--spring), background-position .6s var(--ease), box-shadow .3s; }
.btn.primary:hover { background-position: 100% 0; box-shadow: 0 16px 44px -12px rgba(255, 92, 138, 1), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn.primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
.btn.lg { min-height: 56px; padding: 15px 28px; font-size: 16.5px; }
.btn .arr { transition: transform .4s var(--spring); } .btn:hover .arr { transform: translateX(4px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── sections ── */
section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
section.tight { padding-block: clamp(40px, 6vw, 76px); }
.band { background: linear-gradient(180deg, transparent, rgba(12, 10, 26, .55) 20%, rgba(12, 10, 26, .55) 80%, transparent); }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ── hero ── */
.hero { padding-top: clamp(56px, 9vw, 120px); overflow: hidden; isolation: isolate; }
/* the breadcrumb trail above a page's hero: takes the hero's top space rather than adding to it */
.crumbs { padding-top: clamp(20px, 3vw, 32px); font-size: 13px; color: var(--mute); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: '›'; margin-right: 8px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }
.crumbs + .hero, .crumbs + section { padding-top: clamp(28px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { margin-bottom: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; color: var(--ink-2); font-size: 14px; }
.trust span { padding: 7px 13px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); }
.trust span::before { content: '✓'; color: var(--mint); margin-right: 7px; font-weight: 700; }

/* ── product visual: the devices float in 3D and follow the pointer (site.js sets --rx/--ry on .stage) ── */
.stage { position: relative; aspect-ratio: 5 / 4.4; perspective: 1800px; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -8deg)); transition: transform .9s var(--spring); }
.js .stage.reveal .stage-inner { transform: rotateX(28deg) rotateY(-16deg) translateY(60px) scale(.94); }
.js .stage.reveal.in .stage-inner { transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -8deg)); transition-duration: 1.4s; }
.stage.live .stage-inner { transition: none; } /* site.js's springs drive it frame by frame from here on */
/* Each layer sits at its own depth and slides a little against the pointer (--px/--py, -1…1), so the scene has real parallax. */
.shot { position: absolute; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 80px -30px rgba(139, 108, 255, .5); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot.desk { inset: 0 0 18% 8%; transform: translateZ(0) translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 6px), 0); }
.shot.phone { width: 34%; aspect-ratio: 9 / 19; left: 0; bottom: 0; border-radius: 30px; border: 7px solid #17131f;
  transform: translateZ(110px) translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0); animation: bob 7s ease-in-out infinite;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(255, 92, 138, .55); }
.shot-label { position: absolute; font: 650 11.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: rgba(16, 13, 32, .75);
  border: 1px solid var(--line-2); padding: 8px 12px; border-radius: 99px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateZ(0); white-space: nowrap; }
.shot-label.k { right: 0; top: -44px; }
.shot-label.g { left: 0; bottom: -44px; }
/* a slow idle float, on `translate` so it adds to the 3D transform instead of replacing it */
@keyframes bob { 50% { translate: 0 -10px; } }
.hero-stack { display: grid; gap: clamp(44px, 6vw, 80px); text-align: center; }
.hero-stack > div:first-child { max-width: 900px; margin-inline: auto; }
.hero-stack .lead { margin-inline: auto; } .hero-stack .btns, .hero-stack .trust { justify-content: center; }
/* the ticked list of what is in the system, under the buttons */
.hero-list { max-width: 880px; margin: 34px auto 0; padding: clamp(20px, 3vw, 30px); text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.hero-list-h { margin: 0 0 18px; font-weight: 650; color: var(--ink); font-size: 1.05rem; }
.hero-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0; }
.hero-ticks li { line-height: 1.45; }
.hero-list-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.hero-list-foot a { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 680px) { .hero-ticks { grid-template-columns: 1fr; } }
/* captions under the two screens */
.stage-caption { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; color: var(--mute); font-size: 14px; }
.stage-caption span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: middle; }
.hero-stack .stage { width: 100%; max-width: 1120px; margin-inline: auto; aspect-ratio: 16 / 10; }
.hero-stack .shot.desk { inset: 0 0 20% 25%; } /* the frame has the screenshot's own 3:2 shape, so nothing of it is cut off */
.hero-stack .shot.phone { width: 21%; }
/* phone-sized screens: the kitchen screen on top, the guest's phone under it, centred; nothing overlaps */
@media (max-width: 700px) {
  .hero-stack .stage { aspect-ratio: 2 / 3.4; }
  .hero-stack .shot.desk { inset: 0 0 60.8% 0; }
  .hero-stack .shot.phone { width: 36%; left: 32%; transform: translateZ(0) translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -5px), 0); }
}
.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 70px -30px rgba(139, 108, 255, .45); }
.figure figcaption { padding: 13px 18px; font-size: 14px; color: var(--mute); border-top: 1px solid var(--line); background: rgba(16, 13, 32, .6); }
.phone-fig { max-width: 300px; margin-inline: auto; border-radius: 34px; border: 7px solid #17131f; }

/* ── "Every screen" tour: a segmented control and a 3D carousel of the real app ── */
.tour { text-align: center; overflow: clip; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
  margin: 0 auto clamp(28px, 4vw, 44px); position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: var(--ink-2); font: 650 14.5px/1 var(--font); padding: 11px 16px; border-radius: 13px; cursor: pointer; min-height: 42px; transition: color .25s; }
.seg button[aria-selected='true'] { color: var(--accent-ink); }
/* The highlight is moved by site.js every frame, in step with the carousel, so it glides between tabs as you scrub or swipe. */
.seg .thumb { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 13px; background: var(--brand-grad); box-shadow: 0 8px 24px -10px rgba(255, 92, 138, .9); will-change: transform, width; }
html:not(.js) .seg .thumb { display: none; }
.tour-stage { position: relative; }
.coverflow { --h: clamp(300px, 44vw, 560px); position: relative; height: var(--h); perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
/* Each screen is centred, then pushed sideways, back and turned by its distance from the one in front (site.js, one frame at a time). */
.coverflow .slide { --w: min(78%, 820px); position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 2; margin: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); transform: translate(-50%, -50%); will-change: transform, opacity; }
.js .coverflow:not(.live) .slide:not(:first-child) { opacity: 0; } /* nothing stacked in view before site.js has laid the row out */
/* screens away from the front dim (a flat overlay: much cheaper per frame than a filter on a large image) */
.coverflow .slide::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #07060f; opacity: var(--dim, 0); pointer-events: none; }
.coverflow .slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .coverflow.live { cursor: ew-resize; } }
.coverflow.grab { cursor: grabbing; }
/* side arrows (desktop and tablet; a phone swipes) */
.tour-nav { position: absolute; top: 50%; z-index: 120; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--ink);
  background: rgba(16, 13, 32, .6); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 40px -18px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); transition: transform .5s var(--spring), background .25s, border-color .25s, opacity .3s; }
.tour-nav:hover { background: rgba(40, 32, 70, .75); border-color: rgba(255, 159, 67, .5); transform: scale(1.08); }
.tour-nav:active { transform: scale(.94); transition-duration: .12s; }
.tour-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tour-nav.prev { left: 0; } .tour-nav.next { right: 0; }
html:not(.js) .tour-nav, html:not(.js) .tour-hint { display: none; }
@media (max-width: 620px) { .tour-nav { display: none; } }
/* a quiet hint that fades once someone has used the tour */
.tour-hint { margin: 14px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); transition: opacity .6s var(--ease); }
.tour-hint span { display: inline-flex; align-items: center; gap: 10px; }
.tour-hint span::before, .tour-hint span::after { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.tour-hint span::after { transform: scaleX(-1); }
.tour-hint .h-swipe { display: none; }
@media (hover: none), (pointer: coarse) { .tour-hint .h-hover { display: none; } .tour-hint .h-swipe { display: inline-flex; } }
.tour.touched .tour-hint { opacity: 0; }
/* The guest's screen is a phone, so it is shown as one. */
.coverflow .slide.tall { --w: calc(var(--h) * .46); aspect-ratio: 390 / 844; border-radius: 34px; border: 7px solid #17131f; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(255, 92, 138, .5); }
.tour-cap { min-height: 3.2em; max-width: 620px; margin: clamp(20px, 3vw, 30px) auto 0; color: var(--ink-2); }
.tour-cap strong { color: var(--ink); }
@media (max-width: 620px) { .seg { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; } .seg::-webkit-scrollbar { display: none; } .seg button { flex: none; }
  .coverflow .slide:not(.tall) { --w: 86%; } .seg button { padding: 10px 12px; font-size: 13.5px; } }

/* ── cards and grids ── */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 8px; background: var(--brand-grad); box-shadow: 0 6px 16px -8px rgba(255, 92, 138, .9); }
.ticks li::after { content: ''; position: absolute; left: 8px; top: calc(.28em + 5px); width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ticks strong { color: var(--ink); font-weight: 650; }

/* ── status pills ── */
.pill { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 7px; font: 650 12px/1 var(--font); padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--glass); white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.pill.now { color: var(--ok); } .pill.soon { color: var(--soon); } .pill.custom { color: var(--custom); }

/* ── flow: six steps lit in turn, like an order moving through the restaurant ── */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; padding: 0; margin: 0; position: relative; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow li { list-style: none; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--glass); counter-increment: step; position: relative; overflow: hidden;
  transition: transform .5s var(--spring), border-color .3s; }
.flow li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font: 700 13px/1 var(--mono);
  color: var(--accent-2); background: rgba(255, 159, 67, .1); border: 1px solid rgba(255, 159, 67, .3); margin-bottom: 14px; transition: background .4s, color .4s; }
.flow li::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand-grad); transform: scaleX(0); transform-origin: left; }
.flow b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 17px; }
.flow span { font-size: 14px; color: var(--mute); }
.flow li:hover { transform: translateY(-4px); border-color: rgba(255, 159, 67, .4); }
.js .flow.in li::after { animation: fill 6s var(--ease) infinite; }
.js .flow.in li:nth-child(2)::after { animation-delay: 1s; } .js .flow.in li:nth-child(3)::after { animation-delay: 2s; } .js .flow.in li:nth-child(4)::after { animation-delay: 3s; }
.js .flow.in li:nth-child(5)::after { animation-delay: 4s; } .js .flow.in li:nth-child(6)::after { animation-delay: 5s; }
@keyframes fill { 0% { transform: scaleX(0); } 12% { transform: scaleX(1); } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 30px 66px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 750; color: var(--accent-ink); background: var(--brand-grad); box-shadow: 0 10px 24px -10px rgba(255, 92, 138, .9); }
.steps li::after { content: ''; position: absolute; left: 21.5px; top: 50px; bottom: 6px; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 8px 0 6px; }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: transparent; background: linear-gradient(155deg, rgba(255, 159, 67, .16), rgba(139, 108, 255, .1)) padding-box, linear-gradient(#110e22, #110e22) padding-box, conic-gradient(from var(--a, 0deg), var(--saffron), var(--rose), var(--violet), var(--mint), var(--saffron)) border-box;
  border: 1.5px solid transparent; animation: ring 8s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes ring { to { --a: 360deg; } }
.plan .price { font-size: 2.4rem; font-weight: 750; letter-spacing: -.035em; color: var(--ink); margin: 6px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.plan .price.ask { font-size: 1.55rem; }
.plan ul { margin: 18px 0 24px; flex: 1; }
/* plan cards (drawn by assets/plans.js): both prices are in every card, the Monthly / Yearly switch shows one */
.plans[data-showing='MONTHLY'] [data-show='ANNUAL'], .plans[data-showing='ANNUAL'] [data-show='MONTHLY'] { display: none; }
.plan { gap: 0; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-top h3 { margin: 0; font-size: 1.35rem; }
.plan-badge { font: 650 11.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass-2); }
.plan-desc { color: var(--ink-2); margin: 10px 0 0; min-height: 3em; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 2px; }
.plan .price .amount { font-size: 2.6rem; font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.plan .price .amount.ask { font-size: 1.55rem; }
.plan-note { color: var(--mute); font-size: 14px; margin: 0; min-height: 1.5em; }
.plan-note.save { color: var(--ok); }
.plan-cta { margin: 20px 0 6px; justify-content: center; }
.plan-plus { color: var(--ink); font-weight: 650; margin: 16px 0 0; }
.plan ul { margin: 14px 0 0; align-content: start; }
.enterprise { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; margin-top: 18px; }
.enterprise h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.enterprise p:last-child { margin-bottom: 0; color: var(--ink-2); }
.enterprise-cta { text-align: right; }
.enterprise-cta .amount { font-size: 2rem; font-weight: 750; margin: 0 0 12px; }
@media (max-width: 760px) { .enterprise { grid-template-columns: 1fr; } .enterprise-cta { text-align: left; } }
/* the eight things SYQAVO runs, above the plans */
.areas { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); }
.areas .icon { grid-row: span 2; }
.areas strong { color: var(--ink); }
.areas span:last-child { color: var(--mute); font-size: 14px; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .areas { grid-template-columns: 1fr; } }
/* compare plans: one short table per area, opened one at a time; tables scroll sideways on a phone instead of squeezing */
.compare details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); margin-bottom: 10px; }
.compare summary { cursor: pointer; padding: 16px 18px; font-weight: 650; color: var(--ink); min-height: 44px; }
.compare-scroll { overflow-x: auto; padding: 0 12px 12px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 11px 10px; border-top: 1px solid var(--line); text-align: center; }
.compare th[scope='row'] { text-align: left; font-weight: 500; color: var(--ink-2); width: 40%; }
.compare thead th { color: var(--ink); font-weight: 650; border-top: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* existing restaurants: the way in, always in sight */
.owner-line { margin: 18px 0 0; color: var(--ink-2); }
.owner-line.center { text-align: center; }
.owner-line a { color: var(--ink); font-weight: 650; }
.btn.owner-login { border-color: var(--line-2); }
.owner-login-m { display: none; }
@media (max-width: 900px) { .owner-login-m { display: inline-flex; margin-left: auto; min-height: 42px; padding-inline: 14px; font-size: 14px; } .owner-login-m + .menu-btn { margin-left: 8px; } }
.toggle { display: inline-flex; padding: 5px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); margin-bottom: 30px; }
.toggle button { border: 0; background: none; color: var(--ink-2); font: 650 14px var(--font); padding: 10px 18px; border-radius: 12px; cursor: pointer; min-height: 42px; transition: background .4s var(--spring), color .3s; }
.toggle button[aria-pressed='true'] { background: var(--brand-grad); color: var(--accent-ink); }
.note { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 15px; background: var(--glass); }

/* ── FAQ: opens smoothly where the browser can animate to "auto" ── */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); padding: 0 22px; transition: border-color .3s, background .3s; interpolate-size: allow-keywords; }
.faq details[open] { border-color: rgba(255, 159, 67, .35); background: var(--glass-2); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--spring), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; color: var(--accent-2);
  background: rgba(255, 159, 67, .1); transition: transform .5s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ── forms ── */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row2 { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 7px; }
label .opt { color: var(--mute); font-weight: 400; }
input, select, textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; min-height: 50px;
  transition: border-color .2s, box-shadow .3s var(--ease), background .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); background: rgba(0, 0, 0, .38); box-shadow: 0 0 0 4px rgba(255, 92, 138, .2); }
select option { background: var(--bg-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink-2); font-size: 15px; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--rose); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 14px; padding: 14px 16px; font-size: 15px; display: none; }
.form-msg.err { display: block; background: rgba(185, 28, 28, .16); border: 1px solid rgba(248, 113, 113, .45); color: #fecaca; }
.form-done { text-align: center; padding: 32px 12px; animation: pop .7s var(--spring); }
.form-done .big { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; font-size: 34px; border-radius: 50%; color: var(--accent-ink); background: var(--brand-grad); box-shadow: 0 16px 40px -14px rgba(255, 92, 138, .9); }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }
.form-card { padding: clamp(22px, 4vw, 38px); }

/* ── a customer's quote ── */
[data-quote] { display: grid; gap: 18px; }
[data-quote] h1 { font-size: clamp(28px, 4.5vw, 44px); }
[data-quote] .pill { justify-self: start; white-space: normal; line-height: 1.35; }
.qt-who .card, .qt-lines { padding: 18px 20px; } .qt-who .eyebrow { display: flex; margin-bottom: 8px; }
.qt-scroll { overflow-x: auto; }
.qt-lines table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.qt-lines th { text-align: left; font-size: 13px; color: var(--mute); font-weight: 600; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line-2); }
.qt-lines td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.qt-lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qt-kv { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; font-size: 17px; }
.qt-notes { white-space: pre-wrap; margin: 0; }
.qt-accepted { border-color: rgba(74, 222, 128, .5); color: var(--ok); }
.qt-expired, .qt-declined { color: var(--mute); }
@media (max-width: 620px) { /* a phone: each line is a small card of label / value pairs instead of a wide table */
  .qt-lines table { min-width: 0; } .qt-lines thead { display: none; }
  .qt-lines table, .qt-lines tbody { display: block; }
  .qt-lines tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .qt-lines td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; }
  .qt-lines td::before { content: attr(data-label); color: var(--mute); font-size: 14px; font-weight: 400; }
  .qt-lines td.desc { font-weight: 600; } .qt-lines td.desc::before { content: none; }
  .qt-lines td.total { font-weight: 700; }
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs a { text-decoration: none; font-size: 14px; font-weight: 650; padding: 10px 15px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--glass); transition: background .3s; }
.tabs a[aria-current='page'] { background: var(--brand-grad); color: var(--accent-ink); border-color: transparent; }

/* ── CTA ── */
.cta { border-radius: 32px; padding: clamp(40px, 7vw, 88px); text-align: center; overflow: hidden; position: relative; isolation: isolate; border: 1px solid var(--line-2);
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 92, 138, .3), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(139, 108, 255, .28), transparent 70%), rgba(16, 13, 32, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 100px -40px rgba(255, 92, 138, .45); }
.cta h2 { max-width: 780px; margin-inline: auto; }
.cta p { margin-inline: auto; max-width: 620px; }
.cta .btns { justify-content: center; margin-top: 28px; }

/* ── legal / prose ── */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { color: var(--ink-2); margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 1em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; color: var(--ink-2); }

/* ── footer ── */
.site-foot { padding: 40px 0 36px; font-size: 15px; }
.site-foot .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: rgba(16, 13, 32, .6); border: 1px solid var(--line); }
@media (max-width: 800px) { .site-foot .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-foot h2 { line-height: inherit; text-wrap: wrap; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; font-weight: 650; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; color: var(--ink-2); transition: color .2s; } .site-foot a:hover { color: var(--ink); }
.foot-base { margin-top: 24px; padding: 0 8px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--mute); font-size: 14px; }

/* ── reveal on scroll: rises, sharpens and settles on a spring (content is visible without JavaScript) ── */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--spring), filter .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .grid > .reveal:nth-child(2), .js .plans > :nth-child(2) { transition-delay: .07s; } .js .grid > .reveal:nth-child(3), .js .plans > :nth-child(3) { transition-delay: .14s; }
.js .grid > .reveal:nth-child(4) { transition-delay: .21s; } .js .grid > .reveal:nth-child(5) { transition-delay: .28s; } .js .grid > .reveal:nth-child(6) { transition-delay: .35s; }
.js .stage.reveal { filter: none; transform: none; opacity: 1; } /* the stage animates its own 3D entrance */

/* ── moving between pages: a soft iOS-style cross-fade; the header stays put ── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .5s var(--spring) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) scale(1.01); filter: blur(4px); } }

/* ── Hindi pages ── Devanagari needs its own fonts, and no letter-spacing: spacing breaks the joined letters apart. */

/* ── people who ask for less motion get none: no drifting light, no tilt, no transitions ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card.tilt, .stage-inner, .js .stage.reveal .stage-inner { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  @view-transition { navigation: none; }
}

/* Without JavaScript the tour is a plain row of screenshots that scrolls sideways. */
html:not(.js) .seg { display: none; }
html:not(.js) .coverflow { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 640px); gap: 16px; overflow-x: auto; perspective: none; padding-bottom: 8px; scroll-snap-type: x mandatory; }
html:not(.js) .coverflow .slide { position: static; margin: 0; width: auto; transform: none; opacity: 1; filter: none; scroll-snap-align: center; }
/* a wide table in a legal page scrolls sideways inside its own box on a phone, instead of being cut off */
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.table-scroll table { min-width: 560px; }
/* small phones (under 400px wide): a tighter header so the name, the owner login and the menu button never touch */
@media (max-width: 400px) { .site-head .logo { letter-spacing: .08em; font-size: 14px; gap: 8px; } .owner-login-m { padding-inline: 10px; font-size: 13px; } .owner-login-m + .menu-btn { margin-left: 6px; } .menu-btn { width: 42px; } }
