/* Kaala Lagna site styles. Palette, type and the warm "cosmic glass" look follow the previous
   React/Tailwind site (legacy/src/index.css); base, header, footer and button rules follow the
   zapscloud.com / dgautotechsg.com sites. No framework: plain CSS, no build step. */

/* ---- Fonts (self-hosted; script fonts load only on pages that use the script) ---------- */
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Tamil";
  src: url("../fonts/noto-sans-tamil-tamil-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  src: url("../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: "Noto Sans Telugu";
  src: url("../fonts/noto-sans-telugu-telugu-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Malayalam";
  src: url("../fonts/noto-sans-malayalam-malayalam-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}

:root {
  /* Warm light surfaces (amber-50 -> orange-100) */
  --cream-50: #fffdf8;
  --cream-100: #fffbeb;
  --cream-200: #fff7ed;
  --peach-100: #ffedd5;

  /* Ink */
  --ink-900: #1c1917;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --ink-400: #9ca3af;

  /* Amber / gold: the brand accent */
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --gold-100: #fde9c8;
  --gold-50: #fdf6ec;

  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --rose-500: #f43f5e;
  --rose-400: #fb7185;
  --violet-500: #8b5cf6;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --emerald-500: #10b981;
  --red-800: #991b1b;

  --line: rgb(0 0 0 / 0.06);
  --gold-line: rgb(251 191 36 / 0.3);

  --grad-cta: linear-gradient(90deg, var(--gold-500), var(--gold-400) 50%, var(--orange-500));
  --grad-text: linear-gradient(100deg, var(--gold-600) 0%, var(--orange-500) 45%, var(--rose-400) 80%, var(--gold-600) 100%);

  --font-body: "Albert Sans", "Noto Sans Tamil", "Noto Sans Devanagari", "Noto Sans Telugu", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Fraunces", "Noto Sans Tamil", "Noto Sans Devanagari", "Noto Sans Telugu", "Noto Sans Malayalam", Georgia, "Times New Roman", serif;

  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-warm: 0 10px 34px -16px rgb(180 110 30 / 0.28);

  color-scheme: light;
}

/* ---- Base ------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream-100);
  color: var(--ink-800);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
img, svg { max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink-900); font-weight: 650; }
::selection { background: rgb(245 158 11 / 0.28); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; border-radius: 6px; }
[lang="ta"] { font-family: "Noto Sans Tamil", var(--font-body); }
[lang="hi"] { font-family: "Noto Sans Devanagari", var(--font-body); }
[lang="te"] { font-family: "Noto Sans Telugu", var(--font-body); }
[lang="ml"] { font-family: "Noto Sans Malayalam", var(--font-body); }
[hidden] { display: none !important; }

.icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
.sr-only {
  position: absolute; 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: 1rem; top: -4rem; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 0.5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 16px; }
.wrap--hero { max-width: 64rem; }
.wrap--medium { max-width: 56rem; }
.wrap--narrow { max-width: 48rem; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

.center { text-align: center; }
.small { font-size: 0.875rem; }
.muted { color: var(--ink-500); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gold-700); }
.t-gold { color: var(--gold-600); font-style: normal; }
.t-orange { color: var(--orange-500); font-style: normal; }

/* ---- Backdrop: warm wash, drifting auroras and the starfield canvas ------------------- */
.cosmos {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(100% 60% at 50% -10%, rgb(255 255 255 / 0.65) 0%, transparent 60%),
    linear-gradient(160deg, #fffbeb 0%, #fff7ed 45%, #ffedd5 100%);
}
.aurora {
  position: absolute; border-radius: 50%; filter: blur(120px); mix-blend-mode: multiply;
  animation: aurora 22s ease-in-out infinite;
}
.aurora--1 { top: -8rem; left: -6rem; width: 42rem; height: 42rem; background: rgb(251 191 36 / 0.25); }
.aurora--2 { top: 33%; right: -8rem; width: 40rem; height: 40rem; background: rgb(251 146 60 / 0.2); animation-duration: 36s; animation-delay: 4s; }
.aurora--3 { bottom: -12rem; left: 33%; width: 46rem; height: 46rem; background: rgb(251 113 133 / 0.12); animation-duration: 28s; animation-delay: 9s; }
.aurora--4 { top: 50%; left: 25%; width: 30rem; height: 30rem; background: rgb(252 211 77 / 0.2); animation-duration: 40s; animation-delay: 13s; }
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes aurora {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33% { transform: translate3d(6%, -4%, 0) scale(1.12) rotate(120deg); }
  66% { transform: translate3d(-5%, 5%, 0) scale(0.95) rotate(240deg); }
}

/* ---- Glass, gradients, reveal ---------------------------------------------------------- */
.glass {
  background: rgb(255 255 255 / 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow-warm), inset 0 1px 1px rgb(255 255 255 / 0.8);
}
.glass-strong {
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 18px 48px -18px rgb(180 110 30 / 0.32), inset 0 1px 2px rgb(255 255 255 / 0.9);
}
.gradient-text {
  background-image: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-pan 8s linear infinite;
}
.gradient-text-static, .eyebrow {
  background-image: linear-gradient(100deg, var(--gold-700), var(--orange-500) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes gradient-pan { to { background-position: 200% center; } }
.cosmic-hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(245 158 11 / 0.55), rgb(249 115 22 / 0.55), transparent);
}
.cosmic-hr--short { max-width: 20rem; margin: 3rem auto 0; }
.glow-hover { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease; }
.glow-hover:hover {
  transform: translateY(-4px);
  border-color: rgb(245 158 11 / 0.45);
  box-shadow: 0 0 0 1px rgb(245 158 11 / 0.12), 0 22px 52px -18px rgb(234 88 12 / 0.35);
}

/* Fade/slide in on scroll, in CSS (scroll-driven animations). Browsers without support, and
   visitors who prefer reduced motion, simply see the content. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
/* Starts partly visible so content never depends on scrolling (crawlers, full-page captures). */
@keyframes reveal { from { opacity: 0.35; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- Buttons, badges, chips ------------------------------------------------------------ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 0;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; font-weight: 650; }
.btn--lg { padding: 1rem 2rem; }
.btn--primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4), 0 10px 25px -10px rgb(245 158 11 / 0.45);
}
.btn--primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6), 0 15px 35px -8px rgb(245 158 11 / 0.5), 0 0 25px -4px rgb(249 115 22 / 0.3);
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.5), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -150%; } 55%, 100% { left: 150%; } }
.btn--ghost {
  background: rgb(255 255 255 / 0.65); color: var(--ink-900);
  border: 1px solid var(--gold-line);
}
.btn--ghost:hover { color: var(--ink-900); background: #fff; }
.btn .icon { width: 1rem; height: 1rem; }
.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.link-button:hover { color: var(--gold-600); }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
  padding: 0.4rem 1rem; margin-bottom: 1.25rem; border-radius: 999px;
  background: rgb(255 255 255 / 0.65); border: 1px solid rgb(251 191 36 / 0.2);
  box-shadow: 0 4px 12px rgb(180 110 30 / 0.06);
  font-size: 0.875rem; font-weight: 500; color: var(--gold-700);
}
.badge .icon { color: var(--gold-600); }
.badge--glow { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.badge--sm { padding: 0.2rem 0.75rem; font-size: 0.75rem; font-weight: 650; margin: 0; }
.dot { display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }
.dot--glow { box-shadow: 0 0 6px var(--gold-500); }
.dot--online { background: var(--green-500); }
.eyebrow {
  display: inline-block; margin: 0 0 0.75rem;
  font-size: 0.875rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow--sm { font-size: 0.75rem; letter-spacing: 0.14em; }
.lead { font-size: 1.125rem; color: var(--ink-600); max-width: 40rem; }
.lead--center { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  background: rgb(255 255 255 / 0.7); border: 1px solid rgb(251 191 36 / 0.25);
  color: var(--ink-700); font: 500 0.875rem/1.4 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip .icon { color: var(--gold-600); }
.chip:hover { background: var(--gold-50); border-color: rgb(251 191 36 / 0.6); color: var(--gold-700); }
.chip--sm { font-size: 0.75rem; padding: 0.25rem 0.75rem; border-color: var(--line); background: rgb(255 255 255 / 0.4); }
.chip[aria-checked="true"] { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
.pill {
  display: inline-block; margin-bottom: 1rem; padding: 0.15rem 0.65rem; border-radius: 999px;
  background: rgb(255 255 255 / 0.6); border: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 500; color: var(--ink-500);
}
.term {
  display: inline-block; margin-bottom: 0.9rem; padding: 0.1rem 0.75rem; border-radius: 999px;
  background: rgb(251 191 36 / 0.1); border: 1px solid rgb(251 191 36 / 0.2);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-700);
}
.tick {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: rgb(251 191 36 / 0.15); border: 1px solid var(--gold-line); color: var(--gold-700);
}
.tick .icon { width: 0.85rem; height: 0.85rem; }
.tick--ring { width: 1.75rem; height: 1.75rem; }

/* ---- Header ---------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 251 235 / 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(0 0 0 / 0.05);
  box-shadow: 0 4px 20px -10px rgb(180 110 30 / 0.1);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink-900); }
.brand:hover { color: var(--ink-900); }
.brand-logo { width: 3.5rem; height: 3.5rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 600 1.5rem/1.1 var(--font-heading); letter-spacing: -0.015em; }
.brand-tagline { display: none; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.03em; color: var(--ink-500); }
@media (min-width: 640px) {
  .header-inner { min-height: 6rem; }
  .brand-logo { width: 5rem; height: 5rem; }
  .brand-tagline { display: block; }
}
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: 2rem; }
.nav-desktop a {
  position: relative; padding: 0.25rem 0; font-size: 0.875rem; font-weight: 500;
  color: var(--ink-600); text-decoration: none;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--orange-500));
  transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform 0.3s, opacity 0.3s;
}
.nav-desktop a:hover { color: var(--ink-900); }
.nav-desktop a:hover::after { transform: scaleX(1); opacity: 0.75; }
.nav-desktop a[aria-current="page"] { color: var(--gold-700); }
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; box-shadow: 0 0 6px rgb(245 158 11 / 0.5); }
.nav-cta { display: none; }
.nav-mobile { margin-left: auto; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: 0.5rem; border-radius: 10px; color: var(--ink-600);
  display: flex;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary .icon { width: 1.5rem; height: 1.5rem; }
.nav-mobile__close, .nav-mobile[open] .nav-mobile__open { display: none; }
.nav-mobile[open] .nav-mobile__close { display: block; }
.nav-mobile__panel {
  position: absolute; right: 0; top: calc(100% + 0.75rem); width: min(18rem, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem;
  background: rgb(255 253 248 / 0.97); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 48px -18px rgb(180 110 30 / 0.4);
}
.nav-mobile__panel a:not(.btn) { padding: 0.6rem 0.75rem; border-radius: 10px; color: var(--ink-700); text-decoration: none; font-weight: 500; }
.nav-mobile__panel a:not(.btn):hover, .nav-mobile__panel a[aria-current="page"] { background: var(--gold-50); color: var(--gold-700); }
.nav-mobile__panel .btn { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .nav-desktop, .nav-cta { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* ---- Sections and cards ---------------------------------------------------------------- */
.section { position: relative; padding-block: 3rem; }
.section--tight { padding-block: 2rem; }
@media (min-width: 768px) { .section { padding-block: 4rem; } }
.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-foot { margin-top: 3rem; }
.section-foot .note { max-width: 42rem; margin: 0 auto 1.25rem; }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split > * { min-width: 0; }

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

.card { position: relative; border-radius: var(--radius-lg); padding: 1.75rem; }
.card--sm { padding: 1.25rem; border-radius: 18px; }
.card--lg { padding: 2rem; }
@media (min-width: 768px) { .card--lg { padding: 2.5rem; } }
.card--accent { border-color: rgb(251 191 36 / 0.3); background: rgb(255 251 235 / 0.75); }
.card__title { font-size: 1.25rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.card__title--lg { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem); }
.card__title--sm { font-size: 0.95rem; }
.glow-hover:hover .card__title { color: var(--gold-700); }
.card__text { font-size: 0.875rem; color: var(--ink-600); margin: 0; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1.5rem; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
  border: 1px solid rgb(252 211 77 / 0.3); color: var(--gold-600);
  box-shadow: 0 4px 12px -2px rgb(180 110 30 / 0.15);
  transition: transform 0.3s;
}
.icon-tile .icon { width: 1.25rem; height: 1.25rem; }
.glow-hover:hover .icon-tile { transform: scale(1.1) rotate(6deg); }
.icon-tile--solid { background: linear-gradient(135deg, var(--gold-500), var(--orange-500)); color: #fff; border-color: rgb(251 191 36 / 0.4); }
.icon-tile--soft { width: 2.5rem; height: 2.5rem; margin: 0; border-radius: 12px; color: var(--orange-600); background: rgb(253 233 200 / 0.35); }
.icon-tile--sm { width: 2.25rem; height: 2.25rem; margin: 0; border-radius: 12px; }
.icon-tile--sm .icon { width: 1.1rem; height: 1.1rem; }
.icon-tile--white { background: rgb(255 255 255 / 0.7); }

.feature--popular {
  border: 2px solid rgb(251 191 36 / 0.6);
  box-shadow: 0 10px 40px -12px rgb(245 158 11 / 0.35), 0 0 0 1px rgb(251 191 36 / 0.2);
}
.feature__flag {
  position: absolute; top: -0.75rem; right: 1.25rem;
  padding: 0.25rem 0.75rem; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500), var(--orange-500));
  color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgb(245 158 11 / 0.5);
}
.features-list .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-content: start; }
.features-list .feature > * { grid-column: 2; }
.features-list .feature .icon-tile { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
.features-list .feature .term { justify-self: start; }
.features-list .card__title { font-size: 1.2rem; }

.point-list { display: grid; gap: 1.25rem; margin: 2rem 0; }
.point-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.point-list p { margin: 0; font-size: 0.875rem; color: var(--ink-600); }
.point-list .point-list__title { font-size: 1rem; font-weight: 650; color: var(--ink-900); }
.point-list .tick { margin-top: 0.1rem; }
.check-list { display: grid; gap: 1rem; font-size: 0.9rem; color: var(--ink-600); }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.dot-list { display: grid; gap: 0.4rem; font-size: 0.875rem; color: var(--ink-700); margin-top: 1rem; }
.dot-list li { display: flex; gap: 0.5rem; }
.dot-list li::before { content: ""; flex-shrink: 0; width: 0.375rem; height: 0.375rem; margin-top: 0.55rem; border-radius: 50%; background: var(--gold-500); }
.note { font-size: 0.875rem; font-style: italic; color: var(--ink-500); }
.note--icon { display: flex; gap: 0.5rem; font-style: normal; font-size: 0.75rem; margin-top: 1.25rem; }
.note--icon .icon { margin-top: 0.15rem; color: var(--ink-400); }
.notice {
  margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: 18px;
  background: rgb(251 191 36 / 0.05); border: 1px solid rgb(251 191 36 / 0.25);
  font-size: 0.75rem; color: var(--ink-600);
}

/* ---- Page hero (inner pages) ----------------------------------------------------------- */
.page-hero { padding: 4rem 0 2rem; }
@media (min-width: 768px) { .page-hero { padding: 5.5rem 0 2.5rem; } }
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero .eyebrow { font-size: 0.75rem; letter-spacing: 0.18em; }

/* ---- Home: hero and lead form ---------------------------------------------------------- */
.hero { padding: 2rem 0 1rem; }
@media (min-width: 768px) { .hero { padding-top: 3.5rem; } }
.hero__title { text-align: center; max-width: 56rem; margin: 0 auto 1rem; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.6rem); line-height: 1.05; }
.hero__differentiator { text-align: center; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); font-weight: 500; color: var(--ink-800); margin: 0 auto 0.6rem; max-width: 42rem; }
.hero__subtitle { text-align: center; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); color: var(--ink-600); max-width: 42rem; margin: 0 auto 1.5rem; }
.hero__subtitle strong { color: var(--ink-800); }
.hero__closing { text-align: center; max-width: 42rem; margin: 1rem auto 0; color: var(--ink-600); }

