/* ==========================================================================
   Omy Sathe — omysathe.com
   Editorial tile system. Navy #255371 + emerald #19B47C only.
   Full-bleed ~100vh tiles; the background change IS the divider.
   One shadow in the whole page (device mockups only).
   Type ladder: 300 / 400 / 600 / 700 — never 500.
   ========================================================================== */

:root {
  --navy: #255371;
  --navy-press: #1c4159;
  --em: #19B47C;
  --canvas: #ffffff;
  --parchment: #F5F5F7;
  --white2: #FAFBFC;
  --dark: #101C26;
  --card-dark: #182633;
  --ink: #101C26;
  --muted: #6E6E73;
  --muted-dark: #CCCCCC;
  --muted-dim: #8A94A0;
  --hairline: #E0E0E0;
  --ghost-num: #E4E8EB;
  --shadow-device: rgba(0, 0, 0, 0.22) 3px 5px 30px;
  --font: "Google Sans", "Outfit", "Inter", system-ui, sans-serif;
  --header-h: 64px;
  /* vibrant accent family */
  --v-blue: #3B7BFF;
  --v-violet: #8B5CF6;
  --v-coral: #FF6B5E;
  --v-amber: #F2A93B;
  --v-cyan: #25C0D8;
  --v-pink: #EC5FA3;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* no overflow on body: html{overflow-x:clip} handles stray width, and a body
     scroll container silently breaks every position:sticky on the page */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font); margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; }

::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.tile--dark :focus-visible { outline-color: var(--em); }

