/* Tejoratech — site styles. No external resources; the font is self-hosted. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght.3100e775e8.woff2') format('woff2');
}

:root {
  /* The logo's blue (src/brand/mark.svg) and its scale. */
  --navy-950: #081a45;
  --navy-900: #0b2259;
  --navy-800: #0d2765;
  --navy-700: #0f2c6e;
  --navy-600: #1e4a96;
  --navy-100: #e1e8f6;
  --navy-50: #eef2fa;
  /* The logo's orange; 600 is dark enough for text on white. */
  --orange-600: #9a4a00;
  --orange-500: #ff9a1f;
  --orange-400: #ffb65c;
  --orange-100: #fff2e2;
  /* "tech" in the wordmark: the logo's deeper orange (a logotype, not running text). */
  --orange-brand: #f57c00;
  --green-700: #15803d;
  --green-100: #dcfce7;
  --red-700: #b91c1c;
  --red-50: #fef2f2;

  --bg: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #ffffff;
  --ink: #0b1b45;
  --text: #1f2a44;
  --muted: #4a5672;
  --line: #e2e7f0;
  --link: #0f2c6e;
  --accent-text: #9a4a00;
  --focus: #ff9a1f;
  --shadow-sm: 0 1px 2px rgba(15, 30, 80, 0.06), 0 4px 14px -6px rgba(15, 30, 80, 0.12);
  --shadow: 0 2px 4px rgba(15, 30, 80, 0.04), 0 24px 48px -24px rgba(15, 30, 80, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 650; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 0.98rem/1.2 var(--font); letter-spacing: -0.005em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.92rem; }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 6px 18px -8px rgba(15, 44, 110, 0.7); }
