/* kesy.ai — site styles (hand-written; no framework). */
:root {
  --ink: #0f0f17; --ink-2: #2b2b38; --muted: #5d5f6e; --faint: #8a8c99;
  --line: #e5e5ee; --line-2: #efeff5; --bg: #ffffff; --soft: #f7f7fb; --soft-2: #f1f0f8;
  --brand: #6d28d9; --brand-600: #5b21b6; --brand-50: #f5f0ff; --brand-100: #ebe1fe; --brand-200: #d9c8fd;
  --ok: #047857; --ok-50: #ecfdf5; --amber: #b45309; --amber-50: #fffbeb; --red: #b91c1c;
  --night: #12101f; --night-2: #1c1930;
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 16, 40, .06);
  --shadow: 0 1px 2px rgba(16, 16, 40, .05), 0 8px 24px -12px rgba(16, 16, 40, .14);
  --shadow-lg: 0 2px 4px rgba(16, 16, 40, .04), 0 24px 60px -24px rgba(30, 20, 80, .28);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.012em; font-weight: 650; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Region suggestion bar ── */
.region-bar { display: none; background: var(--night); color: #e9e7f6; font-size: 14px; }
.region-bar.show { display: block; }
.region-bar .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; text-align: center; }
.region-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.region-bar button { background: none; border: 0; color: #a9a6c4; font-size: 18px; line-height: 1; padding: 0 4px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.logo .region-tag { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 20px; gap: 2px; }
.mobile-nav a:not(.btn) { color: var(--ink); font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
.mobile-nav .btn { margin-top: 14px; }
@media (max-width: 960px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 520px) { .header-cta .btn-primary { display: none; } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1; padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(60, 20, 140, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--brand-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26263a; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #cfcfdc; background: var(--soft); }
.btn-ghost { color: var(--ink-2); padding: 10px 12px; }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── Type helpers ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--brand); margin-bottom: 14px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--faint); }
.center { text-align: center; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--muted); }
@media (max-width: 720px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* ── Hero ── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.022em; margin-bottom: 22px; font-weight: 680; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ok); }
.try-line { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.try-line .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.try-line .ic svg { width: 20px; height: 20px; }
.try-line b { display: block; color: var(--ink); font-size: 16px; letter-spacing: .01em; }
.try-line small { color: var(--muted); font-size: 13px; }
.try-line a:hover { text-decoration: none; }
.hero-visual { position: relative; }
.hero-visual .frame { transform: none; }
.hero-visual { padding-bottom: 56px; }
.hero-visual .float-card { position: absolute; left: -36px; bottom: 0; width: min(380px, 80%); }
.player.mini .player-controls { padding-bottom: 14px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { padding-bottom: 0; }
  .hero-visual .float-card { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 12px 0; }
}
@media (max-width: 520px) { .hero { padding-top: 44px; } .try-line { display: flex; } }

/* ── Browser frame / phone frame ── */
.frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #fafafd; border-bottom: 1px solid var(--line-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dedee7; }
.frame-bar .url { margin-left: 10px; font-size: 12px; color: var(--faint); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 10px; }
.frame img { width: 100%; }
.phone { width: 260px; border-radius: 38px; padding: 10px; background: #111; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 30px; }
.caption { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* ── Stats strip ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.stats > div { padding: 24px 26px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ── Call player ── */
.player { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.player-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.player-head .biz { font-weight: 650; color: var(--ink); font-size: 15px; line-height: 1.3; }
.player-head .where { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.badge-demo { color: #5b21b6; background: var(--brand-50); border-color: var(--brand-100); }
.badge-real { color: var(--ok); background: var(--ok-50); border-color: #c9f0dd; }
.badge-soft { color: var(--muted); background: var(--soft); border-color: var(--line); }
.player-title { padding: 10px 20px 0; font-size: 17px; font-weight: 650; color: var(--ink); line-height: 1.35; font-family: var(--font-display); letter-spacing: -0.01em; }
.player-controls { display: flex; align-items: center; gap: 14px; padding: 16px 20px 10px; }
.play { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; flex: none; transition: transform .15s, background .15s; }
.play:hover { background: var(--brand); transform: scale(1.04); }
.play svg { width: 18px; height: 18px; }
.play .i-pause { display: none; }
.player.playing .play .i-play { display: none; }
.player.playing .play .i-pause { display: block; }
.wave { flex: 1; min-width: 0; overflow: hidden; height: 40px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.wave i { flex: 1; min-width: 1px; border-radius: 2px; background: #d9d8e6; transition: background .1s; }
.wave i.on { background: var(--brand); }
.player-time { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }
.player-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }
.player-tags span { font-size: 12px; color: var(--muted); background: var(--soft); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; }
.transcript { border-top: 1px solid var(--line-2); background: #fcfcfe; height: 260px; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.player.compact .transcript { height: 200px; }
.turn { max-width: 88%; font-size: 14px; line-height: 1.5; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); opacity: .55; transition: opacity .25s, border-color .25s, box-shadow .25s; cursor: pointer; }
.turn .who { display: block; font-size: 11px; font-weight: 650; letter-spacing: .03em; color: var(--faint); margin-bottom: 2px; text-transform: uppercase; }
.turn.agent { align-self: flex-start; border-bottom-left-radius: 4px; }
.turn.agent .who { color: var(--brand); }
.turn.caller { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--soft-2); }
.turn.past { opacity: .85; }
.turn.now { opacity: 1; border-color: var(--brand-200); box-shadow: 0 0 0 3px var(--brand-50); }
.turn .en { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-style: italic; }
.player-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.player-foot .outcome { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.player-foot .outcome svg { width: 14px; height: 14px; }
.calls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .calls-grid { grid-template-columns: 1fr; } }
.calls-note { margin-top: 20px; font-size: 13px; color: var(--faint); max-width: 760px; }

/* ── Feature grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.icon svg { width: 20px; height: 20px; }
.feature { padding: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ── Product tour ── */
.tour-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tour-tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; }
.tour-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.tour-copy h3 { font-size: 22px; margin-bottom: 10px; }
.tour-copy p { color: var(--muted); }
.tour-panel[hidden] { display: none; }
@media (max-width: 900px) { .tour-grid { grid-template-columns: 1fr; gap: 20px; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.split p { color: var(--muted); font-size: 17px; }

/* ── Industries ── */
.ind { display: flex; flex-direction: column; gap: 10px; }
.ind h3 { font-size: 17px; }
.ind p { font-size: 14.5px; color: var(--muted); }
.ind a { font-size: 14px; font-weight: 600; margin-top: auto; }

/* ── Dark band (compliance) ── */
.band-dark { background: var(--night); color: #cfcde4; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-head p { color: #a9a6c4; }
.band-dark .card { background: var(--night-2); border-color: #2c2846; }
.band-dark .card p { color: #a9a6c4; }
.band-dark .icon { background: #262141; border-color: #34305a; color: #c4b5fd; box-shadow: none; }
.band-dark a { color: #c4b5fd; }

/* ── Pricing ── */
.price-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; background: #fff; }
.price.main { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price .tag { position: absolute; top: 20px; right: 20px; }
.price h3 { font-size: 20px; margin-bottom: 4px; }
.price .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.price .amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price .amount b { font-family: var(--font-display); font-size: 52px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.price .amount span { color: var(--muted); font-size: 16px; }
.price .fine { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.price .check-list { margin-bottom: 28px; }
.price .btn { margin-top: auto; }
.topups { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.topups-head { padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
.topups-head b { color: var(--ink); }
.topups table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.topups th, .topups td { padding: 11px 22px; text-align: left; border-bottom: 1px solid var(--line-2); }
.topups th { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; background: var(--soft); }
.topups tr:last-child td { border-bottom: 0; }
.topups td:last-child, .topups th:last-child { text-align: right; color: var(--muted); }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5f6e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 22px; color: var(--muted); max-width: 720px; }

/* ── CTA ── */
.cta { border-radius: var(--r-xl); background: var(--night); color: #cfcde4; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .45), transparent); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; }
.cta p { color: #a9a6c4; font-size: 17px; }
.cta .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-outline { background: transparent; color: #fff; border-color: #3a3560; box-shadow: none; }
.cta .btn-outline:hover { background: #221e3a; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 64px 0 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
.foot-grid h4 { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: .01em; }
.foot-grid a { display: block; color: var(--muted); padding: 4px 0; }
.foot-grid a.logo { display: inline-flex; color: var(--ink); padding: 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { color: var(--muted); margin-top: 14px; max-width: 300px; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--faint); font-size: 13px; line-height: 1.7; }
.foot-legal .entity { max-width: 720px; }
.region-switch { display: inline-flex; align-items: center; gap: 8px; }
.region-switch select { font: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 7px 30px 7px 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5f6e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center / 14px no-repeat; appearance: none; -webkit-appearance: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ── Inner pages ── */
.page-hero { padding: 72px 0 44px; border-bottom: 1px solid var(--line-2); background: linear-gradient(#fbfaff, #fff); }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -0.02em; margin-bottom: 16px; max-width: 860px; }
.page-hero .lead { max-width: 720px; }
.breadcrumb { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.prose { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; color: var(--ink); }
.prose .note { border: 1px solid var(--line); background: var(--soft); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; font-size: 14px; }
.legal-nav a { display: block; color: var(--muted); padding: 6px 0; }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; } }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.kv { display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.kv > div { padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.kv > div:nth-child(odd) { color: var(--muted); background: var(--soft); }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; } }

/* ── Forms ── */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--faint); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.form-status.ok { display: block; background: var(--ok-50); color: var(--ok); border: 1px solid #c9f0dd; }
.form-status.err { display: block; background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.contact-card .icon { margin: 0; flex: none; }
.contact-card b { display: block; color: var(--ink); }
.contact-card span { font-size: 14px; color: var(--muted); }

/* ── Misc ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.notice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: var(--soft); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.video-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.calls-grid.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .calls-grid.four { grid-template-columns: 1fr; } }
.hero-grid > *, .split > *, .tour-grid > *, .price-grid > *, .calls-grid > *, .legal-layout > * { min-width: 0; }
@media (max-width: 640px) {
  .region-bar { font-size: 13px; }
  .region-bar .container { flex-wrap: nowrap; justify-content: space-between; text-align: left; }
}
@media (max-width: 640px) { .frame-pic img { max-height: 460px; object-fit: cover; object-position: top; } }

/* ── Video band (YouTube-style player with chapters) ── */
.video-band { position: relative; overflow: hidden; background: var(--night); padding: 88px 0 96px; }
.video-band::before { content: ""; position: absolute; left: 50%; top: -280px; width: 1100px; height: 700px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .38), transparent); pointer-events: none; }
.video-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); pointer-events: none; }
.video-band .container { position: relative; z-index: 1; }
.video-band .section-head h2 { color: #fff; }
.video-band .section-head p { color: #a9a6c4; }
.vplayer { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; max-width: 1180px; margin: 0 auto; align-items: start; }
.vp-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid #2c2846; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03); }
.vp-screen video { width: 100%; height: 100%; display: block; object-fit: cover; }
.vp-cover { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; cursor: pointer; background: linear-gradient(180deg, rgba(10, 8, 20, .55) 0%, rgba(10, 8, 20, 0) 32%, rgba(10, 8, 20, 0) 70%, rgba(10, 8, 20, .5) 100%); color: #fff; text-align: left; }
.vplayer.started .vp-cover { display: none; }
.vp-top { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; align-items: center; gap: 12px; }
.vp-top img { width: 40px; height: 40px; border-radius: 50%; }
.vp-top b { display: block; font-size: 17px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.vp-top small { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); }
.vp-play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--brand); font-size: 16px; font-weight: 600; box-shadow: 0 12px 40px -8px rgba(124, 58, 237, .8); transition: transform .18s, background .18s; }
.vp-play i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-style: normal; }
.vp-play svg { width: 18px; height: 18px; margin-left: 2px; }
.vp-cover:hover .vp-play { transform: translateY(-2px); background: #7c3aed; }
.vp-dur { position: absolute; right: 14px; bottom: 14px; font-size: 13px; font-weight: 600; background: rgba(0, 0, 0, .75); border-radius: 6px; padding: 3px 8px; }
.vp-screen { width: 100%; }
/* The video sets the row height; the chapter rail fills it and scrolls (it never stretches the player). */
.vp-chapters { position: relative; align-self: stretch; background: var(--night-2); border: 1px solid #2c2846; border-radius: 18px; min-height: 0; }
.vp-ch-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14px 10px 12px; }
@media (min-width: 961px) and (max-width: 1320px) { .vp-note { display: none; } }
.vp-ch-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 10px 10px; border-bottom: 1px solid #2c2846; margin-bottom: 8px; }
.vp-ch-head b { color: #fff; font-size: 15px; }
.vp-ch-head span { color: #8f8bb0; font-size: 12.5px; }
.vp-chapters ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; flex: 1; }
.vp-chapters button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; text-align: left; background: none; border: 0; border-radius: 10px; padding: 7px 10px; color: #cfcde4; font-size: 14px; line-height: 1.35; cursor: pointer; transition: background .15s; }
.vp-chapters button:hover { background: rgba(255, 255, 255, .05); }
.vp-chapters li.on button { background: rgba(124, 58, 237, .18); color: #fff; }
.vp-num { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #a9a6c4; }
.vp-chapters li.on .vp-num { background: var(--brand); color: #fff; }
.vp-time { font-size: 12.5px; color: #8f8bb0; font-variant-numeric: tabular-nums; }
.vp-note { margin-top: auto; padding: 12px 10px 0; font-size: 12.5px; color: #8f8bb0; line-height: 1.5; }
@media (max-width: 960px) {
  .vplayer { grid-template-columns: 1fr; }
  .vp-ch-inner { position: static; }
  .vp-chapters ol { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .vp-chapters li { flex: none; }
  .vp-chapters button { grid-template-columns: auto auto; white-space: nowrap; background: rgba(255,255,255,.04); }
  .vp-chapters .vp-time { display: none; }
  .vp-note { display: none; }
}
@media (max-width: 520px) { .video-band { padding: 64px 0 70px; } .vp-play { left: 12px; bottom: 12px; font-size: 14px; padding: 6px 14px 6px 6px; } .vp-play i { width: 32px; height: 32px; } .vp-top { left: 12px; top: 10px; } .vp-top img { width: 30px; height: 30px; } .vp-top b { font-size: 13.5px; } .vp-top small { font-size: 11.5px; } .vp-dur { display: none; } }
.vplayer > * { min-width: 0; }
@media (max-width: 520px) { .vp-play-text, .vp-top small { display: none; } .vp-play { font-size: 13px; padding: 4px 12px 4px 4px; gap: 8px; } }

/* ── Video tutorials ── */
[data-tlang="hi"] [data-lang="en"], [data-tlang="en"] [data-lang="hi"] { display: none !important; }
.tl-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.tl-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; transition: border-color .15s; }
.tl-search:focus-within { border-color: var(--brand); }
.tl-search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.tl-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 13px 0; background: transparent; min-width: 0; }
.tl-switch { display: inline-flex; background: var(--soft-2); border-radius: 999px; padding: 4px; gap: 2px; }
.tl-switch button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--muted); }
[data-tlang="hi"] .tl-switch [data-tlang-set="hi"], [data-tlang="en"] .tl-switch [data-tlang-set="en"] { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.tl-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.tl-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tl-chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tl-group { margin-bottom: 40px; }
.tl-group h2 { font-size: 24px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.tl-group h2 span { font-size: 13px; font-weight: 700; color: var(--brand-600); background: var(--brand-50); border-radius: 999px; padding: 3px 10px; font-family: var(--font); letter-spacing: 0; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; color: inherit; transition: transform .18s, box-shadow .18s; }
.tl-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tl-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--soft-2); display: block; }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(109, 40, 217, .92); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(109, 40, 217, .7); opacity: .92; transition: transform .18s; }
.tl-card:hover .tl-play { transform: scale(1.08); }
.tl-play svg { width: 20px; height: 20px; margin-left: 3px; }
.tl-dur { position: absolute; right: 10px; bottom: 10px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .75); border-radius: 6px; padding: 2px 7px; }
.tl-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.tl-num { font-size: 12.5px; font-weight: 700; color: var(--brand-600); letter-spacing: .02em; }
.tl-body b { font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--ink); font-weight: 650; }
.tl-body small { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tl-empty { padding: 30px; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--r-lg); }
.tl-more { margin-top: 10px; color: var(--faint); }
.tl-band { padding: 40px 0 56px; }
.tl-crumb { color: #a9a6c4; margin-bottom: 14px; font-size: 14px; }
.tl-crumb a { color: #c4b5fd; }
.tl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; max-width: 1180px; margin-left: auto; margin-right: auto; }
.tl-head h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 6px 0 8px; }
.tl-head p { color: #a9a6c4; max-width: 720px; }
.tl-head .tl-num { color: #c4b5fd; }
.tl-band .tl-switch { background: rgba(255, 255, 255, .08); }
.tl-band .tl-switch button { color: #cfcde4; }
.tl-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.tl-detail h2 { font-size: 22px; margin-bottom: 14px; }
.tl-transcript { display: grid; gap: 10px; color: var(--ink-2); }
.tl-transcript p { padding-left: 14px; border-left: 3px solid var(--brand-100); }
.tl-next { margin-top: 26px; }
.tl-side { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; position: sticky; top: 90px; }
.tl-side h3 { font-size: 16px; margin-bottom: 12px; }
.tl-side ol { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.tl-side li a { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.tl-side li a:hover { background: var(--soft); text-decoration: none; }
.tl-side li.on a { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.tl-side li span { font-weight: 700; color: var(--faint); font-size: 13px; }
.tl-side li small { color: var(--faint); font-size: 12.5px; }
.tl-help { margin-top: 18px; padding: 14px; border-radius: var(--r); background: var(--soft); display: grid; gap: 4px; font-size: 14px; }
.tl-help span { color: var(--muted); }
@media (max-width: 960px) { .tl-detail { grid-template-columns: 1fr; } .tl-side { position: static; } }
.tl-player .vp-top { display: none; }   /* the poster is the video's own title card */
/* Up next end screen (tutorial player) */
.vp-next { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(10, 8, 20, .82); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 18px; }
.vp-next[hidden] { display: none; }
.vp-next-in { width: min(560px, 100%); display: grid; gap: 14px; color: #fff; text-align: left; }
.vp-next-kick { font-size: 14px; font-weight: 600; color: #c4b5fd; letter-spacing: .01em; }
.vp-next-card { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px; transition: background .15s, border-color .15s; }
.vp-next-card:hover { text-decoration: none; background: rgba(124, 58, 237, .22); border-color: rgba(196, 181, 253, .5); }
.vp-next-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #1c1930; }
.vp-next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vp-next-thumb i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.vp-next-thumb i svg { width: 16px; height: 16px; margin-left: 2px; }
.vp-next-thumb em { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .75); border-radius: 5px; padding: 1px 6px; }
.vp-next-meta { display: grid; gap: 6px; min-width: 0; }
.vp-next-meta small { font-size: 12.5px; color: #a9a6c4; }
.vp-next-meta b { font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 650; }
.vp-next-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vp-next .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.vp-next .btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.vp-next .btn { padding: 9px 18px; font-size: 14.5px; }
@media (max-width: 640px) { .vp-next-card { grid-template-columns: 120px 1fr; gap: 10px; } .vp-next-meta b { font-size: 15px; } .vp-next-in { gap: 10px; } .vp-next .btn { padding: 7px 12px; font-size: 13px; } }