.lead-form { padding: 1rem 0; }
@media (min-width: 768px) { .lead-form { padding: 1.5rem 1rem; } }
.lead-form__sentence { font: 500 clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem)/1.9 var(--font-heading); color: var(--ink-900); letter-spacing: -0.01em; margin: 0; }
.phrase { display: inline-block; white-space: nowrap; }
.blank {
  display: inline-block; padding: 0 0.25rem; border: 0; border-bottom: 2px solid rgb(251 191 36 / 0.5);
  background: transparent; color: var(--ink-900); font: inherit; outline: none; vertical-align: baseline;
  transition: border-color 0.2s;
}
.blank:focus { border-bottom-color: var(--gold-600); }
.blank::placeholder { color: rgb(251 191 36 / 0.55); }
.blank--num { text-align: center; }
.blank[aria-invalid="true"] { border-bottom-color: var(--rose-500); }
.blank--select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23B45309' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.1rem center / 0.6rem auto;
}
.blank--select:invalid { color: rgb(217 119 6 / 0.6); }
.blank--select option { color: var(--ink-900); font-family: var(--font-body); }
.sep { color: var(--ink-400); margin-inline: 0.1rem; }
.toggle { display: inline-flex; border-radius: 999px; overflow: hidden; vertical-align: baseline; box-shadow: 0 0 0 1px rgb(251 191 36 / 0.4); }
.toggle label { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span {
  display: inline-block; padding: 0.05rem 0.75rem; font: 650 0.875rem/1.6 var(--font-body);
  background: rgb(255 255 255 / 0.6); color: var(--ink-600); transition: background 0.2s, color 0.2s;
}
.toggle label:hover span { background: var(--gold-50); }
.toggle input:checked + span { background: linear-gradient(90deg, var(--gold-500), var(--orange-500)); color: #fff; }
.toggle input:focus-visible + span { outline: 2px solid var(--gold-600); outline-offset: -2px; }
.place { position: relative; }
.place__list {
  position: absolute; z-index: 20; left: 0; top: 100%; margin-top: 0.25rem;
  width: 22rem; max-width: 80vw; max-height: 18rem; overflow-y: auto;
  display: block; background: #fff; border: 1px solid rgb(0 0 0 / 0.08); border-radius: 12px;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.2); font: 400 0.875rem/1.35 var(--font-body); white-space: normal;
}
.place__option, .place__status {
  display: block; width: 100%; padding: 0.55rem 1rem; text-align: left;
  background: none; border: 0; border-bottom: 1px solid rgb(0 0 0 / 0.04); color: var(--ink-800); font: inherit; cursor: pointer;
}
.place__option:last-child { border-bottom: 0; }
.place__option:hover, .place__option[aria-selected="true"] { background: var(--gold-50); }
.place__option small { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: var(--ink-400); }
.place__status { color: var(--ink-400); cursor: default; }
.lead-form__error {
  margin: 1.5rem 0 0; padding: 0.75rem 1rem; border-radius: 12px;
  background: #fef2f2; border: 1px solid #fecaca; color: var(--red-800); font-size: 0.875rem;
}
.lead-form__actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .lead-form__actions { flex-direction: row; align-items: center; justify-content: space-between; } }
.lead-form__aside { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-size: 0.75rem; color: var(--ink-500); }
@media (min-width: 640px) { .lead-form__aside { align-items: flex-end; } }
.trust { display: grid; grid-template-columns: repeat(2, auto); gap: 0.35rem 1.25rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink-600); white-space: nowrap; }
.trust .icon { color: var(--emerald-500); width: 0.9rem; height: 0.9rem; }
.lead-form__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1rem; margin: 0; }
.lead-form__links a { color: inherit; text-decoration: underline dotted; text-underline-offset: 4px; }
.lead-form__links a:hover { color: var(--gold-700); }
.ask-topics { margin-top: 1.5rem; }
.ask-topics__title { text-align: center; font-size: 0.875rem; font-weight: 650; color: var(--ink-500); margin-bottom: 0.6rem; }