.btn-primary:hover { background: var(--navy-800); }
.btn-accent { background: var(--orange-500); color: var(--navy-950); box-shadow: 0 8px 22px -10px rgba(255, 154, 31, 0.8); }
.btn-accent:hover { background: var(--orange-400); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface-2); }
.btn-outline:hover { border-color: var(--navy-700); }
.btn-on-dark { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-size: 1.28rem; font-weight: 780; letter-spacing: -0.03em; color: var(--ink); }
.brand-name span { color: var(--orange-brand); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name span { color: var(--orange-500); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--text); font-weight: 550; font-size: 0.97rem; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--surface); }
.site-nav a[aria-current='page']:not(.btn) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange-500); border-radius: 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 16px; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; }
  .site-nav a[aria-current='page']:not(.btn) { box-shadow: inset 3px 0 0 var(--orange-500); padding-left: 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #dbe4ff;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
/* Two soft lights behind the hero, the logo's orange at the top right and a lighter
   blue at the bottom left, drifting slowly. */
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: -2; pointer-events: none; border-radius: 50%;
}
.hero::before {
  width: 900px; height: 900px; right: -300px; top: -420px;
  background: radial-gradient(closest-side, rgba(255, 154, 31, 0.3), rgba(255, 154, 31, 0.08) 60%, transparent);
}
.hero::after {
  width: 1000px; height: 1000px; left: -420px; bottom: -560px;
  background: radial-gradient(closest-side, rgba(30, 74, 150, 0.55), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: hero-light 14s ease-in-out infinite alternate; }
  .hero::after { animation: hero-light 18s ease-in-out infinite alternate-reverse; }
}
@keyframes hero-light {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-80px, 60px) scale(1.15); }
}
.hero h1, .hero h2 { color: #fff; }
.hero-inner { display: grid; gap: 40px; padding: 56px 0 64px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 88px 0 96px; } }
.hero .lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: #c9d5f5; max-width: 38em; margin-bottom: 1.8em; }
.hero h1 .glow { color: var(--orange-400); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text);
}
.hero .eyebrow { color: var(--orange-400); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.93rem; color: #b8c6ee; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }

.page-hero { padding: 48px 0 40px; }
@media (min-width: 960px) { .page-hero { padding: 80px 0 64px; } }
.page-hero .lead { max-width: 40em; }

/* Mock product card (illustration of Vahan's per-vehicle statement) */
/* ---------- The real Vahan, playing (assets/js/player.js) ----------
   Screenshots of the real app, signed in to a demo company with made-up data, shown one
   after another in a laptop and a phone: the website's pages in turn, and a booking from
   Add booking to saved. Without the script, or with "reduce motion" on, the first screen
   of each stays. */
.real-pair {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(84px, 22%, 170px);
  align-items: end; gap: clamp(10px, 1.6vw, 20px); width: 100%; margin: 0;
}
.real-laptop .screen {
  position: relative; aspect-ratio: 1280 / 800; overflow: hidden; background: #fff;
  border: 9px solid #0b1638; border-bottom-width: 12px; border-radius: 14px 14px 4px 4px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.real-laptop::after { content: ''; display: block; height: 10px; margin: 0 -14px; border-radius: 0 0 12px 12px; background: #c9d1e2; }
.real-phone .screen {
  position: relative; aspect-ratio: 390 / 844; overflow: hidden; background: #fff;
  border: 7px solid #0b1638; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}
.real-pair .screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity 0.3s ease;
}
.real-pair .screen img:first-child, .real-pair .screen img.is-showing { opacity: 1; }
.real-pair .screen.is-playing img:first-child:not(.is-showing) { opacity: 0; }
.real-note { margin: 12px 0 0; font-size: 0.78rem; text-align: center; color: var(--muted); }
.hero .real-note { color: #b8c6ee; }
.product-feature .real-pair { max-width: 620px; justify-self: center; }
@media (prefers-reduced-motion: reduce) { .real-pair .screen img { transition: none; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--navy-50); color: var(--navy-700);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Products */
.product-feature {
  display: grid; gap: 28px; border-radius: 22px; padding: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(255, 154, 31, 0.12), transparent 70%),
    var(--surface-2);
  box-shadow: var(--shadow);
}
@media (min-width: 960px) { .product-feature { grid-template-columns: 1.2fr 1fr; padding: 44px; gap: 44px; align-items: center; } }
.product-feature h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 0.35em; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em; }
.badge-live { background: var(--green-100); color: var(--green-700); }
.badge-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.badge-soon { background: var(--orange-100); color: var(--accent-text); }
.badge-plain { background: var(--navy-50); color: var(--link); }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
@media (min-width: 640px) { .ticks.two { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.product-small { position: relative; }
.product-small h3 { font-size: 1.35rem; }
.soon-grid { margin-top: 20px; }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-wide { grid-template-columns: 1.4fr 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: 0.9rem;
  color: var(--accent-text); letter-spacing: 0.08em; margin-bottom: 12px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Choice (web / Android / both) */
.choice { display: grid; gap: 16px; }
@media (min-width: 768px) { .choice { grid-template-columns: repeat(3, 1fr); } }
.choice .card { text-align: left; }
.choice .card.featured { border-color: var(--navy-700); box-shadow: 0 0 0 1px var(--navy-700), var(--shadow-sm); }

/* Statements */
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 768px) { .values > div { grid-template-columns: minmax(130px, 190px) 1fr; gap: 28px; } }
.values h3 { margin: 0; font-size: 1.1rem; }
.values p { margin: 0; color: var(--muted); }

.quote {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.45; color: var(--ink); font-weight: 600;
  letter-spacing: -0.015em; border-left: 4px solid var(--orange-500); padding-left: 22px; margin: 0;
}

/* CTA band */
.cta-band {
  border-radius: 24px; padding: 40px 28px; color: #c9d5f5; position: relative; overflow: hidden;
  background:
    radial-gradient(500px 300px at 100% 100%, rgba(255, 154, 31, 0.28), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid; gap: 24px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 36em; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid #c5cddd; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[type='file'] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(255, 154, 31, 0.55); }
.field .hint { font-size: 0.86rem; color: var(--muted); margin: 0; }
.field .error { font-size: 0.88rem; color: var(--red-700); font-weight: 600; margin: 0; }
.field .error:empty { display: none; }
.field [aria-invalid='true'] { border-color: var(--red-700); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--navy-700); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 550; margin-top: 18px; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--green-100); color: var(--green-700); }
.form-status.err { background: var(--red-50); color: var(--red-700); }
.noscript-note { background: var(--orange-100); color: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .k { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); }
.contact-list a, .contact-list span.v { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }

/* ---------- Legal prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0 0 1.2em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; }
.prose th { background: var(--surface); color: var(--ink); }
.legal-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 240px 1fr; gap: 64px; } .toc { position: sticky; top: 96px; align-self: start; } }
.toc { font-size: 0.93rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--link); text-decoration: underline; }
.meta-line { color: var(--muted); font-size: 0.95rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound .code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; letter-spacing: -0.05em; color: var(--navy-700); line-height: 1; margin-bottom: 12px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b8c4e3; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #e3e9f8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 26em; }
.footer-brand p { margin: 16px 0 0; font-size: 0.95rem; }
.footer-contact { overflow-wrap: anywhere; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-col h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #8f9cc2; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 22px; font-size: 0.86rem; color: #8f9cc2;
}
.footer-base p { margin: 0; overflow-wrap: anywhere; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.9rem; }
.stack-lg > * + * { margin-top: 20px; }
.anchor-target { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Footer stays at the bottom on short pages (404). */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

.field input[type='file']::file-selector-button {
  font: 600 0.9rem var(--font); color: var(--navy-700); background: var(--navy-50);
  border: 1px solid var(--navy-100); border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer;
}
.note-after { margin-top: 20px; }

/* Starting price under Vahan's buttons and player. */
.price-note {
  margin-bottom: 0; font-size: 0.95rem; color: var(--muted);
  padding: 12px 16px; border-radius: var(--radius-sm); background: var(--orange-100);
}
.price-note strong { color: var(--accent-text); font-size: 1.05rem; }
.badge-new { align-self: flex-start; margin-bottom: 12px; background: var(--green-100); color: var(--green-700); }

/* WhatsApp chat button, bottom right on every page. */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px;
  border-radius: 999px; background: #1f8f4e; color: #fff; font-weight: 650; text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(10, 60, 30, 0.6);
  transition: transform 0.15s, background-color 0.15s;
}
.wa-float:hover { background: #18773f; color: #fff; text-decoration: none; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
@media (max-width: 639px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Room at the bottom so the button never covers the footer's last line. */
.site-footer { padding-bottom: 88px; }

/* =====================================================================
   Modern layer: depth, gradients and motion on top of the base styles.
   Everything here degrades to the base look without JavaScript (.js),
   and motion runs only when the visitor has not asked to reduce it (.motion).
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grad-brand: linear-gradient(120deg, #ffb65c 0%, #ff9a1f 35%, #ff7a3d 65%, #ffd08a 100%);
  --ring: 0 0 0 1px rgba(15, 44, 110, 0.06);
  --shadow-lift: 0 1px 2px rgba(15, 30, 80, 0.05), 0 30px 60px -28px rgba(15, 30, 80, 0.35);
  --radius: 20px;
}
h1 { letter-spacing: -0.04em; }
h2 { letter-spacing: -0.03em; }
::selection { background: var(--orange-400); color: var(--navy-950); }

/* ---------- Header: glass, tightens on scroll, progress bar ---------- */
.site-header { transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s; }
.header-inner { transition: min-height 0.3s var(--ease-out); }
.site-header.is-scrolled {
  background: color-mix(in srgb, #fff 78%, transparent);
  box-shadow: 0 10px 30px -18px rgba(15, 30, 80, 0.35);
}
@media (min-width: 860px) { .site-header.is-scrolled .header-inner { min-height: 60px; } }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: 0 50%;
}
@media (min-width: 860px) {
  .site-nav a:not(.btn) { position: relative; }
  .site-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--orange-500); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s var(--ease-out);
  }
  .site-nav a:not(.btn):hover { background: transparent; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current='page']:not(.btn)::after { transform: scaleX(1); }
  .site-nav a[aria-current='page']:not(.btn) { box-shadow: none; border-radius: 8px; }
}
@media (max-width: 859px) {
  .site-nav.open { animation: drop-in 0.3s var(--ease-out); }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Buttons: shine sweep ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease-out); }
.btn-accent { background: var(--grad-brand); background-size: 200% 100%; transition: background-position 0.5s var(--ease-out), transform 0.15s, box-shadow 0.2s; }
.btn-accent:hover { background: var(--grad-brand); background-size: 200% 100%; background-position: 100% 0; box-shadow: 0 14px 30px -12px rgba(255, 140, 31, 0.9); }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(15, 44, 110, 0.8); }

/* ---------- Hero: aurora, grid, pill, gradient words, devices ---------- */
.hero { background: radial-gradient(120% 90% at 50% 0%, #10307a 0%, var(--navy-900) 45%, var(--navy-950) 100%); }
.hero::before, .hero::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.orb-1 { width: 460px; height: 460px; right: -140px; top: -200px; background: #ff9a1f; opacity: 0.2; }
.orb-2 { width: 620px; height: 620px; left: -220px; bottom: -300px; background: #2f5fd0; }
.orb-3 { width: 360px; height: 360px; left: 42%; top: 30%; background: #7c4dff; opacity: 0.22; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner { padding-bottom: 40px; }
@media (min-width: 960px) { .hero-inner { padding: 80px 0 56px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 6px;
  border-radius: 999px; font-size: 0.88rem; font-weight: 550; color: #dfe7ff; text-decoration: none;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.2s, border-color 0.2s;
}
.pill:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 182, 92, 0.6); color: #fff; text-decoration: none; }
.pill-tag { padding: 3px 10px; border-radius: 999px; background: var(--grad-brand); color: var(--navy-950); font-weight: 750; font-size: 0.78rem; }
.pill .arrow { transition: transform 0.2s; }
.pill:hover .arrow { transform: translateX(3px); }
.hero h1 .glow {
  background: var(--grad-brand); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-visual { perspective: 1400px; }
.hero-visual .real-pair {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d; transition: transform 0.6s var(--ease-out);
}
.hero-visual .real-laptop .screen { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* Facts under the hero: glass cards */
.facts {
  list-style: none; margin: 0; padding: 0 0 56px; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 960px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 80px; } }
.facts li {
  position: relative; overflow: hidden; display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.facts strong { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 780; letter-spacing: -0.03em; }
.facts span { color: #b8c6ee; font-size: 0.9rem; }
@media (max-width: 639px) { .facts li { padding: 14px 16px; } .facts strong { font-size: 1.15rem; } .facts span { font-size: 0.82rem; } }
.facts strong span { color: inherit; font-size: inherit; }

/* Ticker of features */
.ticker {
  position: relative; overflow: hidden; padding: 18px 0; background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--navy-950), transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; }
.ticker span { display: inline-flex; align-items: center; gap: 44px; color: #c9d5f5; font-weight: 600; white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }

/* ---------- Page heroes on inner pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 154, 31, 0.14), transparent 70%),
    radial-gradient(700px 360px at 0% 100%, rgba(47, 95, 208, 0.1), transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(15, 44, 110, 0.12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero h1 { max-width: 18em; }

/* ---------- Cards: lift, gradient edge, pointer spotlight ---------- */
.card, .steps li, .product-feature { position: relative; isolation: isolate; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s; }
.card::before, .steps li::after, .product-feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 154, 31, 0.13), transparent 60%);
  transition: opacity 0.35s;
}
.facts li::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 182, 92, 0.22), transparent 60%);
}
.card:hover, .steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--orange-500) 35%, var(--line)); }
.card:hover::before, .steps li:hover::after, .product-feature:hover::before, .facts li:hover::before { opacity: 1; }
.icon {
  background: linear-gradient(135deg, var(--navy-50), #fff); box-shadow: inset 0 0 0 1px var(--navy-100);
  transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s;
}
.card:hover .icon { transform: rotate(-6deg) scale(1.06); background: var(--navy-700); color: #fff; }
.card .card-link span { display: inline-block; transition: transform 0.2s; }
.card .card-link:hover span { transform: translateX(4px); }
.product-feature { border: 1px solid transparent; background:
    radial-gradient(500px 260px at 100% 0%, rgba(255, 154, 31, 0.12), transparent 70%) padding-box,
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255, 154, 31, 0.6), rgba(15, 44, 110, 0.15) 40%, rgba(47, 95, 208, 0.45)) border-box; }

