/* imbeddeX Technologies — imbeddex.com
   Brand palette from the imbeddeX logo; type: Inter (self-hosted). */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../fonts/inter-700.woff2) format("woff2"); }

:root {
  --ink: #241F45;
  --ink-2: #2F2B4F;
  --purple: #66628A;
  --teal: #5BBCD3;
  --teal-d: #2A93AE;
  --teal-dd: #1F7890;
  --lav: #BEBADF;
  --lav-soft: #F3F2FB;
  --orange: #F68B33;
  --orange-d: #E2741A;
  --green: #1C8A4F;
  --red: #D64545;
  --text: #3E3A5C;
  --muted: #5E5B78;
  --line: #E4E2F2;
  --bg: #FFFFFF;
  --bg-soft: #F8F8FD;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(36, 31, 69, .05);
  --shadow: 0 12px 32px rgba(36, 31, 69, .10);
  --shadow-lg: 0 28px 60px rgba(36, 31, 69, .18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { color: var(--teal-dd); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }
b, strong { color: var(--ink); font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: clamp(48px, 6vw, 72px) 0; }
.hl { color: var(--teal-d); }

/* ---------- section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.head p { margin-top: 16px; font-size: 19px; color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; }
.lead b { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(246, 139, 51, .35); }
.btn-primary:hover { background: var(--orange-d); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(246, 139, 51, .42); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--lav); box-shadow: var(--shadow-sm); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(36,31,69,.05); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { color: var(--ink-2); font-weight: 500; font-size: 15.5px; padding: 8px 14px; border-radius: 999px; }
.menu a:hover { background: var(--lav-soft); color: var(--ink); }
.menu a[aria-current="page"] { color: var(--teal-d); font-weight: 600; }
.nav .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: inline-flex; }
  .nav > .btn { display: none; }
  .menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; margin: 0; }
  .nav-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 13px 14px; font-size: 17px; border-radius: 12px; }
  .menu .btn { display: flex; margin: 10px 0 0; color: #fff; }
}
@media (min-width: 1121px) { .menu .btn { display: none; } }
.menu a { white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(ellipse 60% 70% at 85% 30%, #E3F4F9 0%, rgba(227,244,249,0) 70%), radial-gradient(ellipse 50% 60% at 0% 100%, #F1EFFB 0%, rgba(241,239,251,0) 70%), #fff; }
.fan { position: absolute; pointer-events: none; opacity: .11; width: 760px; right: -260px; top: -300px; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tag .mark { font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--teal-d), var(--teal)); border-radius: 7px; padding: 4px 10px; letter-spacing: .08em; }
.tag .full { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); }
.hero h1 span { color: var(--teal-d); }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero .btns { margin-top: 32px; }
.trust { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 34px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); }

/* product stage (laptop + phone + device) — all sizes in em so it scales with font-size */
.stage-box { position: relative; width: 100%; aspect-ratio: 60 / 38; font-size: clamp(6px, 1.05vw, 12.5px); }
.stage { position: absolute; inset: 0; }
.laptop { position: absolute; left: 7em; top: 1.5em; width: 46em; }
.screen { background: #1E1B33; border-radius: 1.1em 1.1em 0 0; padding: .9em .9em 1.2em; box-shadow: var(--shadow-lg); }
.screen img { width: 100%; border-radius: .35em; }
.base { height: 1.2em; background: linear-gradient(#D9DBE3, #B9BCC8); border-radius: 0 0 1.4em 1.4em; margin: 0 -2.5em; position: relative; }
.base::after { content: ""; position: absolute; left: 50%; top: 0; width: 7em; height: .45em; transform: translateX(-50%); background: #A8ABB8; border-radius: 0 0 .5em .5em; }
.stage .phone { position: absolute; left: 0; bottom: 0; }
.dhand { position: absolute; right: -2em; bottom: -3em; width: 20em; filter: drop-shadow(0 1.2em 1.6em rgba(36,31,69,.28)); }
.toast { position: absolute; background: #fff; border-radius: .9em; padding: .75em 1em; display: flex; align-items: center; gap: .75em; box-shadow: 0 1em 2.5em rgba(36,31,69,.16); border: 1px solid #EEEDF6; white-space: nowrap; }
.toast .ti { width: 2.3em; height: 2.3em; border-radius: .6em; display: grid; place-items: center; flex: none; }
.toast .ti svg { width: 1.25em; height: 1.25em; }
.toast b { display: block; font-size: 1.1em; color: var(--ink); line-height: 1.3; }
.toast small { display: block; font-size: .95em; color: #8A88A3; line-height: 1.3; }
.toast.t1 { right: 6em; top: -1em; animation: float 6s ease-in-out infinite; }
.toast.t2 { left: 12em; bottom: -1.5em; animation: float 6s ease-in-out 3s infinite; }
@keyframes float { 50% { transform: translateY(-.5em); } }

/* phone frame */
.phone { width: 13.5em; height: 27em; background: #1E1B33; border-radius: 2.1em; padding: .6em; box-shadow: 0 1.8em 3.5em rgba(36,31,69,.28); flex: none; }
.pscr { width: 100%; height: 100%; background: #F4F6F8; border-radius: 1.6em; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.pscr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Attendance Collection app screen (fictional students) */
.att-h { background: #4D6B78; color: #fff; padding: 1.3em .9em .7em; text-align: center; font-size: 1em; }
.att-h b { font-size: .72em; font-weight: 600; color: #fff; }
.att-meta { display: flex; justify-content: space-between; font-size: .44em; color: #5B6470; padding: .6em 1.9em .3em; font-weight: 600; }
.att-meta span:first-child { color: var(--green); }
.att-card { margin: 0 .55em; background: #fff; border: 1.5px solid #C9CED6; border-radius: .6em; padding: .45em .6em; }
.att-card div { display: flex; justify-content: space-between; font-size: .42em; padding: .18em 0; color: #444; line-height: 1.3; }
.att-card div b { font-weight: 700; color: #222; }
.att-row { display: flex; align-items: center; justify-content: space-between; padding: .45em .65em .2em; line-height: 1.2; }
.att-row .ck { font-size: .45em; color: #555; display: flex; align-items: center; gap: .4em; }
.att-row .ck i { width: 1.1em; height: 1.1em; border: 1.3px solid #888; border-radius: .2em; display: block; }
.att-row strong { font-size: .9em; color: #333; font-weight: 600; }
.att-bar { margin: 0 .55em; height: .75em; background: #E2E5EA; border-radius: 1em; overflow: hidden; }
.att-bar div { width: 70%; height: 100%; background: #22C55E; color: #0B3D1E; font-size: .42em; font-weight: 700; text-align: center; line-height: 1.8em; }
.att-search { display: flex; gap: .4em; padding: .5em .55em .3em; }
.att-search div { flex: 1; height: 1.8em; border: 1px solid #D5D9DF; border-radius: .4em; background: #fff; font-size: .42em; color: #888; display: flex; align-items: center; padding: 0 .8em; }
.att-search span { background: #4D6B78; color: #fff; font-size: .42em; font-weight: 700; border-radius: .4em; padding: 0 1em; display: flex; align-items: center; height: 4.3em; }
.att-list { margin: .3em .55em 0; border: 1px solid #D5D9DF; border-radius: .5em; overflow: hidden; background: #fff; }
.st { display: flex; align-items: center; gap: .35em; padding: .32em .45em; background: #DCE3EA; border-bottom: 1px solid #fff; line-height: 1.25; }
.st.hi { background: #FBF0D9; }
.st .ics { display: flex; gap: .12em; }
.st .ics i { width: .55em; height: .55em; border-radius: 50%; background: #3BA776; display: block; }
.st .ics i.f { background: #2A93AE; }
.st .tx { flex: 1; } .st .tx b { display: block; font-size: .42em; color: #333; } .st .tx small { display: block; font-size: .36em; color: #666; }
.st .cb { width: .85em; height: .85em; border-radius: .18em; border: 1.3px solid #9AA3AD; background: #fff; display: grid; place-items: center; flex: none; }
.st .cb.on { background: #4D6B78; border-color: #4D6B78; }
.st .cb.on::after { content: ""; width: .35em; height: .2em; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(.03em, -.03em); }
.att-fab { position: absolute; left: .7em; bottom: 1.9em; width: 2.3em; height: 2.3em; border-radius: 50%; background: #22A37A; box-shadow: 0 .3em .6em rgba(0,0,0,.25); display: grid; place-items: center; }
.att-fab::after { content: ""; width: .5em; height: .5em; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg) translate(.08em, .08em); }
.att-cancel { margin-top: auto; text-align: center; font-size: .45em; font-weight: 700; color: #D9480F; text-decoration: underline; padding: 1em 0 1.6em; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage-box { font-size: clamp(5.4px, 1.45vw, 11px); max-width: 640px; margin: 24px auto 0; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background: radial-gradient(ellipse 60% 80% at 90% 20%, #E3F4F9 0%, rgba(227,244,249,0) 70%), radial-gradient(ellipse 40% 60% at 0% 100%, #F1EFFB 0%, rgba(241,239,251,0) 70%), #fff; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 880px; }
.page-hero h1 span { color: var(--teal-d); }
.page-hero .lead { margin-top: 20px; max-width: 720px; }
.page-hero .btns { margin-top: 28px; }
.page-hero.has-art .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero.has-art .art img { margin: 0 auto; max-height: 420px; width: auto; filter: drop-shadow(0 24px 30px rgba(36,31,69,.22)); }
@media (max-width: 860px) { .page-hero.has-art .wrap { grid-template-columns: 1fr; } .page-hero.has-art .art img { max-height: 300px; } }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--teal-d); }
.crumbs span { margin: 0 8px; color: var(--lav); }

/* ---------- stats band ---------- */
.stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #8ED8EA; }
.stat:nth-child(2) strong { color: #F9B47A; } .stat:nth-child(3) strong { color: #C9C5F0; } .stat:nth-child(4) strong { color: #9BE3B9; }
.stat b { display: block; color: #fff; font-size: 17px; margin-top: 12px; }
.stat span { display: block; color: #B9B5DA; font-size: 15px; line-height: 1.45; margin-top: 4px; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 16px; } .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #D9D6EE; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.card .chip { margin-top: 10px; }
.card.flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card.row { display: flex; gap: 18px; align-items: flex-start; }
.card.row h3 { margin-top: 2px; }

.ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.ic svg { width: 24px; height: 24px; }
.ic.t { background: #E3F4F8; color: var(--teal-d); }
.ic.p { background: #ECEBF6; color: var(--purple); }
.ic.o { background: #FEEEDF; color: var(--orange-d); }
.ic.g { background: #E3F6EC; color: var(--green); }
.ic.w { background: rgba(255,255,255,.1); color: #8ED8EA; }

.chip { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; line-height: 1.3; }
.chip.pri { background: #E3F6EC; color: var(--green); }
.chip.opt { background: var(--lav-soft); color: var(--purple); }
.chip.new { background: #FEEEDF; color: var(--orange-d); }

/* method cards */
.method { position: relative; }
.method .top { display: flex; align-items: center; gap: 14px; }
.method .top h3 { margin: 0; }
.method .top .chip { margin-top: 6px; }

/* split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; }
.split .lead + .checks, .split .lead + .btns { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: #E3F6EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C8A4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 640px) { .checks.two { grid-template-columns: 1fr; } }

/* browser frame */
.browser { border-radius: 14px; overflow: hidden; border: 1px solid #DCDAEE; box-shadow: var(--shadow-lg); background: #fff; }
.browser .bar { height: 34px; background: #EEEDF6; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser .bar i:nth-child(1) { background: #F87171; } .browser .bar i:nth-child(2) { background: #FBBF24; } .browser .bar i:nth-child(3) { background: #34D399; }
.browser .bar span { margin-left: 12px; flex: 1; max-width: 360px; height: 20px; background: #fff; border-radius: 10px; font-size: 12px; color: #8A88A3; display: flex; align-items: center; padding-left: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; }

/* phones row */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-size: clamp(11px, 1.35vw, 15px); }
.pf { text-align: center; }
.pf .phone { margin: 0 auto; box-shadow: 0 1.4em 2.6em rgba(36,31,69,.2); }
.pf .who { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); margin-top: 26px; }
.pf h3 { margin-top: 6px; }
.pf p { color: var(--muted); font-size: 16px; margin: 6px auto 0; max-width: 300px; }
.pf .store { margin-top: 14px; display: inline-flex; }
@media (max-width: 860px) { .phones { grid-template-columns: 1fr; gap: 48px; font-size: 14px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: #8ED8EA; font-weight: 700; font-size: 16px; }
.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* video */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #111; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(36,31,69,0) 40%, rgba(36,31,69,.55)); border: 0; cursor: pointer; padding: 0; width: 100%; color: #fff; font: inherit; }
.video .play span.circle { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(246,139,51,.5); transition: transform .2s; }
.video .play:hover span.circle { transform: scale(1.06); }
.video .play svg { width: 32px; height: 32px; margin-left: 4px; }
.video .play .label { position: absolute; left: 24px; bottom: 20px; font-weight: 600; font-size: 17px; text-align: left; }
.video .play .label small { display: block; font-weight: 500; opacity: .8; font-size: 14px; }
.video.playing .play { display: none; }

/* dark band */
.dark { background: var(--ink); color: #D7D4EE; position: relative; overflow: hidden; }
.dark h2, .dark h3, .dark b, .dark strong { color: #fff; }
.dark .eyebrow { color: #8ED8EA; }
.dark .lead, .dark p { color: #C9C6E6; }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.dark .card:hover { background: rgba(255,255,255,.08); }
.dark .card p { color: #B9B5DA; }
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(91,188,211,.28), rgba(91,188,211,0) 70%); pointer-events: none; }

/* founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.founder .ph { align-self: end; margin-bottom: calc(-1 * clamp(64px, 9vw, 112px)); }
.founder .ph img { height: clamp(360px, 40vw, 520px); width: auto; }
.founder blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.4; color: #fff; letter-spacing: -.01em; }
.founder blockquote::before { content: "\201C"; color: var(--orange); font-size: 1.8em; line-height: 0; vertical-align: -.38em; margin-right: .06em; }
.founder .nm { margin-top: 28px; font-size: 20px; font-weight: 700; color: #fff; }
.founder .cred { color: #C9C6E6; margin-top: 4px; }
.founder .btns { margin-top: 28px; }
.founder .fx { padding-bottom: 8px; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder .ph { order: 2; margin: 0 auto calc(-1 * clamp(64px, 9vw, 112px)); }
  .founder .ph img { height: 360px; }
}

/* deployment */
.deps .card { background: var(--lav-soft); border-color: #E6E4F4; box-shadow: none; }
.deps .card .ic { background: #fff; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #D9D6EE; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; color: var(--ink); font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--teal-d); border-bottom: 2px solid var(--teal-d); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: #C9C6E6; margin-top: 12px; font-size: 18px; max-width: 620px; }
.cta-band .btns { position: relative; z-index: 1; }
.cta-band .fan { opacity: .16; width: 520px; right: -200px; top: -220px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* recognitions */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; }
.logos img { height: 52px; width: auto; filter: grayscale(.15); opacity: .92; }
.logos .mii { background: var(--ink); border-radius: 10px; padding: 6px 12px; }
.logos .mii img { height: 44px; }
.recog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recog .card { text-align: center; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; }
.recog .card .lg { height: 72px; display: grid; place-items: center; }
.recog .card .lg img { max-height: 64px; width: auto; }
.recog .card .lg.dk { background: var(--ink); border-radius: 12px; padding: 8px 14px; }
.recog .card .lg.dk img { max-height: 54px; }
.recog .card h3 { font-size: 17px; margin-top: 16px; }
.recog .card p { font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .recog { grid-template-columns: repeat(2, 1fr); } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: var(--bg-soft); font-weight: 700; }
td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
td { color: var(--muted); }

/* spec list */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.specs div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.specs dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; font-size: 18px; }
.specs dd small { display: block; font-weight: 500; color: var(--muted); font-size: 14.5px; }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } .specs div:nth-child(odd) { border-right: 0; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: linear-gradient(160deg, #F3F2FB, #E8F5F9); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* sample reports */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reports figure { margin: 0; }
.reports a.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .2s; }
.reports a.shot:hover { transform: translateY(-3px); }
.reports figcaption { margin-top: 12px; font-weight: 600; color: var(--ink); text-align: center; }
@media (max-width: 760px) { .reports { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* tabs (platform) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { font: inherit; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form h2 { font-size: 28px; }
.form > p { color: var(--muted); margin-top: 8px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s, box-shadow .15s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(91,188,211,.18); }
.hp { position: absolute; left: -9999px; }
.form .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form .note { font-size: 14px; color: var(--muted); }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none; }
.form-msg.ok { display: block; background: #E3F6EC; color: #145F37; }
.form-msg.err { display: block; background: #FDECEC; color: #8F2323; }
.info { display: grid; gap: 16px; }
.info .card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.info .card h3 { font-size: 17px; margin: 0; }
.info .card p, .info .card a { font-size: 16px; margin-top: 4px; }
.info .card a { display: block; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* legal pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; padding-top: 8px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose .meta { color: var(--muted); font-size: 15px; }
.prose .box { background: var(--lav-soft); border: 1px solid #E6E4F4; border-radius: var(--radius); padding: 20px 24px; margin-top: 24px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 32px; }
.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15.5px; }
.toc li { margin: 4px 0; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* footer */
.site-footer { background: #1B1736; color: #B9B5DA; padding: 72px 0 0; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #D7D4EE; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin: 9px 0; }
.foot-brand .logo-box { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-brand .logo-box img { height: 36px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal); }
.legal { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: 13.5px; color: #8E8AB0; }
.legal a { color: #B9B5DA; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* floating WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa:hover { transform: scale(1.06); color: #fff; }
.wa svg { width: 30px; height: 30px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toast { animation: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* utilities */
.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 16px; } .mt { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 15px; color: var(--ink); }
.pill.g { background: #E3F6EC; border-color: #CBEBD8; color: var(--green); }
.figure-shadow { filter: drop-shadow(0 24px 30px rgba(36,31,69,.2)); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-lg); }
.dark .checks li { color: #D7D4EE; }
.dark .checks li::before { background-color: rgba(155,227,185,.16); }
.no-js .video .play { display: none; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); }
.split > *, .hero-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }
@media (max-width: 560px) { .video .play .label { display: none; } .video .play span.circle { width: 64px; height: 64px; } }
.stores { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* clients */
.clients-strip { border-bottom: 1px solid var(--line); }
.strip-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 28px; }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; align-items: flex-start; }
.client-logos li { width: 168px; }
.client-logos li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.client-logos img { height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.client-logos li:hover img { filter: none; opacity: 1; }
.client-logos span { font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
@media (max-width: 480px) { .client-logos { gap: 28px 12px; } .client-logos li { width: calc(50% - 6px); } }
.card.client { display: flex; flex-direction: column; align-items: flex-start; }
.client-logo { width: 100%; height: 132px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; padding: 18px; margin-bottom: 18px; }
.client-logo img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.card.client h3 { margin-top: 12px; }
.card.client p { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 15.5px; }
.card.client p svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-d); }
.card.client .foot svg { color: var(--green); }
.card.client .link-arrow { margin-top: auto; padding-top: 16px; }
@media (hover: none) { .client-logos img { filter: none; opacity: 1; } }
.inspiration .saraswati { width: min(100%, 420px); margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.inspiration .glow { width: 620px; height: 620px; background: radial-gradient(circle, rgba(246,196,120,.22), rgba(246,196,120,0) 70%); }

/* founder photo: About band glow + Contact card */
.founder .ph.lit { position: relative; }
.founder .ph.lit::before { content: ""; position: absolute; left: -12%; right: -12%; top: 8%; bottom: 0; background: radial-gradient(closest-side, rgba(142,216,234,.38), rgba(142,216,234,0)); }
.founder .ph.lit img { position: relative; }
.founder-card { display: grid !important; grid-template-columns: 140px 1fr; gap: 16px; align-items: end; padding: 18px 20px 0 !important; overflow: hidden;
  background: linear-gradient(160deg, #F3F2FB 0%, #E3F4F8 100%); border-color: #E2E0F3; }
.founder-card img { width: 140px; height: auto; align-self: end; display: block; }
.founder-card > div { padding-bottom: 20px; }
.founder-card .eyebrow { margin-bottom: 8px; font-size: 11.5px; }
.founder-card h3 { font-size: 19px !important; }
.founder-card p { margin-top: 4px !important; }
@media (max-width: 480px) { .founder-card { grid-template-columns: 104px 1fr; } .founder-card img { width: 104px; } }

/* contact: full-width map under the form */
.map-band { height: clamp(320px, 38vw, 480px); background: var(--bg-soft); border-top: 1px solid var(--line); }
.map-band iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- TAMS operational workflow (features page) ---------- */
.wf { margin: 0; }
.wf-body { position: relative; }
.wf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.wf-step { display: flex; flex-direction: column; align-items: center; }
.wf-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px;
  color: var(--teal-d); background: #fff; border: 2px solid var(--lav); margin-bottom: 16px;
  animation: wf-hit 6s ease-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.wf-track { position: absolute; left: 10%; right: 10%; top: 21px; height: 3px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--lav) 0 10px, transparent 10px 18px); }
.wf-mover { position: absolute; inset: 0; animation: wf-move 6s linear infinite; will-change: transform; }
.wf-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 5px rgba(246,139,51,.22); }
.wf-card { width: 100%; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 18px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s; }
.wf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wf-art { border-radius: 12px; background: linear-gradient(160deg, #F6F5FC, #EAF6FA); padding: 6px; margin-bottom: 14px; }
.wf-art svg { width: 100%; height: auto; display: block; }
.wf-who { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }
.wf-card h3 { font-size: 17px; margin-top: 4px; }
.wf-card ul { margin-top: 8px; display: grid; gap: 6px; }
.wf-card li { position: relative; padding-left: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.wf-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

@keyframes wf-move { 0% { transform: translateX(0); opacity: 0; } 4% { opacity: 1; } 80% { transform: translateX(100%); opacity: 1; } 88%, 100% { transform: translateX(100%); opacity: 0; } }
@keyframes wf-hit { 0% { background: var(--teal-d); color: #fff; border-color: var(--teal-d); box-shadow: 0 0 0 8px rgba(91,188,211,.25); }
  18%, 100% { background: #fff; color: var(--teal-d); border-color: var(--lav); box-shadow: 0 0 0 0 rgba(91,188,211,0); } }

/* scene animations */
.wf svg * { transform-box: fill-box; }
.wf-scan { animation: wf-scan 2.4s ease-in-out infinite alternate; }
@keyframes wf-scan { from { transform: translateY(2px); } to { transform: translateY(38px); } }
.wf-blink { animation: wf-blink 1.4s ease-in-out infinite; }
@keyframes wf-blink { 50% { opacity: .2; } }
.wf-press { transform-origin: center; animation: wf-press 3s ease-in-out infinite; }
@keyframes wf-press { 0%, 20%, 100% { transform: scale(1); } 10% { transform: scale(.88); } }
.wf-wave { opacity: 0; animation: wf-wave 1.8s ease-out infinite; }
.wf-wave.w2 { animation-delay: .3s; } .wf-wave.w3 { animation-delay: .6s; }
@keyframes wf-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.wf-led { animation: wf-blink 1.8s ease-in-out infinite; }
.wf-hop { animation: wf-hop 4.5s ease-in-out infinite; }
@keyframes wf-hop { 0%, 22% { transform: translateX(0); } 33%, 55% { transform: translateX(50px); } 66%, 88% { transform: translateX(100px); } 100% { transform: translateX(0); } }
.wf-tick { transform-origin: center; opacity: 0; animation: wf-tick 4.5s ease-out infinite; }
.wf-tick.t1 { animation-name: wf-t1; } .wf-tick.t2 { animation-name: wf-t2; } .wf-tick.t3 { animation-name: wf-t3; }
@keyframes wf-t1 { 0%, 8% { opacity: 0; transform: scale(.4); } 14%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes wf-t2 { 0%, 41% { opacity: 0; transform: scale(.4); } 47%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes wf-t3 { 0%, 74% { opacity: 0; transform: scale(.4); } 80%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.wf-spin { transform-origin: center; animation: wf-spin 3s linear infinite; }
@keyframes wf-spin { to { transform: rotate(360deg); } }
.wf-pop { transform-origin: center; opacity: 0; animation: wf-pop 4s ease-out infinite; }
.wf-pop.p2 { animation-delay: .6s; } .wf-pop.p3 { animation-delay: 1.2s; }
@keyframes wf-pop { 0% { opacity: 0; transform: scale(.3); } 12%, 70% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; transform: scale(.9); } }
.wf-bars rect { transform-origin: bottom; animation: wf-bar 4s ease-in-out infinite; }
.wf-bars .b2 { animation-delay: .15s; } .wf-bars .b3 { animation-delay: .3s; } .wf-bars .b4 { animation-delay: .45s; }
@keyframes wf-bar { 0% { transform: scaleY(.15); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.wf-donut { animation: wf-donut 4s ease-in-out infinite; }
@keyframes wf-donut { 0% { stroke-dashoffset: 113; } 35%, 80% { stroke-dashoffset: 28; } 100% { stroke-dashoffset: 113; } }

/* tablet / phone: vertical timeline */
@media (max-width: 900px) {
  .wf-list { grid-template-columns: 1fr; gap: 18px; }
  .wf-step { flex-direction: row; align-items: flex-start; gap: 14px; }
  .wf-num { flex: none; margin: 0; }
  .wf-card { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; column-gap: 16px; align-items: center; }
  .wf-art { grid-row: span 3; margin: 0; }
  .wf-track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--lav) 0 10px, transparent 10px 18px); }
  .wf-dot { left: 50%; top: 0; }
  .wf-mover { animation-name: wf-move-v; }
  @keyframes wf-move-v { 0% { transform: translateY(0); opacity: 0; } 4% { opacity: 1; } 80% { transform: translateY(100%); opacity: 1; } 88%, 100% { transform: translateY(100%); opacity: 0; } }
}
@media (max-width: 520px) {
  .wf-card { grid-template-columns: 1fr; }
  .wf-art { grid-row: auto; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf *, .wf-num { animation: none !important; }
  .wf-wave, .wf-tick, .wf-pop { opacity: 1; }
  .wf-donut { stroke-dashoffset: 28; }
  .wf-mover { display: none; }
}
.wf-track { z-index: 2; }
.wf-num { z-index: 3; }

/* about: Hindi deep-dive audio */
.listen { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: linear-gradient(160deg, #F3F2FB, #E8F5F9);
  border: 1px solid #E2E0F3; border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); }
.listen-ic { width: 60px; height: 60px; border-radius: 16px; background: #fff; }
.listen-ic svg { width: 30px; height: 30px; }
.listen .eyebrow { margin-bottom: 8px; }
.listen h3 { font-size: clamp(22px, 2.2vw, 28px); }
.listen p { color: var(--muted); margin-top: 8px; max-width: 760px; }
.listen audio { width: 100%; max-width: 640px; margin-top: 18px; }
@media (max-width: 560px) { .listen { grid-template-columns: 1fr; } }

/* app store badges */
.store-btn { display: inline-flex; align-items: center; gap: 9px; background: #111; color: #fff; border: 1px solid #111; border-radius: 10px;
  padding: 7px 14px 7px 11px; text-align: left; line-height: 1.1; font-weight: 600; font-size: 15.5px; transition: transform .15s, box-shadow .15s, background .15s; }
.store-btn:hover { color: #fff; background: #000; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn small { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .04em; opacity: .85; margin-bottom: 1px; }

/* ---------- deep-dive audio: header button, progress line, About panel ---------- */
.listen-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.listen-btn:hover { border-color: var(--teal); background: #F3FAFC; }
.listen-btn .lb-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--teal-d); }
.listen-btn .lb-ic svg { width: 18px; height: 18px; }
.lb-pause, .is-playing .lb-play { display: none !important; }
.is-playing .lb-pause { display: grid !important; }
.listen-btn.is-playing { border-color: var(--teal); background: #EAF6FA; }
.listen-btn .lb-text { font-variant-numeric: tabular-nums; }
.lb-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.is-playing .lb-eq { display: inline-flex; }
.lb-eq i { width: 3px; background: var(--orange); border-radius: 2px; animation: lb-eq .9s ease-in-out infinite; }
.lb-eq i:nth-child(2) { animation-delay: .2s; } .lb-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes lb-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.nav .listen-btn { margin-left: 4px; }
.audio-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: rgba(91,188,211,.15); opacity: 0; transition: opacity .3s; pointer-events: none; }
.audio-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width .3s linear; }
.site-header.audio-on .audio-progress { opacity: 1; }
@media (max-width: 1120px) {
  .nav .listen-btn { margin-left: auto; }
  .burger { margin-left: 8px; }
}
@media (max-width: 560px) {
  .listen-btn { padding: 0 9px; } .listen-btn .lb-text { display: none; }
  .brand img { height: 34px; }
}
.lp { display: flex; align-items: center; gap: 14px; margin-top: 18px; max-width: 640px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px 6px 6px; }
.lp-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(246,139,51,.35); }
.lp-btn .lb-ic { display: grid; place-items: center; } .lp-btn svg { width: 22px; height: 22px; }
.lp-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; padding: 0; border: 0;
  background: linear-gradient(90deg, var(--teal) var(--p, 0%), #E4E2F2 var(--p, 0%)); cursor: pointer; }
.lp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-d); }
.lp-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-d); }
.lp-seek:focus { box-shadow: none; } .lp-seek:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.lp-time { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-header { position: sticky; }
@media (max-width: 1360px) and (min-width: 1121px) {
  .menu a { padding: 8px 10px; font-size: 15px; }
  .listen-btn { padding: 0 9px; } .listen-btn .lb-text { display: none; }
  .nav { gap: 16px; }
}
.lp-seek { height: 22px; background: linear-gradient(90deg, var(--teal) var(--p, 0%), #E4E2F2 var(--p, 0%)) center / 100% 6px no-repeat; }
