/* ================================================================
   GRAPHIC VIEW — STRICT ZSITE-INSPIRED DESIGN SYSTEM
   Bazaar Modernism adapted to Graphic View Branding.
   Font: Inter Tight (Sans) & Instrument Serif (Italic Serif Accent)
   ================================================================ */

:root {
  --paper: #F6F1E7;
  --ink: #0B1B3D;
  --marigold: #FF8A00;
  --green: #1FAF5A;
  --terra: #D0490C;

  /* Tone palettes for smooth chapter-by-chapter viewport transitions */
  --paper-bg: #F6F1E7; --paper-fg: #0B1B3D; --paper-card: #FFFCF5; --paper-muted: #5E554C; --paper-rule: rgba(11,27,61,.14); --paper-acc: #D0490C;
  --sand-bg: #EEE4D2;  --sand-fg: #0B1B3D;  --sand-card: #FAF4E8;  --sand-muted: #5A5047;  --sand-rule: rgba(11,27,61,.16);  --sand-acc: #D0490C;
  --ink-bg: #0B1B3D;   --ink-fg: #F6F1E7;   --ink-card: #132448;   --ink-muted: #A4B2CD;   --ink-rule: rgba(246,241,231,.16); --ink-acc: #FF9F33;
  --mari-bg: #FF8A00;  --mari-fg: #0B1B3D;  --mari-card: #FFA640;  --mari-muted: #3D2610;  --mari-rule: rgba(11,27,61,.22);  --mari-acc: #0B1B3D;
  --grain-op: .06;

  --f-sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gut: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper-bg: #08132B; --paper-fg: #F6F1E7; --paper-card: #0F2046; --paper-muted: #A4B2CD; --paper-rule: rgba(246,241,231,.14); --paper-acc: #FF9F33;
    --sand-bg: #0D1C3D;  --sand-fg: #F6F1E7;  --sand-card: #142854;  --sand-muted: #B8C5DC;  --sand-rule: rgba(246,241,231,.15);  --sand-acc: #FF9F33;
    --ink-bg: #050D1E;   --ink-card: #0B1836;
    --grain-op: .05; color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper-bg: #08132B; --paper-fg: #F6F1E7; --paper-card: #0F2046; --paper-muted: #A4B2CD; --paper-rule: rgba(246,241,231,.14); --paper-acc: #FF9F33;
  --sand-bg: #0D1C3D;  --sand-fg: #F6F1E7;  --sand-card: #142854;  --sand-muted: #B8C5DC;  --sand-rule: rgba(246,241,231,.15);  --sand-acc: #FF9F33;
  --ink-bg: #050D1E;   --ink-card: #0B1836;
  --grain-op: .05; color-scheme: dark;
}

body, .t-paper { --bg: var(--paper-bg); --fg: var(--paper-fg); --card: var(--paper-card); --muted: var(--paper-muted); --rule: var(--paper-rule); --acc: var(--paper-acc); }
.t-sand  { --bg: var(--sand-bg); --fg: var(--sand-fg); --card: var(--sand-card); --muted: var(--sand-muted); --rule: var(--sand-rule); --acc: var(--sand-acc); }
.t-ink   { --bg: var(--ink-bg);  --fg: var(--ink-fg);  --card: var(--ink-card);  --muted: var(--ink-muted);  --rule: var(--ink-rule);  --acc: var(--ink-acc); }
.t-mari  { --bg: var(--mari-bg); --fg: var(--mari-fg); --card: var(--mari-card); --muted: var(--mari-muted); --rule: var(--mari-rule); --acc: var(--mari-acc); }

[data-tone="ink"]  { --bg: var(--ink-bg);  --fg: var(--ink-fg);  --card: var(--ink-card);  --muted: var(--ink-muted);  --rule: var(--ink-rule);  --acc: var(--ink-acc); }
[data-tone="sand"] { --bg: var(--sand-bg); --fg: var(--sand-fg); --card: var(--sand-card); --muted: var(--sand-muted); --rule: var(--sand-rule); --acc: var(--sand-acc); }
[data-tone="mari"] { --bg: var(--mari-bg); --fg: var(--mari-fg); --card: var(--mari-card); --muted: var(--mari-muted); --rule: var(--mari-rule); --acc: var(--mari-acc); }
html:not(.js) [data-tone] { background: var(--bg); color: var(--fg); }
html.js body.toned [data-tone] { --bg: inherit; --fg: inherit; --card: inherit; --muted: inherit; --rule: inherit; --acc: inherit; }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
html:not(.js), html.rm { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .7s var(--ease-out), color .7s var(--ease-out);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: middle; }
.i.fill { fill: currentColor; stroke: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); width: 100%; box-sizing: border-box; }

/* Paper grain overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { filter: invert(1); } }
:root[data-theme="dark"] body::before { filter: invert(1); }

/* Hairline Swiss grid background */
.rules { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: flex; justify-content: center; overflow: hidden; }
.rules span {
  width: 100%; max-width: 1320px; box-sizing: border-box;
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  background: linear-gradient(90deg, transparent calc(25% - .5px), var(--rule) calc(25% - .5px), var(--rule) calc(25% + .5px), transparent calc(25% + .5px), transparent calc(50% - .5px), var(--rule) calc(50% - .5px), var(--rule) calc(50% + .5px), transparent calc(50% + .5px), transparent calc(75% - .5px), var(--rule) calc(75% - .5px), var(--rule) calc(75% + .5px), transparent calc(75% + .5px));
  opacity: .55;
}
main, header, footer, section { position: relative; z-index: 1; max-width: 100%; width: 100%; box-sizing: border-box; }

/* Eyebrow & Titles */
.d-none { display: none !important; }
@media (min-width: 576px) { .d-sm-inline-flex { display: inline-flex !important; } .d-sm-none { display: none !important; } }
@media (min-width: 768px) { .d-md-inline-flex { display: inline-flex !important; } .d-md-none { display: none !important; } }
@media (min-width: 992px) { .d-lg-inline-flex { display: inline-flex !important; } .d-lg-none { display: none !important; } }
@media (min-width: 1280px) { .d-xl-inline-flex { display: inline-flex !important; } .d-xl-none { display: none !important; } }
@media (min-width: 1600px) { .d-xxl-block { display: block !important; } }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: .95; letter-spacing: -.045em; font-weight: 800; max-width: 16ch; }
.h2 em { font-size: 1.08em; color: var(--acc); letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 48ch; }
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 168px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }

/* Buttons */
.btn {
  --b-bg: var(--fg); --b-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bg); border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -.01em; cursor: pointer;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s; will-change: transform;
}
.btn .lbl { display: inline-flex; align-items: center; gap: .55em; transition: transform .5s var(--ease-out); }
.btn.primary { --b-bg: var(--marigold); --b-fg: #0B1B3D; }
.btn.ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn.lg { min-height: 64px; padding: 0 36px; font-size: 18px; }
.btn .arr { transition: transform .4s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* Rubber-stamp label with authentic ink mask */
.stamp {
  display: inline-flex; align-items: center; gap: .45em; padding: .42em .8em;
  border: 2px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px;
  border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acc); transform: rotate(var(--rot, -2deg));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1 1 1 0 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1 1 1 0 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

:root {
  --ann-h: 0px;
}

/* ================= 1. NAV: Floating Pill Island ================= */
.nav {
  position: absolute;
  top: var(--ann-h, 0px);
  left: 0;
  right: 0;
  z-index: 95;
  padding: 0 var(--gut);
  pointer-events: none;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-in {
  pointer-events: auto;
  max-width: 1320px;
  margin: 12px auto 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: max-width .5s var(--ease-out), padding .5s var(--ease-out), background-color .3s, border-color .3s, box-shadow .3s, margin .5s var(--ease-out);
}
.nav.pill {
  position: fixed;
  top: 10px;
  animation: gvPillIn .35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gvPillIn {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.nav.pill .nav-in {
  max-width: 880px;
  padding: 0 8px 0 18px;
  margin-top: 0;
  border-color: var(--rule);
  background: var(--card);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 12px 32px -10px rgba(11,27,61,.28);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 6px 9px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 99px;
  transition: background-color .2s;
  white-space: nowrap !important;
}
.nav-links a:hover { background: var(--rule); }
.nav.pill .nav-links { display: none; }

.nav-act { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-act .search-link { width: 38px; height: 38px; min-height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.nav-act .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; white-space: nowrap !important; }
.nav-act .btn.primary { padding: 0 16px; font-weight: 700; white-space: nowrap !important; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; transition: background-color .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--rule); }
.icon-btn .i { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}

/* Controlled Language Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1050;
  display: none;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background-color: var(--card);
  color: var(--fg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 18px 40px -10px rgba(11,27,61,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: gvDdFade .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-menu.show {
  display: block;
}
@keyframes gvDdFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 16px;
  clear: both;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--fg);
  text-decoration: none;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease;
  box-sizing: border-box;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--rule);
  color: var(--fg);
}
.dropdown-item.active {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--green);
  font-weight: 700;
}

.menu-btn, .nav-sheet { display: none; }

/* Keep secondary links hidden below 1440px to ensure zero wrapping */
@media (max-width: 1440px) {
  .nav-links li.d-xxl-block { display: none !important; }
}

@media (max-width: 1260px) {
  .nav-links { display: none !important; }
  .nav-act { margin-left: auto; }
  .nav-act a[href*="login.php"]:not(.primary) { display: none !important; }
  .nav-act .gv-lang-selector { display: none !important; }
  .menu-btn { display: grid !important; }
  .nav-sheet {
    position: absolute;
    top: 76px;
    left: var(--gut);
    right: var(--gut);
    pointer-events: auto;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 24px 50px -20px rgba(11,27,61,.4);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
  }
  .nav-sheet[data-open] { display: grid; }
  .nav-sheet a {
    padding: 12px 14px;
    font-weight: 700;
    font-size: clamp(14px, 4vw, 17px);
    text-decoration: none;
    border-radius: 12px;
    word-break: break-word;
  }
  .nav-sheet a:hover { background: var(--rule); }
  
  /* Inline Accordion for Language inside Mobile Drawer */
  .nav-sheet .dropdown {
    width: 100%;
    position: static;
  }
  .nav-sheet .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--bg);
    margin-top: 8px;
    max-height: 240px;
  }
}
@media (max-width: 640px) {
  .nav {
    padding: 0 8px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-in {
    padding: 0 10px !important;
    gap: 6px !important;
    height: 52px !important;
    margin: 6px auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 999px !important;
    border: 1px solid var(--rule) !important;
    background: var(--card) !important;
    background: color-mix(in srgb, var(--card) 94%, transparent) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
  }
  .nav.pill {
    top: 6px !important;
    padding: 0 8px !important;
  }
  .nav.pill .nav-in {
    margin-top: 0 !important;
    height: 50px !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  }
  .logo {
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
  }
  .logo svg {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0 !important;
  }
  .logo div {
    min-width: 0 !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
  }
  .logo b {
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.2 !important;
  }
  .logo small {
    display: none !important;
  }
  .nav-act {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: auto !important;
  }
  .nav-act .search-link {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .nav-act .search-link svg {
    width: 15px !important;
    height: 15px !important;
  }
  .nav-act .btn.primary {
    display: none !important;
  }
  .icon-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
  }
  .icon-btn .i {
    width: 17px !important;
    height: 17px !important;
  }
  .menu-btn {
    display: grid !important;
  }
}
@media (max-width: 360px) {
  .nav { padding: 0 4px !important; }
  .nav-in { padding: 0 6px !important; gap: 4px !important; height: 48px !important; }
  .logo { gap: 6px !important; }
  .logo svg { width: 22px !important; height: 22px !important; }
  .logo b { font-size: 13.5px !important; }
  .nav-act { gap: 3px !important; }
  .nav-act .search-link,
  .icon-btn { width: 30px !important; height: 30px !important; min-height: 30px !important; }
  .icon-btn .i { width: 15px !important; height: 15px !important; }
}

/* ================= 2. HERO: Kinetic Typography & Self-Building Mockup ================= */
.hero {
  padding: calc(var(--ann-h, 0px) + 90px) 0 clamp(60px, 8vw, 110px);
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}
.h1 {
  font-size: clamp(2.3rem, 4.4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
  max-width: 16ch;
}
.h1 em {
  color: var(--acc);
  font-size: 1.06em;
  letter-spacing: -.02em;
  padding-right: .04em;
}
.h1 .ten {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.h1 .ten svg {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -.12em;
  width: 104%;
  height: .22em;
  overflow: visible;
}
.h1 .ten path {
  fill: none;
  stroke: var(--marigold);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
}
html.js:not(.rm) .h1 .ten path {
  animation: draw 1s .95s var(--ease-out) backwards;
}
@keyframes draw { from { stroke-dashoffset: 420; } }

.h1 .wd { display: inline-block; white-space: nowrap; }
.h1 .ch { display: inline-block; transform-origin: 50% -.5em; }
html.js:not(.rm) .h1 .ch { animation: hang 1.25s var(--ease-out) backwards; animation-delay: calc(var(--i) * 26ms + 60ms); }
@keyframes hang {
  0%   { transform: translateY(-.5em) rotate(calc(var(--r) * 16deg)); }
  45%  { transform: translateY(.05em) rotate(calc(var(--r) * -7deg)); }
  68%  { transform: translateY(0) rotate(calc(var(--r) * 3deg)); }
  85%  { transform: rotate(calc(var(--r) * -1deg)); }
  100% { transform: none; }
}

.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stamps { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.stamps .stamp:nth-child(2) { --rot: 1.5deg; }
.stamps .stamp:nth-child(3) { --rot: -1deg; }

.trust {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; font-size: 15px; }
.trust li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.trust .i { width: 22px; height: 22px; color: var(--acc); }
.trust ul { display: contents; }
@media (max-width: 720px) {
  .trust { grid-template-columns: 1fr; }
  .trust li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

.hero-stage {
  position: relative;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ptag {
  position: absolute;
  left: -10px;
  top: 14px;
  z-index: 3;
  transform-origin: 50% 0;
  width: 110px;
}
html.js:not(.rm) .ptag { animation: sway 5s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(4deg); } }
.ptag .str { width: 1.5px; height: 60px; margin: 0 auto; background: var(--fg); opacity: .7; }
.ptag .tg { position: relative; margin-top: -6px; padding: 22px 12px 12px; background: var(--marigold); color: #0B1B3D; text-align: center; border-radius: 10px 10px 14px 14px; clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); box-shadow: 0 14px 24px -12px rgba(11,27,61,.5); }
.ptag .tg::before { content: ''; position: absolute; left: 50%; top: 11px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px #0B1B3D; }
.ptag small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ptag b { display: block; font-size: 24px; line-height: 1.05; letter-spacing: -.04em; font-weight: 800; }
.ptag span { font-size: 11px; font-weight: 700; }

.ticker {
  position: absolute;
  right: 0;
  top: 32px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: 0 14px 28px -14px rgba(11,27,61,.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker .face { position: relative; display: grid; min-width: 82px; height: 30px; overflow: hidden; }
.ticker .face > * { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; text-transform: none; transition: transform .6s var(--spring), opacity .3s; }
.ticker .tk-live { color: var(--green); }
.ticker .tk-live .i { width: 20px; height: 20px; stroke-width: 2.4; }
.ticker .tk-count { transform: translateY(-120%); opacity: 0; }
html.js:not(.rm) .ticker:not(.live) .tk-count { transform: none; opacity: 1; }
html.js:not(.rm) .ticker:not(.live) .tk-live { transform: translateY(120%); opacity: 0; }

@media (max-width: 1260px) and (min-width: 961px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
  .ptag { left: 0; transform: scale(.85); }
  .ticker { right: 0; transform: scale(.9); }
}
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--ann-h, 0px) + 72px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .hero-stage { justify-self: center; padding: 16px 0; width: 100%; max-width: 100%; display: flex; justify-content: center; position: relative; overflow: hidden !important; }
  .ptag { left: 8px; top: 0; width: 96px; transform: scale(.8); transform-origin: 0 0; }
  .ptag b { font-size: 20px; }
  .ptag .str { height: 32px; }
  .ticker { right: 8px; top: 0; transform: scale(.85); transform-origin: 100% 0; }
}
@media (max-width: 576px) {
  .hero { padding-top: calc(var(--ann-h, 0px) + 68px); }
  .hero-copy .h1 { font-size: clamp(1.95rem, 7vw, 2.6rem); }
  .hero-copy .lede { font-size: 14.5px; line-height: 1.5; }
  .hero-stage {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding: 16px 0 !important;
    overflow: hidden !important;
  }
  .phone { --pw: min(260px, calc(100% - 40px)) !important; }
  .ptag {
    left: 4px !important;
    top: -4px !important;
    transform: scale(.68) !important;
    transform-origin: top left !important;
    pointer-events: none !important;
  }
  .ticker {
    right: 4px !important;
    top: -4px !important;
    transform: scale(.70) !important;
    transform-origin: top right !important;
    pointer-events: none !important;
  }
  .stamps { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
  .stamps .stamp { font-size: 11px; padding: 4px 8px; max-width: 100%; }
  .btn.lg { min-height: 48px; padding: 0 16px; font-size: 14.5px; width: 100%; }
}
@media (max-width: 360px) {
  .hero-copy .h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .phone { --pw: min(226px, calc(100% - 28px)) !important; }
  .ptag { left: 0 !important; transform: scale(.60) !important; }
  .ticker { right: 0 !important; transform: scale(.62) !important; }
  .stamps .stamp { font-size: 10px; padding: 3px 6px; }
}

/* ================= PHONE DEVICE FRAME ================= */
.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 19;
  flex: none;
  max-height: min(590px, 76vh);
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--pw) * .155);
  background: #0B1B3D;
  box-shadow: 0 40px 70px -30px rgba(11,27,61,.5), 0 0 0 1.5px #1F366A inset, 0 0 0 1px rgba(246,241,231,.08);
  container-type: inline-size;
}
.phone::after { content: ''; position: absolute; top: calc(var(--pw) * .052); left: 50%; width: 30%; height: calc(var(--pw) * .068); margin-left: -15%; border-radius: 99px; background: #0B1B3D; z-index: 9; }
.scr {
  --sv-bg: #FFF4E6; --sv-acc: #D0490C;
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .125);
  background: var(--sv-bg); color: #0B1B3D; font-size: 4.3cqw; line-height: 1.3;
  transition: background-color .6s var(--ease-out);
}
.scr * { transition-property: background-color, color, border-color, opacity, transform; transition-duration: .6s; transition-timing-function: var(--ease-out); }
.sb { display: flex; justify-content: space-between; padding: 1em 1.7em .3em; font-size: .78em; font-weight: 700; }
.sb i { display: inline-flex; gap: .2em; align-items: end; }
.sb i b { width: .26em; background: #0B1B3D; border-radius: 1px; }

.url { display: flex; align-items: center; gap: .4em; margin: .55em .9em .2em; padding: .5em .9em; border-radius: 99em; background: rgba(11,27,61,.06); font-size: .78em; color: #4b433c; white-space: nowrap; overflow: hidden; }
.url .i { width: 1.1em; height: 1.1em; }
.url b { color: #0B1B3D; }
.url .caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--sv-acc); vertical-align: -.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.sh { display: flex; align-items: center; gap: .6em; padding: .6em .9em .3em; }
.sh .lg { width: 2.5em; height: 2.5em; border-radius: 50%; display: grid; place-items: center; background: var(--sv-acc); color: #fff; font-weight: 800; font-size: .9em; flex: none; }
.sh .nm { min-width: 0; }
.sh .nm b { display: block; font-size: .98em; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh .nm small { display: block; font-size: .7em; color: #6b625a; white-space: nowrap; }
.comp { margin-left: auto; flex: none; padding: .3em .5em; border: 1.5px dashed var(--sv-acc); color: var(--sv-acc); border-radius: .35em; font-size: .56em; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; text-align: center; max-width: 7.5em; }
.comp i { display: block; font-style: normal; letter-spacing: .1em; opacity: .7; }

.banner {
  position: relative; margin: .5em .9em .2em; height: 8em; border-radius: 1em; padding: .85em 1em; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden;
  background: var(--sv-acc); background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.1) 0 .55em, transparent .55em 1.1em);
}
.banner small { font-size: .62em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.banner b { font-size: 1.12em; line-height: 1.1; letter-spacing: -.02em; max-width: 11em; }
.banner .bi { position: absolute; right: .6em; top: .5em; width: 3.6em; height: 3.6em; color: rgba(255,255,255,.55); stroke-width: 1.2; }

.chips { display: flex; gap: .4em; padding: .7em .9em .6em; overflow: hidden; }
.chips span { flex: none; padding: .35em .8em; border-radius: 99em; border: 1px solid rgba(11,27,61,.14); font-size: .74em; font-weight: 700; background: rgba(255,255,255,.6); }
.chips span:first-child { background: #0B1B3D; color: #fff; border-color: #0B1B3D; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; padding: 0 .9em; }
.pc { background: #fff; border-radius: .9em; padding: .45em .45em .55em; box-shadow: 0 .1em .4em rgba(11,27,61,.06); }
.pc-img { position: relative; aspect-ratio: 1; border-radius: .65em; display: grid; place-items: center; background: #f3ece2; background: color-mix(in srgb, var(--sv-acc) 13%, #fff); color: var(--sv-acc); }
.pc-img .i { width: 44%; height: 44%; stroke-width: 1.3; }
.pc-img .tagx { position: absolute; left: .35em; top: .35em; font-size: .55em; font-weight: 800; padding: .15em .45em; border-radius: .3em; background: #fff; color: var(--sv-acc); letter-spacing: .04em; }
.pc b { display: block; margin: .45em .1em .1em; font-size: .74em; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .pr { display: flex; align-items: center; justify-content: space-between; padding: 0 .1em; font-size: .78em; font-weight: 800; }
.pc .pr i { width: 1.55em; height: 1.55em; border-radius: 50%; display: grid; place-items: center; background: var(--sv-acc); color: #fff; font-style: normal; font-weight: 700; line-height: 1; }

.ctab { position: absolute; left: .9em; right: .9em; bottom: 1em; display: flex; align-items: center; justify-content: center; gap: .5em; padding: .85em; border-radius: 99em; background: var(--green); color: #0b1f12; font-weight: 800; font-size: .86em; box-shadow: 0 .6em 1.2em -.5em rgba(31,175,90,.7); }
.ctab .i { width: 1.25em; height: 1.25em; }

/* Hero build-up */
html.js:not(.rm) .hero-phone [data-b] { transition: opacity .55s var(--ease-out), transform .7s var(--spring); }
html.js:not(.rm) .hero-phone [data-b]:not(.on) { opacity: 0; }
html.js:not(.rm) .hero-phone [data-b="logo"]:not(.on) { transform: scale(.3); }
html.js:not(.rm) .hero-phone [data-b="banner"]:not(.on) { transform: translateX(60%); }
html.js:not(.rm) .hero-phone [data-b="chips"]:not(.on) { transform: translateY(.8em); }
html.js:not(.rm) .hero-phone [data-b="p"]:not(.on) { transform: translateY(2.2em) scale(.9); }
html.js:not(.rm) .hero-phone [data-b="cta"]:not(.on) { transform: translateY(160%); }
html.js:not(.rm) .hero-phone [data-b="comp"]:not(.on) { transform: scale(1.6) rotate(-8deg); }

/* ================= 3. VERTICALS: Morph Switcher ================= */
.vx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.vx-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.vx-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left; padding: 16px; min-height: 84px;
  border-radius: 18px; border: 1px solid var(--rule); background: var(--card); cursor: pointer;
  transition: background-color .35s, color .35s, transform .5s var(--ease-out), border-color .35s;
}
.vx-tab:hover { transform: translateY(-3px); border-color: var(--fg); }
.vx-tab .i { grid-row: span 2; width: 30px; height: 30px; color: var(--acc); transition: color .35s; }
.vx-tab b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.vx-tab span { font-size: 13px; color: var(--muted); transition: color .35s; }
.vx-tab[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.vx-tab[aria-selected="true"] .i, .vx-tab[aria-selected="true"] span { color: inherit; }
.vx-tab .prog { position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--marigold); transform-origin: 0 50%; transform: scaleX(0); }
.vx-tab[aria-selected="true"] .prog.run { animation: prog 3s linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }

.vx-side { position: sticky; top: 96px; display: grid; justify-items: center; gap: 18px; }
.vx-word { font-family: var(--f-serif); font-style: italic; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--acc); height: 1.1em; text-align: center; }
.vx-word span { display: inline-block; transition: transform .6s var(--spring), opacity .3s; }
.vx-word.swap span { transform: translateY(40%) rotate(4deg); opacity: 0; transition-duration: .2s; }
.vx-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; min-height: 44px; }
.vx-demo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--marigold); padding: 4px 0; }
.vx-demo .i { width: 16px; height: 16px; }
.vx-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--rule); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.vx-pause .i { width: 15px; height: 15px; }

.vx-phone .pc, .vx-phone .chips span, .vx-phone .banner b, .vx-phone .sh .nm, .vx-phone .comp, .vx-phone .url b { transition-delay: calc(var(--i, 0) * 45ms); }
.vx-phone.out .pc { opacity: 0; transform: translateY(.8em) scale(.94); transition-duration: .22s; }
.vx-phone.out .chips span { opacity: 0; transform: translateX(-.6em); transition-duration: .2s; }
.vx-phone.out .banner b, .vx-phone.out .sh .nm, .vx-phone.out .url b { opacity: 0; transform: translateY(.5em); transition-duration: .2s; }
.vx-phone.out .comp { opacity: 0; transform: rotateX(90deg); transition-duration: .2s; }
.vx-phone.pre .pc { opacity: 0; transform: translateY(-1.2em) scale(1.04); transition: none; }
.vx-phone.pre .chips span { opacity: 0; transform: translateX(1em); transition: none; }
.vx-phone.pre .comp { opacity: 0; transform: rotateX(-90deg); transition: none; }

@media (max-width: 960px) {
  .vx-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }
  .vx-side {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .vx-tabs {
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(150px, 44%) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 12px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .vx-tabs::-webkit-scrollbar { height: 4px; }
  .vx-tabs::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }
  .vx-tab { scroll-snap-align: start; }
  .vx-phone { --pw: min(260px, calc(100% - 40px)) !important; margin: 0 auto; }
}

@media (max-width: 576px) {
  .vx-tabs {
    grid-auto-columns: minmax(130px, 46%) !important;
    gap: 8px !important;
  }
  .vx-tab {
    padding: 12px 10px !important;
    min-height: 72px !important;
    border-radius: 14px !important;
  }
  .vx-tab .i { width: 24px !important; height: 24px !important; }
  .vx-tab b { font-size: 14px !important; }
  .vx-tab span { font-size: 11.5px !important; }
  .vx-word { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
  .vx-phone { --pw: min(240px, calc(100% - 32px)) !important; }
}

@media (max-width: 360px) {
  .vx-tabs {
    grid-auto-columns: minmax(120px, 52%) !important;
    gap: 6px !important;
  }
  .vx-tab {
    padding: 10px 8px !important;
    min-height: 66px !important;
  }
  .vx-tab b { font-size: 13px !important; }
  .vx-phone { --pw: min(220px, calc(100% - 24px)) !important; }
}

/* ================= 4. FEATURES: Bento Grid with Live Demos ================= */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 100%; }
.tile { position: relative; overflow: hidden; border-radius: 26px; background: var(--card); border: 1px solid var(--rule); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; min-height: 280px; max-width: 100%; box-sizing: border-box; }
.tile h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 38ch; }
.tile .demo { margin-top: auto; padding-top: 18px; }
.tile .ti { width: 26px; height: 26px; color: var(--acc); margin-bottom: 6px; }

.t-wa { grid-column: span 4; grid-row: span 2; }
.t-upi { grid-column: span 2; grid-row: span 2; }
.t-vert, .t-var, .t-fast { grid-column: span 2; }
.t-india { grid-column: span 6; flex-direction: row; align-items: center; gap: 32px; min-height: 0; }
.t-india .demo { margin: 0 0 0 auto; padding: 0; }

@media (max-width: 1080px) { .t-wa, .t-upi { grid-column: span 3; } .t-vert, .t-var, .t-fast { grid-column: span 2; } }
@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .t-wa, .t-upi, .t-vert, .t-var, .t-fast, .t-india { grid-column: auto; grid-row: auto; min-height: auto; }
  .t-india { flex-direction: column; align-items: flex-start; }
  .t-india .demo { margin: 0; width: 100%; }
  .stamp-set { justify-content: flex-start; gap: 8px; width: 100%; }
  .chat { padding: 12px; }
  .bub { max-width: 95%; }
}

.tile:not(.play) *, .tile:not(.play)::before, .tile:not(.play)::after { animation-play-state: paused !important; }
html.rm .tile * { animation: none !important; }

/* WhatsApp Live Chat Demo */
.chat { display: grid; gap: 10px; width: 100%; max-width: 470px; padding: 18px; border-radius: 20px; background: #E9F5EC; color: #0B1B3D; box-sizing: border-box; }
:root[data-theme="dark"] .chat, .t-ink .chat { background: #13261A; color: #F6F1E7; }
.bub { position: relative; max-width: 88%; padding: 10px 14px 8px; border-radius: 16px; font-size: 14px; line-height: 1.45; background: #fff; color: #0B1B3D; box-shadow: 0 1px 1px rgba(11,27,61,.08); }
.bub.me { justify-self: end; background: #CFF0D9; border-top-right-radius: 4px; }
.bub.them { border-top-left-radius: 4px; }
.bub small { display: block; text-align: right; font-size: 11px; color: #5d6b61; margin-top: 2px; }
.chat .ln { display: block; overflow: hidden; white-space: normal; word-break: break-word; }
.chat .ln:nth-child(1) { animation: ln 7s infinite; animation-delay: 0s; }
.chat .ln:nth-child(2) { animation: ln 7s infinite; animation-delay: .35s; }
.chat .ln:nth-child(3) { animation: ln 7s infinite; animation-delay: .7s; }
.chat .ln:nth-child(4) { animation: ln 7s infinite; animation-delay: 1.05s; font-weight: 800; }
@keyframes ln { 0% { clip-path: inset(0 100% 0 0); } 10%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.chat .them { animation: pop 7s infinite; }
@keyframes pop { 0%, 30% { opacity: 0; transform: translateY(8px) scale(.96); } 36%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.chat .confirm { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 12px; border-radius: 99px; background: var(--green); color: #0b1f12; font-weight: 800; font-size: 13px; animation: tapc 7s infinite; }
.chat .confirm .i { width: 15px; height: 15px; stroke-width: 2.6; }
@keyframes tapc { 0%, 50% { transform: scale(1); } 54% { transform: scale(.9); } 60%, 100% { transform: scale(1); } }

/* UPI Demo */
.upi { display: grid; gap: 10px; }
.upi-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--fg); color: var(--bg); font-weight: 800; }
.upi-link span { font-size: 13px; font-weight: 600; opacity: .8; }
.upi-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upi-apps span { padding: 10px 6px; text-align: center; border-radius: 12px; border: 1px solid var(--rule); font-size: 13px; font-weight: 700; animation: appl 4.5s infinite; }
.upi-apps span:nth-child(2) { animation-delay: 1.5s; } .upi-apps span:nth-child(3) { animation-delay: 3s; }
@keyframes appl { 0%, 28%, 100% { background: transparent; } 6%, 22% { background: var(--marigold); color: #0B1B3D; border-color: var(--marigold); } }
.qr { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.qr svg { width: 64px; height: 64px; padding: 6px; background: #fff; border-radius: 10px; flex: none; }

/* Rolling Compliance Field */
.field { border: 1px solid var(--rule); border-radius: 14px; padding: 10px 14px; background: var(--bg); }
.field .lab { height: 18px; overflow: hidden; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.field .lab span { display: block; height: 18px; }
.field .lab > div { animation: rollv 8s infinite var(--ease-out); }
@keyframes rollv { 0%, 22% { transform: translateY(0); } 25%, 47% { transform: translateY(-18px); } 50%, 72% { transform: translateY(-36px); } 75%, 97% { transform: translateY(-54px); } 100% { transform: translateY(-72px); } }
.field .val { font-size: 17px; font-weight: 700; letter-spacing: .12em; margin-top: 2px; }

/* Variants Hop */
.var { display: grid; gap: 10px; }
.sizes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sizes span { position: relative; z-index: 1; padding: 9px 0; text-align: center; font-weight: 800; font-size: 14px; border-radius: 10px; border: 1px solid var(--rule); }
.sizes::before { content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(25% - 4.5px); border-radius: 10px; background: var(--marigold); animation: hop 8s infinite var(--spring); }
@keyframes hop { 0%, 22% { transform: translateX(0); } 25%, 47% { transform: translateX(calc(100% + 6px)); } 50%, 72% { transform: translateX(calc(200% + 12px)); } 75%, 97% { transform: translateX(calc(300% + 18px)); } 100% { transform: translateX(0); } }
.var .row { display: flex; justify-content: space-between; align-items: baseline; }
.var .pp { height: 30px; overflow: hidden; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.var .pp div { animation: rollp 8s infinite var(--ease-out); }
.var .pp span { display: block; height: 30px; line-height: 30px; }
@keyframes rollp { 0%, 22% { transform: translateY(0); } 25%, 47% { transform: translateY(-30px); } 50%, 72% { transform: translateY(-60px); } 75%, 97% { transform: translateY(-90px); } 100% { transform: translateY(0); } }
.var .stock { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Fast Progress Bar */
.fast { display: grid; gap: 10px; }
.fast .bar { height: 10px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.fast .bar i { display: block; height: 100%; width: 100%; background: var(--marigold); transform-origin: 0 50%; animation: fill 3.2s infinite var(--ease-out); }
@keyframes fill { 0% { transform: scaleX(0); } 22%, 100% { transform: scaleX(1); } }
.fast .row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); }
.fast .big { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.fast .big em { font-size: .7em; color: var(--acc); }

/* Made in India Thunking Stamps */
.stamp-set { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.stamp-set .stamp { font-size: 13px; animation: thunk 6s infinite var(--spring) backwards; }
.stamp-set .stamp:nth-child(2) { --rot: 2deg; animation-delay: .3s; }
.stamp-set .stamp:nth-child(3) { --rot: -3deg; animation-delay: .6s; }
.stamp-set .stamp:nth-child(4) { --rot: 1deg; animation-delay: .9s; }
@keyframes thunk { 0% { opacity: 0; transform: scale(1.8) rotate(var(--rot, -2deg)); } 8%, 90% { opacity: 1; transform: scale(1) rotate(var(--rot, -2deg)); } 100% { opacity: 0; transform: scale(1) rotate(var(--rot, -2deg)); } }

/* ================= 5. ORDER CHOREOGRAPHY ================= */
.order { padding: clamp(80px, 10vw, 140px) 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 100%; }
.o-copy { display: grid; gap: 28px; align-content: center; min-width: 0; max-width: 100%; }
.o-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 1px solid var(--rule); }
.o-steps li { position: relative; padding: 12px 0 12px 22px; opacity: .45; transition: opacity .4s; }
.o-steps li::before { content: ''; position: absolute; left: -1.5px; top: 12px; bottom: 12px; width: 2px; background: var(--marigold); transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s var(--ease-out); }
.o-steps li.on { opacity: 1; }
.o-steps li.on::before { transform: none; }
.o-steps b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.o-steps p { font-size: 15px; color: var(--muted); max-width: 40ch; }
html.rm .o-steps li, html:not(.js) .o-steps li { opacity: 1; }

.o-replay { justify-self: start; display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--rule); background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.o-replay.show { display: inline-flex; }
.o-replay .i { width: 16px; height: 16px; }

.o-stage { position: relative; display: flex; gap: clamp(20px, 4vw, 64px); align-items: center; max-width: 100%; }
.o-stage .phone { --pw: min(22vw, 290px, calc((100vh - 150px) * 9 / 19)); }

@media (min-width: 961px) {
  html.js:not(.rm) .order.pinned { height: clamp(1200px, 320vh, 2600px); padding: 0; }
  html.js:not(.rm) .order.pinned .o-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 40px; }
}
@media (max-width: 960px) {
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .o-stage { justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 100%; }
  .o-stage .phone { --pw: min(240px, calc(100% - 48px)); }
}
@media (max-width: 540px) {
  .o-stage { flex-direction: column; align-items: center; }
  .o-stage .phone { --pw: min(260px, calc(100% - 32px)); }
}

/* Cart Screen */
.o-top { display: flex; align-items: center; gap: .5em; padding: .6em .9em .2em; font-weight: 800; font-size: 1.05em; letter-spacing: -.02em; }
.o-top .i { width: 1.1em; height: 1.1em; }
.cart { margin: .5em .9em; padding: .8em; border-radius: 1em; background: #fff; display: grid; gap: .55em; box-shadow: 0 .2em .8em rgba(11,27,61,.06); transform-origin: 50% 100%; }
.cl { display: grid; grid-template-columns: 2.3em 1fr auto; gap: .55em; align-items: center; font-size: .82em; }
.cl .th { width: 2.3em; height: 2.3em; border-radius: .55em; display: grid; place-items: center; background: color-mix(in srgb, var(--sv-acc) 13%, #fff); color: var(--sv-acc); }
.cl .th .i { width: 60%; height: 60%; }
.cl b { display: block; font-weight: 700; }
.cl small { color: #6b625a; }
.cl > span:last-child { font-weight: 800; }
.cart hr { border: 0; border-top: 1.5px dashed rgba(11,27,61,.15); margin: .2em 0; width: 100%; }
.cart .tot { display: flex; justify-content: space-between; font-weight: 800; font-size: .95em; }
.o-note { margin: .2em .9em; font-size: .7em; color: #6b625a; }
.o-btn { will-change: transform; }
.o-sent { position: absolute; left: .9em; right: .9em; top: 7.5em; display: grid; justify-items: center; gap: .3em; padding: 1.2em .8em; border-radius: 1em; background: #fff; text-align: center; opacity: 0; transition: none; box-shadow: 0 .2em .8em rgba(11,27,61,.06); }
.o-sent .i { width: 2.2em; height: 2.2em; color: var(--green); }
.o-sent b { font-size: .86em; }
.o-sent small { font-size: .68em; color: #6b625a; }
.o-btn .ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,175,90,.55); }

/* UPI Bottom Sheet */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: .7em 1em 1.2em; border-radius: 1.4em 1.4em 0 0; background: #fff; box-shadow: 0 -1em 2em -1em rgba(11,27,61,.3); transform: translateY(105%); transition: none; }
.sheet .hd { width: 2.6em; height: .3em; border-radius: 9em; background: rgba(11,27,61,.18); margin: 0 auto .8em; }
.sheet small { display: block; font-size: .7em; font-weight: 700; color: #6b625a; text-transform: uppercase; letter-spacing: .08em; }
.sheet .amt { font-size: 2.4em; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; margin: .1em 0 .4em; }
.sheet .apps { display: grid; gap: .4em; margin-bottom: .7em; }
.sheet .apps span { display: flex; align-items: center; gap: .6em; padding: .55em .7em; border: 1px solid rgba(11,27,61,.12); border-radius: .7em; font-size: .8em; font-weight: 700; }
.sheet .apps span i { width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8em; font-weight: 800; color: #fff; background: #0B1B3D; }
.sheet .apps span.sel { border-color: #0B1B3D; box-shadow: inset 0 0 0 1px #0B1B3D; }
.sheet .pay { padding: .8em; border-radius: 99em; text-align: center; background: #0B1B3D; color: #fff; font-weight: 800; font-size: .86em; }

/* Success Overlay */
.paid { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: .3em; text-align: center; background: rgba(255,252,245,.96); opacity: 0; transition: none; }
.paid svg { width: 5.5em; height: 5.5em; }
.paid circle { fill: var(--green); transform-origin: 50% 50%; }
.paid path { fill: none; stroke: #0b1f12; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.paid b { font-size: 1.5em; font-weight: 800; letter-spacing: -.03em; }
.paid small { font-size: .74em; color: #4b433c; font-weight: 600; }

/* WhatsApp Phone */
.wa { --sv-bg: #EFE9DE; display: flex; flex-direction: column; background-color: #EFE9DE; background-image: radial-gradient(rgba(11,27,61,.06) 1px, transparent 1.2px); background-size: 1.2em 1.2em; }
.wa-head { display: flex; align-items: center; gap: .55em; padding: 2.2em .8em .7em; background: var(--green); color: #0b1f12; }
.wa-head .av { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: #0b1f12; color: #fff; font-weight: 800; font-size: .8em; }
.wa-head b { display: block; font-size: .86em; }
.wa-head small { font-size: .66em; font-weight: 600; }
.wa-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .45em; padding: .7em; overflow: hidden; }
.wa-body .day { align-self: center; font-size: .6em; font-weight: 700; padding: .25em .7em; border-radius: .5em; background: rgba(255,255,255,.8); color: #4b433c; margin-bottom: auto; }
.wb { max-width: 86%; padding: .5em .65em .35em; border-radius: .8em; font-size: .7em; line-height: 1.38; white-space: pre-line; background: #fff; box-shadow: 0 1px 1px rgba(11,27,61,.08); opacity: 0; transform: translateY(.8em) scale(.96); transition: none; }
.wb.out { align-self: flex-end; background: #CFF0D9; border-top-right-radius: .2em; transform-origin: 100% 100%; }
.wb.in { align-self: flex-start; border-top-left-radius: .2em; transform-origin: 0 100%; }
.wb small { display: block; text-align: right; font-size: .82em; color: #5d6b61; }
.wb .lnk { display: inline-block; margin-top: .3em; padding: .2em .6em; border-radius: 99em; background: #0B1B3D; color: #fff; font-weight: 800; }

.wa-comp { display: flex; align-items: flex-end; gap: .45em; padding: .5em .6em .9em; }
.wa-comp .in { flex: 1; min-height: 2.4em; max-height: 9.5em; overflow: hidden; padding: .6em .8em; border-radius: 1.2em; background: #fff; font-size: .68em; line-height: 1.38; white-space: pre-line; color: #0B1B3D; }
.wa-comp .in .ph { color: #8b8178; }
.wa-comp .caret { display: inline-block; width: 1.5px; height: 1em; background: var(--green); vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
.wa-comp .send { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #0b1f12; flex: none; }
.wa-comp .send .i { width: 1.1em; height: 1.1em; }

.flyer { position: absolute; left: 0; top: 0; z-index: 20; display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 18px 18px 4px 18px; background: #CFF0D9; color: #0b1f12; font-weight: 800; font-size: 13px; white-space: nowrap; box-shadow: 0 18px 30px -12px rgba(0,0,0,.5); pointer-events: none; will-change: transform; }
.flyer .i { width: 16px; height: 16px; }
.petals { position: absolute; inset: 0; pointer-events: none; z-index: 30; overflow: visible; }
.petal { position: absolute; width: 14px; height: 9px; border-radius: 0 100% 0 100%; background: var(--c); opacity: 0; animation: petal var(--d) cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes petal {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.6); }
  45% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.25), calc(var(--y) + 220px)) rotate(calc(var(--r) * 2.2)) scale(.9); }
}

/* ================= 6. HOW IT WORKS: Step Tags on SVG Thread ================= */
.steps { overflow-x: clip; max-width: 100%; }
.st-pin { position: relative; max-width: 100%; }
.st-track { position: relative; display: flex; gap: clamp(28px, 5vw, 90px); align-items: flex-start; padding: 120px var(--gut) 40px; width: max-content; will-change: transform; }
.st-head { width: min(560px, 80vw); display: grid; gap: 20px; align-self: center; margin-top: -60px; }
.thread { position: absolute; left: 0; top: 0; width: 100%; height: 200px; overflow: visible; pointer-events: none; }
.thread path { fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; }
.thread circle { fill: var(--marigold); stroke: var(--fg); stroke-width: 1.5; }

.st-tag { position: relative; width: clamp(280px, 30vw, 400px); flex: none; transform-origin: 50% -70px; }
.st-tag .card { position: relative; padding: 44px 28px 28px; border-radius: 22px 22px 26px 26px; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 30px 50px -36px rgba(11,27,61,.45); }
.st-tag .card::before { content: ''; position: absolute; top: 16px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.st-tag .card::after { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: 93px; margin-left: -.75px; background: var(--fg); transform: translateY(23px); }
.st-n { font-size: 96px; line-height: .8; font-weight: 800; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.st-tag h3 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; margin: 16px 0 6px; }
.st-tag p { color: var(--muted); }
.st-tag .mini { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--rule); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.st-tag .mini .pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--rule); background: var(--bg); }
.st-tag .mini .pill .i { width: 16px; height: 16px; color: var(--acc); }
.st-tag .mini .url2 { flex: 1; padding: 9px 14px; border-radius: 99px; background: var(--bg); border: 1px solid var(--rule); white-space: nowrap; overflow: hidden; }
.st-tag .mini .url2 b { color: var(--acc); }
.st-end { align-self: center; width: min(420px, 80vw); display: grid; gap: 18px; }

@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .st-track {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 0 0 24px;
    gap: 32px;
    transform: none !important;
    box-sizing: border-box;
  }
  .st-head { width: 100%; max-width: 100%; margin: 0 0 20px 0; }
  .st-tag { width: 100%; max-width: 100%; transform: none !important; }
  .st-tag .card { padding: 32px 18px 20px; border-radius: 18px; }
  .st-tag .card::after { display: none; }
  .thread { display: none; }
  .st-line { position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--rule); }
  .st-line i { position: absolute; inset: 0; background: var(--marigold); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .st-tag::before { content: ''; position: absolute; left: -22px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--marigold); border: 1.5px solid var(--fg); }
  .st-end { width: 100%; max-width: 100%; margin-left: 0; }
  .st-n { font-size: 64px; }
  .st-tag h3 { font-size: 22px; }
  .steps-list { position: relative; }
}
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .st-line { display: none; }
  html.js .steps.hz .st-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
}

/* ================= 7. PRICING ================= */
.incl { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 40px; }
.incl .lbl { font-weight: 700; color: var(--muted); font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--rule);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .5s, opacity .8s var(--ease-out); will-change: transform;
}
.plan:hover { box-shadow: 0 40px 60px -40px rgba(11,27,61,.5); }
.plan h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.plan .desc { font-size: 14.5px; color: var(--muted); min-height: 2.9em; }
.plan .price { display: flex; align-items: baseline; gap: 2px; font-size: 54px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .bill { font-size: 13px; font-weight: 700; color: var(--acc); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--acc); stroke-width: 2.2; }
.plan li.up { font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.pop { background: var(--fg); color: var(--bg); border-color: var(--fg); --muted: color-mix(in srgb, var(--bg) 70%, var(--fg)); --rule: color-mix(in srgb, var(--bg) 18%, transparent); --acc: var(--marigold); }
.plan.pop .btn.ghost { color: var(--bg); border-color: var(--bg); }
.plan.pop .btn.ghost:hover { background: var(--bg); color: var(--fg); }

/* Receipt Paper Breakdown */
.rcpt {
  position: relative; margin: 6px -6px 0; padding: 18px 16px 14px; background: #F7ECD6; color: #0B1B3D; border-radius: 0 0 6px 6px; font-size: 12.5px; font-variant-numeric: tabular-nums; box-shadow: 0 8px 16px -10px rgba(11,27,61,.35);
  -webkit-mask: linear-gradient(#000, #000) 0 8px / 100% 100% no-repeat, radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) 0 0 / 12px 9px repeat-x;
  mask: linear-gradient(#000, #000) 0 8px / 100% 100% no-repeat, radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) 0 0 / 12px 9px repeat-x;
}
.rcpt .rh { font-size: 10.5px; display: flex; justify-content: center; gap: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; text-align: center; margin-bottom: 8px; color: #5E554C; }
.rcpt div { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; }
.rcpt div span:first-child { white-space: nowrap; }
.rcpt div i { flex: 1; border-bottom: 1.5px dotted rgba(11,27,61,.3); transform: translateY(-3px); }
.rcpt div b { white-space: nowrap; }
.rcpt .tt { margin-top: 6px; padding-top: 7px; border-top: 1.5px dashed rgba(11,27,61,.3); font-weight: 800; font-size: 13.5px; }
.rcpt .gst { display: block; text-align: right; font-size: 11px; color: #5E554C; }

@media (hover: hover) and (pointer: fine) {
  .rcpt { max-height: 62px; overflow: hidden; transition: max-height .7s var(--ease-out); }
  .plan:hover .rcpt, .plan:focus-within .rcpt { max-height: 260px; }
  .rcpt::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(rgba(247,236,214,0), #F7ECD6); transition: opacity .4s; }
  .plan:hover .rcpt::after, .plan:focus-within .rcpt::after { opacity: 0; }
}

/* Rotating "Most Popular" Stamp */
.rot-stamp { position: absolute; right: -18px; top: -26px; width: 96px; height: 96px; color: var(--marigold); z-index: 2; }
.rot-stamp svg { width: 100%; height: 100%; }
html.js:not(.rm) .rot-stamp svg { animation: spin 16s linear infinite; animation-play-state: paused; }
html.js:not(.rm) #pricing.in-view-buffer .rot-stamp svg,
html.js:not(.rm) #pricing.play .rot-stamp svg { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.rot-stamp text { font-size: 11.5px; font-weight: 800; letter-spacing: 2.6px; fill: currentColor; }
.rot-stamp .core { fill: var(--marigold); }
.rot-stamp .star { fill: #0B1B3D; }

@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .rot-stamp { right: 10px; } }
/* Plan Stagger Rise */
.plans .plan { opacity: 1; transform: none; }
html.js:not(.rm) .plans .plan.in { opacity: 1; transform: none; }

/* Reveal Animations */
.rv { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
html.js:not(.rm) .split .w { display: inline-block; vertical-align: top; }
html.js:not(.rm) .split .w > span { display: inline-block; transform: none; transition: transform 1s var(--ease-out); }
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; text-align: center; }
.marq { position: absolute; inset: 0; display: grid; align-content: center; gap: 2vw; pointer-events: none; opacity: .9; }
.marq div { display: flex; width: max-content; font-size: clamp(64px, 11vw, 170px); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: rgba(11,27,61,.09); }
.marq div span { padding-right: .5em; }
.marq div:nth-child(2) { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px rgba(11,27,61,.25); }
html.js:not(.rm) .marq div { animation: marq 60s linear infinite; animation-play-state: paused; }
html.js:not(.rm) .marq div:nth-child(2) { animation-direction: reverse; animation-duration: 75s; }
html.js:not(.rm) .cta.in-view-buffer .marq div,
html.js:not(.rm) .cta.play .marq div { animation-play-state: running; }
@keyframes marq { to { transform: translateX(-50%); } }

.cta .wrap { position: relative; display: grid; justify-items: center; gap: 26px; }
.cta h2 { font-size: clamp(3rem, 9vw, 9.5rem); line-height: .88; letter-spacing: -.06em; font-weight: 800; }
.cta h2 em { letter-spacing: -.03em; }
.cta p { font-size: clamp(17px, 1.6vw, 21px); max-width: 44ch; font-weight: 500; }
.cta .btn { --b-bg: #0B1B3D; --b-fg: #F6F1E7; min-height: 76px; padding: 0 44px; font-size: 20px; }

/* ================= 9. FOOTER ================= */
.foot { padding: 90px 0 0; overflow: hidden; max-width: 100%; width: 100%; box-sizing: border-box; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.foot-cols h3 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-cols a { display: block; padding: 5px 0; text-decoration: none; font-weight: 600; font-size: 15px; }
.foot-cols a:hover { color: var(--acc); }
.foot-cols .tag { color: var(--muted); font-size: 15px; max-width: 30ch; margin-top: 14px; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0; font-size: 13.5px; color: var(--muted); }
.wordmark {
  position: relative;
  font-size: clamp(32px, 13.5vw, 360px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .82;
  margin: 10px 0 -.06em;
  user-select: none;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}
.wordmark span { display: block; overflow: hidden; text-overflow: clip; }
.wordmark .o { color: var(--fg); opacity: .08; }
.wordmark .f { position: absolute; inset: 0; color: var(--marigold); clip-path: inset(calc(100% - var(--fill, 1) * 100%) 0 0 0); }
html.js:not(.rm) .wordmark { --fill: 0; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) {
  .foot { padding: 60px 0 0; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ================= FLOATING WHATSAPP BUTTON ================= */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px 0 14px;
  border-radius: 99px;
  background: var(--green);
  color: #0b1f12;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px -6px rgba(31,175,90,.55);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(31,175,90,.75);
}
.fab .i { width: 22px; height: 22px; }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--green); }
html.js:not(.rm) .fab::before { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35, 1.6); } }
@media (max-width: 768px) {
  .fab {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    right: 16px;
    bottom: 16px;
  }
  .fab span { display: none; }
}

/* ================= REVEAL ANIMATIONS ================= */
.rv { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.split .w { display: inline-block; vertical-align: top; }
.split .w > span { display: inline-block; transform: none; }

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

/* ================= INTELLIGENT SCROLL-WISE LAZY LOADING & CONTAINMENT ================= */
@supports (content-visibility: auto) {
  #verticals {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
  #features {
    content-visibility: auto;
    contain-intrinsic-size: auto 920px;
  }
  #pricing {
    content-visibility: auto;
    contain-intrinsic-size: auto 850px;
  }
  .cta {
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
  }
  .foot {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
  }
}

/* ================================================================
   FEATURE 3: LANDING PAGE SUITE EXTENSIONS
   Stat Bar, Demo Stores, Video Tutorials, Testimonials, Logos,
   Multi-Vertical Products, Blog Preview, Lead CRM, & FAQ Accordion
   ================================================================ */

/* Platform Stats Bar */
.stat-bar {
  padding: 38px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1.1;
  display: block;
}
.stat-item .stat-num em {
  font-style: normal;
  color: var(--marigold);
}
.stat-item .stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  display: block;
}

/* Demo Stores, Showcase & Blog Grids */
.demo-stores-grid,
.showcase-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 100%;
}
.demo-store-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.demo-store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11,27,61,0.08);
}
.demo-store-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
}
.demo-store-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--sand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  border: 1px solid var(--rule);
}
.demo-store-meta {
  flex: 1;
  min-width: 0;
}
.demo-store-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-store-sub {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.demo-store-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.demo-store-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.demo-store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.demo-store-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16,185,129,0.1);
  color: #059669;
}
.demo-store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

/* Video Tutorials Grid & Modal */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 100%;
}
.tutorial-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.tutorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11,27,61,0.08);
}
.tutorial-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B1B3D;
  overflow: hidden;
}
.tutorial-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.tutorial-card:hover .tutorial-thumb-img {
  transform: scale(1.05);
}
.tutorial-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,138,0,0.92);
  color: #0B1B3D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform .3s var(--ease-out), background .3s;
}
.tutorial-card:hover .tutorial-play-btn {
  transform: scale(1.14);
  background: #FF8A00;
}
.tutorial-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(11,27,61,0.85);
  color: #F6F1E7;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.tutorial-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(16,185,129,0.9);
  color: #052e16;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.tutorial-info {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tutorial-info h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--fg);
  margin-bottom: 8px;
}
.tutorial-info p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.tutorial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* YouTube Modal Player */
.yt-modal {
  position: fixed;
  inset: 0;
  background: rgba(11,27,61,0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yt-modal.active {
  display: flex;
}
.yt-modal-content {
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}
.yt-modal-iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.yt-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 32px;
  max-width: 100%;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-4px);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--fg);
}
.testimonial-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--fg);
  margin: 0;
}
.testimonial-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Customer / Brand Logos Strip */
.logos-strip {
  padding: 40px 0;
  background: var(--sand-bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  transition: transform .2s ease;
}
.logo-item:hover {
  transform: translateY(-2px);
}
.logo-item img {
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
}

/* FAQ Accordion */
.faq-box {
  max-width: 840px;
  margin: 36px auto 0;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: var(--marigold);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out), background .2s;
}
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--marigold);
  color: #0B1B3D;
}
.faq-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  margin-top: 4px;
  padding-top: 16px;
}

/* Lead Generation Section */
.lead-section {
  padding: 72px 0;
  background: var(--ink-bg);
  color: var(--ink-fg);
  position: relative;
  overflow: hidden;
}
.lead-box {
  background: var(--ink-card);
  border: 1px solid var(--ink-rule);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  max-width: 900px;
  margin: 0 auto;
}
.lead-box .eyebrow {
  color: var(--marigold);
}
.lead-box h2 {
  color: var(--ink-fg);
  margin: 12px 0 14px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lead-box p.lead-intro {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 65ch;
}
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lead-form-group.full {
  grid-column: 1 / -1;
}
.lead-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.lead-input, .lead-select, .lead-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--ink-rule);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.lead-input:focus, .lead-select:focus, .lead-textarea:focus {
  outline: none;
  border-color: var(--marigold);
  background: rgba(255,255,255,0.1);
}
.lead-select option {
  background: #0B1B3D;
  color: #fff;
}
.lead-textarea {
  min-height: 100px;
  resize: vertical;
}
.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
}
.lead-consent input {
  margin-top: 3px;
  accent-color: #10B981;
}
.lead-status-box {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.lead-status-box.success {
  display: block;
  background: rgba(16,185,129,0.15);
  border: 1px solid #10B981;
  color: #34D399;
}
.lead-status-box.error {
  display: block;
  background: rgba(239,68,68,0.15);
  border: 1px solid #EF4444;
  color: #F87171;
}
@media (max-width: 680px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= COMPREHENSIVE RESPONSIVE ENHANCEMENTS FOR ALL BREAKPOINTS ================= */
@media (max-width: 576px) {
  :root { --gut: 12px; }
  .wrap { padding: 0 var(--gut); max-width: 100%; box-sizing: border-box; overflow-x: clip; }
  .sec { padding: clamp(40px, 9vw, 68px) 0; overflow-x: clip; }
  .sec-head { gap: 12px; margin-bottom: 28px; }
  .h2 { font-size: clamp(1.85rem, 6.4vw, 2.6rem); line-height: 1.05; }
  .lede { font-size: 14.5px; }

  /* Stats grid */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .stat-item .stat-num { font-size: 24px; }
  .stat-item .stat-lbl { font-size: 11px; }

  /* Demo Stores, Tutorials, Reviews, Showcase, Blog */
  .demo-stores-grid,
  .tutorials-grid,
  .testimonials-grid,
  .showcase-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .demo-store-header,
  .demo-store-body {
    padding: 16px;
  }
  .tutorial-info {
    padding: 16px;
  }
  .testimonial-card {
    padding: 18px 16px;
  }

  /* FAQ */
  .faq-box { margin-top: 24px; }
  .faq-item summary { padding: 14px 16px; font-size: 14.5px; }
  .faq-content { padding: 0 16px 16px; font-size: 13.5px; }

  /* Lead Box */
  .lead-section { padding: 40px 0; }
  .lead-box { padding: 20px 14px; border-radius: 18px; }
  .lead-box h2 { font-size: 22px; }
  .lead-box p.lead-intro { font-size: 13.5px; margin-bottom: 20px; }
  .lead-input, .lead-select, .lead-textarea { font-size: 15px; padding: 10px 12px; }

  /* YouTube Modal */
  .yt-modal { padding: 12px; }
  .yt-modal-close { top: -38px; right: 4px; font-size: 28px; }

  /* Hero adjustments */
  .hero-ctas { width: 100%; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .stamps { gap: 8px; }
  .stamp-set .stamp { animation: none !important; transform: rotate(var(--rot, -1deg)) !important; font-size: 11px !important; }
}

@media (max-width: 360px) {
  :root { --gut: 10px; }
  .h2 { font-size: 1.65rem; }
  .btn { min-height: 42px; padding: 0 12px; font-size: 13.5px; }
  .btn.lg { min-height: 46px; padding: 0 14px; font-size: 14px; }
  .stat-grid { grid-template-columns: 1fr; }
  .trust li { font-size: 13px; }
  .lead-box { padding: 16px 10px; }
}

/* ================================================================
   MASTER ANTI-OVERFLOW & NATURAL MOBILE SCROLLING SAFEGUARDS
   Zero horizontal overflow, zero side-sliding, zero layout wobble.
   ================================================================ */
html, body {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

main, section, header, footer, .wrap, .sec {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img, svg, video, iframe, canvas {
    max-width: 100% !important;
    height: auto;
  }

  .nav-links {
    display: none !important;
  }
}