/* ---- Home: chat mock --------------------------------------------------------------------- */
.chat { border-radius: var(--radius-lg); padding: 1.25rem; }
@media (min-width: 640px) { .chat { padding: 1.5rem; } }
.chat__head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 3.5rem; height: 3.5rem; }
.chat__name { margin: 0; font-size: 0.875rem; font-weight: 650; color: var(--ink-900); }
.chat__status { margin: 0; display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--gold-700); }
.chat__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 0; }
.bubble { margin: 0; max-width: 85%; padding: 0.65rem 1rem; border-radius: 18px; font-size: 0.875rem; line-height: 1.55; }
.bubble--me { align-self: flex-end; background: linear-gradient(135deg, var(--gold-500), var(--orange-500)); color: #fff; border-bottom-right-radius: 6px; }
.bubble--bot { align-self: flex-start; max-width: 88%; color: var(--ink-800); border-bottom-left-radius: 6px; box-shadow: none; }
.bubble__confidence {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; padding: 0.1rem 0.6rem; border-radius: 999px;
  background: rgb(251 191 36 / 0.1); border: 1px solid rgb(251 191 36 / 0.25); font-size: 0.75rem; font-weight: 650; color: var(--gold-700);
}
.bubble__basis { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 0.5rem; font-size: 0.7rem; color: var(--ink-500); }
.bubble__basis strong { color: var(--ink-600); font-weight: 650; }
.bubble__basis span { padding: 0.05rem 0.35rem; border-radius: 6px; background: rgb(255 255 255 / 0.6); border: 1px solid var(--line); color: var(--ink-600); }
.bubble--typing { display: inline-flex; gap: 0.35rem; padding: 0.9rem 1rem; }
.bubble--typing span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink-400); animation: typing 1.4s ease-in-out infinite; }
.bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.chat__examples { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-bottom: 0.75rem; }
.chat__examples li { padding: 0.2rem 0.65rem; border-radius: 999px; background: rgb(255 255 255 / 0.55); border: 1px solid var(--line); font-size: 0.7rem; color: var(--ink-600); }
.chat__input { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.6rem 0.5rem 1rem; border-radius: 999px; box-shadow: none; }
.chat__input > span:first-child { flex: 1; min-width: 0; font-size: 0.875rem; color: var(--ink-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__send { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-500), var(--orange-500)); color: #fff; }

/* ---- Tables ------------------------------------------------------------------------------ */
.table-card { border-radius: var(--radius-lg); overflow-x: auto; }
.vs-table, .matrix { width: 100%; border-collapse: collapse; text-align: left; }
.vs-table th, .matrix thead th {
  padding: 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500);
  border-bottom: 1px solid var(--line);
}
.vs-table td, .matrix td, .matrix tbody th { padding: 0.9rem 1rem; font-size: 0.875rem; vertical-align: top; }
@media (min-width: 768px) { .vs-table th, .vs-table td, .matrix th, .matrix td { padding-inline: 1.5rem; } }
.vs-table td { color: var(--ink-500); }
.vs-cell { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.vs-cell .mark { margin-top: 0.1rem; }
.vs-table td.is-us { color: var(--ink-800); }
.is-us { background: rgb(251 191 36 / 0.05); }
th.is-us { color: var(--gold-700) !important; white-space: nowrap; }
tbody tr:nth-child(even) { background: rgb(255 255 255 / 0.25); }
.matrix tbody th { font-weight: 400; color: var(--ink-700); }
.matrix td { text-align: center; }
.matrix thead th:not(:first-child) { text-align: center; white-space: nowrap; }
.mark { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.2em; }
.mark .icon { width: 1.15rem; height: 1.15rem; }
.vs-table .mark .icon { width: 1rem; height: 1rem; }
.mark--yes { color: var(--emerald-500); }
.mark--no { color: #d1d5db; }
.mark--text { font-size: 0.8rem; color: var(--ink-500); }

/* ---- How it works ---------------------------------------------------------------------- */
.steps { display: grid; gap: 2rem; position: relative; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 3rem; left: 15%; right: 15%; height: 2px;
    background: linear-gradient(90deg, rgb(245 158 11 / 0.2), rgb(249 115 22 / 0.25), rgb(244 63 94 / 0.2));
  }
}
.step { text-align: center; }
@media (min-width: 768px) { .step { text-align: left; } }
.step__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; justify-content: center; }
@media (min-width: 768px) { .step__head { justify-content: flex-start; } }
.step__num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400), var(--orange-500)); color: #fff;
  font: 700 1rem/1 var(--font-heading); box-shadow: 0 4px 14px rgb(245 158 11 / 0.3), 0 0 0 1px #fff;
}
.step__num--sm { width: 1.75rem; height: 1.75rem; font: 700 0.75rem/1 var(--font-body); box-shadow: 0 4px 10px -2px rgb(245 158 11 / 0.4); }