/* Steps joined by a line that draws in */
@media (min-width: 960px) {
  .steps { position: relative; }
  .steps::before {
    content: ''; position: absolute; left: 24px; right: 24px; top: 38px; height: 2px; z-index: -1;
    background: linear-gradient(90deg, var(--orange-500), var(--navy-600));
    transform-origin: 0 50%;
  }
}
.steps li::before {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; letter-spacing: 0;
  background: var(--orange-100); color: var(--accent-text);
}
.steps li:hover::before { background: var(--grad-brand); color: var(--navy-950); }

/* CTA band: moving light */
.cta-band { box-shadow: 0 40px 80px -40px rgba(8, 26, 69, 0.7); }
.cta-band::before {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 154, 31, 0.35), transparent); pointer-events: none;
}
.cta-band > * { position: relative; }

/* Footer: soft glow on top */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; left: 50%; top: -1px; width: min(900px, 90%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 154, 31, 0.8), transparent);
}

/* WhatsApp button: a soft pulse ring */
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: #1f8f4e;
}

/* ---------- Motion (only with JavaScript and without "reduce motion") ---------- */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out) var(--d, 0ms), transform 0.8s var(--ease-out) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.motion .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.motion .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.motion .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.motion .hero-visual { animation: rise 1.1s var(--ease-out) 0.2s both; }
.motion .hero-visual .real-pair { animation: float 7s ease-in-out 1.4s infinite; }
.motion .hero h1 .glow { animation: shimmer 6s ease-in-out infinite; }
.motion .orb-1 { animation: drift 16s ease-in-out infinite alternate; }
.motion .orb-2 { animation: drift 20s ease-in-out infinite alternate-reverse; }
.motion .orb-3 { animation: drift 24s ease-in-out infinite alternate; }
.motion .ticker-track { animation: marquee 38s linear infinite; }
.motion .ticker:hover .ticker-track { animation-play-state: paused; }
.motion .steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease-out) 0.3s; }
.motion .steps:has(li.in)::before { transform: scaleX(1); }
.motion .wa-float::before { animation: pulse 2.6s ease-out infinite; }
.motion .badge-live::before { animation: blink 1.8s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes shimmer { 50% { background-position: 100% 0; } }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.18); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 22px)); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes blink { 50% { opacity: 0.35; } }

/* ---------- Vahan page: Telugu lead, price table, FAQ ---------- */
.lead-te { color: #c9d5f5; font-size: 1.02rem; margin: -0.6em 0 1.8em; max-width: 36em; line-height: 1.8; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--surface); }
.price-table tbody th { color: var(--ink); font-weight: 650; }
.price-table td { font-weight: 600; color: var(--ink); }
.price-table td:last-child { color: var(--accent-text); font-weight: 750; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr { transition: background-color 0.2s; }
.price-table tbody tr:hover { background: var(--orange-100); }
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--orange-500) 45%, var(--line)); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 650; color: var(--ink); border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.motion .faq details[open] p { animation: drop-in 0.3s var(--ease-out); }
.faq-te { align-self: start; line-height: 1.8; }
.faq-te dl { margin: 0 0 20px; }
.faq-te dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.faq-te dd { margin: 2px 0 0; color: var(--muted); }
@media (min-width: 960px) { .faq-te { position: sticky; top: 96px; } }
