/* insmart.ro — marketing site
   One hand-written stylesheet. No framework, no build step.
   Motion rules: transform/opacity only, strong ease-out for entrances,
   everything gated by prefers-reduced-motion and (hover: hover). */

/* ---------- Fonts ----------
   The brand's typefaces (as on the previous site): Poppins for headings, Nunito for text.
   Self-hosted; the latin-ext files (ă, ș, ț) only download when a page uses those characters. */
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-wght-normal.woff2) format("woff2-variations"); 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/poppins-latin-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/poppins-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/poppins-latin-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/poppins-latin-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  /* Warm off-white page + brand navy ink (the Calendly recipe: never pure white/black) */
  --bg: #fbfaf7;
  --bg-soft: #f3f2ee;
  --bg-tint: #f3f2ee;
  --ink: #0b1a29;
  --ink-2: #33475b;
  --muted: #5b6b7c;
  --line: rgba(11, 26, 41, 0.09);
  --line-strong: rgba(11, 26, 41, 0.16);
  --navy-hover: #1c3550;

  /* inSmart brand blue and its scale (same values as the POS/CRM themes) */
  --brand: #4798cb;
  --brand-600: #3680b3;
  --brand-700: #2a6890;
  --accent: var(--brand);
  --accent-hover: var(--brand-600);
  --accent-ink: var(--brand-700); /* blue text on white/tints: the brand blue itself is too light for small text */
  --accent-soft: #ebf3fa;

  /* One brand colour for every module: restraint reads as confidence. Semantic colours stay. */
  --c-pos: var(--brand);
  --c-sched: var(--brand);
  --c-crm: var(--brand);
  --c-inv: var(--brand);
  --c-bill: var(--brand);
  --c-ai: var(--brand);
  --c-hr: var(--brand);
  --ok: #1a9b5a;
  --warn: #c77700;

  /* Deep brand navy instead of neutral black for dark sections */
  --dark: #0b1a29;
  --dark-2: #12263a;
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a1a6;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;

  --shadow-s: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow: 0 2px 6px rgba(16, 24, 40, 0.04), 0 12px 32px -8px rgba(16, 24, 40, 0.12);
  --shadow-l: 0 4px 12px rgba(16, 24, 40, 0.05), 0 32px 64px -16px rgba(16, 24, 40, 0.22);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 64px;

  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --z-nav: 50;
  --z-menu: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(71, 152, 203, 0.24); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: transform 160ms var(--ease-out); }
.skip-link:focus { transform: translateY(64px); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), var(--bg) 70%); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 16px); }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4, .btn, .nav-link, .eyebrow, .badge, .chip, .plan h2, .plan-price strong, .stat strong, .quote, .faq summary, .tools-details summary, .menu-item strong, .plan-flag, .pill-new, .step::before, .num-steps li::before, .hw-price strong, .plan-inline strong, .compare thead th, .footer h2, .m-group a, .lang-switch a {
  font-family: var(--font-display);
}
.display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.125rem, 4.6vw, 3.375rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); line-height: 1.14; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
.h3 { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.h4 { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -0.005em; font-weight: 500; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.012em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.5; }
.tiny { font-size: 0.8125rem; line-height: 1.45; letter-spacing: 0.005em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  color: color-mix(in srgb, var(--eyebrow, var(--accent)) 70%, #000);
}
.section-dark .eyebrow, .tile.dark .eyebrow { color: var(--eyebrow, #9dc6ff); }
.grad-text { color: var(--brand-600); }
.section-dark .lead, .section-dark .muted { color: var(--dark-muted); }
.section-head { max-width: 1040px; }
.section-head .lead { max-width: 780px; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
.section-head .eyebrow + .h2, .section-head .eyebrow + .h1 { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-ink: #fff; --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 14px; border: 1px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
/* Primary = brand navy (17:1 contrast); the brand blue is kept for accents, links and art */
.btn-primary { --btn-bg: var(--ink); box-shadow: 0 1px 2px rgba(11, 26, 41, 0.2); }
.btn-brand { --btn-bg: var(--brand-700); }
.btn-secondary { --btn-bg: #fff; --btn-ink: var(--ink); --btn-border: var(--line-strong); }
.btn-ghost { --btn-bg: transparent; --btn-ink: var(--ink); }
.btn-dark { --btn-bg: var(--ink); --btn-ink: #fff; }
.btn-outline { --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: var(--line-strong); }
.btn-light { --btn-bg: #fff; --btn-ink: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-ink: #fff; --btn-border: rgba(255, 255, 255, 0.28); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; border-radius: 12px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { --btn-bg: var(--navy-hover); }
  .btn-brand:hover { --btn-bg: var(--brand-600); }
  .btn-secondary:hover { --btn-border: rgba(0, 0, 0, 0.3); }
  .btn-ghost:hover { --btn-bg: rgba(0, 0, 0, 0.05); }
  .btn-dark:hover { --btn-bg: #000; }
  .btn-outline-light:hover { --btn-border: rgba(255, 255, 255, 0.6); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-ink); font-weight: 700; letter-spacing: 0;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(3px); }
  .link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.section-dark .link-arrow { color: #82b2dd; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.005em;
  background: var(--accent-soft); color: var(--accent-ink);
}
.badge-new { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(71, 152, 203, 0.25); }
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 550; color: var(--ink-2);
}
.chip svg { width: 18px; height: 18px; }
.pill-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; background: var(--brand-700); color: #fff; vertical-align: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(251, 250, 247, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 200ms ease;
}
.nav[data-scrolled="true"] { box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em;
  transition: background-color 150ms ease, color 150ms ease;
}
.nav-link svg { width: 14px; height: 14px; opacity: 0.6; transition: transform 200ms var(--ease-out); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { background: rgba(0, 0, 0, 0.045); color: var(--ink); }
}
.nav-item[data-open="true"] .nav-link { background: rgba(0, 0, 0, 0.045); color: var(--ink); }
.nav-item[data-open="true"] .nav-link svg { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.05); }
.lang-switch a { min-width: 34px; height: 28px; display: grid; place-items: center; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); transition: background-color 150ms ease, color 150ms ease; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }

/* Dropdown panel — anchored to its trigger, so it scales from the top */
.menu-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: max-content; max-width: min(640px, 90vw);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-l);
  transform-origin: top center;
  transform: translateX(-50%) translateY(-4px) scale(0.98);
  opacity: 0; visibility: hidden;
  transition: opacity 150ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
  z-index: var(--z-menu);
}
.nav-item[data-open="true"] .menu-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 150ms ease, transform 200ms var(--ease-out), visibility 0s;
}
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 2px; }
.menu-grid.one { grid-template-columns: minmax(280px, 1fr); }
.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .menu-item:hover { background: rgba(0, 0, 0, 0.04); } }
.menu-item:active { background: rgba(0, 0, 0, 0.06); }
.menu-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 12%, #fff); }
.menu-icon svg { width: 20px; height: 20px; }
.menu-item strong { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.menu-item strong + span { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.menu-foot { margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.875rem; }

/* Mobile sheet */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 999px; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 480px) {
  .nav-inner { gap: 12px; }
  .nav-logo img { height: 22px; width: auto; }
  .nav-actions { gap: 4px; }
  .nav-actions .btn-sm { padding: 0 14px; font-size: 0.875rem; }
}
@media (max-width: 1023px) {
  .nav-links, .nav-actions .hide-m { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu);
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  body[data-menu="open"] .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s; }
  .nav[data-menu="open"] { background: #fff; }
}
.m-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.m-group h2 { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.m-group a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 1.0625rem; font-weight: 550; letter-spacing: -0.01em; }
.m-group a .menu-icon { width: 32px; height: 32px; border-radius: 9px; }
.m-actions { display: grid; gap: 10px; padding-top: 20px; }
body[data-menu="open"] { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 22% 30%, rgba(72, 153, 203, 0.16), transparent 70%),
    radial-gradient(36% 46% at 80% 20%, rgba(130, 178, 221, 0.12), transparent 70%),
    radial-gradient(50% 40% at 50% 80%, rgba(71, 152, 203, 0.07), transparent 70%);
}
.hero-copy { max-width: 1100px; margin-inline: auto; text-align: center; }
.hero-copy .lead { margin: 22px auto 0; max-width: 780px; }
.hero-copy .btn-row { margin-top: 32px; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.hero-note svg { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; color: var(--ok); margin-right: 4px; }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .page-hero.split { grid-template-columns: 1.05fr 1fr; } }
.page-hero .lead { margin-top: 20px; max-width: 620px; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }

/* ---------- Device / window frames ---------- */
.window {
  position: relative; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.window-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f6f6f8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e0e0e4; }