/* ---- Three clocks (astrolabe) ---------------------------------------------------------- */
.clocks__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .clocks__grid { grid-template-columns: 7fr 5fr; } }
.clocks__layers { display: grid; gap: 1.25rem; }
.clock-layer { cursor: default; border-color: transparent; opacity: 0.9; transition: transform 0.5s, opacity 0.3s, border-color 0.3s, box-shadow 0.5s; }
.clock-layer:hover, .clock-layer:focus-visible { opacity: 1; transform: scale(1.02); border-color: #fff; box-shadow: 0 15px 30px -8px rgb(180 110 30 / 0.18); }
.clock-layer:hover .card__title, .clock-layer:focus-visible .card__title { color: var(--gold-700); }
.clock-layer__label { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); }
.clock-layer__label .dot { width: 0.6rem; height: 0.6rem; }
.clock-layer--2 .dot { background: var(--orange-500); }
.clock-layer--3 .dot { background: var(--rose-400); }
.clocks__visual { display: flex; justify-content: center; }
.astrolabe { width: min(320px, 100%); height: auto; border-radius: 50%; padding: 1rem; box-sizing: content-box; max-width: calc(100% - 2rem); }
.astro-guide { stroke: rgb(180 130 60 / 0.05); }
.ring { transform-origin: 160px 160px; transition: opacity 0.3s; }
.ring__track { fill: none; transition: stroke 0.3s, stroke-width 0.3s; }
.ring--naks { animation: spin-ccw 300s linear infinite; opacity: 0.85; }
.ring--naks .ring__track { stroke: rgb(180 130 60 / 0.18); stroke-width: 0.6; stroke-dasharray: 1.5 3; }
.naks { fill: var(--gold-400); stroke: #92400e; stroke-width: 0.35; opacity: 0.78; }
.naks--anchor { fill: var(--gold-500); opacity: 1; }
.ring--1 { animation: spin-cw 240s linear infinite; }
.ring--1 .ring__track { stroke: rgb(217 119 6 / 0.22); stroke-dasharray: 4 6; }
.ring--2 { animation: spin-ccw 200s linear infinite; }
.ring--2 .ring__track { stroke: rgb(249 115 22 / 0.22); stroke-dasharray: 8 4; }
.ring--3 { animation: spin-cw 160s linear infinite; }
.ring--3 .ring__track { stroke: rgb(251 113 133 / 0.3); stroke-dasharray: 3 4; }
.body text { text-anchor: middle; font-family: var(--font-body); font-weight: 800; fill: #fff; letter-spacing: 0.03em; }
.body--rashi circle { fill: var(--gold-400); stroke: var(--gold-600); stroke-width: 0.6; }
.body--rashi text { font-size: 4px; font-weight: 700; fill: #78350f; }
.body--graha circle, .body--transit circle { stroke: rgb(255 255 255 / 0.65); stroke-width: 0.6; }
.body--graha text { font-size: 4.8px; }
.body--transit text { font-size: 5.6px; }
.body--light text { fill: #1e293b; }
.body .body__name { opacity: 0; font-size: 7px; font-weight: 700; transition: opacity 0.3s; }
.body--rashi .body__name { fill: var(--gold-700); font-size: 7.5px; letter-spacing: 0.04em; }
.body--graha .body__name { fill: #c2410c; }
.body--graha .body__name[lang="ta"] { fill: #9a3412; font-size: 6.5px; font-weight: 600; }
.body--transit .body__name { fill: #9f1239; }
.legend { text-anchor: middle; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.08em; transition: opacity 0.3s; }
.legend--naks { fill: #92400e; font-size: 4.8px; opacity: 0.72; letter-spacing: 0.05em; }
.legend--1 { fill: var(--gold-700); font-size: 6.4px; opacity: 0.7; }
.legend--2 { fill: #c2410c; font-size: 6.4px; opacity: 0.78; }
.legend--3 { fill: #9f1239; font-size: 6px; opacity: 0.82; }
.sun-glow { opacity: 0.3; animation: pulse-glow 6s ease-in-out infinite; transform-origin: 160px 160px; }
@keyframes spin-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-ccw { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.06); } }
/* Hovering a layer card brings its ring forward, speeds it up and names its bodies. */
.clocks:has(.clock-layer:hover, .clock-layer:focus-visible) .ring:not(.ring--naks),
.clocks:has(.clock-layer:hover, .clock-layer:focus-visible) .legend:not(.legend--naks) { opacity: 0.35; }
.clocks:has(.clock-layer:hover, .clock-layer:focus-visible) .ring--naks { opacity: 0.55; }
.clocks:has(.clock-layer--1:hover, .clock-layer--1:focus-visible) :is(.ring--1, .legend--1),
.clocks:has(.clock-layer--2:hover, .clock-layer--2:focus-visible) :is(.ring--2, .legend--2),
.clocks:has(.clock-layer--3:hover, .clock-layer--3:focus-visible) :is(.ring--3, .legend--3) { opacity: 1; }
.clocks:has(.clock-layer--1:hover, .clock-layer--1:focus-visible) .ring--1 { animation-duration: 10s; }
.clocks:has(.clock-layer--2:hover, .clock-layer--2:focus-visible) .ring--2 { animation-duration: 8s; }
.clocks:has(.clock-layer--3:hover, .clock-layer--3:focus-visible) .ring--3 { animation-duration: 6s; }
.clocks:has(.clock-layer--1:hover, .clock-layer--1:focus-visible) .ring--1 .ring__track { stroke: var(--gold-600); stroke-width: 1.5; }
.clocks:has(.clock-layer--2:hover, .clock-layer--2:focus-visible) .ring--2 .ring__track { stroke: var(--orange-500); stroke-width: 1.5; }
.clocks:has(.clock-layer--3:hover, .clock-layer--3:focus-visible) .ring--3 .ring__track { stroke: var(--rose-400); stroke-width: 1.5; }
.clocks:has(.clock-layer--1:hover, .clock-layer--1:focus-visible) .ring--1 .body__name,
.clocks:has(.clock-layer--2:hover, .clock-layer--2:focus-visible) .ring--2 .body__name,
.clocks:has(.clock-layer--3:hover, .clock-layer--3:focus-visible) .ring--3 .body__name { opacity: 1; }
.clocks__closing { margin: 3.5rem auto 0; padding-top: 2rem; max-width: 42rem; border-top: 1px solid rgb(0 0 0 / 0.05); text-align: center; font-style: italic; color: var(--ink-500); }
.clocks__closing strong { font-style: normal; font-weight: 700; }
.clocks__closing .t-gold { color: var(--gold-700); }

/* ---- Panchangam widget and month grid --------------------------------------------------- */
.panchangam { display: grid; gap: 1.25rem; }
.panchangam__today { border-radius: var(--radius-lg); padding: 1.5rem; min-height: 22rem; }
.panchangam__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.panchangam__where { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); }
.panchangam__date { margin: 0; min-height: 1.4em; font-size: 0.875rem; font-weight: 500; color: var(--ink-700); }
.panchangam__country-label { display: flex; align-items: center; gap: 0.35rem; margin: 0; font-size: 0.75rem; color: var(--ink-500); }
.panchangam .chips { justify-content: flex-start; padding: 0.75rem 0; }
.panchangam__body { padding-top: 0.75rem; }
.panchangam__error { display: flex; gap: 0.75rem; margin: 0; padding: 0.75rem; border-radius: 12px; background: rgb(255 255 255 / 0.4); border: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-600); }
.panchangam__error .icon { width: 1.25rem; height: 1.25rem; color: var(--orange-500); margin-top: 0.1rem; }
.pan { display: grid; gap: 1rem; }
.pan__date-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.pan__tamil-date { display: inline-flex; gap: 0.35rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: rgb(251 191 36 / 0.15); border: 1px solid var(--gold-line); font-size: 0.75rem; font-weight: 650; color: var(--gold-700); }
.pan__vara { font-size: 0.75rem; color: var(--ink-500); }
.pan__tithi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.pan__tithi .icon { width: 1.25rem; height: 1.25rem; color: var(--gold-600); align-self: center; }
.pan__tithi-name { font-size: 1.5rem; font-weight: 650; color: var(--ink-900); line-height: 1.2; }
.pan__paksha { font-size: 0.875rem; color: var(--gold-700); }
.pan__tithi-en { margin: 0.15rem 0 0; font-size: 0.875rem; color: var(--ink-500); }
.pan__pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pan__pill { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: rgb(255 255 255 / 0.6); border: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-700); }
.pan__pill b { color: var(--ink-500); font-weight: 500; }
.pan__pill strong { font-weight: 650; }
.pan__sky { padding: 0.75rem; border-radius: 18px; background: linear-gradient(135deg, rgb(251 191 36 / 0.1), rgb(251 146 60 / 0.1), rgb(251 113 133 / 0.1)); border: 1px solid rgb(251 191 36 / 0.25); }
.pan__sky-title { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 0.5rem; font-size: 0.625rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); }
.pan__times { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.75rem; color: var(--ink-700); }
.pan__times span { display: inline-flex; align-items: center; gap: 0.35rem; }
.pan__times .icon { color: var(--gold-600); }
.pan__times span:nth-child(2) .icon { color: var(--orange-500); }
.pan__times span:nth-child(3) .icon { color: var(--rose-400); }
.pan__times em { font-style: normal; color: var(--ink-500); }
.skeleton { display: grid; gap: 0.75rem; }
.skeleton span { display: block; height: 1rem; border-radius: 6px; background: rgb(0 0 0 / 0.05); animation: typing 1.6s ease-in-out infinite; }
.skeleton span:first-child { height: 2rem; width: 66%; }
.skeleton span:nth-child(2) { width: 50%; }
.skeleton span:nth-child(3) { width: 75%; }
.month { border-radius: var(--radius-lg); padding: 1.5rem; }
.month__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.month__title { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.875rem; font-weight: 650; color: var(--ink-900); }
.month__title .icon { color: var(--gold-700); }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.375rem; }
.month__day { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgb(255 255 255 / 0.6); font-size: 0.625rem; color: var(--ink-600); }
.month__day.is-empty { visibility: hidden; }
.month__day.is-today { background: var(--gold-500); color: #fff; font-weight: 650; }
.month__day.has-ekadasi::after, .month__day.has-pournami::after { content: ""; position: absolute; top: -2px; right: -2px; width: 0.5rem; height: 0.5rem; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.month__day.has-ekadasi::after, .dot--ekadasi { background: var(--orange-500); }
.month__day.has-pournami::after, .dot--pournami { background: var(--violet-500); }
.month__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin-top: 0.75rem; font-size: 0.75rem; color: var(--ink-500); }
.month__legend > span { display: inline-flex; align-items: center; gap: 0.35rem; }
.month__legend em { margin-left: auto; }

/* ---- Peyarchi cards ---------------------------------------------------------------------- */
.peyarchi { overflow: hidden; }
.peyarchi::before { content: ""; position: absolute; top: -4rem; right: -4rem; width: 10rem; height: 10rem; border-radius: 50%; filter: blur(30px); }
.peyarchi--gold::before { background: radial-gradient(rgb(251 191 36 / 0.35), transparent 70%); }
.peyarchi--orange::before { background: radial-gradient(rgb(251 146 60 / 0.35), transparent 70%); }
.peyarchi--rose::before { background: radial-gradient(rgb(251 113 133 / 0.35), transparent 70%); }
.peyarchi > * { position: relative; }
.peyarchi--gold .icon-tile { color: var(--gold-700); border-color: rgb(251 191 36 / 0.4); }
.peyarchi--orange .icon-tile { color: var(--orange-600); border-color: rgb(251 146 60 / 0.4); }
.peyarchi--rose .icon-tile { color: var(--rose-500); border-color: rgb(251 113 133 / 0.4); }
.peyarchi__names { font-size: 0.875rem; font-weight: 500; color: var(--gold-700); margin-bottom: 0.75rem; }

/* ---- FAQ ---------------------------------------------------------------------------------- */
.faq { display: grid; gap: 1rem; }
.faq__item { border-radius: 18px; padding: 0 1.5rem; transition: border-color 0.3s, background 0.3s; }
.faq__item:hover { border-color: rgb(251 191 36 / 0.3); }
.faq__item[open] { background: rgb(255 255 255 / 0.75); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font: 500 1.125rem/1.35 var(--font-heading); color: var(--ink-900); transition: color 0.3s; }
.faq__item summary:hover .faq__q { color: var(--gold-700); }
.faq__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(253 233 200 / 0.4); border: 1px solid rgb(252 211 77 / 0.25); color: var(--gold-700); transition: transform 0.3s, background 0.3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { margin: 0; padding: 1.1rem 0 1.25rem; border-top: 1px solid rgb(0 0 0 / 0.05); font-size: 0.875rem; color: var(--ink-600); }

/* ---- Pricing, install, contact, about, compare, legal, 404 ------------------------------- */
.callout { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .callout { padding: 3rem; } }
.callout::before { content: ""; position: absolute; top: -10rem; left: 50%; width: 28rem; height: 28rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgb(251 191 36 / 0.25), transparent 70%); pointer-events: none; }
.callout > * { position: relative; }
.section--tight .callout { margin-top: 0; }
.callout__title { font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); }
.callout__text, .callout p { color: var(--ink-600); max-width: 28rem; margin-inline: auto; }
.callout .btn { margin: 0.5rem 0 1rem; }
.rate { font: 600 clamp(2.75rem, 2rem + 3vw, 3.75rem)/1.1 var(--font-heading); letter-spacing: -0.02em; color: var(--ink-900); margin-bottom: 0.5rem; }
.trust-strip { display: grid; gap: 1rem; margin-top: 2rem; font-size: 0.875rem; color: var(--ink-600); }
@media (min-width: 640px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
.trust-strip li { display: flex; gap: 0.6rem; align-items: flex-start; }
.cost-list { border-radius: var(--radius-lg); overflow: hidden; }
.cost-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); color: var(--ink-900); }
@media (min-width: 640px) { .cost-list li { padding-inline: 1.75rem; } }
.cost-list li:last-child { border-bottom: 0; }
.cost { flex-shrink: 0; font-size: 0.875rem; font-weight: 650; white-space: nowrap; color: var(--gold-700); }
.cost--free { padding: 0.2rem 0.75rem; border-radius: 999px; background: rgb(34 197 94 / 0.1); border: 1px solid rgb(34 197 94 / 0.3); color: #15803d; }
.benefit-icon { display: block; margin-bottom: 0.75rem; color: var(--gold-600); }
.benefit-icon .icon { width: 1.25rem; height: 1.25rem; }
.platform__badge { margin-bottom: 0.75rem; }
.platform--android .platform__badge { color: #c2410c; background: rgb(251 146 60 / 0.1); border-color: rgb(251 146 60 / 0.25); }
.platform__title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin-bottom: 0.4rem; }
.install-steps { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.install-steps li { display: flex; gap: 1.25rem; align-items: flex-start; }
.install-steps__title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.125rem; margin: 0.25rem 0 0.4rem; }
.phone { flex-shrink: 0; width: 6rem; border: 3px solid rgb(28 25 23 / 0.85); border-radius: 1.5rem; overflow: hidden; background: rgb(28 25 23 / 0.85); box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.25); }
@media (min-width: 640px) { .phone { width: 7rem; } }
.phone img { display: block; width: 100%; }
.contact-card { display: block; text-decoration: none; color: inherit; }
.contact-card:hover { color: inherit; }
.contact-card__email { display: block; margin-top: 1rem; font-size: 0.875rem; font-weight: 700; color: var(--gold-600); }
.contact-card:hover .contact-card__email { text-decoration: underline; }
.company-details { display: grid; gap: 1rem 2rem; margin-top: 3rem; font-size: 0.875rem; color: var(--ink-600); }
@media (min-width: 640px) { .company-details { grid-template-columns: 1fr 1fr; } }
.company-details p { margin: 0 0 0.25rem; }
.label { font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 0.5rem !important; }
.about-company { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(0 0 0 / 0.05); font-size: 1rem; color: var(--ink-500); }
.more-links { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.more-links .chips { justify-content: flex-start; }
.prose { color: var(--ink-600); font-size: 0.95rem; }
.prose--lead { font-size: 1.125rem; }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.5rem; display: grid; gap: 0.5rem; margin-bottom: 1em; }
.prose a { color: var(--gold-700); text-decoration: underline; }
.prose code { font-size: 0.85em; padding: 0.1em 0.35em; border-radius: 4px; background: rgb(0 0 0 / 0.05); }
.legal-title { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); margin-bottom: 0.25rem; }
.meta { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 2.5rem; }
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found__code { font: 600 6rem/1 var(--font-heading); margin-bottom: 1rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

/* ---- Footer ------------------------------------------------------------------------------ */
.site-footer { color: var(--ink-500); padding-top: 2rem; }
.footer-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; margin-bottom: 4rem; text-align: center; }
@media (min-width: 768px) { .footer-cta { padding: 3.5rem; } }
.footer-cta::before { content: ""; position: absolute; top: -8rem; left: 50%; width: 38rem; height: 38rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgb(245 158 11 / 0.15), rgb(249 115 22 / 0.08) 40%, transparent 70%); pointer-events: none; }
.footer-cta > * { position: relative; }
.footer-cta__title { font: 600 clamp(1.85rem, 1.3rem + 2.2vw, 3rem)/1.15 var(--font-heading); letter-spacing: -0.015em; color: var(--ink-900); margin-bottom: 1rem; text-wrap: balance; }
.footer-cta__title em {
  font-style: normal; background-image: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradient-pan 8s linear infinite;
}
.footer-cta__text { max-width: 32rem; margin: 0 auto 2rem; color: var(--ink-500); }
.footer-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand .brand-name { font-size: 1.85rem; }
.footer-logo { width: 5rem; height: 5rem; }
.footer-brand p { font-size: 0.875rem; }
.footer-heading { margin: 0 0 1.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); }
.footer-main ul { display: grid; gap: 0.85rem; font-size: 0.875rem; }
.site-footer a:not(.btn) { color: var(--ink-500); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-600); }
.footer-row { padding-block: 1.5rem; border-top: 1px solid rgb(0 0 0 / 0.04); }
.footer-compare { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; font-size: 0.875rem; }
.footer-compare a::first-letter { text-transform: uppercase; }
.footer-company { font-size: 0.75rem; }
.footer-company p { margin: 0 0 0.25rem; }
.footer-company strong { color: var(--ink-700); }
.footer-credits { margin-top: 0.75rem !important; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2.5rem; font-size: 0.875rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom p { margin: 0; }
.footer-disclaimer { font-size: 0.75rem; font-style: italic; max-width: 24rem; }
@media (min-width: 640px) { .footer-disclaimer { text-align: right; } }

/* ---- Consent banner ---------------------------------------------------------------------- */
.consent {
  position: fixed; z-index: 100; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1.25rem; border-radius: 18px; font-size: 0.875rem; color: var(--ink-700);
  animation: fade-in-up 0.6s ease-out both;
}
@media (min-width: 768px) { .consent { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 28rem; } }
.consent p { margin: 0; }
.consent a { color: var(--gold-700); }
.consent__actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.consent__actions .btn { flex: 1; }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- Dev environment ribbon ------------------------------------------------------------- */
.env-ribbon {
  position: fixed; z-index: 150; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0;
  padding: 0.3rem 1rem; border-radius: 10px 10px 0 0; background: #7c3aed; color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none;
}

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