/* ---------- Type ladder ---------- */
.display {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);       /* 56px */
  font-weight: 600;
  letter-spacing: -0.28px;
  line-height: 1.08;
  margin-bottom: 24px;
}
.display--light { color: #fff; }
.display-navy { color: var(--navy); display: inline-block; }
.tile-h {
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);       /* 40px */
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.tile-h--light { color: #fff; }
.tile-h--center { text-align: center; }
.lead {
  font-size: clamp(1.15rem, 2vw, 1.75rem);       /* 28px */
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0;
}
.lead--muted { color: var(--muted); }
.lead--ondark { color: var(--muted-dark); }
.closing { font-size: 21px; font-weight: 600; text-align: center; margin-top: 56px; }
.closing--light { color: #fff; }
.closing--muted { color: var(--muted-dark); }

/* ---------- Tiles ---------- */
.tile {
  min-height: 0;                       /* content decides height — no dead voids */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(88px, 13vh, 140px) 0;
  overflow: clip;   /* texture layers must never bleed onto neighboring tiles */
}
/* gradient surfaces: every tile eases out of the previous one */
.tile--parchment { background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 16%, #F1F2F5 100%); }
.tile--white { background: linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 14%, #FFFFFF 100%); }
.tile--white2 { background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 16%, #F6F8FA 100%); }
.tile--dark { background: linear-gradient(180deg, #1A2836 0%, #101C26 18%, #0C1620 100%); }
.tile--tall { min-height: 100vh; }

.tin { width: min(980px, 100% - 3rem); margin-inline: auto; }
.tin--wide { width: min(1440px, 100% - 3rem); }
.tin--narrow { width: min(760px, 100% - 3rem); }
.tin--center { text-align: center; }

/* ---------- Buttons (one primary shape: the pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  padding: 11px 22px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-press); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); }
.header-inner {
  width: min(1440px, 100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.container { width: min(1440px, 100% - 3rem); margin-inline: auto; }
.brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-dot { color: var(--em); }
.brand-mark { height: 30px; width: auto; flex: none; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 400; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--ink); }
.btn-solid { background: var(--navy); color: #fff; border-radius: 9999px; padding: 9px 18px; font-size: 14px; font-weight: 400; display: inline-flex; align-items: center; min-height: 40px; transition: background 0.18s ease; }
.btn-solid:hover { background: var(--navy-press); }
.btn-sm { font-size: 14px; }

/* ---------- Reveal system (IO + CSS) ---------- */
html.has-anim [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0s);
}
html.has-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* ========================================================================
   1. Thesis
   ======================================================================== */
#thesis .lead { margin-top: 8px; }
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.45s; }
html.has-anim .is-in .wipe, html:not(.has-anim) .wipe { clip-path: inset(-2% -2% -6% -2%); }
.chevron {
  width: 24px; height: 24px;
  color: var(--em);
  margin: 64px auto 0;
  animation: chevPulse 2.2s ease-in-out infinite;
}
@keyframes chevPulse { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(8px); opacity: 1; } }

/* ========================================================================
   2. Dashboard mockup
   ======================================================================== */
.dash-mock {
  display: flex;
  text-align: left;
  background: linear-gradient(180deg, #101C29 0%, #0C141D 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-device), inset 0 1px 0 rgba(255,255,255,0.07);
  margin: 48px auto 0;
  max-width: 980px;
  transform: perspective(1600px) rotateX(8deg);
  transform-origin: 50% 0;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}
html.has-anim .dash-mock.is-in { transform: perspective(1600px) rotateX(0deg); }
.dm-rail {
  width: 64px;
  flex: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
}
.dm-rail svg {
  width: 40px; height: 40px;
  padding: 10px;
  fill: none; stroke: var(--muted-dim); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  border-left: 2px solid transparent;
}
.dm-rail svg.on { stroke: #fff; border-left-color: var(--em); }
.dm-main { flex: 1; min-width: 0; padding: 18px 22px 22px; }
.dm-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.dm-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--navy); }
.dm-ws { color: #fff; font-size: 14px; font-weight: 600; }
.dm-avatar { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #3c5a72, #6e8ba1); }
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: linear-gradient(180deg, #1C2B3A, #16222E); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 16px 18px; position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.kpi strong { display: block; color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted-dim); font-size: 11.5px; display: block; margin-top: 3px; }
.chip { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--em); background: rgba(25,180,124,0.12); border-radius: 999px; padding: 2px 7px; }
.dm-avs { position: absolute; top: 14px; right: 12px; display: flex; }
.dm-avs i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #3c5a72, #6e8ba1); border: 1.5px solid var(--card-dark); margin-left: -5px; }
.dm-body { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 10px; }
.dm-chart, .dm-orders { background: linear-gradient(180deg, #1B2937, #15212D); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 16px 18px; min-width: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.dm-chart h5, .dm-orders h5 { color: #fff; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
.dm-chart svg { width: 100%; height: 130px; }
.dm-grid line { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.dm-area { opacity: 0; transition: opacity 0.8s ease 1.4s; }
.dm-line { stroke: var(--em); stroke-width: 2.5; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.6s ease 0.5s; filter: drop-shadow(0 0 5px rgba(25,180,124,0.55)); }
.dm-dot { fill: var(--em); opacity: 0; transition: opacity 0.4s ease 2s; filter: drop-shadow(0 0 6px rgba(25,180,124,0.9)); }
html.has-anim .is-in .dm-line, html:not(.has-anim) .dm-line { stroke-dashoffset: 0; }
html.has-anim .is-in .dm-area, html:not(.has-anim) .dm-area { opacity: 1; }
html.has-anim .is-in .dm-dot, html:not(.has-anim) .dm-dot { opacity: 1; }
.dm-x { display: flex; justify-content: space-between; color: var(--muted-dim); font-size: 10px; margin-top: 6px; }
.dm-orders ul { display: grid; gap: 9px; }
.o-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted-dark); }
html.has-anim .dash-mock .o-row { opacity: 0; transform: translateX(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.has-anim .dash-mock.is-in .o-row { opacity: 1; transform: none; }
.dash-mock.is-in .o-row:nth-child(1) { transition-delay: 0.7s; }
.dash-mock.is-in .o-row:nth-child(2) { transition-delay: 0.85s; }
.dash-mock.is-in .o-row:nth-child(3) { transition-delay: 1s; }
.dash-mock.is-in .o-row:nth-child(4) { transition-delay: 1.15s; }
.dash-mock.is-in .o-row:nth-child(5) { transition-delay: 1.3s; }
.o-row.o-live { transition-delay: 0s !important; }
.o-thumb { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.t1 { background: #2e5a4e; } .t2 { background: #4e3a5a; } .t3 { background: #5a4a2e; } .t4 { background: #2e4a5a; } .t5 { background: #5a2e3a; } .t6 { background: #3a5a2e; }
.o-row span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-row b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill { font-style: normal; font-size: 9.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; flex: none; }
.pill--em { color: #07130e; background: var(--em); }
.pill--nv { color: #fff; background: var(--navy); }
.pill--wh { color: var(--dark); background: #fff; }
.dm-inv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.inv-card { background: linear-gradient(180deg, #1B2937, #15212D); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 12px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.inv-card span { color: var(--muted-dark); font-size: 11px; display: block; }
.inv-card b { color: #fff; font-size: 11.5px; font-weight: 600; display: block; margin: 2px 0 8px; }
.bar { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.bar u { display: block; height: 100%; border-radius: 2px; background: var(--em); }
.inv-card--low .bar u { background: #E8A13C; }
.inv-card--low b { color: #E8A13C; }

/* ========================================================================
   3. Reach — scroll-driven video (monument → Maharashtra → India)
   ======================================================================== */
.vidsec { padding: 0; position: relative; }
.vid-pin { position: relative; min-height: 100vh; width: 100%; overflow: hidden; display: flex; align-items: flex-end; }
#nexusVid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,28,38,0.82) 0%, rgba(16,28,38,0.35) 45%, rgba(16,28,38,0.15) 100%); }
.vid-copy { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 7rem); display: grid; gap: 26px; max-width: 640px; }
.vstep {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  opacity: 0.28;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.vstep.on { opacity: 1; transform: translateX(8px); }
.vstep--stats { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.vstep--stats strong { display: block; font-size: 34px; font-weight: 600; color: var(--em); font-variant-numeric: tabular-nums; }
.vstep--stats span { font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 400; }
html.sfx .vidsec { height: 320vh; }
html.sfx .vid-pin { position: sticky; top: 0; height: 100vh; min-height: 0; }
html:not(.sfx) .vstep { opacity: 1; }

/* ========================================================================
   4. Try a dashboard — four businesses, one accent hue each
   ======================================================================== */
.try-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 48px 0 32px; }
.ttab {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: var(--parchment);
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 10px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ttab:hover { transform: translateY(-1px); }
.ttab.is-on { color: #fff; }
.ttab:nth-child(1).is-on { background: var(--em); color: #07130e; }
.ttab:nth-child(2).is-on { background: var(--v-amber); color: #241704; }
.ttab:nth-child(3).is-on { background: var(--v-cyan); color: #06232a; }
.ttab:nth-child(4).is-on { background: var(--v-violet); }
.try-stage { position: relative; max-width: 900px; margin-inline: auto; text-align: left; }
.try-dash {
  background: #0d1721;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-device);
}
.try-dash[hidden] { display: none; }
.try-dash.is-on { animation: tdIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes tdIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
.try-dash[data-hue="em"] { --hue: var(--em); }
.try-dash[data-hue="am"] { --hue: var(--v-amber); }
.try-dash[data-hue="cy"] { --hue: var(--v-cyan); }
.try-dash[data-hue="vi"] { --hue: var(--v-violet); }
.td-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.td-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--hue); }
.td-head b { color: #fff; font-size: 15px; font-weight: 600; }
.td-head span { color: var(--muted-dim); font-size: 12px; }
.td-live { margin-left: auto; font-style: normal; color: var(--hue); font-size: 11px; font-weight: 600; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.45; } }
.td-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tk { background: var(--card-dark); border-radius: 12px; padding: 13px 15px; }
.tk b { display: block; color: #fff; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tk span { color: var(--muted-dim); font-size: 11px; }
.td-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.td-panel { background: var(--card-dark); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.td-panel h6 { color: #fff; font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.td-rows { display: grid; gap: 9px; }
.td-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted-dark); font-size: 12px; }
.td-rows li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-pay { color: var(--muted-dark); font-size: 12.5px; margin: 0 0 8px; }
.td-pay b { color: #fff; font-weight: 600; }
.td-panel small { display: block; color: var(--muted-dim); font-size: 10.5px; margin-top: 8px; }
.td-panel .bar { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.td-panel .bar u { display: block; height: 100%; border-radius: 3px; background: var(--hue); }
.td-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.td-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--hue), transparent 160%); opacity: 0.9; }
.tgl { width: 30px; height: 17px; border-radius: 999px; background: rgba(255,255,255,0.14); position: relative; flex: none; transition: background 0.2s ease; }
.tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: left 0.2s ease; }
.tgl.on { background: var(--hue); }
.tgl.on::after { left: 15px; }
.td-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.td-slots i { font-style: normal; font-size: 11px; text-align: center; border: 1px solid rgba(255,255,255,0.14); color: var(--muted-dim); border-radius: 7px; padding: 6px 0; }
.td-slots i.free { border-color: var(--hue); color: var(--hue); font-weight: 600; }
#try .closing { color: var(--muted); font-weight: 400; font-size: 17px; }

/* ========================================================================
   5. Messaging
   ======================================================================== */
.msg-split { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.msg-note { color: var(--v-blue); font-weight: 600; font-size: 15px; margin-top: 32px; }
.msg-visual { max-width: 400px; margin-inline: auto; }
.chat-phone {
  background: linear-gradient(180deg, #16222e, #101C26);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow-device);
}
.cp-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cp-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--navy), var(--v-blue)); }
.cp-head b { color: #fff; font-size: 13px; font-weight: 600; display: block; }
.cp-status { color: var(--em); font-size: 11px; }
.cp-head small { margin-left: auto; color: var(--muted-dim); font-size: 11px; }
/* fixed height — a growing chat loop would otherwise trigger scroll anchoring drift */
.cp-body { height: 372px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 4px 4px; }
.cp-msg {
  max-width: 82%;
  border-radius: 16px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
  animation: msgIn 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: none; } }
.cp-in { background: var(--card-dark); border-bottom-left-radius: 5px; align-self: flex-start; }
.cp-out { background: var(--navy); border-bottom-right-radius: 5px; align-self: flex-end; }
.cp-msg em { font-style: normal; color: var(--em); font-weight: 600; }
.cp-typing { align-self: flex-start; background: var(--card-dark); border-radius: 16px; border-bottom-left-radius: 5px; padding: 12px 15px; display: flex; gap: 4px; }
.cp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-dim); animation: typDot 1s ease-in-out infinite; }
.cp-typing i:nth-child(2) { animation-delay: 0.15s; }
.cp-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typDot { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { transform: none; opacity: 0.5; } }

/* ========================================================================
   6. AI in your language
   ======================================================================== */
.ai-eyebrow {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--em);
  margin-bottom: 24px;
}
.lang-slot {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: bottom;
  position: relative;
  height: 1.1em;
  min-width: 4.2em;
  overflow: visible;
  color: var(--em);
}
.lang-ghost { position: absolute; left: 0; opacity: 0.2; font-size: 0.62em; line-height: 1; }
.lang-prev { top: -0.75em; }
.lang-next { bottom: -0.75em; }
.lang-cur { display: inline-block; line-height: 1.1; transition: transform 0.35s ease, opacity 0.35s ease; }
.lang-cur.rolling { transform: translateY(-0.5em); opacity: 0; }
.ai-chat { max-width: 480px; margin: 64px auto 0; display: grid; gap: 14px; text-align: left; }
.bubble {
  position: relative;
  background: var(--card-dark);
  border-radius: 18px;
  padding: 20px 52px 20px 20px;
  color: #fff;
  font-size: 17px;
  min-height: 62px;
}
html.has-anim .bubble { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
html.has-anim .bubble.b-on { opacity: 1; transform: none; }
html:not(.has-anim) .bubble .b-text::after { content: attr(data-full); }
.bubble p { margin: 0; min-height: 1.4em; }
.bubble small { display: block; color: var(--muted-dim); font-size: 14px; margin-top: 6px; }
.b-check {
  position: absolute; right: 16px; top: 18px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(25,180,124,0.15);
  color: var(--em);
  display: grid; place-items: center;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.b-check svg { width: 13px; height: 13px; }
.b-check.pop { transform: scale(1); }
#ai .closing { margin-top: 56px; }

/* ========================================================================
   7. What we build — site mockup cards
   ======================================================================== */
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.b-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.25s ease;
}
.b-card:hover { transform: translateY(-4px); }
.b-card h3 { font-size: 17px; font-weight: 600; margin: 18px 0 4px; }
.b-card p { font-size: 17px; color: var(--muted); margin: 0; }
.site-mock {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-device);
  background: #fff;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
.b-card:hover .site-mock { transform: scale(1.02); }
/* clinic */
.smc-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--hairline); background: #F3F7FA; }
.smc-bar b { font-size: 11px; font-weight: 600; color: var(--navy); }
.smc-pill { background: var(--navy); color: #fff; border-radius: 999px; font-size: 9px; padding: 4px 10px; }
.smc-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 10px 12px; flex: 1; min-height: 0; }
.smc-body img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.smc-slots { align-content: start; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.smc-slots b { grid-column: 1 / -1; font-size: 9.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.smc-slots i { font-style: normal; font-size: 8.5px; text-align: center; border: 1px solid var(--hairline); color: #B8C0C8; border-radius: 5px; padding: 4px 0; }
.smc-slots i.free { border-color: var(--em); color: #0e7a54; font-weight: 600; }
/* portfolio */
.smf-nav { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 12px; }
.smf-nav b { font-size: 10px; letter-spacing: 0.14em; font-weight: 600; }
.smf-nav span { font-size: 8px; color: var(--muted); }
.smf-hero { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.smf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 8px 12px; }
.smf-grid i { height: 18px; border-radius: 3px; background: #E8ECEF; }
/* store */
.sms-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--hairline); }
.sms-bar b { font-size: 10px; letter-spacing: 0.12em; font-weight: 600; }
.sms-cart { position: relative; color: var(--ink); }
.sms-cart svg { width: 13px; height: 13px; }
.sms-cart u { position: absolute; top: -5px; right: -7px; background: var(--em); color: #07130e; font-size: 7px; font-weight: 700; text-decoration: none; width: 11px; height: 11px; border-radius: 50%; display: grid; place-items: center; }
.sms-hero { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: 50% 18%; }
.sms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 12px; }
.sms-grid span { font-size: 8.5px; font-weight: 600; color: var(--ink); }
.sms-grid i { display: block; height: 22px; border-radius: 3px; background: #E8ECEF; margin-bottom: 3px; }
/* local */
.sml-hero { width: 100%; height: 52%; object-fit: cover; }
.sml-body { padding: 9px 12px; display: grid; gap: 8px; }
.sml-ctas { display: flex; gap: 6px; }
.sml-ctas span { font-size: 8.5px; border-radius: 999px; padding: 4px 11px; }
.sml-ctas .c1 { background: var(--navy); color: #fff; }
.sml-ctas .c2 { border: 1px solid var(--em); color: #0e7a54; font-weight: 600; }
.sml-meta { display: flex; align-items: center; gap: 7px; font-size: 8.5px; color: var(--muted); }
.sml-map { width: 26px; height: 20px; border-radius: 4px; background: #E8F0EA; color: var(--navy); display: grid; place-items: center; }
.sml-map svg { width: 11px; height: 11px; }

/* ========================================================================
   8. Four steps
   ======================================================================== */
.steps-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  position: relative;
  counter-reset: none;
}
.steps-line::before {
  content: "";
  position: absolute;
  top: 5px; left: 4%; right: 4%;
  height: 1.5px;
  background: var(--navy);
  opacity: 0.25;
}
.steps-line li { position: relative; padding-top: 28px; }
.s-dot { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--em); }
.s-ghost { font-size: 56px; font-weight: 600; color: var(--ghost-num); line-height: 1; display: block; margin-bottom: 8px; }
.steps-line h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.steps-line p { font-size: 17px; color: var(--muted); margin: 0; }

/* ========================================================================
   9. Quiet reassurance
   ======================================================================== */
.tin--vows { width: min(720px, 100% - 3rem); text-align: center; display: grid; gap: 48px; }
.vow { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-align: center; }

/* ========================================================================
   10. Pricing
   ======================================================================== */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1140px; margin: 64px auto 0; text-align: left; }
.plan {
  position: relative;
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border-color: var(--em); }
.plan-tag {
  position: absolute; top: -12px; left: 32px;
  background: var(--em); color: #07130e;
  font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 3px 12px;
}
.plan h3 { color: #fff; font-size: 21px; font-weight: 600; }
.plan-price { color: #fff; font-size: 34px; font-weight: 600; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.plan-line { color: var(--muted-dark); font-size: 17px; margin-bottom: 24px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 32px; flex: 1; }
.plan li { position: relative; padding-left: 26px; color: var(--muted-dark); font-size: 14px; }
.plan li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(25,180,124,0.15);
}
.plan li::after {
  content: "";
  position: absolute; left: 4px; top: 6.5px;
  width: 7px; height: 4px;
  border-left: 1.5px solid var(--em);
  border-bottom: 1.5px solid var(--em);
  transform: rotate(-45deg);
}
.plan-fine { color: var(--muted-dim); font-size: 12px; margin-top: 40px; }

/* ========================================================================
   11. FAQ
   ======================================================================== */
.faq-list { margin-top: 48px; }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  font-size: 17px;
  font-weight: 600;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { font-size: 17px; color: var(--muted); padding: 0 0 20px; max-width: 46em; }

/* ========================================================================
   12. Final CTA + form
   ======================================================================== */
.cta-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.trust-list { margin-top: 40px; display: grid; gap: 14px; }
.trust-list li { position: relative; padding-left: 28px; font-size: 17px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(25,180,124,0.15); }
.trust-list li::after { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 4px; border-left: 1.5px solid var(--em); border-bottom: 1.5px solid var(--em); transform: rotate(-45deg); }

.form-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-device);
}
.fc-progress { height: 3px; border-radius: 2px; background: var(--parchment); overflow: hidden; margin-bottom: 10px; }
.fc-progress i { display: block; height: 100%; background: var(--em); width: 25%; transition: width 0.4s ease; }
.fc-step { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.f-step { display: none; }
.f-step.is-on { display: block; animation: stepIn 0.35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.f-step label { display: block; font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.f-step input, .f-step select {
  width: 100%;
  height: 48px;
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0 20px;
  appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.f-step select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E73' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.f-step input:focus, .f-step select:focus { outline: none; background: #fff; border-color: var(--navy); }
.f-step input.is-invalid, .f-step select.is-invalid { border-color: #C0392B; background: #fff; }
.form-error { color: #C0392B; font-size: 14px; margin: 14px 0 0; }
#fcBtn { margin-top: 28px; height: 48px; }
.fc-back { display: block; background: none; border: 0; color: var(--muted); font-family: var(--font); font-size: 14px; margin: 14px auto 0; cursor: pointer; padding: 6px 10px; }
.fc-back:hover { color: var(--ink); }
.fc-fine { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.form-success { text-align: center; padding: 40px 8px; }
.success-icon { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: var(--em); color: #fff; display: grid; place-items: center; }
.success-icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 26em; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--parchment); padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: start; }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 10px; }
.f-cols { display: flex; gap: clamp(2rem, 5vw, 4.5rem); }
.f-cols ul { display: grid; align-content: start; }
.f-cols a { font-size: 17px; line-height: 2.4; color: var(--muted); }
.f-cols a:hover { color: var(--ink); }
.footer-legal { grid-column: 1 / -1; font-size: 12px; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 24px; margin: 24px 0 0; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1023px) {
  .build-grid { gap: 18px; }
  .steps-line { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .steps-line::before { display: none; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .tile { min-height: 0; padding: 88px 0; }
  .reach-split, .msg-split, .cta-split { grid-template-columns: 1fr; }
  .dm-kpis, .dm-inv { grid-template-columns: 1fr 1fr; }
  .dm-body { grid-template-columns: 1fr; }
  .dm-rail { display: none; }
  .dash-mock { transform: none; }
  .build-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .lock-phone { right: 4px; }
}
@media (max-width: 520px) {
  .steps-line { grid-template-columns: 1fr; }
  .courier-strip { gap: 10px 22px; padding: 20px; }
  .form-card { padding: 28px 22px; }
}

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

/* ========================================================================
   Vibrancy layer — gradient headlines, colored accents, ambient texture
   ======================================================================== */
.grad-text, .display-grad, .display-grad2 {
  background: linear-gradient(95deg, #3B7BFF 5%, #25C0D8 45%, #19B47C 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.display-grad { display: inline-block; }
.display-grad2 { display: inline-block; }   /* shares the single brand gradient */

/* colored step dots + tinted ghost numerals */
.steps-line li:nth-child(1) .s-dot { background: var(--em); }
.steps-line li:nth-child(2) .s-dot { background: var(--v-amber); }
.steps-line li:nth-child(3) .s-dot { background: var(--v-coral); }
.steps-line li:nth-child(4) .s-dot { background: var(--v-violet); }
.steps-line li:nth-child(1) .s-ghost { color: rgba(25,180,124,0.18); }
.steps-line li:nth-child(2) .s-ghost { color: rgba(242,169,59,0.22); }
.steps-line li:nth-child(3) .s-ghost { color: rgba(255,107,94,0.2); }
.steps-line li:nth-child(4) .s-ghost { color: rgba(139,92,246,0.18); }

/* vows stay quiet ink — the restraint is the statement */

/* colored pills for the dashboards */
.pill--bl { color: #fff; background: var(--v-blue); }
.pill--am { color: #241704; background: var(--v-amber); }
.pill--vi { color: #fff; background: var(--v-violet); }
.pill--cy { color: #06232a; background: var(--v-cyan); }

/* build-card colored markers */
.b-card h3 { position: relative; padding-left: 18px; }
.b-card h3::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 3px; }
.b-card:nth-child(1) h3::before { background: var(--v-cyan); }
.b-card:nth-child(2) h3::before { background: var(--v-violet); }
.b-card:nth-child(3) h3::before { background: var(--em); }
.b-card:nth-child(4) h3::before { background: var(--v-coral); }

/* plan cards: one hue each */
.plan:nth-child(1) { --phue: var(--v-cyan); }
.plan:nth-child(2) { --phue: var(--em); }
.plan:nth-child(3) { --phue: var(--v-violet); }
.plan li::before { background: color-mix(in srgb, var(--phue) 16%, transparent); }
.plan li::after { border-color: var(--phue); }
.plan--featured { border-color: var(--em); }
.plan:nth-child(3) { border-top: 1px solid rgba(139,92,246,0.55); }
.plan:nth-child(1) { border-top: 1px solid rgba(37,192,216,0.55); }

/* ambient tile texture + soft color washes (kept far below content) */
.tile { position: relative; }
.tile > .tin { position: relative; z-index: 1; }
.tile::before {
  content: "";
  position: absolute;
  inset: -6%;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 560px;
  opacity: 0;
  z-index: 0;
}
/* CSS-only atmosphere: soft hue washes + a fine seamless dot grid.
   (The generated raster textures tiled with visible seams — looked choppy.) */
.tile--dark:not(.vidsec)::before {
  background-image:
    radial-gradient(46rem 30rem at 86% 0%, rgba(59,123,255,0.08), transparent 60%),
    radial-gradient(42rem 28rem at 8% 100%, rgba(25,180,124,0.07), transparent 60%),
    radial-gradient(rgba(255,255,255,0.032) 1px, transparent 1.4px);
  background-size: auto, auto, 30px 30px;
  opacity: 1;
  animation: texDrift 80s linear infinite alternate;
}
.tile--parchment::before, .tile--white::before, .tile--white2::before {
  background-image:
    radial-gradient(42rem 26rem at 8% 0%, rgba(59,123,255,0.05), transparent 60%),
    radial-gradient(38rem 24rem at 94% 100%, rgba(25,180,124,0.045), transparent 60%),
    radial-gradient(rgba(16,28,38,0.045) 1px, transparent 1.4px);
  background-size: auto, auto, 26px 26px;
  opacity: 1;
  animation: texDrift 100s linear infinite alternate;
}
@keyframes texDrift { from { transform: translate(0, 0); } to { transform: translate(2.5%, 1.8%); } }
@media (prefers-reduced-motion: reduce) { .tile::before { animation: none; } }

/* KPI chips get variety */
.kpi:nth-child(2) .chip { color: var(--v-blue); background: rgba(59,123,255,0.14); }

/* ========================================================================
   Dashboard scroll walkthrough (dashx) — the caption is the centerpiece
   ======================================================================== */
html.sfx .dashx { height: 380vh; }
html.sfx .dashx-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
html.sfx .dashx-pin > .tin { width: min(980px, 100% - 3rem); }
.dash-fit { transform-origin: 50% 0; }
.dashx .tile-h, .dashx .lead { transition: opacity 0.45s ease; }
html.sfx .dashx[class*="dstep-"] .tile-h,
html.sfx .dashx[class*="dstep-"] .lead { opacity: 0.22; }
.dashx .dm-kpis, .dashx .dm-chart, .dashx .dm-orders, .dashx .dm-inv {
  transition: opacity 0.5s ease, box-shadow 0.5s ease;
  border-radius: 12px;
}
html.sfx .dashx.dstep-1 :is(.dm-chart, .dm-orders, .dm-inv),
html.sfx .dashx.dstep-2 :is(.dm-kpis, .dm-orders, .dm-inv),
html.sfx .dashx.dstep-3 :is(.dm-kpis, .dm-chart, .dm-inv),
html.sfx .dashx.dstep-4 :is(.dm-kpis, .dm-chart, .dm-orders) { opacity: 0.16; }
html.sfx .dashx.dstep-1 .dm-kpis,
html.sfx .dashx.dstep-2 .dm-chart,
html.sfx .dashx.dstep-3 .dm-orders,
html.sfx .dashx.dstep-4 .dm-inv {
  box-shadow: 0 0 0 2px rgba(25,180,124,0.75), 0 0 34px -6px rgba(25,180,124,0.45);
}
/* final beat: everything alive at once — "anything you need" */
html.sfx .dashx.dstep-5 :is(.dm-kpis, .dm-chart, .dm-orders, .dm-inv) {
  opacity: 1;
  box-shadow: 0 0 0 1.5px rgba(25,180,124,0.35), 0 0 26px -8px rgba(25,180,124,0.35);
}
.dashx-caps { position: relative; min-height: 3.1em; margin: 20px auto 26px; max-width: 52em; }
.dcap {
  position: absolute; left: 0; right: 0; top: 0;
  margin: 0;
  display: flex; align-items: flex-start; justify-content: center; gap: 14px;
  color: #fff;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.dcap span {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--em);
  color: #07130e;
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
  margin-top: 3px;
}
.dcap.on { opacity: 1; transform: none; }
html:not(.sfx) .dashx-caps { min-height: 0; display: grid; gap: 14px; max-width: 640px; }
html:not(.sfx) .dcap { position: static; opacity: 1; transform: none; font-size: 15px; font-weight: 400; color: var(--muted-dark); justify-content: flex-start; text-align: left; }
html:not(.sfx) .dcap span { width: 24px; height: 24px; font-size: 12px; margin-top: 0; }

/* AI bubbles: step highlight while the sequence plays */
.bubble { transition: opacity 0.4s ease, transform 0.4s ease; }
.bubble.dimmed { opacity: 0.35 !important; }

/* ========================================================================
   Alive-scroll layer: word cascades, parallax, tab tooltips, reactive try bg
   ======================================================================== */
/* headlines reveal word by word (parent stays put; words carry the motion) */
html.has-anim [data-reveal].has-words { opacity: 1; transform: none; }
html.has-anim [data-reveal] .rw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(4px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) var(--wd, 0s),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) var(--wd, 0s),
    filter 0.5s ease var(--wd, 0s);
}
html.has-anim [data-reveal].is-in .rw { opacity: 1; transform: none; filter: none; }

[data-para] { will-change: transform; }

/* tab tooltips */
.ttab { position: relative; }
.ttab::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: #fff;
  font-size: 12px; font-weight: 400;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.ttab:hover::after, .ttab:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* try section background breathes in the active business hue */
#try::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(52rem 34rem at 50% 58%, var(--tryhue, rgba(25,180,124,0.10)), transparent 66%);
  z-index: 0;
}

/* ========================================================================
   Stay-in-touch: WhatsApp-inspired chat, pinned, conversation on scroll
   ======================================================================== */
html.sfx .msgx { height: 300vh; padding: 0; }
html.sfx .msg-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; width: 100%; }
.msg-pin { width: 100%; }
.msgx .msg-split { align-items: center; }
.chat-phone {
  width: min(430px, 94vw);
  background: #0B141A;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow-device);
  margin-inline: auto;
}
.cp-head {
  display: flex; align-items: center; gap: 12px;
  background: #202C33;
  border-radius: 20px 20px 6px 6px;
  padding: 13px 16px;
  border-bottom: 0;
}
.cp-logo { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--em), var(--navy)); }
.cp-head b { color: #E9EDEF; font-size: 15.5px; font-weight: 600; display: block; }
.cp-status { color: #8696A0; font-size: 12.5px; }
.cp-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--em); margin-right: 5px; }
.cp-head small { margin-left: auto; color: #8696A0; font-size: 12px; }
.cp-body {
  height: min(60vh, 560px);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1.3px) 0 0 / 22px 22px,
    #0B141A;
  border-radius: 6px 6px 20px 20px;
  padding: 18px 12px 14px;
}
.cp-msg {
  max-width: 84%;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 15px;
  line-height: 1.45;
  color: #E9EDEF;
}
.cp-in { background: #202C33; border-top-left-radius: 3px; align-self: flex-start; }
.cp-out { background: #005C4B; border-top-right-radius: 3px; align-self: flex-end; }
.cp-out::after { content: " ✓✓"; color: #53BDEB; font-size: 11.5px; letter-spacing: -0.06em; }
.cp-msg em { font-style: normal; color: #6FDCB2; font-weight: 600; }
/* scroll-driven reveal (sfx): messages exist, scroll uncovers them in place */
html.sfx .cp-msg {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  animation: none;
}
html.sfx .cp-msg.shown { opacity: 1; transform: none; }

/* word-split must not flatten the language slot's flex layout */
html.has-anim [data-reveal] .lang-slot.rw, .lang-slot.rw { display: inline-flex; }

/* ========================================================================
   Pinned tiles: the sticky child must start at the section's very top.
   Inheriting the tile system's flex centering parked each pin ~140vh down,
   which read as a screenful of empty background before every pinned scene.
   ======================================================================== */
html.sfx .dashx,
html.sfx .vidsec,
html.sfx .msgx {
  display: block;
  padding: 0;
  align-items: initial;
}
/* trimmed scroll lengths — same choreography, far less travel */
html.sfx .dashx { height: 240vh; }
html.sfx .vidsec { height: 200vh; }
html.sfx .msgx { height: 190vh; }

/* ========================================================================
   KPI tiles reveal their detail on hover / focus / tap
   ======================================================================== */
.tk { position: relative; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.tk::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--hue);
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tk:hover, .tk:focus-visible, .tk:focus-within {
  border-color: color-mix(in srgb, var(--hue) 50%, transparent);
  transform: translateY(-2px);
  outline: none;
}
.tk:hover::after, .tk:focus-within::after { opacity: 1; transform: scale(1.5); }
.tk-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: max(100%, 216px);
  background: #0E1A24;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.75);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: 50% 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 8;
}
.tk:hover .tk-pop, .tk:focus-visible .tk-pop, .tk:focus-within .tk-pop {
  opacity: 1;
  transform: none;
}
/* right-hand tiles open leftward so nothing clips off the card */
.td-kpis .tk:nth-child(n+3) .tk-pop { left: auto; right: 0; }
.tk-pop h6 {
  color: var(--hue);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.tk-pop ul { display: grid; gap: 7px; }
.tk-pop li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.tk-pop li span {
  color: var(--muted-dark);
  font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-pop li i {
  font-style: normal;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex: none;
}
@media (max-width: 560px) {
  .tk-pop { min-width: 190px; }
  .td-kpis .tk:nth-child(even) .tk-pop { left: auto; right: 0; }
  .td-kpis .tk:nth-child(odd) .tk-pop { left: 0; right: auto; }
}