.window-bar i:nth-child(1) { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar .url { margin-left: 14px; flex: 1; max-width: 360px; height: 22px; border-radius: 6px; background: #ececf0; font-size: 0.6875rem; color: #57575c; display: flex; align-items: center; padding: 0 10px; }
.shot { border-radius: var(--radius-l); overflow: hidden; background: var(--bg-soft); }
.shot img { width: 100%; height: auto; }
.phone {
  width: 260px; border-radius: 42px; padding: 10px; background: #111;
  box-shadow: var(--shadow-l), inset 0 0 0 2px #2a2a2e;
}
.phone-screen { border-radius: 33px; overflow: hidden; background: #fff; position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #111; z-index: 2; }

/* ---------- Hero composition (HTML product mocks) ---------- */
.hero-stage { position: relative; max-width: 1080px; margin-inline: auto; }
.hero-stage .window { aspect-ratio: auto; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 14px 16px; font-size: 0.8125rem;
}
.float-a { left: -28px; bottom: 56px; width: 250px; }
.float-b { right: -24px; top: 72px; width: 260px; }
.float-c { right: 40px; bottom: -28px; width: 300px; }
@media (max-width: 1100px) { .float-a { left: 8px; } .float-b { right: 8px; } .float-c { right: 16px; } }
@media (max-width: 760px) { .float-card { display: none; } }

.hero-device { width: min(820px, 94%); margin-inline: auto; filter: drop-shadow(0 48px 64px rgba(11, 26, 41, 0.18)); }
.dot-ai { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; background: linear-gradient(135deg, #82b2dd, #4798cb); display: grid; place-items: center; color: #fff; }
.dot-ai svg { width: 13px; height: 13px; }

/* Bento peeks: a mock that bleeds off the tile edge */
.tile-pos-peek { width: 125%; max-width: none; transform: scale(0.8); transform-origin: top left; height: 300px; }
.tile-visual:has(.tile-pos-peek) { height: 264px; overflow: hidden; }
.tile-pos-peek .window { border-radius: 16px 0 0 0; }
.tile-phone-peek { display: flex; justify-content: center; margin-bottom: calc(clamp(24px, 3vw, 36px) * -1); height: 260px; overflow: hidden; }
.tile-phone-peek .phone { width: 230px; }
.ai-tile { display: grid; gap: 32px; align-items: center; width: 100%; }
@media (min-width: 900px) { .ai-tile { grid-template-columns: 1.1fr 1fr; } }
.ai-tile-prompts { display: grid; gap: 10px; }
.ai-tile-prompts span { padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--dark-ink); font-size: 1rem; }
.ai-tile-prompts span:nth-child(2) { margin-left: 24px; }
.ai-tile-prompts span:nth-child(3) { margin-left: 48px; }
@media (max-width: 560px) { .ai-tile-prompts span:nth-child(n) { margin-left: 0; } }
.stack-card { position: relative; margin: -20px 24px 0 auto; max-width: 340px; z-index: 1; }
.stack-card .float-card { box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.06); }

/* POS mock */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 260px; min-height: 420px; background: #f4f5f8; font-size: 0.8125rem; }
.window:has(.pos) { container-type: inline-size; }
.pos-main { padding: 16px; }
.pos-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow: hidden; }
.pos-tabs span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 550; white-space: nowrap; color: var(--ink-2); }
.pos-tabs span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pos-tile { background: #fff; border-radius: 12px; padding: 10px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.pos-tile .ph { width: 44px; height: 44px; border-radius: 10px; background: var(--ph, #eadfd2); display: grid; place-items: center; font-size: 20px; }
.pos-tile b { display: block; font-weight: 600; font-size: 0.8125rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-tile small { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.pos-tile small em { font-style: normal; font-weight: 650; color: var(--ink); }
.pos-side { background: #fff; border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; }
.pos-side .pos-h { font-size: 0.875rem; font-weight: 650; display: flex; justify-content: space-between; align-items: center; }
.pos-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pos-line span { color: var(--muted); }
.pos-total { margin-top: auto; padding-top: 12px; }
.pos-total .row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.pos-total .row.big { color: var(--ink); font-size: 1.125rem; font-weight: 700; padding-top: 8px; }
.pos-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.pos-pay span { border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; text-align: center; font-weight: 550; }
.pos-cta { margin-top: 8px; background: var(--accent); color: #fff; border-radius: 10px; text-align: center; padding: 10px; font-weight: 650; }
@container (max-width: 660px) { .pos { grid-template-columns: minmax(0, 1fr) 220px; } .pos-grid { grid-template-columns: repeat(2, 1fr); } .pos-tile:nth-child(n+5) { display: none; } }
@container (max-width: 440px) { .pos { grid-template-columns: 1fr; } .pos-side { display: none; } }

/* Mini UI atoms used inside float cards and bento tiles */
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-title { font-weight: 650; font-size: 0.8125rem; color: var(--ink); }
.ui-sub { color: var(--muted); font-size: 0.75rem; }
.ui-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 0.6875rem; font-weight: 650; }
.ui-status.ok { background: #e3f6ec; color: #11794a; }
.ui-status.info { background: var(--accent-soft); color: var(--accent-ink); }
.ui-status.warn { background: #fff3dc; color: #9a5b00; }
.ui-status.violet { background: #ebf3fa; color: #2a6890; }
.ui-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.75rem; color: #fff; background: color-mix(in srgb, var(--c, var(--brand)) 72%, #000); flex-shrink: 0; }
.ui-bar { height: 6px; border-radius: 999px; background: #edeef2; overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: var(--c, var(--ok)); }
.ui-list > * + * { margin-top: 10px; }
.ui-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.ui-slots span { border: 1px solid #cfe0f3; color: var(--accent-ink); border-radius: 8px; text-align: center; padding: 6px 0; font-weight: 600; font-size: 0.75rem; }
.ui-slots span.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 10px; }
.spark i { flex: 1; border-radius: 4px 4px 2px 2px; background: #d7e7f6; height: var(--h); }
.spark i.on { background: var(--accent); }

/* Generic mock content */
.mock-pad { padding: 18px 20px 22px; font-size: 0.8125rem; }
.mock-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.8125rem; }
.mock-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table .r { text-align: right; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.75rem; color: var(--accent-ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 8px; background: #f0f1f4; font-size: 0.6875rem; font-weight: 600; }
.seg span { padding: 4px 10px; border-radius: 6px; color: #5c5c61; }
.seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.seg.dark { background: #22252d; }
.seg.dark span { color: #a1a1a6; }
.seg.dark span.on { background: #3a3e48; color: #fff; box-shadow: none; }
.report-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.report-kpis > div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.report-kpis b { display: block; font-size: 1.125rem; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.report-kpis .delta { font-size: 0.75rem; font-weight: 600; color: #12733f; }
.stars { color: #f5a623; letter-spacing: 1px; }
.ts-row { gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ts-row:last-child { border-bottom: 0; }

/* Booking (Calendly-like) */
.booking { display: grid; grid-template-columns: 0.85fr 1.15fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.05); font-size: 0.8125rem; }
.booking-info { padding: 22px; border-right: 1px solid var(--line); }
.booking-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-weight: 500; }
.booking-meta svg { width: 16px; height: 16px; }
.booking-cal { padding: 22px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 14px; text-align: center; }
.cal span { height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal .cal-h { color: var(--muted); font-weight: 600; font-size: 0.6875rem; height: 22px; }
.cal .av { color: var(--accent-ink); font-weight: 700; background: var(--accent-soft); }
.cal .on { background: var(--accent); color: #fff; }
@media (max-width: 560px) { .booking { grid-template-columns: 1fr; } .booking-info { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Phone menu */
.phone-screen { font-size: 0.75rem; min-height: 520px; display: flex; flex-direction: column; background: #faf9f7; }
.pm-head { padding: 46px 16px 12px; text-align: center; background: #fff; display: grid; justify-items: center; gap: 2px; }
.pm-logo { width: 46px; height: 46px; border-radius: 50%; background: #1d1d1f; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.125rem; margin-bottom: 6px; }
.pm-head b { font-size: 0.9375rem; }
.pm-langs { display: flex; gap: 4px; margin-top: 8px; }
.pm-langs span { padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.625rem; font-weight: 600; color: var(--muted); }
.pm-langs span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pm-tabs { display: flex; gap: 14px; padding: 10px 16px 0; background: #fff; border-bottom: 1px solid var(--line); }
.pm-tabs span { padding-bottom: 8px; color: var(--muted); font-weight: 600; }
.pm-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.pm-list { padding: 12px; display: grid; gap: 10px; }
.pm-item { display: grid; grid-template-columns: 58px 1fr; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.pm-img { width: 58px; height: 58px; border-radius: 10px; background: var(--ph); display: grid; place-items: center; color: #b3874f; }
.pm-img svg { width: 22px; height: 22px; }
.pm-item b { display: block; font-size: 0.8125rem; }
.pm-item small { display: block; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.pm-item em { display: block; font-style: normal; font-weight: 700; margin-top: 4px; }
.pm-tags { display: flex; gap: 4px; margin-top: 6px; font-style: normal; }
.pm-tags span { font-size: 0.625rem; padding: 1px 6px; border-radius: 999px; background: #fff4e0; color: #8a5000; font-weight: 600; }
.pm-pair { background: #fff; border-radius: 14px; padding: 10px; }
.pm-pair small { color: var(--muted); font-weight: 600; }
.pm-pair div { display: flex; gap: 6px; margin-top: 6px; }
.pm-pair span { padding: 5px 9px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: 0.6875rem; white-space: nowrap; }
.pm-bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.pm-bar span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.6875rem; }
.pm-bar span + span { background: var(--bg-soft); color: var(--ink); }
.pm-bar svg { width: 14px; height: 14px; }

/* KDS */
.kds { background: #111318; border-radius: 18px; padding: 14px; color: #f5f5f7; font-size: 0.8125rem; box-shadow: var(--shadow-l); }
.kds-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.kds-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kds-ticket { background: #1d2028; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.kds-h { padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; background: var(--k); color: #fff; }
.kds-h span { font-size: 0.75rem; align-self: center; }
.kds-h time { grid-column: 1 / -1; display: flex; gap: 4px; align-items: center; font-weight: 700; font-size: 0.75rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kds-ticket.ok { --k: #1a6b43; } .kds-ticket.warn { --k: #965800; } .kds-ticket.danger { --k: #a3223a; }
.kds-ticket ul { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; flex: 1; }
.kds-done { margin: 0 10px 10px; text-align: center; padding: 7px; border-radius: 8px; background: #2b2f39; font-weight: 600; }
@media (max-width: 560px) { .kds-cols { grid-template-columns: 1fr 1fr; } .kds-ticket:nth-child(3) { display: none; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: var(--gap, 20px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  position: relative; background: #fff; border-radius: var(--radius-l);
  border: 1px solid var(--line); padding: clamp(24px, 3vw, 32px);
}
.card-soft { background: var(--bg-soft); border-color: transparent; }
.card .h3, .card .h4 { margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.card-link { transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
}
.card-link:active { transform: scale(0.99); }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 11%, #fff);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-tile.lg svg { width: 28px; height: 28px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 6; }
@media (min-width: 760px) {
  .bento .b-2 { grid-column: span 2; } .bento .b-3 { grid-column: span 3; } .bento .b-4 { grid-column: span 4; } .bento .b-6 { grid-column: span 6; }
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: var(--bg-soft); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; min-height: 260px;
}
.tile-mini { margin-top: auto; padding-top: 22px; }
.tile-mini .chip { height: 30px; font-size: 0.75rem; padding: 0 10px; }
.tile-mini .ui-slots { margin-top: 0; }
.tile-mini .ui-list > * { background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 0.75rem; }
.tile.white { background: #fff; border: 1px solid var(--line); }
.tile.dark { background: var(--dark-2); color: var(--dark-ink); }
.tile.dark p { color: var(--dark-muted); }
.tile .eyebrow { --eyebrow: var(--c, var(--accent)); font-size: 0.875rem; }
.tile.dark .eyebrow { color: var(--c, #9dc6ff); }
.tile .h3 { margin-top: 8px; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; max-width: 520px; }
.tile-visual { margin-top: auto; padding-top: 24px; }
.tile-visual.bleed { margin-inline: calc(clamp(24px, 3vw, 36px) * -1); margin-bottom: calc(clamp(24px, 3vw, 36px) * -1); }
.tile-visual.bleed-r { margin-right: calc(clamp(24px, 3vw, 36px) * -1); margin-bottom: calc(clamp(24px, 3vw, 36px) * -1); }
.tile-visual img { border-radius: 14px 14px 0 0; }

/* Feature rows (alternating text / visual) */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .feature.flip > :first-child { order: 2; }
}
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.feature-copy .h2 { margin-top: 12px; }
.feature-copy .lead { margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checks li svg { width: 22px; height: 22px; color: var(--c, var(--accent)); margin-top: 1px; }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 28px; }
.feature-copy .link-arrow { margin-top: 24px; }
.feature-visual { position: relative; }

.feature-visual > .phone, .enter-visual > .phone { margin-inline: auto; }
.plan-callout { display: grid; gap: 32px; align-items: center; background: #fff; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
@media (min-width: 900px) { .plan-callout { grid-template-columns: 1.2fr 1fr; } }
.plan-callout .checks { margin-top: 0; }

.plan-inline { margin-top: 18px; font-size: 1rem; }
.plan-inline strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.profile-card { max-width: 360px; margin-inline: auto; background: #fff; border-radius: 28px; padding: 36px 28px; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.05); display: grid; justify-items: center; text-align: center; gap: 4px; }
.profile-links { width: 100%; display: grid; gap: 10px; margin: 22px 0 14px; }
.profile-links span { display: block; padding: 12px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 0.9375rem; }
.profile-links span:first-child { background: var(--ink); color: #fff; }
.profile-card .social span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-2); }
.profile-card .social svg { width: 18px; height: 18px; }

.downloads { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 760px; margin-inline: auto; text-align: left; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: grid; gap: 6px; justify-items: start; }
.dl-card .btn { margin-top: 14px; }
.dl-os { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 8px; }
.dl-os svg { width: 22px; height: 22px; }
.dl-alt { font-size: 0.875rem; color: var(--accent-ink); margin-top: 6px; }
.dl-alt:hover { text-decoration: underline; }
.specs-lg { font-size: 1rem; }
.specs-lg div { grid-template-columns: minmax(120px, 0.6fr) 1.4fr; padding: 16px 0; }

.book-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .book-layout { grid-template-columns: 0.9fr 1.1fr; } .book-layout > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); } }
.book-layout .lead { margin-top: 18px; }
.thanks-check { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; background: #e3f6ec; color: var(--ok); }
.thanks-check svg { width: 34px; height: 34px; stroke-width: 2.25; }

/* ---------- Numbers band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-band .stat { padding: clamp(24px, 4vw, 40px) clamp(12px, 2vw, 28px); text-align: center; }
.stats-band .stat + .stat { border-left: 1px solid var(--line); }
.stats-band .stat strong { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-band .stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 760px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band .stat:nth-child(3) { border-left: 0; }
  .stats-band .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Product tour (tabs) ---------- */
.tour-tabs { position: relative; display: flex; gap: 4px; padding: 6px; margin-inline: auto; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; transition: color 200ms ease; -webkit-tap-highlight-color: transparent; }
.tour-tabs button svg { width: 18px; height: 18px; }
.tour-tabs button[aria-selected="true"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .tour-tabs button[aria-selected="false"]:hover { color: var(--ink); } }
.tour-thumb { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }
.tour-panels { margin-top: clamp(32px, 5vw, 56px); }
.tour-panel { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .tour-panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.tour-panel[hidden] { display: none; }
.tour-copy .lead { margin-top: 16px; }
/* Switching tabs: a short cross-fade with a touch of blur so the two states read as one transformation */
.reveal-ready .tour-panel.is-entering .tour-copy, .reveal-ready .tour-panel.is-entering .tour-visual { animation: tour-in 260ms var(--ease-out) both; }
.reveal-ready .tour-panel.is-entering .tour-visual { animation-delay: 40ms; }
@keyframes tour-in { from { opacity: 0; filter: blur(4px); transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .reveal-ready .tour-panel.is-entering .tour-copy, .reveal-ready .tour-panel.is-entering .tour-visual { animation: fade 200ms ease both; } .tour-thumb { transition: none; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.quote-card { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-l); background: var(--bg-soft); }
.quote-card blockquote { margin: 0; }
.quote-lead { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.quote-body { margin-top: 16px; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--brand-700); color: #fff; font-family: var(--font-display); font-weight: 600; }
.quote-card figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; }
.quote-card figcaption span span { display: block; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Built for Romania ---------- */
.ro-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) { .ro-grid { grid-template-columns: 1fr 1.1fr; } }
.ro-section .eyebrow { --eyebrow: #82b2dd; }
.ro-list { margin: 0; display: grid; }
.ro-list > div { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 6px; }
.ro-list > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.ro-list dt { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: #fff; }
.ro-list dd { margin: 0; color: var(--dark-muted); }

/* ---------- Solution links ---------- */
.solution-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.solution-link { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease; }
.solution-link strong { display: block; font-family: var(--font-display); font-weight: 600; }
.solution-link span span { display: block; color: var(--muted); font-size: 0.9375rem; }
.solution-link .solution-arrow { width: 20px; height: 20px; margin-left: auto; flex-shrink: 0; color: var(--accent-ink); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .solution-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
  .solution-link:hover .solution-arrow { transform: translateX(3px); }
}
.solution-link:active { transform: scale(0.99); }

/* Stats / proof */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }

/* Logo / integration strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft);
}
.step p { margin-top: 8px; color: var(--ink-2); }

/* Quote */
.quote { font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }

/* ---------- AI / MCP chat mock ---------- */
.chat { background: #fff; border-radius: 22px; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.05); overflow: hidden; color: var(--ink); text-align: left; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; }
.chat-head .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #82b2dd, #4798cb); display: grid; place-items: center; color: #fff; }
.chat-head .dot svg { width: 15px; height: 15px; }
.chat-head small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-body { padding: 18px; display: grid; gap: 12px; font-size: 0.9375rem; line-height: 1.5; min-height: 340px; align-content: start; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; }
.msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { background: var(--bg-soft); border-bottom-left-radius: 6px; }
.msg.tool { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #ebf3fa; color: #2a6890; font-size: 0.8125rem; font-weight: 600; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.msg.tool svg { width: 14px; height: 14px; }
.msg table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.8125rem; }
.msg td { padding: 5px 0; border-top: 1px solid var(--line); }
.msg td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.chat-input { margin: 0 14px 14px; height: 46px; border-radius: 14px; border: 1px solid var(--line); display: flex; align-items: center; padding: 0 8px 0 16px; color: var(--muted); font-size: 0.9375rem; }
.chat-input i { margin-left: auto; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; color: #fff; font-style: normal; }
.chat-input i svg { width: 16px; height: 16px; }

/* Messages play in sequence once the chat scrolls into view (explanation) */
.reveal-ready .chat[data-play] .msg { opacity: 0; transform: translateY(8px); }
.reveal-ready .chat[data-play].is-in .msg {
  opacity: 1; transform: none;
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 520ms + 200ms);
}

.ai-hero { position: relative; overflow: hidden; }
.ai-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 15% 10%, rgba(130, 178, 221, 0.35), transparent 70%),
    radial-gradient(40% 50% at 90% 30%, rgba(71, 152, 203, 0.35), transparent 70%);
  opacity: 0.55;
}
.ai-hero > * { position: relative; }
.ai-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
.ai-clients { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ai-clients .chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: var(--dark-ink); }
.tool-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tool-list > div { background: #fff; padding: 18px 20px; }
.tool-list code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8125rem; color: #2a6890; background: #ebf3fa; padding: 2px 7px; border-radius: 6px; }
.tool-list p { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-2); }
.prompt-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.prompt-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 18px 20px; font-size: 1rem; line-height: 1.45; color: var(--dark-ink); }
.prompt-card::before { content: "“"; display: block; font-size: 2rem; line-height: 1; color: #82b2dd; height: 18px; }

.connector { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); max-width: 440px; }
.connector code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9375rem; color: #fff; }
.tools-details { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 0 clamp(20px, 3vw, 32px); }
.tools-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 650; font-size: 1.125rem; }
.tools-details summary::-webkit-details-marker { display: none; }
.tools-details summary .pm { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: transform 240ms var(--ease-out); }
.tools-details summary .pm svg { width: 14px; height: 14px; }
.tools-details[open] summary .pm { transform: rotate(45deg); }
.tools-details[open] { padding-bottom: 32px; }
.num-steps { counter-reset: n; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.num-steps li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); }
.num-steps li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 0.8125rem; }
.inline-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.05); position: relative; }
.billing-toggle button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; color: var(--muted); transition: color 200ms ease; }
.billing-toggle button[aria-pressed="true"] { color: var(--ink); }
.billing-toggle .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); transition: transform 280ms var(--ease-out), width 280ms var(--ease-out); }
.billing-toggle .save { margin-left: 6px; color: var(--ok); font-size: 0.75rem; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--brand-700); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.plan .plan-desc { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; min-height: 3em; }
.plan-price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price strong { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price > span { color: var(--muted); font-size: 0.9375rem; }
.plan-price-note { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); min-height: 1.2em; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan .checks { margin-top: 24px; gap: 10px; font-size: 0.9375rem; }
.plan .checks li { grid-template-columns: 18px 1fr; gap: 10px; }
.plan .checks li svg { width: 18px; height: 18px; margin-top: 2px; }
.plan-sep { margin-top: 22px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.plan-stack { margin-top: 16px; display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.plan-stack svg { width: 16px; height: 16px; margin-top: 1px; }
.plan-note { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
[data-price] [data-yearly] { display: none; }
[data-billing="yearly"] [data-price] [data-yearly] { display: inline; }
[data-billing="yearly"] [data-price] [data-monthly] { display: none; }

.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: rgba(255, 255, 255, 0.92); font-weight: 650; }
/* Sticky header only where the table fits; inside the mobile scroller a sticky cell leaks out and widens the page */
@media (min-width: 760px) { .compare thead th { position: sticky; top: var(--nav-h); z-index: 1; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .grp th { padding-top: 32px; font-weight: 700; color: var(--ink); border-bottom-color: var(--line-strong); }
.compare svg { width: 18px; height: 18px; margin: 0 auto; color: var(--accent); }
.compare .no { color: #c7c7cc; }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* relative: keeps the .sr-only cells inside the scroller */

.hw { display: flex; flex-direction: column; }
.hw .badge { align-self: flex-start; }
.hw-img { margin: 16px auto 8px; width: 78%; aspect-ratio: 1; display: grid; place-items: center; }
.hw-img img { max-height: 100%; width: auto; object-fit: contain; }
.hw-price { margin-top: 6px !important; }
.hw-price strong { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.specs { margin: 18px 0 0; display: grid; gap: 0; font-size: 0.875rem; }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: transform 240ms var(--ease-out), background-color 150ms ease; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq .answer > * + * { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .pm { background: #e8e8ed; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 36px;
  background: var(--dark); color: var(--dark-ink);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(71, 152, 203, 0.45), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(130, 178, 221, 0.38), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band .lead { color: var(--dark-muted); margin: 18px auto 0; max-width: 780px; }
.cta-band .btn-row { margin-top: 32px; justify-content: center; }

/* ---------- Forms / embeds ---------- */
.embed-card { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 0, 0, 0.05); overflow: hidden; min-height: 680px; }

/* ---------- Legal / prose ---------- */
.prose { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h1 { font-size: 1.75rem; } .prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.25rem; } .prose h4 { font-size: 1.0625rem; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose img { max-width: 100%; height: auto; }
.legal-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 240px 1fr; } .legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; } }
.legal-toc a { display: block; padding: 6px 0; font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); color: var(--ink-2); font-size: 0.875rem; padding-top: 64px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 280px; color: var(--muted); }
.footer h2 { font-size: 0.8125rem; font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-cols { display: contents; } }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.8125rem; }
.social { display: flex; gap: 6px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color 150ms ease, color 150ms ease; }
.social a:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.anpc { display: flex; gap: 10px; flex-wrap: wrap; }
.anpc img { height: 40px; width: auto; }

/* ---------- Motion ---------- */
/* First paint: hero copy rises in a short stagger (CSS — stays smooth while the page is still loading) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-scale { from { opacity: 0; transform: translateY(28px) scale(0.98); } }
.enter { animation: rise 700ms var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 70ms); }
.enter-visual { animation: rise-scale 1000ms var(--ease-out) backwards; animation-delay: 280ms; }

/* Scroll reveal — only hidden once JS is confirmed, so content never disappears without it */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); }
.reveal-ready [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.float-card.bob { animation: bob 7s var(--ease-in-out) infinite alternate; }
.float-card.bob.slow { animation-duration: 9s; animation-delay: -3s; }
@keyframes bob { to { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .enter, .enter-visual { animation: fade 300ms ease backwards; }
  @keyframes fade { from { opacity: 0; } }
  .reveal-ready [data-reveal] { transform: none; }
  .reveal-ready [data-reveal].is-in { transition: opacity 300ms ease; transition-delay: 0ms; }
  .reveal-ready .chat[data-play] .msg { transform: none; }
  .reveal-ready .chat[data-play].is-in .msg { transition: opacity 250ms ease; transition-delay: calc(var(--i, 0) * 150ms); }
  .float-card.bob, .marquee-track { animation: none; }
  .card-link, .card-link:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .menu-panel, .mobile-menu { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: clamp(40px, 6vw, 64px); }
.mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.hide-sm { display: initial; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* =====================================================================
   Calendly-style system: simplified cards on brand-gradient art panels,
   feature blocks with accordions, inset hero, product switcher.
   ===================================================================== */

/* ---------- Art panel: brand-blue gradient "light" behind product cards ---------- */
.art {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  min-height: clamp(380px, 42vw, 520px); padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(55% 60% at 18% 18%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(60% 70% at 88% 22%, rgba(130, 178, 221, 0.9), transparent 70%),
    radial-gradient(70% 60% at 70% 100%, rgba(199, 236, 226, 0.95), transparent 70%),
    linear-gradient(160deg, #cfe5f4 0%, #7fb6dd 45%, #4798cb 75%, #3a86b8 100%);
}
.art::after { /* fine vertical light streaks, like Calendly's panels */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.art.warm { background:
    radial-gradient(55% 60% at 20% 15%, rgba(255, 255, 255, 0.6), transparent 70%),
    radial-gradient(60% 70% at 85% 85%, rgba(130, 178, 221, 0.85), transparent 70%),
    linear-gradient(200deg, #e9f2f9 0%, #bcdcf0 50%, #8cc2e4 100%); }
.art-slide { grid-area: 1 / 1; width: 100%; display: grid; place-items: center; }
.art-slide:not(.is-active) { visibility: hidden; opacity: 0; }
.reveal-ready .art-slide.is-active.is-entering { animation: art-in 320ms var(--ease-out) both; }
@keyframes art-in { from { opacity: 0; transform: translateY(10px) scale(0.985); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { .reveal-ready .art-slide.is-active.is-entering { animation: fade 200ms ease both; } }

/* ---------- Simplified card ---------- */
.sc {
  width: min(100%, 400px); background: #fff; color: var(--ink);
  border-radius: 22px; padding: 22px 24px 24px;
  box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 24px 48px -16px rgba(11, 26, 41, 0.28);
  font-size: 0.9375rem; line-height: 1.4;
}
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sc-head b { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.sc-muted { color: var(--muted); font-size: 0.875rem; }
.sc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.sc-chip svg { width: 14px; height: 14px; }
.sc-chip.ok { background: #e3f4ea; color: #146c41; }
.sc-chip.warn { background: #fff1d6; color: #8a5000; }
.sc-chip.info { background: var(--accent-soft); color: var(--accent-ink); }
.sc-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.sc-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-sub { color: var(--muted); }
.sc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; border-top: 1px solid var(--line-strong); }
.sc-total b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; }
.sc-btn { margin-top: 16px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; }
.sc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-options span { padding: 12px; border-radius: 12px; border: 1px solid var(--line-strong); text-align: center; font-weight: 600; font-size: 0.875rem; }
.sc-options span.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--accent-soft); color: var(--accent-ink); }
.sc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sc-split div { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; }
.sc-split b { display: block; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.sc-device, .sc-done { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.sc-done { margin-top: 10px; background: #eef8f2; }
.sc-device > span:last-child, .sc-done > span:last-child { display: grid; gap: 1px; }
.sc-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-s); }
.sc-icon svg { width: 20px; height: 20px; }
.sc-ok { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.sc-ok svg { width: 16px; height: 16px; stroke-width: 2.5; }
.sc-arrow { display: grid; place-items: center; margin: 6px 0; color: var(--muted); transform: rotate(90deg); }
.sc-arrow svg { width: 18px; height: 18px; }
.sc-station { display: inline-block; margin-bottom: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.sc-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.sc-month span { height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.sc-month .h { height: 24px; font-weight: 700; font-size: 0.6875rem; }
.sc-month .av { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.sc-month .on { background: var(--brand-700); color: #fff; font-weight: 700; }
.sc-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.sc-slots span { padding: 10px 0; border-radius: 12px; border: 1px solid var(--line-strong); text-align: center; font-weight: 600; color: var(--accent-ink); }
.sc-slots span.on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.sc-event { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 11px 12px; margin-top: 8px; border-radius: 12px; background: var(--accent-soft); border-left: 3px solid var(--brand); }
.sc-event span { font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.sc-event b { font-weight: 600; }
.sc-event.busy { background: var(--bg-soft); border-left-color: #b9c2cc; }
.sc-event.busy span, .sc-event.busy b { color: var(--muted); }
.sc-bubble { padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--bg-soft); line-height: 1.5; }
.sc-stock { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sc-stock b { font-variant-numeric: tabular-nums; }
.sc-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: #e9edf1; overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.sc-bar.low i { background: #d4555f; }
.sc-flag { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fde8ea; color: #a02a35; font-size: 0.75rem; font-weight: 700; }
.sc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.sc-kpis div { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; }
.sc-kpis b { display: block; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.sc-kpis b.sc-up { color: #146c41; }
.sc-inv { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.sc-inv > span:first-child { display: grid; }
.sc-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-text { color: var(--ink-2); line-height: 1.55; }
.sc-input { display: flex; align-items: center; height: 46px; padding: 0 14px; margin-bottom: 6px; border-radius: 12px; border: 2px solid var(--brand); font-weight: 600; letter-spacing: 0.02em; }
.sc-caret { width: 2px; height: 20px; margin-left: 2px; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .sc-caret { animation: caret 1.1s steps(1) infinite; } }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Feature block with accordion ---------- */
.fx { padding-block: clamp(56px, 8vw, 104px); }
.fx-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .fx-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .fx-grid.flip > .fx-copy { order: 2; }
}
.fx-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.fx-chip svg { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--brand); color: #fff; stroke-width: 2; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 0; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; color: var(--muted); transition: color 200ms ease; }
.acc-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.acc-item.is-open .acc-btn { color: var(--ink); }
.acc-item.is-open .acc-btn svg { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .acc-btn:hover { color: var(--ink); } }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 0 18px 32px; color: var(--ink-2); line-height: 1.6; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .acc-panel { transition: none; } }

/* ---------- Inset hero ---------- */
.hero-x { padding: 12px 0 0; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--bg-soft);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px);
}
.hero-panel .hero-copy .lead { max-width: 760px; }
.switcher { margin-top: clamp(40px, 6vw, 64px); }
.switcher-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.switcher-chips button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--ink-2); transition: transform 160ms var(--ease-out), border-color 200ms ease, color 200ms ease; }
.switcher-chips button svg { width: 18px; height: 18px; }
.switcher-chips button[aria-selected="true"] { border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 3px rgba(71, 152, 203, 0.18); }
.switcher-chips button:active { transform: scale(0.97); }
.showcase { margin-top: 20px; }
.showcase-card { display: grid; gap: 28px; align-items: center; background: #fff; border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 2px rgba(11, 26, 41, 0.05), 0 30px 60px -24px rgba(11, 26, 41, 0.25); }
@media (min-width: 900px) { .showcase-card { grid-template-columns: 0.8fr 1.2fr; padding-left: clamp(28px, 4vw, 48px); } }
.showcase-card .h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; }
.showcase-card p { margin-top: 12px; color: var(--ink-2); }
.showcase-card .art { min-height: clamp(320px, 34vw, 420px); border-radius: 20px; }
.tour-panel.is-entering .showcase-card > * { animation: tour-in 260ms var(--ease-out) both; }

/* ---------- Footer as inset navy panel ---------- */
.footer { background: transparent; padding: 0 0 calc(16px + env(safe-area-inset-bottom)); }
.footer > .wrap { background: var(--dark); color: #c9d3de; border-radius: 32px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px) 28px; }
.footer h2 { color: #fff; }
.footer a { color: #c9d3de; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; } }
.footer .muted, .footer-brand p { color: #93a3b5; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); color: #93a3b5; }
.footer-tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; color: #fff; max-width: 320px; }
.footer .lang-switch { background: rgba(255, 255, 255, 0.08); }
.footer .lang-switch a { color: #93a3b5; }
.footer .lang-switch a[aria-current="true"] { background: #fff; color: var(--ink); }
.footer-logo { filter: brightness(0) invert(1); opacity: 0.95; }

/* ---------- Closing CTA (light, centred) ---------- */
.end-cta { text-align: center; padding-block: clamp(72px, 10vw, 120px); }
.end-cta .lead { margin: 18px auto 0; max-width: 780px; }
.end-cta .btn-row { margin-top: 28px; justify-content: center; }
.sc-avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.sc-big { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-big span { font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.sc-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 120px; margin: 18px 0 8px; }
.sc-chart span { display: grid; grid-template-rows: 1fr auto; gap: 6px; align-items: end; text-align: center; }
.sc-chart i { display: block; border-radius: 6px 6px 3px 3px; background: #d7e8f4; }
.sc-chart i.on { background: var(--brand); }
.sc-chart em { font-style: normal; font-size: 0.75rem; color: var(--muted); }

.anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.fx + .fx { padding-top: 0; }

.showcase .tour-panel:not([hidden]) { display: block; }
.ro-outer { padding-block: clamp(24px, 4vw, 48px); }
.ro-section { background: var(--dark); color: var(--dark-ink); border-radius: 32px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px); }
.ro-section .lead { color: var(--dark-muted); }
.sc-head { flex-wrap: wrap; row-gap: 6px; }
.sc-head b { white-space: nowrap; }
@media (max-width: 480px) { .display { font-size: 2.125rem; letter-spacing: -0.03em; } }
.ro-section .eyebrow { color: #9cc4e4; }

/* ---------- Nav v3: solid bar + mega menus (Calendly-style) ---------- */
.nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav[data-scrolled="true"] { box-shadow: 0 1px 0 var(--line); }
.nav .nav-item { position: static; }
.nav-link { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(11, 26, 41, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.nav-item[data-open="true"] .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 40px; padding-top: 32px; padding-bottom: 36px; }
.mega-h { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding-left: 12px; }
.mega-link { display: block; padding: 10px 12px; border-radius: 12px; transition: background-color 120ms ease; }
.mega-link strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.mega-link span { display: block; margin-top: 2px; font-size: 0.875rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .mega-link:hover { background: var(--bg-soft); } }
.mega-feature { display: grid; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mega-feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); } }
.mega-feature-art { height: 120px; display: grid; place-items: center; background:
    radial-gradient(60% 80% at 20% 20%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(160deg, #cfe5f4, #7fb6dd 55%, #4798cb); }
.mega-feature-art.alt { background:
    radial-gradient(60% 80% at 80% 20%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(200deg, #d7efe8, #9fd0e3 55%, #5aa3cf); }
.mega-bubble { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 0.875rem; font-weight: 600; color: var(--ink); box-shadow: 0 8px 20px -8px rgba(11, 26, 41, 0.3); }
.mega-feature-body { padding: 16px 18px 18px; display: grid; gap: 4px; align-content: start; }
.mega-feature-body strong { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.mega-feature-body span { font-size: 0.875rem; color: var(--muted); }
.mega-feature-body .tag-new { justify-self: start; }
.tag-new { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2) !important; font-size: 0.75rem !important; font-weight: 600; }

/* Language: a single quiet link, never in the main bar */
.lang-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: inherit; }
.lang-link svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .lang-link:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.m-lang { justify-self: center; margin-top: 8px; color: var(--muted); }
.m-group a { font-family: var(--font-display); font-weight: 400; }

/* =====================================================================
   Hero stage (Calendly-style). Static inset panel by default; with JS on
   desktop it pins, grows to fill the screen, then scrolling walks the modules.
   ===================================================================== */
.hero3 { padding-top: 12px; }
.hero3-panel { background: var(--bg-soft); border-radius: 32px; padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(200px, 22vw, 300px); }
.stage { --lift: clamp(170px, 19vw, 260px); position: relative; margin-top: calc(var(--lift) * -1); padding-inline: var(--gutter); }
.stage-pin { position: relative; isolation: isolate; max-width: 1200px; margin-inline: auto; border-radius: 28px; overflow: hidden; padding: clamp(40px, 6vw, 64px) clamp(14px, 3vw, 40px); display: grid; place-items: center; }
.stage-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.stage-strip {
  position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--n) * 100%);
  /* one continuous band, one hue per module: brand blue → aqua → mint → indigo */
  background: linear-gradient(90deg, #8cc3e6 0%, #4798cb 9%, #7fbde3 18%, #6fc3d4 30%, #49a8c2 37%, #9fdcd2 46%, #a8e0c9 55%, #63b8a6 62%, #9fd6c4 70%, #a9b8ec 80%, #6382d0 88%, #9fb2e8 100%);
  transform: translateX(var(--strip-x, 0));
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}
.stage-light { position: absolute; inset: 0; background:
    radial-gradient(45% 55% at 22% 18%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(40% 50% at 82% 88%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(11, 26, 41, 0.12)); }
.stage-content { width: min(100%, 1000px); }
.stage-chips { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.stage-chips button {
  position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9); color: var(--ink-2);
  box-shadow: 0 4px 12px -4px rgba(11, 26, 41, 0.2);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.stage-chips button svg { width: 22px; height: 22px; }
.stage-chips button[aria-selected="true"] { background: #fff; color: var(--brand-700); box-shadow: 0 0 0 2px var(--brand), 0 6px 16px -6px rgba(11, 26, 41, 0.35); }
.stage-chips button[aria-selected="true"]::after { /* notch pointing at the card */
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 12px; height: 12px; margin-left: -6px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.stage-chips button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .stage-chips button[aria-selected="false"]:hover { background: #fff; color: var(--ink); } }
.stage-card { background: #fffefb; border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 32px 64px -32px rgba(11, 26, 41, 0.45); }
.stage-panel { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .stage-panel { grid-template-columns: 0.8fr 1.2fr; } .stage-text { padding-left: 8px; } }
.stage-panel[hidden] { display: none; }
.stage-panel.is-entering > * { animation: tour-in 280ms var(--ease-out) both; }
.stage-panel.is-entering > .stage-inner { animation-delay: 40ms; }
.stage-title { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.stage-text p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }
.stage-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.stage-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .stage-link:hover svg { transform: translateX(3px); } }
.stage-inner { --tint: #e3eff8; border-radius: 18px; background: var(--tint); padding: clamp(18px, 3vw, 32px); display: grid; place-items: center; min-height: 330px; }
.stage-panel[data-theme="1"] .stage-inner { --tint: #ddf1f1; }
.stage-panel[data-theme="2"] .stage-inner { --tint: #e2f3ea; }
.stage-panel[data-theme="3"] .stage-inner { --tint: #e6eaf8; }
.stage-inner .sc { zoom: 0.88; box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 14px 30px -14px rgba(11, 26, 41, 0.25); }

/* Live (pinned) mode: JS drives clip-path on .stage-bg and translateY on .stage-content */
.stage.is-live { height: var(--stage-h, 380vh); padding-inline: 0; }
.stage.is-live .stage-pin { position: sticky; top: 0; height: 100vh; max-width: none; border-radius: 0; overflow: visible; padding: 0; z-index: 60; pointer-events: none; }
.stage.is-live .stage-bg { will-change: clip-path; }
.stage.is-live .stage-strip { transition: none; }
.stage.is-live .stage-content { pointer-events: auto; will-change: transform; }

.stage-veil { position: absolute; inset: 0; z-index: -2; background: var(--bg); opacity: 0; pointer-events: none; }
.stage-veil.is-solid { pointer-events: auto; }
.stage:not(.is-live) .stage-veil { display: none; }

/* ---------- Feature panels v2 (Calendly): light top → brand → deep navy, side light streaks,
   card anchored to the top edge and cropped, gentle parallax ---------- */
.fx .art {
  place-items: start center; align-content: start; overflow: hidden;
  min-height: clamp(440px, 44vw, 560px); padding: 0 clamp(24px, 5vw, 56px) 40px;
  background:
    radial-gradient(60% 45% at 25% 10%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(180deg, #d9ebf7 0%, #9cc8e6 32%, #4798cb 62%, #1d4f78 84%, #0b1a29 100%);
}
.fx .art.t-aqua { background: radial-gradient(60% 45% at 75% 10%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(180deg, #ddf2f1 0%, #9fdad8 32%, #49a8c2 62%, #1b5a73 84%, #0b1a29 100%); }
.fx .art.t-mint { background: radial-gradient(60% 45% at 25% 10%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(180deg, #e4f5ec 0%, #ade0c9 32%, #5fb3a3 62%, #1e5a5c 84%, #0b1a29 100%); }
.fx .art.t-indigo { background: radial-gradient(60% 45% at 75% 10%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(180deg, #e6eafa 0%, #b3c0ee 32%, #6382d0 62%, #2a3f7a 84%, #0b1a29 100%); }
.fx .art::after {
  inset: 22% 0 18% 0; opacity: 0.32;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 14%, transparent 16% 84%, #000 86%), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 0 14%, transparent 16% 84%, #000 86%), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.fx .art-slide { place-items: start center; }
.fx .art-slide > .sc { margin-top: -26px; padding-top: 44px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fx .art-slide > .sc { animation: card-parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes card-parallax { from { transform: translateY(56px); } to { transform: translateY(-36px); } }
  }
}

/* Cleaner cards: hairline + softer, deeper shadow */
.sc { border: 1px solid rgba(11, 26, 41, 0.06); box-shadow: 0 1px 2px rgba(11, 26, 41, 0.05), 0 18px 40px -18px rgba(11, 26, 41, 0.3); }

/* Accordion progress line (auto-advance) */
.acc-item { position: relative; }
.acc-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.acc-item.is-running::after { animation: acc-progress 7s linear forwards; }
.acc.is-paused .acc-item::after, .acc.is-off .acc-item::after, .acc.is-hovered .acc-item::after, .acc.is-focused .acc-item::after { animation-play-state: paused; }
@keyframes acc-progress { to { transform: scaleX(1); } }

/* =====================================================================
   v4 refinements: roomier rhythm, live pill buttons, wide hero panel,
   centred feature cards.
   ===================================================================== */

/* ---------- More air everywhere ---------- */
:root { --gutter: clamp(20px, 5vw, 56px); }
body { line-height: 1.65; }
.section { padding-block: clamp(96px, 12vw, 168px); }
.section-tight { padding-block: clamp(64px, 8vw, 112px); }
.section-head .lead { margin-top: 22px; }
.lead { line-height: 1.6; }
.fx { padding-block: clamp(80px, 11vw, 152px); }
.fx + .fx { padding-top: clamp(24px, 4vw, 56px); }
.fx-grid { gap: clamp(40px, 7vw, 112px); }
.fx-copy .h2 { margin-top: 20px; }
.acc { margin-top: 36px; }
.acc-btn { padding: 22px 0; }
.acc-panel p { padding-bottom: 24px; }
.stats-band .stat { padding-block: clamp(32px, 5vw, 56px); }
.quote-card { padding: clamp(32px, 5vw, 56px); }
.solution-link { padding: 24px 26px; }
.faq summary { padding: 26px 0; }
.end-cta { padding-block: clamp(96px, 13vw, 168px); }

/* ---------- Buttons: pills with depth that respond ---------- */
.btn {
  min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500;
  transition: transform 200ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn-sm { min-height: 40px; padding: 0 18px; border-radius: 999px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn-primary {
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 26, 41, 0.25), 0 8px 20px -8px rgba(11, 26, 41, 0.5);
}
.btn-outline, .btn-secondary {
  --btn-bg: #fff; --btn-border: rgba(11, 26, 41, 0.14);
  box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 4px 12px -6px rgba(11, 26, 41, 0.15);
}
.btn .btn-arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: -6px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); transition: transform 220ms var(--ease-out); }
.btn .btn-arrow svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11, 26, 41, 0.2), 0 14px 28px -10px rgba(11, 26, 41, 0.55); }
  .btn-outline:hover, .btn-secondary:hover { --btn-border: rgba(11, 26, 41, 0.28); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11, 26, 41, 0.06), 0 10px 22px -10px rgba(11, 26, 41, 0.25); }
  .btn:hover .btn-arrow { transform: translateX(3px); }
}
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 100ms; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Hero: wide grey panel, stage inside it ---------- */
.hero3 { padding: 8px 16px 0; }
.hero3-panel {
  max-width: 1720px; margin-inline: auto; background: var(--bg-soft); border-radius: 36px;
  padding: clamp(64px, 9vw, 128px) clamp(16px, 4vw, 56px) clamp(16px, 4vw, 56px);
}
.hero3-panel .hero-copy .lead { margin-top: 26px; max-width: 780px; }
.hero3-panel .btn-row { margin-top: 36px; }
.hero3-panel .hero-note { margin-top: 18px; }
.stage { margin-top: clamp(56px, 7vw, 88px); padding-inline: 0; }
.stage-pin { max-width: 1200px; padding: clamp(48px, 7vw, 80px) clamp(14px, 4vw, 56px); }
.stage-card { padding: clamp(24px, 3.5vw, 44px); }
.stage-panel { gap: clamp(28px, 4vw, 48px); }
.stage-inner { min-height: 360px; padding: clamp(20px, 3vw, 40px); }
/* Pinned: break out of the grey panel to the full viewport width */
.stage.is-live .stage-pin { width: var(--vw, 100vw); margin-left: calc(50% - var(--vw, 100vw) / 2); }

/* ---------- Feature panels: card centred, bigger, gentle drift ---------- */
.fx .art {
  place-items: center; align-content: center;
  min-height: clamp(440px, 40vw, 540px); padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(60% 50% at 25% 12%, rgba(255, 255, 255, 0.65), transparent 70%),
    linear-gradient(180deg, #dcecf7 0%, #a6cee9 38%, #5a9fd0 72%, #2f6f9f 92%, #1d4f78 100%);
}
.fx .art.t-aqua { background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #def3f2 0%, #a5dcda 38%, #5bb3c8 72%, #2e7f99 92%, #1d5f78 100%); }
.fx .art.t-mint { background: radial-gradient(60% 50% at 25% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #e5f5ed 0%, #b3e2cd 38%, #6dbcab 72%, #2f8580 92%, #1e6464 100%); }
.fx .art.t-indigo { background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #e8ecfa 0%, #bac6ef 38%, #7690d6 72%, #3d55a3 92%, #2b3f80 100%); }
.fx .art-slide { place-items: center; }
.fx .art-slide > .sc { margin-top: 0; padding-top: 24px; width: min(100%, 420px); zoom: 1.06; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes card-parallax { from { transform: translateY(18px); } to { transform: translateY(-18px); } }
  }
}
@media (min-width: 960px) { .fx-grid.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.fx-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .fx-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .fx-grid.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
@media (max-width: 560px) { .fx .art-slide > .sc { zoom: 1; } }
@media (max-width: 560px) {
  .hero3 { padding: 6px 8px 0; }
  .hero3-panel { border-radius: 28px; padding: 56px 14px 14px; }
  .stage-pin { padding: 28px 10px 12px; border-radius: 22px; }
  .stage-card { padding: 20px 16px; border-radius: 20px; }
  .stage-inner { padding: 14px 10px; min-height: 0; }
  .stage-inner .sc { zoom: 0.92; }
}
@media (max-width: 400px) { .display { font-size: 1.9rem; } }

/* Calendar days: fixed rounded squares centred in their column (stretching made them ovals) */
.sc-month { gap: 6px 4px; justify-items: center; }
.sc-month span { width: 100%; max-width: 38px; height: auto; aspect-ratio: 1; border-radius: 10px; }
.sc-month .h { aspect-ratio: auto; height: 22px; max-width: none; border-radius: 0; }
.cal { justify-items: center; }
.cal span { width: 100%; max-width: 32px; height: auto; aspect-ratio: 1; border-radius: 8px; }
.cal .cal-h { aspect-ratio: auto; height: 22px; max-width: none; border-radius: 0; }

/* ---------- Testimonial interludes: one large pull-quote between features ---------- */
.quote-interlude { padding-block: clamp(40px, 6vw, 80px); }
.qi { position: relative; max-width: 920px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px); border-radius: 32px; background: var(--bg-soft); text-align: center; }
.qi-mark { display: block; height: 48px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--brand); }
.qi blockquote { margin: 0; }
.qi-lead { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.qi-body { max-width: 640px; margin: 22px auto 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty; }
.qi figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; text-align: left; }
.qi figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; }
.qi figcaption span span { display: block; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Chat drawn like a Claude conversation ---------- */
.chat.cl { --cl-bg: #faf9f5; --cl-ink: #141413; --cl-line: #e8e6dc; --cl-user: #f0eee6; --cl-accent: #c96442;
  background: var(--cl-bg); color: var(--cl-ink); border-radius: 20px; border: 1px solid var(--cl-line);
  box-shadow: 0 1px 2px rgba(20, 20, 19, 0.06), 0 24px 48px -20px rgba(20, 20, 19, 0.3); width: min(100%, 460px); }
.cl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--cl-line); font-size: 0.875rem; }
.cl-title { font-weight: 600; color: var(--cl-ink); }
.cl-conn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--cl-line); background: #fff; font-size: 0.75rem; font-weight: 600; color: #3d3d3a; }
.cl-conn svg { width: 13px; height: 13px; }
.cl-body { padding: 20px 18px 8px; gap: 14px; min-height: 0; }
.cl-user { justify-self: end; max-width: 82%; padding: 10px 14px; border-radius: 14px; background: var(--cl-user); font-size: 0.9375rem; line-height: 1.5; }
.cl-tool { justify-self: stretch; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--cl-line); background: #fff; font-size: 0.8125rem; color: #5e5d59; }
.cl-tool svg { width: 15px; height: 15px; flex-shrink: 0; }
.cl-tool b { color: var(--cl-ink); font-weight: 600; }
.cl-tool .cl-chev { margin-left: auto; width: 14px; height: 14px; opacity: 0.6; }
.cl-ai { font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 1rem; line-height: 1.6; color: var(--cl-ink); }
.cl-ai table { width: 100%; border-collapse: collapse; margin-top: 10px; font-family: var(--font); font-size: 0.875rem; }
.cl-ai td { padding: 7px 0; border-top: 1px solid var(--cl-line); }
.cl-ai td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-composer { margin: 8px 14px 14px; padding: 12px 12px 10px 14px; border-radius: 18px; border: 1px solid var(--cl-line); background: #fff; box-shadow: 0 2px 8px -4px rgba(20, 20, 19, 0.12); }
.cl-placeholder { display: block; font-size: 0.9375rem; color: #8a8985; }
.cl-tools { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.cl-plus { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--cl-line); display: grid; place-items: center; color: #5e5d59; }
.cl-plus svg { width: 15px; height: 15px; }
.cl-model { margin-left: auto; font-size: 0.8125rem; color: #5e5d59; }
.cl-send { width: 32px; height: 32px; border-radius: 8px; background: var(--cl-accent); color: #fff; display: grid; place-items: center; }
.cl-send svg { width: 16px; height: 16px; }
/* the old chat-input/head rules don't apply to this variant */
.chat.cl .chat-head, .chat.cl .chat-input { display: none; }

/* Testimonial interlude: full-width band like the hero panel, quote centred inside */
.quote-interlude { padding: clamp(24px, 4vw, 56px) 16px; }
.qi-band {
  max-width: 1720px; margin-inline: auto; border-radius: 36px;
  padding: clamp(64px, 9vw, 128px) var(--gutter);
  background:
    radial-gradient(50% 70% at 12% 0%, rgba(71, 152, 203, 0.14), transparent 70%),
    radial-gradient(45% 70% at 92% 100%, rgba(71, 152, 203, 0.12), transparent 70%),
    var(--bg-soft);
}
.qi { max-width: 1180px; padding: 0; background: none; border-radius: 0; }
.qi-lead { font-size: clamp(1.625rem, 3.4vw, 2.75rem); line-height: 1.2; }
.qi-body { max-width: 880px; font-size: 1.125rem; }
@media (max-width: 560px) { .quote-interlude { padding-inline: 8px; } .qi-band { border-radius: 28px; } }

/* ---------- Solutions: expanding cards ---------- */
.sx { display: grid; gap: 12px; }
.sx-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  --g: linear-gradient(180deg, #e3f0f9, #9cc8e6 55%, #4798cb);
}
.sx-card.t-aqua { --g: linear-gradient(180deg, #e2f4f3, #a5dcda 55%, #49a8c2); }
.sx-card.t-mint { --g: linear-gradient(180deg, #e7f6ee, #b3e2cd 55%, #5fb3a3); }
.sx-card.t-indigo { --g: linear-gradient(180deg, #eaedfb, #bac6ef 55%, #6382d0); }
.sx-head { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 28px 28px 0; }
.sx-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 10px; }
.sx-icon svg { width: 22px; height: 22px; }
.sx-title { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.sx-sub { color: var(--muted); font-size: 0.9375rem; }
.sx-more { padding: 18px 28px 0; }
.sx-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sx-pts li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 0.9375rem; }
.sx-pts svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ok); stroke-width: 2.25; }
.sx-more .stage-link { margin-top: 20px; }
.sx-visual { margin-top: auto; padding: 28px 22px 22px; background: var(--g); position: relative; }
.sx-flow { display: grid; gap: 8px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 16px 32px -16px rgba(11, 26, 41, 0.35); }
.sx-flow span { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sx-flow svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; flex-shrink: 0; background: var(--accent-soft); color: var(--accent-ink); }

/* Desktop: a row of tall cards; the open one widens (Calendly's pattern) */
@media (min-width: 1024px) {
  .sx { display: flex; height: 540px; }
  .sx-card { flex: 1 1 0; min-width: 0; transition: flex-grow 480ms var(--ease-in-out), box-shadow 300ms ease, border-color 300ms ease; }
  .sx-card.is-open { flex-grow: 2.6; border-color: transparent; box-shadow: var(--shadow); }
  .sx-head { width: 100%; cursor: pointer; }
  .sx-card:not(.is-open) .sx-head { cursor: pointer; }
  /* fixed inner widths so text never reflows while the card animates */
  .sx-more, .sx-visual > .sx-flow { width: 380px; max-width: none; }
  .sx-more { transition: opacity 240ms ease; }
  .sx-card:not(.is-open) .sx-more { opacity: 0; visibility: hidden; transition: opacity 120ms ease, visibility 0s linear 120ms; }
  .sx-card:not(.is-open) .sx-visual { opacity: 0.55; }
  .sx-card:not(.is-open) .sx-flow { opacity: 0; transform: translateY(12px); }
  .sx-visual { transition: opacity 300ms ease; }
  .sx-flow { transition: opacity 260ms ease, transform 360ms var(--ease-out); }
  .sx-card.is-open .sx-flow { transition-delay: 140ms; }
  .sx-card:not(.is-open) .sx-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .sx-card:not(.is-open):hover { border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .sx-card, .sx-flow, .sx-more, .sx-visual { transition: none !important; }
}
/* Below desktop every card is fully open: nothing hides behind hover */
@media (max-width: 1023px) {
  .sx { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .sx-head { pointer-events: none; }
}
@media (min-width: 1024px) {
  .sx-card:not(.is-open) .sx-head { padding-inline: 22px; }
  .sx-card:not(.is-open) .sx-title { font-size: 1.0625rem; letter-spacing: -0.01em; }
  .sx-title { overflow-wrap: anywhere; }
}

/* Stage layout is decided by CSS from the first paint (".js" is set in <head>), so the page
   never changes height after load and anchor links land where they should. JS only animates. */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js .stage { height: var(--stage-h, 380vh); padding-inline: 0; }
  .js .stage .stage-pin { position: sticky; top: 0; height: 100vh; max-width: none; border-radius: 0; overflow: visible; padding: 0; z-index: 60; pointer-events: none;
    width: var(--vw, 100vw); margin-left: calc(50% - var(--vw, 100vw) / 2); }
  .js .stage .stage-content { pointer-events: auto; transform: translateY(calc(min(680px, 100vh - 80px) / 2 - 50vh)); }
  .js .stage .stage-bg { clip-path: inset(0 max(calc((100vw - 1200px) / 2), 72px) calc(100vh - min(680px, 100vh - 80px)) max(calc((100vw - 1200px) / 2), 72px) round 28px); }
  .js .stage .stage-strip { transition: none; }
  .js .stage .stage-veil { display: block; }
}
/* Phones and tablets: the same pinned stage. Heights use the small viewport (svh) so Safari's
   collapsing address bar doesn't resize it mid-scroll; JS scales the card down to fit. */
@media (max-width: 959px) and (prefers-reduced-motion: no-preference) {
  .js .stage { height: var(--stage-h, 380vh); padding-inline: 0; }
  .js .stage .stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; border-radius: 0; overflow: visible; padding: 0; z-index: 60; pointer-events: none;
    width: var(--vw, 100vw); margin-left: calc(50% - var(--vw, 100vw) / 2); }
  .js .stage .stage-content { pointer-events: auto; padding-inline: 16px; transform: translateY(-24px); }
  .js .stage .stage-bg { clip-path: inset(0 22px 48px 22px round 28px); }
  .js .stage .stage-strip { transition: none; }
  .js .stage .stage-veil { display: block; }
  .stage.is-live .stage-pin { height: 100vh; height: 100svh; }
}
.sc-tabs { display: flex; gap: 16px; margin: 2px 0 6px; border-bottom: 1px solid var(--line); }
.sc-tabs span { padding-bottom: 9px; color: var(--muted); font-weight: 600; font-size: 0.875rem; }
.sc-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.sc-dish { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sc-dish > span { display: grid; gap: 2px; }
.sc-dish b { font-weight: 600; }
.sc-tags { display: flex; gap: 4px; margin-top: 4px; font-style: normal; }
.sc-tags em { font-style: normal; font-size: 0.6875rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #fff1d6; color: #7a4700; }
.sc-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.sc-lang { width: 34px; flex-shrink: 0; font-weight: 700; font-size: 0.75rem; color: var(--accent-ink); }
.sc-qr { display: grid; justify-items: center; text-align: center; gap: 6px; width: min(100%, 300px); padding: 28px; }
.sc-qr svg { width: 180px; height: 180px; margin-bottom: 10px; }
.sc-qr b { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.sc-profile { display: grid; justify-items: center; text-align: center; gap: 4px; width: min(100%, 340px); padding: 30px 26px; }
.sc-profile b { margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.sc-links { display: grid; gap: 8px; width: 100%; margin-top: 16px; }
.sc-links span { padding: 11px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 0.875rem; }
.sc-links span.on { background: var(--ink); color: #fff; }
.sc-field { display: grid; gap: 5px; margin-bottom: 10px; font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.sc-field .sc-input { margin: 0; height: 42px; font-size: 0.9375rem; color: var(--ink); }

/* ---------- Sub-page hero (solutions / products): text + gradient card panel in the wide grey panel ---------- */
.sub-hero { padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 56px); }
.sub-hero-grid { max-width: 1280px; margin-inline: auto; display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .sub-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.sub-copy .breadcrumbs { margin-bottom: 22px; }
.sub-copy .lead { margin-top: 22px; max-width: 560px; }
.sub-copy .btn-row { margin-top: 36px; }
/* the hero panel uses the exact feature-panel treatment */
.sub-visual .art { place-items: center; align-content: center; min-height: clamp(420px, 38vw, 540px); padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(60% 50% at 25% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #dcecf7 0%, #a6cee9 38%, #5a9fd0 72%, #2f6f9f 92%, #1d4f78 100%); }
.sub-visual .art.t-aqua { background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #def3f2 0%, #a5dcda 38%, #5bb3c8 72%, #2e7f99 92%, #1d5f78 100%); }
.sub-visual .art.t-mint { background: radial-gradient(60% 50% at 25% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #e5f5ed 0%, #b3e2cd 38%, #6dbcab 72%, #2f8580 92%, #1e6464 100%); }
.sub-visual .art.t-indigo { background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #e8ecfa 0%, #bac6ef 38%, #7690d6 72%, #3d55a3 92%, #2b3f80 100%); }
.sub-visual .art::after { inset: 22% 0 18% 0; opacity: 0.32;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 14%, transparent 16% 84%, #000 86%), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 0 14%, transparent 16% 84%, #000 86%), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.sub-visual .art-slide > .sc { width: min(100%, 420px); }

/* ---------- Benefit row: three quiet columns, hairline on top ---------- */
.benefits { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefit { padding-top: 28px; border-top: 1px solid var(--line); }
.benefit .sx-icon { margin-bottom: 18px; }
.benefit p { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }

/* ---------- QR menu page ---------- */
a.sc-qr { color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.sc-qr:hover { transform: translateY(-2px); } }
.sc-qr-code { display: block; width: 190px; height: 190px; margin-bottom: 12px; }
.sc-qr-code svg { width: 100%; height: 100%; display: block; }

.sc-kcal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.sc-kcal b { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; }
.sc-label { margin-top: 12px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.sc-allergens { display: flex; gap: 10px; margin-top: 8px; }
.sc-allergens span { display: grid; justify-items: center; gap: 4px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sc-allergens i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--ring); color: var(--ink-2); font-style: normal; }
.sc-allergens svg { width: 22px; height: 22px; }
.sc-facts { margin-top: 14px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; font-size: 0.8125rem; }
.sc-facts-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 6px solid var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; }
.sc-facts .r { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); }
.sc-facts .r:last-child { border-bottom: 4px solid var(--ink); }
.sc-facts .r.b span:first-child { font-weight: 700; }
.sc-facts .r.s span:first-child { padding-left: 12px; color: var(--ink-2); }
.sc-facts .r span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

.sc-langbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); }
.sc-langbtn svg { width: 18px; height: 18px; }
.sc-langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; margin-bottom: 4px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(11, 26, 41, 0.35); }
.sc-langs span { padding: 7px 4px; border-radius: 8px; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); }
.sc-langs span.on { background: var(--ink); color: #fff; }

/* Printed-menu "before" card */
.paper { position: relative; width: min(100%, 400px); padding: 30px 30px 34px; border-radius: 6px; background: #f6efe1; color: #3a2e22;
  font-family: ui-serif, Georgia, "Times New Roman", serif; box-shadow: 0 18px 40px -18px rgba(60, 40, 20, 0.45);
  background-image: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 60%); }
.paper-title { text-align: center; font-size: 1.75rem; letter-spacing: 0.3em; font-weight: 700; }
.paper-sec { margin-top: 18px; font-style: italic; font-size: 1.0625rem; border-bottom: 1px solid rgba(58, 46, 34, 0.3); padding-bottom: 4px; }
.paper-row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 0.9375rem; }
.paper-row i { flex: 1; border-bottom: 1.5px dotted rgba(58, 46, 34, 0.45); transform: translateY(-4px); }
.paper-row s { opacity: 0.6; }
.paper-row em { font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive; color: #1f4fa3; font-style: normal; font-size: 1.125rem; }
.paper-note { margin-top: 6px; font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive; color: #1f4fa3; font-size: 0.875rem; transform: rotate(-2deg); }
.paper-stain { position: absolute; right: 26px; bottom: 30px; width: 74px; height: 74px; border-radius: 50%; border: 6px solid rgba(120, 80, 40, 0.16); filter: blur(0.5px); }

/* Before / after slider: the printed layer is clipped from the right; a range input drives it */
.ba { position: relative; display: grid; isolation: isolate; border-radius: 28px; overflow: hidden; min-height: clamp(460px, 42vw, 560px); }
.ba-side { grid-area: 1 / 1; display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); }
.ba-after { background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #dcecf7 0%, #a6cee9 38%, #5a9fd0 72%, #2f6f9f 92%, #1d4f78 100%); }
.ba-before { background: linear-gradient(180deg, #ece6da, #d9cfbd); clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 26, 41, 0.08); pointer-events: none; z-index: 2; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(11, 26, 41, 0.45); color: var(--ink); }
.ba-knob svg { width: 20px; height: 20px; }
.ba-tag { position: absolute; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; pointer-events: none; }
.ba-tag.l { left: 18px; background: rgba(58, 46, 34, 0.85); color: #fff; }
.ba-tag.r { right: 18px; background: #fff; color: var(--ink); }
.ba input[type="range"] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba input[type="range"]:focus-visible + .ba-line .ba-knob { box-shadow: 0 0 0 3px var(--brand), 0 6px 18px -6px rgba(11, 26, 41, 0.45); }

/* Printed vs inSmart comparison */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.vs th, .vs td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; border-bottom-color: var(--line-strong); }
.vs thead th:last-child { color: var(--accent-ink); }
.vs tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.vs td { color: var(--ink-2); }
.vs td.win { color: var(--ink); font-weight: 600; background: rgba(71, 152, 203, 0.06); }
.vs td svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
.vs td.lose svg { color: #c2403f; }
.vs td.win svg { color: var(--ok); stroke-width: 2.4; }

/* Scan & try band */
.scan-band { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .scan-band { grid-template-columns: 1fr auto; } }
.scan-band .sc-qr { width: auto; padding: 30px 34px; }
.fx .art.warm { min-height: 0; }
.ba-before .paper { transform: rotate(-2deg); }

/* ---------- Phone replicas of the public menu (me.insmart.ro) ---------- */
.ph2 { position: relative; width: 300px; max-width: 100%; border-radius: 44px; padding: 10px; background: #0d0d0d; box-shadow: inset 0 0 0 2px #2c2c2e, 0 30px 60px -24px rgba(11, 26, 41, 0.55); }
.ph2-notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #0d0d0d; z-index: 5; }
.pm2-screen { position: relative; overflow: hidden; height: 560px; border-radius: 34px; background: #f1f1f1; color: #111; font-family: var(--font-display); font-size: 12px; }
.pm2-top { display: flex; justify-content: space-between; align-items: center; padding: 40px 14px 0; }
.pm2-logo-sm { width: 30px; height: 30px; border-radius: 50%; background: #111; color: #f5c518; display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.pm2-icons { display: flex; gap: 6px; }
.pm2-ic { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: grid; place-items: center; }
.pm2-ic.on { background: #e6e6e6; }
.pm2-ic svg { width: 16px; height: 16px; }
.pm2-brand { display: grid; justify-items: center; gap: 6px; padding: 4px 0 10px; }
.pm2-logo { width: 64px; height: 64px; border-radius: 50%; background: #111; color: #f5c518; display: grid; place-items: center; font-weight: 700; font-size: 20px; box-shadow: 0 0 0 3px #f5c518 inset; }
.pm2-brand b { font-size: 17px; font-weight: 600; }
.pm2-cats { display: flex; gap: 6px; padding: 0 12px 10px; border-bottom: 1px solid #ddd; white-space: nowrap; overflow: hidden; }
.pm2-cats span { padding: 7px 14px; border-radius: 999px; border: 1px solid #ccc; background: #fff; font-weight: 500; }
.pm2-cats .on { background: #111; color: #fff; border-color: #111; }
.pm2-search { width: 31px; height: 31px; padding: 0 !important; display: grid; place-items: center; border-radius: 50%; border-color: #111 !important; flex-shrink: 0; }
.pm2-search svg { width: 14px; height: 14px; }
.pm2-h { padding: 12px 14px 6px; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.pm2-item { display: grid; grid-template-columns: 78px 1fr 24px; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid #e2e2e2; }
.pm2-img { width: 78px; height: 78px; border-radius: 14px; background: var(--t); display: grid; place-items: center; }
.pm2-img svg { width: 52px; height: 52px; }
.pm2-txt { display: grid; gap: 2px; min-width: 0; }
.pm2-txt b { font-weight: 600; font-size: 13px; }
.pm2-txt small { color: #555; font-family: var(--font); font-size: 11px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pm2-txt em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 2px; }
.pm2-add { width: 24px; height: 24px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; }
.pm2-add svg { width: 14px; height: 14px; stroke-width: 2.5; }
.pm2-pop { position: absolute; top: 80px; right: 14px; width: 150px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35); display: grid; gap: 1px; z-index: 4; }
.pm2-pop span { padding: 8px 12px; border-radius: 10px; color: #555; font-size: 12px; }
.pm2-pop .on { background: #111; color: #fff; font-weight: 700; }

.pm2-dim::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 1; }
.pm2-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: #fff; border-radius: 22px 22px 0 0; padding: 16px 16px 18px; }
.pm2-x { position: absolute; top: 12px; left: 14px; }
.pm2-x svg { width: 16px; height: 16px; }
.pm2-sheet-t { text-align: center; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.pm2-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; font-family: var(--font); font-size: 12px; }
.pm2-line.tot { border-bottom: 0; font-family: var(--font-display); font-size: 14px; }
.pm2-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pm2-b { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 16px; background: #111; color: #fff; font-weight: 500; font-size: 11.5px; white-space: nowrap; }
.pm2-b.alt { background: #fff; color: #111; border: 1.5px solid #111; }
.pm2-b svg { width: 14px; height: 14px; }
.pm2-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.pm2-pay span { padding: 8px; border-radius: 12px; border: 1px solid #ddd; text-align: center; font-size: 11.5px; }
.pm2-pay .on { border-color: #111; box-shadow: inset 0 0 0 1px #111; font-weight: 600; }
.pm2-toast { position: absolute; top: 46px; left: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #2e7d32; color: #fff; font-weight: 500; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.pm2-toast svg { width: 16px; height: 16px; stroke-width: 2.5; }

.pm2-profile { background: #000; color: #fff; display: grid; justify-items: center; align-content: start; text-align: center; padding: 40px 20px 0; }
.pm2-share { position: absolute; top: 40px; right: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; }
.pm2-share svg { width: 14px; height: 14px; }
.pm2-plogo { width: 96px; height: 96px; margin-top: 4px; border-radius: 50%; background: #000; box-shadow: 0 0 0 7px #fff inset; display: grid; place-items: center; align-content: center; }
.pm2-plogo b { font-size: 26px; font-weight: 700; letter-spacing: 0.04em; }
.pm2-plogo small { font-size: 8px; opacity: 0.7; font-family: var(--font); }
.pm2-pname { margin-top: 12px; font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.pm2-pmeta { margin-top: 4px; font-size: 13px; }
.pm2-paddr { margin-top: 4px; font-size: 11px; font-family: var(--font); opacity: 0.9; line-height: 1.35; }
.pm2-plinks { width: 100%; display: grid; gap: 8px; margin-top: 16px; }
.pm2-plinks span { padding: 10px; border-radius: 999px; border: 1px solid #fff; font-size: 12px; letter-spacing: 0.03em; }
.pm2-social { display: flex; gap: 16px; margin-top: 16px; }
.pm2-social svg { width: 20px; height: 20px; }
.pm2-powered { margin-top: 14px; font-size: 10px; font-family: var(--font); }

/* Import from a photo: printed menu → AI → app */
.imp { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 4px; }
.imp-photo { position: relative; width: 190px; }
.imp-photo .paper { width: 220px; transform: rotate(-5deg) scale(0.82); transform-origin: left center; padding: 22px 20px 26px; font-size: 13px; }
.imp-cam { position: absolute; right: -8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--accent-ink); }
.imp-cam svg { width: 18px; height: 18px; }
.imp-arrow { display: grid; place-items: center; }
.imp-arrow .sc-chip { background: #fff; box-shadow: var(--shadow-s); }
.imp .ph2 { width: 250px; }
.imp .pm2-screen { height: 480px; }
@media (max-width: 760px) {
  .imp { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .imp-photo { width: auto; } .imp-photo .paper { transform: rotate(-3deg) scale(0.9); transform-origin: center; }
}
.fx .art-slide > .ph2, .fx .art-slide > .imp { margin: 0; }
.fx .art:has(.ph2) { min-height: 0; padding-block: clamp(32px, 4vw, 48px); }
.fx .art-slide:has(.ph2) > .ph2 { zoom: 1; }
.pm2-profile { height: 600px; }
.imp { grid-template-columns: 150px auto 230px; gap: 0; }
.imp-photo { width: 150px; }
.imp-photo .paper { transform: rotate(-5deg) scale(0.68); }
.imp .ph2 { width: 230px; }
.imp .pm2-screen { height: 470px; }
.imp-arrow { position: relative; z-index: 2; margin-inline: -18px; }
@media (max-width: 560px) { .ph2 { width: 270px; } .pm2-screen { height: 520px; } .imp { grid-template-columns: 1fr; } }
.imp .pm2-item { grid-template-columns: 58px 1fr 22px; gap: 8px; padding: 8px 10px; }
.imp .pm2-img { width: 58px; height: 58px; }
.imp .pm2-img svg { width: 40px; height: 40px; }

/* ---------- /ai page ---------- */
.conn-label { font-family: var(--font-display); font-weight: 500; font-size: 0.875rem; margin-bottom: 8px; }
.conn { display: flex; align-items: center; gap: 8px; max-width: 480px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-s); }
.conn code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9375rem; color: var(--ink); }
.conn .btn svg { width: 15px; height: 15px; }
.inline-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; padding: 2px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.tier .h4 { margin-top: 16px; }
.tier p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; font-size: 0.9375rem; }
.tier .tier-plus { font-weight: 700; color: var(--accent-ink); font-size: 0.8125rem; }
.photo-flows { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.flow { background: var(--bg-soft); border-radius: 24px; padding: 28px; }
.flow-mark { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 0.875rem; }
.flow-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.flow-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.flow-steps li > span { width: 32px; height: 32px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-s); }
.flow-steps li > span svg { width: 16px; height: 16px; }
.flow-visual { display: grid; place-items: center; background: radial-gradient(60% 50% at 75% 12%, rgba(255, 255, 255, 0.65), transparent 70%), linear-gradient(180deg, #faf3ea, #f0e2cf 60%, #e3c9a8); }
.picker { width: 100%; max-width: 300px; background: #faf9f5; border: 1px solid #e8e6dc; border-radius: 18px; padding: 16px; box-shadow: 0 18px 40px -18px rgba(20, 20, 19, 0.35); }
.picker-t { font-weight: 600; font-size: 0.875rem; color: #141413; }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.picker-grid span { aspect-ratio: 1; border-radius: 10px; background: var(--t, #efe7dc); display: grid; place-items: center; border: 2px solid transparent; }
.picker-grid span.on { border-color: #c96442; }
.picker-grid svg { width: 70%; height: 70%; }
.picker-crop { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.crop-box { width: 54px; height: 54px; border-radius: 8px; background: #efe7dc; display: grid; place-items: center; outline: 2px dashed #c96442; outline-offset: 2px; }
.crop-box svg { width: 40px; height: 40px; }
.picker .sc-btn { background: #c96442; height: 40px; }
.photo-notes { display: grid; gap: 12px; max-width: 860px; }
.photo-notes p, .tip { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.6; }
.photo-notes svg, .tip svg { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-ink); }
.photo-notes code { font-family: ui-monospace, Menlo, monospace; font-size: 0.875em; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); }
.tip { max-width: 860px; margin-inline: auto; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.prompts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prompt { display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); text-align: left; font-size: 0.9375rem; color: var(--ink); box-shadow: var(--shadow-s); transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease; }
.prompt-copy { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.prompt-copy svg { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) { .prompt:hover { border-color: var(--brand); } .prompt:hover .prompt-copy { color: var(--accent-ink); } }
.prompt:active { transform: scale(0.98); }
.prompt.is-copied { border-color: var(--ok); background: #eef8f2; }
.prompt.is-copied .prompt-copy { background: var(--ok); color: #fff; }
#safety .checks, #privacy .checks { margin-top: 18px; }
#safety .h3, #privacy .h3 { margin-top: 16px; }
.sub-visual .art.warm { min-height: 0; }
.picker .sc-btn { background: #a8482a; }
.sub-hero-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .sub-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.conn .btn { flex-shrink: 0; }
.btn-row .btn { white-space: normal; text-align: center; }
.ba .ph2 { width: 270px; }
.ba .pm2-profile { height: 540px; }
.ba-side { align-content: center; }
.ba-side { isolation: isolate; }
.ba-before { z-index: 1; }
.ba .ph2 { width: 250px; }
.ba .pm2-profile { height: 500px; padding-top: 36px; }
.ba .pm2-plogo { width: 84px; height: 84px; }
.ba .pm2-pname { font-size: 20px; margin-top: 10px; }
.ba .pm2-plinks { gap: 7px; margin-top: 12px; }
.ba .pm2-plinks span { padding: 8px; }
.ba .pm2-social { margin-top: 12px; }
.ba .pm2-powered { margin-top: 10px; }
.ba .pm2-profile { height: 530px; }
.ba .ph2 { width: 310px; }
.ba .pm2-profile { height: 560px; }
.ba .pm2-plinks span { padding: 10px; }
@media (max-width: 560px) { .ba .ph2 { width: 270px; } .ba .pm2-profile { height: 520px; } }

/* All Brandul Tău phones share the slider's look: 310px wide, black logo with a white ring */
.ph2 { width: 310px; }
.pm2-screen { height: 580px; }
.pm2-logo { width: 72px; height: 72px; background: #000; color: #fff; font-size: 22px; box-shadow: 0 0 0 4px #fff inset, 0 0 0 1px #000; }
.pm2-logo-sm { background: #000; color: #fff; box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px #000; }
.pm2-profile { height: 600px; }
.imp { grid-template-columns: 150px auto 270px; }
.imp .ph2 { width: 270px; }
.imp .pm2-screen { height: 520px; }
@media (max-width: 560px) { .ph2, .imp .ph2 { width: 280px; } .pm2-screen { height: 540px; } }

/* ---------- Real demo assets in the phone replicas ---------- */
.pm2-logo, .pm2-logo-sm, .pm2-plogo { overflow: hidden; padding: 0; }
.pm2-logo img, .pm2-logo-sm img, .pm2-plogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm2-logo { width: 104px; height: 104px; box-shadow: none; }
.pm2-plogo { box-shadow: 0 0 0 6px #fff; }
.pm2-bname { font-weight: 800; font-size: 19px; letter-spacing: 0.01em; }
.pm2-cats span { white-space: nowrap; }
.pm2-item.photo { grid-template-columns: 86px 1fr; }
.pm2-item.photo .pm2-img { width: 86px; height: 86px; overflow: hidden; background: #ddd; }
.pm2-item.photo .pm2-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm2-item em s { font-weight: 400; color: #777; font-size: 11px; }
.pm2-item em i { font-style: normal; color: #d32f2f; font-size: 11px; font-weight: 600; }
/* the live public menu is white, as on me.insmart.ro */
.pm2-live { background: #fff; }
.pm2-live .pm2-cats { border-bottom-color: #e5e5e5; }
.pm2-live .pm2-cats span { background: #fff; }
.pm2-live .pm2-cats .on { background: #111; }

/* QR Menu Plus phone bits */
.pm2-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 12px 16px; background: #fff; border-top: 1px solid #e5e5e5; }
.pm2-b.pressed { box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.18); }
.pm2-label { margin: 12px 0 6px; font-size: 11px; font-weight: 600; color: #555; }
.pm2-tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pm2-tips span { padding: 8px 4px; border-radius: 12px; border: 1px solid #ddd; text-align: center; font-size: 11.5px; background: #fff; }
.pm2-tips .on { border-color: #111; box-shadow: inset 0 0 0 1px #111; font-weight: 600; }
.pm2-b.full { margin-top: 12px; width: 100%; }
.pm2-book { padding: 0 16px; }
.pm2-book .pm2-brand b { font-size: 16px; }
.pm2-book .pm2-logo { width: 72px; height: 72px; }
.pm2-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pm2-days span { display: grid; justify-items: center; padding: 8px 4px; border-radius: 12px; border: 1px solid #ddd; background: #fff; font-weight: 700; font-size: 15px; }
.pm2-days small { font-weight: 500; font-size: 10px; color: #666; }
.pm2-days .on { background: #111; color: #fff; border-color: #111; }
.pm2-days .on small { color: #ddd; }
.pm2-note { margin-top: 10px; text-align: center; font-family: var(--font); font-size: 11px; color: #666; }

/* POS floor plan */
.pos-floor { width: min(100%, 460px); background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 24px 48px -20px rgba(11, 26, 41, 0.35); font-size: 0.875rem; }
.pf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pf-head b { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; }
.pf-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-soft); font-size: 0.75rem; font-weight: 600; }
.pf-tabs span { padding: 5px 10px; border-radius: 8px; color: var(--muted); }
.pf-tabs .on { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pf-t { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; border: 1.5px solid var(--line); background: #fafafa; }
.pf-t b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.pf-t span { display: inline-flex; align-items: center; gap: 4px; font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.pf-t span svg { width: 12px; height: 12px; }
.pf-t.busy { background: var(--accent-soft); border-color: #bcd8ec; }
.pf-t.busy span { color: var(--accent-ink); }
.pf-t.call { background: #fff3e0; border-color: #f0a33a; }
.pf-t.call span { color: #8a4b00; }
.pf-t.bill { background: #e8f5ee; border-color: #3aa36b; }
.pf-t.bill span { color: #146c41; }
@media (prefers-reduced-motion: no-preference) {
  .pf-t.call, .pf-t.bill { animation: pf-pulse 1.8s var(--ease-in-out) infinite; }
  .pf-t.bill { animation-delay: -0.9s; }
}
@keyframes pf-pulse { 50% { box-shadow: 0 0 0 6px rgba(240, 163, 58, 0.18); } }
.pf-alerts { display: grid; gap: 8px; margin-top: 14px; }
.pf-alert { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.pf-alert svg { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: #fff; }
.pf-alert span { display: grid; }
.pf-alert small { color: var(--muted); font-size: 0.75rem; }
.pf-alert.call { background: #fff3e0; } .pf-alert.call svg { color: #b26a00; }
.pf-alert.bill { background: #e8f5ee; } .pf-alert.bill svg { color: #146c41; }

/* ---------- Module-page cards ---------- */
.sc-person { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.sc-person b { font-weight: 600; }
.sc-person .sc-chip, .sc-person .sc-muted, .sc-person .sc-right { margin-left: auto; }
.sc-right { display: grid; justify-items: end; }
.sc-avatar.sm { width: 32px; height: 32px; font-size: 0.75rem; }
.sc-dot { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #e3f4ea; }
.sc-device > .sc-dot { align-self: center; }
.sc-qrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-qrs span { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.sc-qrs i { display: block; width: 64px; height: 64px; }
.sc-qrs svg { width: 100%; height: 100%; }
.sc-btn svg { width: 16px; height: 16px; margin-right: 6px; display: inline-block; vertical-align: -3px; }
.sc-progress { height: 8px; margin: 8px 0 4px; border-radius: 999px; background: #e9edf1; overflow: hidden; }
.sc-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.sc-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.sc-nps span { padding: 7px 0; text-align: center; border-radius: 6px; background: var(--bg-soft); font-size: 0.75rem; font-weight: 600; }
.sc-nps .on { background: var(--brand-700); color: #fff; }
.sc-route { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-weight: 600; }
.sc-route span { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.sc-route svg { width: 18px; height: 18px; color: var(--muted); }
.sc-clock { display: grid; justify-items: center; text-align: center; gap: 4px; width: min(100%, 340px); padding: 30px 26px; }
.sc-badge { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 10px; }
.sc-badge svg { width: 42px; height: 42px; }
.sc-clock > b { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.sc-clock .sc-done { margin-top: 16px; text-align: left; }
.sc-att { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; padding: 6px 0; font-size: 0.8125rem; font-weight: 600; }
.sc-att-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; }
.sc-att-days i { height: 22px; display: grid; place-items: center; border-radius: 4px; font-style: normal; font-size: 0.625rem; font-weight: 700; background: #f1f2f4; color: var(--muted); }
.sc-att-days i.w { background: var(--accent-soft); color: var(--accent-ink); }
.sc-att-days i.ot { background: #fff1d6; color: #7a4700; }
.sc-att-days i.n { background: #e6eaf8; color: #2b3f80; }
.sc-att-days i.co { background: #e3f4ea; color: #146c41; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 0.6875rem; color: var(--muted); }
.sc-legend span { display: inline-flex; align-items: center; gap: 4px; }
.sc-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent-soft); }
.sc-legend i.ot { background: #fff1d6; } .sc-legend i.n { background: #e6eaf8; } .sc-legend i.co { background: #e3f4ea; }
/* mobile app screens */
.mob { background: #f6f7f9; padding: 0 12px; }
.mob-top { display: flex; justify-content: space-between; align-items: center; padding: 46px 4px 12px; }
.mob-top b { font-size: 18px; font-weight: 600; }
.mob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mob-grid .pf-t { aspect-ratio: 1.3; border-radius: 14px; }
.mob-card { background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); font-family: var(--font); }
.mob-card p { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.mob-card b { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.mob-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.mob-nav { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.3); }
.mob-nav span { display: grid; place-items: center; color: #9aa0a6; }
.mob-nav span.on { color: var(--ink); }
.mob-nav svg { width: 20px; height: 20px; }

/* Integrations hub */
.integ { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.integ-card { display: flex; flex-direction: column; gap: 10px; min-height: 280px; padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease; }
.integ-logo { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,26,41,.06), 0 6px 16px -8px rgba(11,26,41,.18); margin-bottom: 14px; }
.integ-logo img { width: 40px; height: 40px; object-fit: contain; }
.integ-name { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.integ-text { color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 46ch; }
.integ-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.integ-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--accent-ink); }
.integ-more svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .integ-card:hover .integ-more svg { transform: translateX(3px); } }
@media (max-width: 600px) { .integ-card { padding: 24px; min-height: 0; } }
@media (hover: hover) and (pointer: fine) { .integ-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; } }
.mega-inner.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.modules { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.module-col .mega-h { padding-left: 0; }
.module-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; margin-inline: -14px; border-radius: 16px; transition: background-color 150ms ease; }
.module-link .sx-icon { width: 40px; height: 40px; margin: 0; flex-shrink: 0; background: #fff; }
.module-link strong { display: block; font-family: var(--font-display); font-weight: 500; }
.module-link span span { display: block; margin-top: 2px; font-size: 0.875rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .module-link:hover { background: #fff; } }

/* Centered subtitles: even out the lines so none ends on a lone word. */
.end-cta .lead, .cta-band .lead, .section-head.center .lead, .hero-copy .lead, .sub-copy.center .lead, .qi-body { text-wrap: balance; }

/* ---------- Nav v4: taller bar, roomier links, full-size pill buttons ---------- */
:root { --nav-h: 80px; }
.nav { background: rgba(251, 250, 247, 0.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav[data-scrolled="true"] { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(11, 26, 41, 0.25); }
.nav-inner { gap: 40px; }
.nav-logo img { height: 28px; }
.nav-links { gap: 4px; }
.nav-link { height: 44px; padding: 0 16px; font-size: 1rem; }
.nav-actions { gap: 12px; }
.nav-actions > .nav-link { padding: 0 18px; }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 1023px) { :root { --nav-h: 68px; } .nav-inner { gap: 16px; } }
@media (max-width: 480px) {
  .nav-logo img { height: 22px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
}
.nav:has(.nav-item[data-open="true"]) { background: var(--bg); }

/* ---------- Book a demo: centered head, one booking card ---------- */
.book-head { max-width: 820px; margin-inline: auto; text-align: center; }
.book-head .lead { margin: 18px auto 0; max-width: 640px; text-wrap: balance; }
.book-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.book-points li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }
.book-points li strong { color: var(--ink); font-weight: 600; }
.book-points svg { width: 18px; height: 18px; color: var(--accent-ink); flex-shrink: 0; }
.book-card { max-width: 960px; margin: clamp(40px, 6vw, 64px) auto 0; padding: 8px; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 26, 41, 0.06), 0 2px 4px rgba(11, 26, 41, 0.04), 0 40px 80px -32px rgba(11, 26, 41, 0.28); }
.book-card-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px 18px; }
.book-card-head img { width: 40px; height: 40px; border-radius: 12px; }
.book-card-head strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.book-card-head span { display: block; color: var(--muted); font-size: 0.875rem; }
.book-card-frame { border-radius: 24px; overflow: hidden; background: #f1f1f1; isolation: isolate; }
.book-card-frame .insmart-inline-widget { display: block; }
.book-card-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .book-card { padding: 6px; border-radius: 26px; } .book-card-frame { border-radius: 20px; } .book-points li { font-size: 0.875rem; } }
@media (max-width: 560px) {
  .book-points { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .book-points li { border-radius: 16px; text-align: left; align-items: flex-start; }
  .book-points svg { margin-top: 2px; }
}
@media (max-width: 560px) {
  .book-card { margin-inline: calc(6px - var(--gutter)); padding: 0; border-radius: 26px; overflow: hidden; }
  .book-card-head { padding: 16px 18px 14px; }
  .book-card-frame { border-radius: 0; }
}

/* ---------- Ad landing pages (/lp/*) ---------- */
.nav-lp .nav-actions { margin-left: auto; }
.footer-lp { padding-top: 0; }
.footer-lp > .wrap { padding-top: 8px; }
.footer-lp .footer-bottom { margin-top: 0; }
.footer-lp a { color: inherit; }
.footer-lp-links { display: inline-flex; align-items: center; gap: 18px; }
.lp-proof { margin-top: 22px; font-size: 0.9375rem; color: var(--ink-2); }
.lp-pains { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.lp-pain { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.lp-pain-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fdecea; color: #b42318; margin-bottom: 16px; }
.lp-pain-icon svg { width: 22px; height: 22px; }
.lp-pain p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: none; }
.lp-steps li { padding: 28px; border-radius: 24px; background: var(--bg-soft); }
.lp-steps li::before { content: none; }
.lp-step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; margin-bottom: 16px; }
.lp-steps p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.lp-offer { max-width: 1040px; margin-inline: auto; display: grid; gap: 40px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgba(11, 26, 41, 0.35); }
@media (min-width: 860px) { .lp-offer { grid-template-columns: 1fr 1fr; align-items: center; } }
.lp-price { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.lp-price strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.75rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.lp-price span { color: var(--muted); }
.lp-offer .muted { margin-top: 12px; max-width: 40ch; }
.lp-offer .btn-row { justify-content: flex-start; }

/* Aha demos */
.aha { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; justify-items: center; max-width: 1040px; margin-inline: auto; }
@media (min-width: 860px) { .aha { grid-template-columns: 1fr 1fr; } }
.aha-panel { width: 100%; max-width: 460px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11, 26, 41, 0.35); }
.aha-label { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.aha-hint { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent-ink); font-weight: 600; font-size: 0.9375rem; }
.aha-hint svg { width: 16px; height: 16px; flex-shrink: 0; }
.aha-screen { min-height: 460px; border-radius: 34px; background: #fff; padding: 44px 16px 20px; }
.aha-ph-h { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #111; }
.aha-ph-sub { margin-top: 4px; color: #6b7280; font-size: 0.9375rem; }
.aha-ph-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; margin-top: 8px; border-radius: 14px; background: #f6f5f2; font-size: 0.9375rem; color: #111; }
.aha-ph-row b { font-weight: 700; }
.aha-ph-row.is-live { box-shadow: inset 0 0 0 1.5px var(--brand); background: #eef6fb; }
.aha-ph-row.is-flash { animation: ahaFlash 700ms var(--ease-out); }
.aha-ph-live { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: #2f7d4f; font-weight: 600; }
@keyframes ahaFlash { 0% { transform: scale(1); background: #d6ecf9; } 35% { transform: scale(1.04); } 100% { transform: scale(1); } }

.aha-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; }
.aha-input { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--brand); box-shadow: 0 0 0 4px rgba(71, 152, 203, 0.15); }
.aha-input input { width: 4ch; border: 0; outline: 0; background: none; font: inherit; font-weight: 600; text-align: right; color: var(--ink); -moz-appearance: textfield; }
.aha-input input::-webkit-inner-spin-button { opacity: 1; }
.aha-input em { font-style: normal; color: var(--muted); }
.aha-scan { margin-top: 24px; }
.aha-scan .sc-qr { box-shadow: none; border: 1px solid var(--line); }

.aha-tap { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 16px; border-radius: 16px; background: #111; color: #fff; font-weight: 600; font-size: 1rem; transition: transform 120ms var(--ease-out); }
.aha-tap + .aha-tap { background: #f1efe9; color: #111; }
.aha-tap svg { width: 20px; height: 20px; }
.aha-tap:active { transform: scale(0.97); }
.aha-tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.aha-table { aspect-ratio: 1; border-radius: 16px; background: var(--bg-soft); display: grid; place-content: center; text-align: center; gap: 2px; transition: background-color 200ms ease, box-shadow 200ms ease; }
.aha-table b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.aha-table span { font-size: 0.6875rem; color: var(--muted); line-height: 1.2; padding-inline: 4px; }
.aha-table.busy { background: #eef6fb; }
.aha-table.call { background: #fff4e5; box-shadow: inset 0 0 0 2px #f5a623; }
.aha-table.call span { color: #9a5b00; font-weight: 600; }
.aha-table.is-ping { animation: ahaPing 900ms var(--ease-out); }
@keyframes ahaPing { 0% { box-shadow: inset 0 0 0 2px #f5a623, 0 0 0 0 rgba(245, 166, 35, 0.55); } 100% { box-shadow: inset 0 0 0 2px #f5a623, 0 0 0 18px rgba(245, 166, 35, 0); } }
.aha-alert { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9375rem; }
.aha-alert.is-in { animation: ahaIn 320ms var(--ease-out); }
@keyframes ahaIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.aha-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.aha-prod { display: grid; gap: 4px; text-align: left; padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid transparent; transition: transform 120ms var(--ease-out), border-color 150ms ease; }
.aha-prod span { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.aha-prod b { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .aha-prod:hover { border-color: var(--line-strong); } }
.aha-prod.is-tap { animation: ahaTap 260ms var(--ease-out); }
@keyframes ahaTap { 40% { transform: scale(0.95); background: #e3f0f8; } }
.aha-pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.aha-pay .btn svg { width: 18px; height: 18px; }
.aha-pay .btn:disabled { opacity: 0.45; pointer-events: none; }
.aha-taps { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.aha-taps b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.aha-receipt-wrap { width: 100%; max-width: 320px; }
.aha-receipt { padding: 22px 20px 26px; background: #fff; border-radius: 6px 6px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8125rem; color: #222; box-shadow: 0 30px 50px -30px rgba(11, 26, 41, 0.45); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 8px 100%, #0000 98%, #000) bottom / 16px 8px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 8px 100%, #0000 98%, #000) bottom / 16px 8px repeat-x; min-height: 260px; }
.aha-r-h { text-align: center; font-weight: 700; padding-bottom: 12px; border-bottom: 1px dashed #bbb; margin-bottom: 10px; }
.aha-r-h small { font-weight: 400; color: #666; }
.aha-r-empty { color: #999; text-align: center; padding: 30px 0; }
.aha-r-line { display: flex; justify-content: space-between; padding: 3px 0; }
.aha-r-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #bbb; font-weight: 700; font-size: 0.9375rem; }
.aha-r-foot { margin-top: 14px; text-align: center; letter-spacing: 0.08em; color: #2f7d4f; font-weight: 700; }
.aha-receipt.is-print { animation: ahaPrint 600ms var(--ease-out); }
@keyframes ahaPrint { from { transform: translateY(-14px); clip-path: inset(0 0 60% 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
.aha-r-msg { margin-top: 18px; font-weight: 600; color: var(--ink); text-align: center; }
@media (prefers-reduced-motion: reduce) { .aha-ph-row.is-flash, .aha-table.is-ping, .aha-alert.is-in, .aha-prod.is-tap, .aha-receipt.is-print { animation: none; } }
.nav-lp .lp-short { display: none; }
@media (max-width: 560px) { .nav-lp .lp-long { display: none; } .nav-lp .lp-short { display: inline; } }

/* QR aha v2: controls + real-menu replica */
.aha-ctl { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; margin-top: 14px; }
.aha-ctl-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; }
.aha-ctl .aha-field { margin-top: 0; font-size: 1rem; min-height: 60px; }
.aha-langs { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.aha-langs button { min-width: 38px; height: 32px; border-radius: 9px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.aha-langs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.aha-switch { cursor: pointer; }
.aha-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aha-switch i { position: relative; width: 46px; height: 28px; border-radius: 999px; background: #d5d8dc; transition: background-color 200ms ease; flex-shrink: 0; }
.aha-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 220ms var(--ease-out); }
.aha-switch input:checked + i { background: var(--brand); }
.aha-switch input:checked + i::after { transform: translateX(18px); }
.aha-switch input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 3px; }
a.aha-scan { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px; border-radius: 18px; border: 1px dashed var(--line-strong); color: inherit; }
.aha-scan-qr { flex-shrink: 0; width: 84px; height: 84px; }
.aha-scan-qr svg { width: 100%; height: 100%; display: block; }
.aha-scan b { display: block; font-family: var(--font-display); font-weight: 600; }
.aha-scan small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.aha-menu { height: 600px; }
.aha-menu .pm2-item { transition: opacity 200ms ease; }
.aha-menu .pm2-item.is-flash { animation: ahaFlash 700ms var(--ease-out); }
.aha-menu .pm2-item.is-sold { opacity: 0.45; }
.aha-menu .pm2-item.is-sold em > span, .aha-menu .pm2-item.is-sold em { text-decoration: line-through; }
.aha-sold { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #111; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; text-decoration: none; vertical-align: 1px; }
.aha-menu.is-swap .pm2-txt small, .aha-menu.is-swap .pm2-cats, .aha-menu.is-swap .pm2-h { animation: ahaIn 320ms var(--ease-out); }
.aha-menu .aha-ph-live { position: absolute; left: 12px; right: 12px; bottom: 14px; margin: 0; padding: 10px 12px; border-radius: 14px; background: #111; color: #fff; font-family: var(--font); font-size: 12px; text-align: center; }
.aha-menu .aha-ph-live:empty { display: none; }
.aha-menu .aha-ph-live.is-in { animation: ahaIn 320ms var(--ease-out); }
@media (max-width: 560px) { .aha-menu { height: 560px; } .aha-ctl .aha-field { flex-wrap: wrap; gap: 10px; } }
.aha-menu .pm2-cats span span { padding: 0; border: 0; background: none; border-radius: 0; color: inherit; font-weight: inherit; }
.aha-menu .aha-ph-live { top: 50px; bottom: auto; }
.aha-menu .pm2-item.is-sold { opacity: 1; }
.aha-menu .pm2-item.is-sold .pm2-img, .aha-menu .pm2-item.is-sold b, .aha-menu .pm2-item.is-sold small, .aha-menu .pm2-item.is-sold em > span { opacity: 0.45; }
.aha-menu .pm2-item.is-sold em { text-decoration: none; }
.aha-menu .pm2-item.is-sold em > span { text-decoration: line-through; }
.aha-menu .pm2-txt em i.aha-sold { color: #fff; }

/* QR aha: price stepper (− input +) and a slightly wider phone */
.aha-step { display: inline-flex; align-items: center; gap: 8px; }
.aha-step-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1; transition: background-color 150ms ease, transform 120ms var(--ease-out); }
.aha-step-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .aha-step-btn:hover { background: var(--bg-soft); } }
.aha-step-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.aha-step .aha-input input { width: 3ch; text-align: center; }
.aha-step .aha-input input::-webkit-inner-spin-button, .aha-step .aha-input input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.aha-price .ph2 { width: 350px; }
@media (max-width: 560px) { .aha-price .ph2 { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .aha-step-btn:active { transform: none; } }

/* The "unavailable" tag stays hidden until the item is marked sold out (its display rule overrode [hidden]). */
.aha-sold[hidden] { display: none; }

/* Every phone mockup keeps a real iPhone screen ratio (19.5 : 9) whatever its width, instead of the
   per-section fixed heights that made some previews squat or stretched. Content scrolls/clips inside. */
.ph2 > :not(.ph2-notch),
.phone > .phone-screen { height: auto; min-height: 0; aspect-ratio: 9 / 19.5; }

/* Landing pains: four items sit as a 2 × 2 grid on wide screens instead of 3 + an orphan. */
@media (min-width: 760px) { .lp-pains:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Host aha v2: real menu (guest) + real POS floor plan (staff) */
.aha-col { display: grid; justify-items: center; gap: 16px; width: 100%; }
.aha-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.aha-guest .pm2-b, .aha-guest .pm2-pay button, .aha-guest .pm2-tips button, .aha-guest .pm2-x { font: inherit; cursor: pointer; }
.aha-guest .pm2-b { font-weight: 500; font-size: 11.5px; transition: transform 120ms var(--ease-out); }
.aha-guest .pm2-b:active { transform: scale(0.96); }
.aha-guest .pm2-pay button, .aha-guest .pm2-tips button { padding: 8px 4px; border-radius: 12px; border: 1px solid #ddd; background: #fff; color: #111; text-align: center; font-size: 11.5px; }
.aha-guest .pm2-pay button.on, .aha-guest .pm2-tips button.on { border-color: #111; box-shadow: inset 0 0 0 1px #111; font-weight: 600; }
.aha-guest .pm2-x { background: none; border: 0; padding: 0; color: #111; }
.aha-dim { position: absolute; inset: 0; z-index: 3; background: rgba(0, 0, 0, 0.35); }
.aha-dim.is-in .pm2-sheet { animation: ahaSheet 280ms var(--ease-out); }
@keyframes ahaSheet { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.aha-guest .pm2-toast { z-index: 4; }
.aha-guest .pm2-toast[hidden] { display: none; }
.aha-guest .pm2-toast.is-in { animation: ahaIn 300ms var(--ease-out); }
.aha-floor { width: min(100%, 440px); }
.aha-floor .pf-t { transition: background-color 200ms ease, border-color 200ms ease; }
.aha-floor .pf-t.is-ping { animation: ahaPingSq 900ms var(--ease-out); }
@keyframes ahaPingSq { 0% { box-shadow: 0 0 0 0 rgba(240, 163, 58, 0.55); } 100% { box-shadow: 0 0 0 16px rgba(240, 163, 58, 0); } }
.aha-floor .pf-alerts { min-height: 116px; }
.aha-floor .pf-alert.is-in { animation: ahaIn 320ms var(--ease-out); }
.aha-empty { padding: 14px; border-radius: 14px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 0.875rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .aha-dim.is-in .pm2-sheet, .aha-guest .pm2-toast.is-in, .aha-floor .pf-t.is-ping, .aha-floor .pf-alert.is-in { animation: none; } }

/* POS aha v2: product tiles with the real demo photos, receipt with fiscal header */
.aha-prod { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.aha-prod-img { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; }
.aha-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aha-prod > span:not(.aha-prod-img) { font-size: 0.9375rem; line-height: 1.2; }
.aha-r-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.75rem; color: #555; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #bbb; }
.aha { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .aha { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aha-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aha-prod { min-width: 0; }
.aha-pay { flex-wrap: wrap; }
@media (max-width: 420px) { .aha-prod { grid-template-columns: 36px 1fr; padding: 12px; } .aha-prod-img { width: 36px; height: 36px; } }
.aha-col { min-width: 0; }
.aha-floor { width: 100%; max-width: 440px; }
.aha-floor .pf-head { flex-wrap: wrap; gap: 8px; }
@media (max-width: 400px) { .aha-floor { padding: 14px; } .aha-floor .pf-grid { gap: 8px; } }
.aha-floor { box-sizing: border-box; }
.aha-floor .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aha-floor .pf-t { min-width: 0; }
.aha-floor .pf-t span { white-space: normal; text-align: center; justify-content: center; line-height: 1.2; padding-inline: 2px; }
.aha-floor .pf-alerts { align-content: start; }

/* Host aha: the real POS floor plan (grid canvas, tables with chairs, status colours, legend) */
.fp { width: 100%; max-width: 460px; box-sizing: border-box; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 24px 48px -20px rgba(11, 26, 41, 0.35); }
.fp-canvas { position: relative; padding: 12px 12px 10px; border-radius: 14px; border: 1px solid #e3e5e8; background-color: #fbfbfc; background-image: linear-gradient(#e6e8eb 1px, transparent 1px), linear-gradient(90deg, #e6e8eb 1px, transparent 1px); background-size: 34px 34px; }
.fp-tabs { display: inline-flex; gap: 6px; }
.fp-tabs span { padding: 6px 12px; border-radius: 8px; border: 1px solid #dfe2e6; background: #fff; font-size: 0.8125rem; font-weight: 600; color: #333; }
.fp-tabs .on { background: #3680b3; border-color: #3680b3; color: #fff; }
.fp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; padding: 26px 4px 22px; }
.fp-cell { display: grid; place-items: center; }
.fp-t { --bg: #c8e6c9; --bd: #66bb6a; --ink: #2e7d32; position: relative; width: 66%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22%; background: var(--bg); border: 2px solid var(--bd); transition: background-color 200ms ease, border-color 200ms ease; }
.fp-t b { color: var(--ink); font-size: clamp(0.5625rem, 2.6vw, 0.75rem); font-weight: 700; white-space: nowrap; }
.fp-t .c { position: absolute; background: var(--bg); border: 1.5px solid var(--bd); border-radius: 4px; }
.fp-t .c.t, .fp-t .c.b { left: 32%; width: 36%; height: 14%; }
.fp-t .c.t { top: -26%; } .fp-t .c.b { bottom: -26%; }
.fp-t .c.l, .fp-t .c.r { top: 32%; height: 36%; width: 14%; }
.fp-t .c.l { left: -26%; } .fp-t .c.r { right: -26%; }
.fp-t.busy { --bg: #ffe0b2; --bd: #fb8c00; --ink: #b45309; }
.fp-t.res { --bg: #bbdefb; --bd: #42a5f5; --ink: #1565c0; }
.fp-t.call, .fp-t.bill { --bg: #ffcdd2; --bd: #e53935; --ink: #c62828; }
.fp-t.is-ping { animation: ahaPingRed 900ms var(--ease-out); }
@keyframes ahaPingRed { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); } 100% { box-shadow: 0 0 0 16px rgba(229, 57, 53, 0); } }
.fp-bubble { position: absolute; bottom: calc(100% + 30%); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 8px; background: #c62828; color: #fff; font-size: 0.625rem; font-weight: 700; white-space: nowrap; z-index: 2; }
.fp-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -4px; border: 4px solid transparent; border-top-color: #c62828; }
.fp-bubble[hidden] { display: none; }
.fp-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fp-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.6875rem; color: #444; }
.fp-legend span { display: inline-flex; align-items: center; gap: 4px; }
.fp-legend i { width: 9px; height: 9px; border-radius: 50%; background: #43a047; }
.fp-legend i.busy { background: #fb8c00; } .fp-legend i.res { background: #42a5f5; } .fp-legend i.att { background: #e53935; }
.fp-zoom { display: inline-flex; align-items: center; gap: 12px; padding: 4px 10px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); font-size: 0.75rem; color: #333; }
.fp .pf-alerts { margin-top: 10px; min-height: 0; }
@media (max-width: 420px) { .fp-zoom { display: none; } .fp-grid { gap: 12px 2px; } }
.fp { font-size: 0.875rem; }
.fp-grid { row-gap: 34px; padding: 34px 4px 30px; }
.fp-t { width: 54%; }
@media (max-width: 420px) { .fp-grid { row-gap: 28px; } .fp-t { width: 58%; } }

/* Landing steps: keep the gap under the section title (the list's margin reset was eating mt-48),
   and don't stack the steps section's bottom padding on top of the offer section's top padding. */
.lp-steps { margin-top: clamp(32px, 4vw, 48px); }
#offer { padding-top: 0; }
.lp-steps-sec { padding-bottom: clamp(48px, 6vw, 72px); }

/* POS aha: receipt styled like the inSmart digital receipt (zig-zag paper, venue header, VAT block) */
.aha-receipt-wrap { max-width: 340px; }
.aha .aha-receipt { position: relative; padding: 30px 22px 30px; border-radius: 0; background: #fffefb; color: #1a1a1a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; min-height: 0; box-shadow: 0 24px 48px -28px rgba(11, 26, 41, 0.45); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 51% repeat-x; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 51% repeat-x; }
.ar-head { display: grid; justify-items: center; gap: 2px; text-align: center; color: #666; padding-bottom: 14px; border-bottom: 1px dashed #c9c9c9; }
.ar-logo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; }
.ar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-brand { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: #111; margin-bottom: 4px; }
.ar-meta { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0 6px; color: #666; }
.ar-meta b { color: #111; letter-spacing: 0.04em; }
.ar-lines .aha-r-empty { padding: 22px 0; }
.ar-item { padding: 6px 0; }
.ar-item p { color: #111; font-size: 0.8125rem; }
.ar-row { display: flex; justify-content: space-between; gap: 8px; color: #666; margin-top: 2px; }
.ar-row b { color: #111; }
.ar-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 1px dashed #c9c9c9; font-size: 1rem; color: #111; }
.ar-total b:last-child { font-size: 1.0625rem; }
.ar-after .ar-row { margin-top: 6px; }
.ar-vat { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #c9c9c9; }
.ar-vat .ar-strong { color: #111; }
.ar-thanks { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #c9c9c9; text-align: center; font-weight: 700; letter-spacing: 0.06em; color: #111; }
[data-pos-done][hidden], [data-pos-total-row][hidden] { display: none; }

/* POS aha: product tiles styled like the inSmart Sale module (photo + blue "+", name, price) */
.aha-pos .aha-products { gap: 10px; padding: 10px; margin-top: 14px; border-radius: 16px; background: #f0f0f2; }
.aha .sm-card { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: 1fr auto; column-gap: 10px; align-items: start; min-width: 0; padding: 8px; border-radius: 12px; background: #fff; border: 0; text-align: left; font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: transform 120ms var(--ease-out), box-shadow 150ms ease; }
.aha .sm-card:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .aha .sm-card:hover { box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.2); } }
.sm-img { grid-row: span 2; position: relative; aspect-ratio: 1; border-radius: 9px; overflow: visible; }
.sm-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 9px; }
.sm-plus { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #3e8fc7; color: #fff; border: 2px solid #fff; }
.sm-plus svg { width: 13px; height: 13px; stroke-width: 2.5; }
.sm-name { display: block; padding-top: 2px; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; color: #333; overflow-wrap: anywhere; }
.sm-name small { display: block; margin-top: 3px; font-size: 0.6875rem; color: #9a9a9a; font-weight: 400; }
.aha .sm-price { align-self: end; padding-bottom: 2px; font-size: 0.9375rem; font-weight: 600; color: #333; }
.aha .sm-card.is-tap { animation: smTap 260ms var(--ease-out); }
@keyframes smTap { 40% { transform: scale(0.95); box-shadow: 0 0 0 3px rgba(62, 143, 199, 0.35); } }
@media (max-width: 420px) { .aha .sm-card { grid-template-columns: 42% 1fr; padding: 6px; column-gap: 8px; } .sm-name { font-size: 0.75rem; } .aha .sm-price { font-size: 0.8125rem; } .sm-plus { width: 22px; height: 22px; } }
.aha .sm-card { font-family: inherit; }
.aha .sm-card > .sm-name { font-size: 0.875rem; font-weight: 600; font-family: var(--font-display); color: var(--ink); line-height: 1.25; }
.aha .sm-card > .sm-img { font-size: inherit; }
.aha .sm-card > .sm-price { font-family: var(--font-display); color: var(--ink); }
@media (max-width: 420px) { .aha .sm-card > .sm-name { font-size: 0.75rem; } }
.aha .sm-card { grid-template-columns: 42% 1fr; }
.aha .sm-card > .sm-name { overflow-wrap: normal; word-break: normal; font-size: 0.8125rem; }
@media (max-width: 420px) { .aha .sm-card { grid-template-columns: 36% 1fr; column-gap: 7px; } .aha .sm-card > .sm-name { font-size: 0.6875rem; } .sm-name small { font-size: 0.625rem; } }

/* Product card placeholder (no photo), like the app's grey box */
.sm-img.ph { display: grid; place-items: center; background: #f4f5f7; border-radius: 9px; color: #c3c7cd; }
.sm-img.ph > svg { width: 30%; height: 30%; }
.aha .sm-card > .sm-price, .px .sm-card > .sm-price { font-weight: 700; }

/* App-style category pills */
.px-pills { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.px-pills span { flex-shrink: 0; padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid #e6e7ea; font-size: 0.75rem; font-weight: 600; color: #333; }
.px-pills .on { background: #3a80b8; border-color: #3a80b8; color: #fff; }
.px-pills .px-search { display: grid; place-items: center; padding: 6px 8px; }
.px-pills .px-search svg { width: 14px; height: 14px; }
.aha-pills { margin-top: 14px; }
.aha-pos .aha-products { margin-top: 10px; }
.aha-pay .btn-primary { background: #3a80b8; }

/* Hero: compact replica of the POS order screen, laid out at 760px and zoomed to fit */
.art:has(.px-wrap) { padding: clamp(18px, 3vw, 32px); }
.px-wrap { width: 100%; display: grid; place-items: center; }
.px { width: 760px; zoom: 0.64; display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; padding: 12px; border-radius: 18px; background: #eef0f3; font-family: var(--font); color: #222; box-shadow: 0 30px 60px -30px rgba(11, 26, 41, 0.55); text-align: left; }
@media (max-width: 1280px) { .px { zoom: 0.56; } }
@media (max-width: 959px) { .px { zoom: 0.7; } }
@media (max-width: 640px) { .px { zoom: 0.44; } }
@media (max-width: 380px) { .px { zoom: 0.4; } }
.px-left { min-width: 0; display: grid; gap: 10px; align-content: start; }
.px-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.px .sm-card { display: grid; grid-template-columns: 44% 1fr; grid-template-rows: 1fr auto; column-gap: 8px; padding: 7px; border-radius: 12px; background: #fff; min-height: 96px; }
.px .sm-card > .sm-name { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; color: #1d1d1f; line-height: 1.25; }
.px .sm-card > .sm-price { align-self: end; font-family: var(--font-display); font-size: 0.9375rem; color: #1d1d1f; }
.px-right { min-width: 0; display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: #fff; }
.px-chips { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px; }
.px-chips span { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; border: 1px solid #e3e5e8; font-size: 0.75rem; font-weight: 600; }
.px-chips svg { width: 14px; height: 14px; }
.px-chips .tbl { background: #fff4e6; border-color: #f5c38b; color: #e0610f; }
.px-chips .tbl i { margin-left: auto; font-style: normal; }
.px-items { margin-top: 6px; }
.px-item { padding: 9px 2px; border-bottom: 1px solid #eeeff2; }
.px-item small { display: block; margin-top: 1px; font-size: 0.6875rem; font-style: italic; color: #8a8f98; }
.px-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.px-item .px-row:first-child b { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; }
.px-item .px-row + .px-row, .px-item small + .px-row { margin-top: 6px; }
.px-item u { text-decoration: none; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: #d9f7e8; color: #0f8a55; font-size: 0.625rem; font-weight: 700; vertical-align: 1px; }
.px-tags { display: inline-flex; gap: 4px; }
.px-tags em { font-style: normal; padding: 3px 8px; border-radius: 999px; border: 1px solid #e3e5e8; font-size: 0.625rem; color: #777; }
.px-tags em.cfg { background: #1fb89b; border-color: #1fb89b; color: #fff; font-weight: 700; }
.px-qty { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 600; }
.px-qty i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; font-style: normal; color: #fff; font-weight: 700; }
.px-qty .m { background: #e5484d; } .px-qty .p { background: #3a80b8; }
.px-foot { margin-top: auto; padding-top: 10px; }
.px-sub { padding: 6px 2px; color: #8a8f98; font-size: 0.75rem; border-top: 1px dashed #e3e5e8; }
.px-total { padding: 6px 2px 10px; font-family: var(--font-display); font-size: 1rem; }
.px-btns { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 6px; }
.px-btns span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 6px; border-radius: 9px; border: 1px solid #e3e5e8; font-size: 0.75rem; font-weight: 600; }
.px-btns svg { width: 13px; height: 13px; }
.px-btns .save { background: #3a80b8; border-color: #3a80b8; color: #fff; }
.art:has(.px-wrap) { min-height: 0; padding: 14px; }
.px { zoom: 0.67; }
.px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px .sm-card > .sm-name { overflow-wrap: normal; word-break: normal; }
@media (max-width: 1280px) { .px { zoom: 0.58; } }
@media (max-width: 959px) { .px { zoom: 0.72; } }
@media (max-width: 640px) { .px { zoom: 0.41; } }
@media (max-width: 380px) { .px { zoom: 0.37; } }
.px-wrap, .art-slide:has(.px-wrap) { min-width: 0; }

/* Wide landing hero: copy centred on top, the visual on its own full-width row below */
.lp-hero-wide .sub-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 1160px; gap: clamp(32px, 5vw, 56px); }
.lp-hero-wide .sub-copy { max-width: 820px; margin-inline: auto; text-align: center; }
.lp-hero-wide .sub-copy .lead { margin-inline: auto; max-width: 680px; text-wrap: balance; }
.lp-hero-wide .btn-row { justify-content: center; }
.lp-hero-wide .lp-proof { text-align: center; }
.lp-hero-wide .sub-visual { width: 100%; }
.lp-hero-wide .art:has(.px-wrap) { padding: clamp(14px, 3vw, 40px); }
/* At hero width the POS replica gets room for three product columns */
@media (min-width: 900px) {
  .lp-hero-wide .px { width: 1040px; grid-template-columns: 1.7fr 1fr; }
  .lp-hero-wide .px-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) { .px-grid > :nth-child(n + 7) { display: none; } }
.ar-item.is-bump { animation: ahaIn 260ms var(--ease-out); }
/* Wide POS hero: four rows of taller product cards, order panel stretches to match */
@media (min-width: 900px) {
  .lp-hero-wide .px { align-items: stretch; }
  .lp-hero-wide .px-grid { gap: 10px; }
  .lp-hero-wide .px .sm-card { min-height: 124px; padding: 9px; }
  .lp-hero-wide .px-right { padding: 14px; }
  .lp-hero-wide .px-item { padding: 11px 2px; }
}

/* "Everything included" block on landing pages */
.lp-inc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lp-inc { padding: 26px 26px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.lp-inc-h { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: 14px; }
.lp-inc-h .sx-icon { margin: 0; width: 38px; height: 38px; border-radius: 11px; }
.lp-inc-h .sx-icon svg { width: 19px; height: 19px; }
.lp-inc .checks li { font-size: 0.9375rem; }
.lp-inc-cta { display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--ink); border-color: var(--ink); color: #c9d3de; }
.lp-inc-big { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.25; color: #fff; }
.lp-inc-cta .btn { align-self: flex-start; margin-top: 6px; }
.lp-inc-cta .btn .btn-arrow { background: rgba(11, 26, 41, 0.08); }
/* Landing footer has nothing above the bottom row, so no divider; even padding top and bottom */
.footer-lp .footer-bottom { border-top: 0; padding-top: 0; margin-top: 0; }
.footer-lp > .wrap { padding-top: 28px; padding-bottom: 28px; }

/* Landing proof: the platform numbers right under the testimonial */
.lp-stats { padding: clamp(32px, 5vw, 56px) 0 0; }
/* QR landing hero: the cappuccino row that just got its new price */
.pm2-item.is-new { background: color-mix(in srgb, var(--brand-600) 9%, #fff); box-shadow: inset 3px 0 0 var(--brand-600); }
.pm2-item.is-new em { color: var(--brand-700); }
/* "Programează un demo gratuit" is wider than the dark CTA card at 375px: let it wrap inside the card */
.lp-inc-cta .btn { max-width: 100%; white-space: normal; text-align: center; }

/* Pro aha: three channels → one kitchen screen → one stock */
.aha-flows { max-width: 1080px; align-items: start; }
.aha-src { display: grid; grid-template-columns: 28px 1fr 20px; gap: 12px; align-items: center; width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid transparent; text-align: left; color: var(--ink); transition: transform 120ms var(--ease-out), border-color 150ms ease, opacity 200ms ease; }
.aha-src-t { display: grid; gap: 2px; min-width: 0; }
.aha-src-t b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.aha-src-t small { color: var(--muted); font-size: 0.8125rem; }
.aha-src > svg { width: 20px; height: 20px; color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .aha-src:not(:disabled):hover { border-color: var(--line-strong); } }
.aha-src:active { transform: scale(0.98); }
.aha-src:disabled { opacity: 0.45; cursor: default; }
.aha-inbox { display: grid; gap: 10px; margin-top: 10px; min-height: 64px; }
.aha-inbox .aha-empty { font-size: 0.875rem; color: var(--muted); padding: 10px 0; }
.aha-in { padding: 14px 16px; border-radius: 16px; background: #fff7e8; border: 1px solid #f3dcae; }
.aha-in-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aha-in-top b { font-family: var(--font-display); font-weight: 600; }
.aha-in ul { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 4px; font-size: 0.875rem; }
.aha-in li small { display: block; color: var(--muted); font-size: 0.75rem; }
.aha-in .btn { width: 100%; justify-content: center; }
.aha-in.is-in, .aha-flows .aha-r-msg.is-in { animation: ahaIn 320ms var(--ease-out); }
.aha-flow-right { width: 100%; max-width: 460px; display: grid; gap: 16px; }
.aha-stock { width: 100%; max-width: none; }
.aha-stock .sc-stock.is-flash { animation: ahaFlash 700ms var(--ease-out); border-radius: 8px; }
.aha-stock .sc-bar i { transition: width 400ms var(--ease-out); }
.aha-reset { margin-left: 6px; color: var(--accent-ink); font-weight: 600; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .aha-in.is-in, .aha-stock .sc-stock.is-flash { animation: none; } }
/* Narrow phones: keep the long landing CTA ("Programează un demo gratuit") on one line */
@media (max-width: 400px) { .sub-copy .btn-lg, .end-cta .btn-lg, .lp-offer .btn-lg { padding-inline: 18px; font-size: 1rem; gap: 8px; } }
/* A group with a single integration (Livrări: Glovo) keeps the half-width card of the other rows */
@media (min-width: 760px) { .integ > .integ-card:only-child { max-width: calc(50% - 10px); } }
/* Floor-plan card inside a narrow art panel: tables show just their number */
@media (max-width: 520px) { .fp-card .fp-w { display: none; } .fp-card .fp-t b { font-size: 0.875rem; } }

/* KDS replica (Pro hero + Pro demo): the POS kitchen board. Light columns New / Preparing / Ready, white tickets
   with a status edge (blue / amber / green), the order-type label in its POS colour and the age ring. */
.kx { --kx-line: #e5e7eb; display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; color: #111827; font-family: var(--font); text-align: left; box-shadow: 0 1px 2px rgba(11, 26, 41, 0.06), 0 30px 60px -30px rgba(11, 26, 41, 0.45); }
.kx-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kx-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: #f3f4f6; }
.kx-tabs span { padding: 6px 14px; border-radius: 7px; font-size: 0.8125rem; font-weight: 500; color: #4b5563; }
.kx-tabs .on { background: #fff; color: #111827; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.kx-tools { display: inline-flex; gap: 6px; }
.kx-tools span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 12px; border: 1px solid #111827; font-size: 0.75rem; font-weight: 600; }
.kx-tools svg { width: 13px; height: 13px; }
.kx-tools em { font-style: normal; font-weight: 500; color: #6b7280; font-variant-numeric: tabular-nums; }
.kx-cols { display: grid; gap: 10px; }
@media (min-width: 760px) { .kx-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kx-fixed { width: 760px; zoom: 0.66; } /* hero: always the 3-column board, zoomed to fit by lp.js */
.kx-fixed .kx-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kx-wrap { width: 100%; display: grid; place-items: center; min-width: 0; }
.kx-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--kx-line); background: #f9fafb; min-height: 180px; }
.kx-colh { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 2px; }
.kx-colh .kx-colt { margin: 0; font-family: var(--font); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #374151; }
.kx-colh span { min-width: 24px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--kx-line); background: #fff; font-size: 0.75rem; font-weight: 500; color: #6b7280; text-align: center; }
.kx-list { display: grid; gap: 8px; }
.kx-empty { margin: 0; padding: 18px 0; text-align: center; font-size: 0.8125rem; color: #d1d5db; }
.kx-card { --edge: #3b82f6; --dot: #3b82f6; padding: 10px; border-radius: 12px; border: 1px solid var(--kx-line); border-left: 4px solid var(--edge); background: #fff; }
.kx-card.s-prep { --edge: #f59e0b; --dot: #f59e0b; }
.kx-card.s-ready { --edge: #22c55e; --dot: #22c55e; }
.kx-card.is-in { animation: ahaIn 320ms var(--ease-out); }
.kx-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kx-type { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 0.9375rem; }
.kx-type svg { width: 16px; height: 16px; }
.kx-type.k-table { color: #2563eb; }
.kx-type.k-takeaway, .kx-type.k-delivery { color: #7c3aed; }
.kx-name { font-size: 0.9375rem; font-weight: 700; }
.kx-cust { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 600; color: #374151; }
.kx-cust svg { width: 13px; height: 13px; color: #9ca3af; }
.kx-ring { position: relative; width: 34px; height: 34px; margin-left: auto; display: grid; place-items: center; flex-shrink: 0; }
.kx-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.kx-ring circle { fill: none; stroke-width: 4; }
.kx-ring .tr { stroke: #e5e7eb; }
.kx-ring .pr { stroke-linecap: round; stroke: #22c55e; }
.kx-ring.warn .pr { stroke: #f59e0b; } .kx-ring.late .pr { stroke: #ef4444; }
.kx-ring b { position: relative; font-size: 0.625rem; font-weight: 700; color: #15803d; }
.kx-ring.warn b { color: #b45309; } .kx-ring.late b { color: #b91c1c; }
.kx-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; font-size: 0.75rem; color: #6b7280; }
.kx-meta span { display: inline-flex; align-items: center; gap: 3px; }
.kx-meta svg { width: 12px; height: 12px; }
.kx-course { display: inline-block; margin-top: 8px; padding: 1px 8px; border-radius: 999px; background: #e0e7ff; color: #4338ca; font-size: 0.6875rem; font-weight: 600; }
.kx-items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.kx-items li { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; font-size: 0.8125rem; font-weight: 600; color: #1f2937; }
.kx-items li > b { color: #111827; }
.kx-items small { flex-basis: 100%; padding-left: 14px; font-size: 0.75rem; font-weight: 500; color: #6b7280; }
.kx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.kx-acts { display: flex; gap: 6px; margin-top: 10px; }
.kx-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 4px; border-radius: 14px; background: #fff; font: inherit; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.kx-btn svg { width: 13px; height: 13px; }
.kx-btn.next { border: 1px solid #3680b3; color: #2a6890; }
.kx-btn.done { border: 1px solid #22c55e; color: #16a34a; }
button.kx-btn { cursor: pointer; transition: background-color 150ms ease, transform 120ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { button.kx-btn.next:hover { background: #eef6fb; } button.kx-btn.done:hover { background: #f0fdf4; } }
button.kx-btn:active { transform: scale(0.97); }
.art:has(.kx-wrap) { min-height: 0; padding: clamp(14px, 3vw, 32px); }
/* Pro demo: sources + stock on top, the KDS board full width underneath */
.aha-flows { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .aha-flows { grid-template-columns: 1fr 1fr; } }
.aha-flow-kds { grid-column: 1 / -1; width: 100%; display: grid; gap: 12px; }
.aha-flow-kds .aha-label { text-align: center; }
.aha-served { font-size: 0.9375rem; color: var(--muted); text-align: center; }
.aha-served b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .kx-card.is-in { animation: none; } }
/* Pro wide hero: the KDS board gets the same room as the POS replica */
@media (min-width: 900px) { .lp-hero-wide .kx-fixed { width: 1040px; } .lp-hero-wide .kx-fixed .kx-col { min-height: 0; } }

/* Touch screens: every link and control gets a ~44px tap area (Apple HIG; WCAG 2.5.8 asks for 24px at least).
   Inline links grow their hit area with padding and give the space back with negative margin, so nothing moves. */
@media (pointer: coarse), (max-width: 899px) {
  .nav-logo { padding-block: 9px; margin-block: -9px; }
  .lang-link, .breadcrumbs a, .footer-lp-links a, .footer-bottom a, .link-arrow, .dl-alt, .stage-link, .badge-new { padding-block: 10px; margin-block: -10px; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding-block: 10px; }
  .legal-toc a { padding-block: 12px; }
  .aha-input { min-height: 44px; }
  .aha-step-btn { min-width: 40px; min-height: 40px; }
  .aha-products .sm-name { font-size: 0.8125rem; }
}
/* Large text (200% zoom / big system font): grid columns must not grow to fit the product illustrations;
   the .art panel keeps its column width and clips the mock instead of widening the page */
.fx-grid > *, .sub-hero-grid > *, .tour-panel > *, .tour-visual, .fx-visual, .sub-visual { min-width: 0; }
.art { max-width: 100%; }
.sc { max-width: 100%; }
/* Large text: words longer than their column ("confidențialitate", an e-mail) break instead of widening the page */
h1, h2, h3, h4, .display, .lead, .footer a, .footer-bottom { overflow-wrap: break-word; }
.footer-bottom a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Numbers band: the figure never outgrows its own column (cqi = % of the column), so "85.000+" fits at any text size */
.stats-band .stat { min-width: 0; container-type: inline-size; }
.stats-band .stat strong { font-size: min(clamp(2rem, 4.2vw, 3.25rem), 21cqi); }
/* Large text, continued: footer columns, the landing header CTA, the landing footer row and the download cards
   shrink and wrap instead of pushing the page wider */
.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer ul a { overflow-wrap: anywhere; }
.footer-lp-links { flex-wrap: wrap; row-gap: 6px; }
.nav-lp .nav-actions { min-width: 0; }
.nav-lp .nav-cta { white-space: normal; text-align: center; line-height: 1.15; min-width: 0; }
.dl-card { min-width: 0; overflow-wrap: anywhere; }
/* Large text on phones: the header logo may shrink and the CTA may wrap, so the bar never widens the page */
@media (max-width: 899px) {
  .nav-logo { min-width: 0; flex-shrink: 1; }
  .nav-logo img { max-width: 100%; object-fit: contain; object-position: left center; }
  .nav-cta { white-space: normal; text-align: center; line-height: 1.15; min-width: 0; }
}
.inline-code { overflow-wrap: anywhere; }
.prose h2, .prose h3 { overflow-wrap: anywhere; }
/* Large text, last pieces: grid children that held a min-content width */
.aha > *, .feature > *, .downloads > * { min-width: 0; }
.aha-panel, .aha-receipt-wrap { max-width: 100%; }
.feature-visual, .feature .ui { overflow-x: auto; }
/* 1024–1199px (tablet landscape, small laptops): the full Romanian menu is ~40px too wide, so tighten the bar */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-inner { gap: 18px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding-inline: 18px; }
  .nav-actions .nav-link { padding-inline: 10px; }
}
/* Before/after slider knob: the two chevrons sit side by side (‹ ›), not stacked (svgs are display:block site-wide) */
.ba-knob { display: flex; align-items: center; justify-content: center; gap: 2px; }
.ba-knob svg { width: 18px; height: 18px; flex-shrink: 0; }

/* POS replica product cards, matched to the real POS card: card hugs the square photo, + sits inside it, price pinned to the photo's bottom edge */
.px .sm-card { min-height: 0; grid-template-columns: 46% minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; }
.px .sm-card > .sm-img { grid-row: 1 / -1; }
.px .sm-card > .sm-name { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.px .sm-card > .sm-price { grid-row: 3; font-size: 1.0625rem; line-height: 1; padding-bottom: 1px; }
.px .sm-plus { right: 5px; bottom: 5px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
@media (min-width: 900px) { .lp-hero-wide .px .sm-card { min-height: 0; padding: 9px; } .lp-hero-wide .px .sm-card > .sm-price { font-size: 1.1875rem; } }

/* Pricing cards share row tracks (subgrid): icon, name, description, price, note, button and the feature list line up across plans whatever the copy length */
.plans { row-gap: 32px; }
@supports (grid-template-rows: subgrid) {
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .plan > .icon-tile { align-self: start; }
  .plan .plan-desc { min-height: 0; }
  .plan-price { align-self: end; }
}
.plan.featured { border-width: 1px; box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan-body { display: flex; flex-direction: column; }
.plan-body > :first-child { margin-top: 22px; }
.plan-body .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; }
/* Wider plan cards on big screens: the grid breaks out of the 1200px wrap up to 1360px */
@media (min-width: 1280px) { .plans { margin-inline: calc((min(100vw - 48px, 1360px) - 100%) / -2); gap: 20px; } .plan { padding: 32px; } }
.plan-price-note { margin-top: 8px; } .plan .btn { margin-top: 16px; }

/* Compare table as a bordered grid card: outer frame, column rules, tinted header and group rows, Pro column highlighted */
.table-scroll:has(.compare) { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-l); }
.compare { border-collapse: separate; border-spacing: 0; min-width: 720px; }
.compare th, .compare td { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 13px 16px; }
.compare tr > :first-child { border-left: 0; width: 34%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { position: static; background: var(--bg-soft, #f6f7f9); border-bottom: 1px solid var(--line-strong); padding-block: 18px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.compare .grp th { padding: 12px 16px; background: var(--bg-soft, #f6f7f9); font-size: 0.8125rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line-strong); }
.compare tbody tr:first-child.grp th { border-top: 0; }
.compare tbody tr:not(.grp) > :last-child, .compare thead th:last-child { background: var(--accent-soft); }
.compare thead th:last-child { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .compare tbody tr:not(.grp):hover > * { background-color: #f8fafc; } .compare tbody tr:not(.grp):hover > :last-child { background-color: var(--accent-soft); } }

/* Money-back guarantee: calm strip under the /pricing cards + one line under the price on plan pages */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; max-width: 860px; margin: 40px auto 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.guarantee-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.guarantee p { margin-top: 4px; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 480px) { .guarantee { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; } }
.plan-guarantee { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.plan-guarantee svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--ok); }

/* Art panels on phones: every slide sits in one grid cell, so the cell must not grow to the widest
   slide (it pushed the active one off-centre and out of the panel). The import mock stacks
   paper → chip → phone, overriding the 3-column desktop layout declared above. */
.art { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .imp { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .imp-photo { width: auto; }
  .imp-photo { zoom: 0.8; } /* zoom, not scale: the paper's layout box shrinks too, so the panel stays short */
  .imp-photo .paper { transform: rotate(-3deg); transform-origin: center; }
  .imp-arrow { margin: -10px 0 8px; }
  .imp .ph2 { width: min(100%, 260px); }
  .imp .pm2-screen { height: 340px; }
}
.sc-facts-h .sc-muted { white-space: nowrap; }
@media (max-width: 560px) { .art-slide > .ph2 { max-width: 100%; } }

/* Printed vs inSmart table on phones: the criterion becomes a row title above the two answers,
   so each answer gets half the width instead of a third, and the icon hangs beside its text */
@media (max-width: 640px) {
  .vs, .vs thead, .vs tbody { display: block; }
  .vs tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs thead th:first-child { display: none; }
  .vs thead th { padding: 0 14px 12px; font-size: 1rem; }
  .vs tbody th { grid-column: 1 / -1; width: auto; padding: 20px 0 8px; border-bottom: 0; }
  .vs td { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px 16px; font-size: 0.9375rem; line-height: 1.45; }
  .vs td svg { flex: none; margin: 2px 0 0; }
}

/* ---------- 404: a thermal receipt prints the missing page ---------- */
.nf { min-height: calc(100vh - var(--nav-h)); display: grid; align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.nf-stack { display: grid; justify-items: center; gap: clamp(24px, 4vw, 40px); text-align: center; }
.nf-copy { display: grid; justify-items: center; }
.nf-copy .lead { max-width: 520px; margin-top: 14px; }
.nf-links { margin-top: 28px; width: min(100%, 460px); text-align: left; }
.nf-links ul { border-top: 1px solid var(--line); }
.nf-links a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.nf-links a > span:nth-child(2) { flex: 1; }
.nf-links a > svg { width: 18px; height: 18px; color: var(--muted); transition: transform 200ms var(--ease-out); }
.nf-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--accent-ink); }
.nf-ic svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .nf-links a:hover { color: var(--accent-ink); } .nf-links a:hover > svg { transform: translateX(3px); color: var(--accent-ink); } }

.nf-visual { position: relative; display: grid; justify-items: center; }
.nf-printer { position: relative; z-index: 2; width: min(100%, 340px); height: 40px; border-radius: 14px; background: linear-gradient(180deg, #1c2f43, var(--dark)); box-shadow: var(--shadow); }
.nf-slot { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 6px; border-radius: 3px; background: #050c14; }
.nf-feed { width: min(100%, 300px); margin-top: -16px; overflow: hidden; padding: 0 12px 28px; } /* clips the receipt while it "prints" out of the slot */
.nf-receipt {
  position: relative; padding: 30px 22px 30px; background: #fff; color: #1d1d1f; text-align: left;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.8125rem; line-height: 1.5;
  box-shadow: 0 18px 36px -18px rgba(11, 26, 41, 0.35);
  /* torn bottom edge */
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 0, #000 6px, transparent 6.5px) bottom left / 12px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 0, #000 6px, transparent 6.5px) bottom left / 12px 8px repeat-x;
  transform-origin: top center;
}
.nf-receipt hr { border: 0; border-top: 1.5px dashed rgba(29, 29, 31, 0.35); margin: 12px 0; }
.nf-r-brand { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.nf-r-sub { text-align: center; font-size: 0.6875rem; letter-spacing: 0.18em; color: #6e6e73; margin-top: 2px; }
.nf-r-meta, .nf-r-row, .nf-r-total { display: flex; justify-content: space-between; gap: 12px; }
.nf-r-meta { margin-top: 14px; color: #6e6e73; font-size: 0.75rem; }
.nf-r-path { color: #6e6e73; font-size: 0.75rem; overflow-wrap: anywhere; padding-left: 10px; }
.nf-r-out { margin-top: 6px; }
.nf-r-out span:last-child { color: #c2403f; font-weight: 700; text-transform: uppercase; }
.nf-r-total { font-size: 1.25rem; font-weight: 700; }
.nf-r-thanks { text-align: center; font-size: 0.75rem; color: #6e6e73; }
.nf-barcode { height: 44px; margin: 14px 8px 4px; background: repeating-linear-gradient(90deg, #1d1d1f 0 2px, transparent 2px 4px, #1d1d1f 4px 5px, transparent 5px 8px, #1d1d1f 8px 11px, transparent 11px 12px, #1d1d1f 12px 13px, transparent 13px 16px); }
.nf-r-code { text-align: center; font-size: 0.6875rem; letter-spacing: 0.2em; color: #6e6e73; }
@media (prefers-reduced-motion: no-preference) {
  .nf-receipt { animation: nf-print 1600ms steps(14, end) 500ms backwards, nf-sway 5s ease-in-out 2.4s infinite; }
}
@keyframes nf-print { from { transform: translateY(-100%); } }
@keyframes nf-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.2deg); } }
@media (max-width: 560px) { .nf-feed { width: min(100%, 270px); } .nf-printer { width: min(100%, 310px); } }
