/* Dwaramithra (was Lingsaa Gate) — public free-trial page (/demo/gate, try.lingsaa.com/gate).
   The look of dwaramithra.com ("Midnight Glass"): midnight ground with an
   aurora, frosted-glass surfaces, violet→cyan accents, Geist + Bricolage
   Grotesque. Standalone under a strict CSP: no external fonts, images or
   scripts, no inline styles. Mobile-first. */

/* ---------- Fonts (OFL, copied from the Dwaramithra site build, latin subset) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/demo/assets/fonts/geist-latin-var.woff2) format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/demo/assets/fonts/bricolage-grotesque-latin-var.woff2) format("woff2");
}

:root {
  color-scheme: dark;
  --ground: #050816;
  --ink: #eef1ff;
  --ink-90: rgba(255, 255, 255, 0.90);
  --ink-85: rgba(255, 255, 255, 0.85);
  --ink-75: rgba(255, 255, 255, 0.75);
  --ink-70: rgba(255, 255, 255, 0.70);
  --ink-65: rgba(255, 255, 255, 0.65);
  --ink-55: rgba(255, 255, 255, 0.58);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.085);
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-hover: rgba(255, 255, 255, 0.26);
  --hair: rgba(255, 255, 255, 0.10);
  --violet: #8b5cf6;
  --violet-soft: #c4b5fd;
  --violet-mid: #a78bfa;
  --cyan: #67e8f9;
  --focus: #7dd3fc;
  --gold: #F5B82E;
  --error: #fca5a5;
  --error-strong: #f87171;
  --success: #34d399;
  --radius-card: 24px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ground);
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

.sr-only {
  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: 16px; top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0a0f26;
  border: 1px solid var(--glass-border);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}
.wrap-narrow { max-width: 50rem; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
@media (min-width: 1024px) { .wrap { padding: 0 56px; } .wrap-narrow { padding: 0 32px; } }

.grad-text {
  background: linear-gradient(92deg, #c4b5fd 0%, #a78bfa 30%, #67e8f9 75%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glow { filter: drop-shadow(0 0 28px rgba(139, 92, 246, 0.45)); }

/* ---------- The midnight ground: aurora + noise ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob { position: absolute; border-radius: 50%; }
.blob-a {
  width: 70vmax; height: 70vmax; left: -20vmax; top: -25vmax;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.28), transparent);
}
.blob-b {
  width: 60vmax; height: 60vmax; right: -22vmax; top: 10vmax;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.16), transparent);
}
.blob-c {
  width: 55vmax; height: 55vmax; left: 20vmax; bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.22), transparent);
}
.noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
}
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(100deg, #7c3aed, #6366f1 45%, #06b6d4);
  box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: box-shadow 0.35s, transform 0.35s var(--ease);
}
.btn-primary:hover {
  box-shadow: 0 16px 50px -10px rgba(34, 211, 238, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-glass {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: background-color 0.2s;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-pill { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header: the floating pill ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 10px 12px 0;
}
@media (min-width: 640px) { .site-header { padding: 10px 20px 0; } }
.pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 80rem;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 15, 38, 0.8);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
@media (min-width: 640px) { .pill { padding-left: 16px; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  flex: none;
}
.brand-icon { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-a { color: #fff; }
.brand-b { color: var(--gold); }

.tray {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}
.tray a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.tray a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.pill-actions { display: none; align-items: center; gap: 6px; margin-left: auto; }
.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-90);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.pill-link:hover { background: rgba(255, 255, 255, 0.08); }
.pill-actions .btn-pill { min-height: 40px; }

/* Phone menu (details/summary, no JavaScript needed) */
.menu { margin-left: auto; }
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn:focus-visible { border-radius: 50%; }
.menu .ico-close { display: none; }
.menu[open] .ico-open { display: none; }
.menu[open] .ico-close { display: block; }
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #0a0f26;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9);
}
.menu-list a {
  display: block;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--ink-85);
  font-weight: 600;
  text-decoration: none;
}
.menu-list a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.menu-actions .btn { padding: 0 12px; }

@media (min-width: 640px) {
  .pill-actions { display: flex; }
  .menu { margin-left: 0; }
  .menu-actions { display: none; }
}
@media (min-width: 1100px) {
  .tray { display: flex; }
  .pill-actions { margin-left: 0; }
  .menu { display: none; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .pill .brand-name { display: none; }
}

/* ---------- Load-in motion (hero) ---------- */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease) both;
}
.fade { animation: fade-in 1s var(--ease) both; }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 180ms; }
.d3 { animation-delay: 340ms; }
.d4 { animation-delay: 560ms; }
.d5 { animation-delay: 700ms; }
.d6 { animation-delay: 820ms; }
@keyframes rise { from { transform: translate3d(0, 110%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes fade-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The photo melts into the aurora below instead of ending on a hard edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero-bg picture, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.hero-bg img { object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.62), rgba(5, 8, 22, 0.86));
}
.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, #050816, rgba(5, 8, 22, 0.7) 50%, transparent);
}
@media (min-width: 640px) {
  .hero-bg img { object-position: center 60%; }
  .hero-shade { background: linear-gradient(90deg, rgba(5, 8, 22, 0.72), rgba(5, 8, 22, 0.42) 60%, rgba(5, 8, 22, 0.3)); }
}
.hero-inner { padding-top: 120px; padding-bottom: 64px; }
@media (min-width: 1024px) {
  .hero { min-height: min(780px, 92vh); }
  .hero-inner { padding-top: 136px; padding-bottom: 48px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--ink-85);
  font-size: 13px;
  font-weight: 500;
}
.dot {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(103, 232, 249, 0.7);
}
.hero-title {
  margin-top: 24px;
  max-width: 16em;
  font-size: clamp(2.4rem, 7.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lead {
  margin-top: 24px;
  max-width: 36rem;
  color: var(--ink-75);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 24px;
  color: var(--ink-75);
  font-size: 14px;
}
.trust svg { color: var(--cyan); flex: none; }
.trust .sep { color: var(--ink-55); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.head { max-width: 48rem; }
.head-center { margin: 0 auto; text-align: center; }
.head-center .section-sub { margin-left: auto; margin-right: auto; }
.kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.label-pill {
  display: inline-flex;
  padding: 4px 14px;
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.06;
}
.section-sub {
  margin-top: 16px;
  max-width: 40rem;
  color: var(--ink-65);
  font-size: 17px;
}
.section-glow {
  position: absolute;
  left: 50%; top: 96px;
  z-index: -1;
  width: 56rem; max-width: 100%;
  height: 20rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.22), transparent);
  pointer-events: none;
}
#book:focus { outline: none; }

/* Glass cards */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: transform 0.5s var(--ease), border-color 0.4s, background-color 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background-color: var(--glass-bg-hover);
}
.card-glow {
  position: absolute;
  left: -40px; top: -40px;
  width: 176px; height: 176px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.42), transparent);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s;
}
.card:hover .card-glow { opacity: 1; transform: scale(1.15); }

/* Gradient icon tiles */
.tile {
  --a: #8b5cf6; --b: #6d28d9;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(140deg, var(--a), var(--b));
  box-shadow: 0 10px 26px -10px var(--a);
}
.tile svg { width: 22px; height: 22px; }
.tile-lg { width: 56px; height: 56px; border-radius: 18px; }
.tile-lg svg { width: 24px; height: 24px; }
.tone-violet { --a: #8b5cf6; --b: #6d28d9; }
.tone-indigo { --a: #6366f1; --b: #4338ca; }
.tone-red    { --a: #f43f5e; --b: #be123c; }
.tone-amber  { --a: #f59e0b; --b: #b45309; }
.tone-pink   { --a: #ec4899; --b: #be185d; }
.tone-blue   { --a: #3b82f6; --b: #1d4ed8; }
.tone-teal   { --a: #14b8a6; --b: #0f766e; }
.tone-cyan   { --a: #06b6d4; --b: #0e7490; }

/* Features */
.feature-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; } }
.feature { padding: 28px; }
.feature > * { position: relative; }
.feature h3 { margin-top: 24px; font-size: 20px; letter-spacing: -0.02em; }
.feature p { margin-top: 10px; color: var(--ink-70); font-size: 15.5px; line-height: 1.65; }

/* Steps */
.steps {
  position: relative;
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
.step { display: flex; flex-direction: column; }
.step-mark { position: relative; display: inline-flex; width: fit-content; z-index: 1; }
.step-num {
  position: absolute;
  right: -8px; top: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #0d1330;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-card { flex: 1; margin-top: 20px; padding: 28px; }
.step-label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 8px; font-size: 20px; letter-spacing: -0.02em; }
.step-card p:last-child { margin-top: 10px; color: var(--ink-70); font-size: 15.5px; line-height: 1.65; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
  .steps::before {
    content: "";
    position: absolute;
    left: 16.66%; right: 16.66%; top: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.7), rgba(99, 102, 241, 0.6), rgba(34, 211, 238, 0.7));
  }
  .step { align-items: center; text-align: center; }
  .step-card { width: 100%; margin-top: 24px; }
}

/* The "Start your free trial" button under the steps */
.how-cta { display: flex; justify-content: center; margin-top: 44px; }
@media (max-width: 479px) { .how-cta .btn { width: 100%; } }

/* ---------- Book: intro + form ---------- */
.section-book::before {
  content: "";
  position: absolute;
  left: 50%; top: 40px;
  z-index: -1;
  width: 64rem; max-width: 100%;
  height: 28rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.26), transparent);
  pointer-events: none;
}
.book-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .book-intro { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 12px; }
}
.book-intro .section-title { margin-top: 20px; }
.checks { display: grid; gap: 14px; margin-top: 28px; color: var(--ink-90); font-size: 15.5px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.check-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.2);
  color: var(--cyan);
}
.checks a { font-weight: 600; }

.form-card {
  position: relative;
  padding: 24px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(124, 58, 237, 0.5);
}
@media (min-width: 640px) { .form-card { padding: 36px 36px 32px; } }
@media (min-width: 1024px) { .form-card { padding: 40px 44px 36px; } }

.form-note { color: var(--ink-65); font-size: 14.5px; }
#demo-form { margin-top: 20px; }

.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1.4fr 1fr; }
  .field-row-even { grid-template-columns: 1fr 1fr; }
}

label { display: block; margin-bottom: 8px; color: var(--ink-85); font-weight: 600; font-size: 15px; }
.req { color: var(--error); font-weight: 700; }
.opt { color: var(--ink-55); font-weight: 500; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom-on-focus */
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.45); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--focus);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #151a33 inset;
  caret-color: #fff;
}
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.3) !important; }

.select-wrap { position: relative; }
.select-wrap select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.select-wrap select:invalid { color: rgba(255, 255, 255, 0.55); }
select option { background: #0d1330; color: #fff; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-70);
  border-bottom: 2px solid var(--ink-70);
  transform: rotate(45deg);
  pointer-events: none;
}

.phone-input { display: flex; align-items: stretch; }
.phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--glass-border);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink-85);
  font-weight: 600;
  white-space: nowrap;
}
.phone-input input { border-radius: 0 14px 14px 0; min-width: 0; flex: 1; }
.phone-input:has([aria-invalid="true"]) .phone-prefix { border-color: var(--error); }
.phone-input:focus-within .phone-prefix { border-color: var(--focus); }

.field-hint { margin-top: 8px; color: var(--ink-55); font-size: 14px; }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  color: var(--error);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}
.field-error:empty { display: none; }
.field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  margin-top: 1px;
  flex: none;
  border-radius: 50%;
  background: var(--error);
  color: #2a0a10;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* Honeypot — kept off-screen, not display:none (some bots skip hidden fields) */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field-consent {
  padding: 16px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input[type="checkbox"] {
  flex: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--violet);
  cursor: pointer;
}
.check input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.check label { margin: 0; color: var(--ink-75); font-weight: 500; font-size: 14.5px; line-height: 1.55; cursor: pointer; }

.form-status {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(252, 165, 165, 0.35);
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
}
.form-status-error { background: rgba(248, 113, 113, 0.12); color: #fecaca; }
.form-status[hidden] { display: none; }
.form-status:focus { outline: 2px solid var(--focus); outline-offset: 2px; }

#submit-btn { margin-top: 4px; }
.form-foot { margin-top: 14px; color: var(--ink-55); font-size: 13.5px; text-align: center; }

/* Success panel (replaces the form) */
.success { padding: 24px 0 16px; text-align: center; }
.success:focus { outline: none; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  background: linear-gradient(140deg, #10b981, #0891b2);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(16, 185, 129, 0.8), 0 0 60px -10px rgba(34, 211, 238, 0.45);
}
.success-icon svg { width: 34px; height: 34px; }
.success h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.success p { margin: 14px auto 0; max-width: 28rem; color: var(--ink-75); font-size: 17px; }
.success .success-phone { color: #fff; font-weight: 700; white-space: nowrap; }
.success .success-note { color: var(--ink-75); font-size: 16px; }
.success .success-note a { font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  overflow: hidden;
}
.faq details + details { border-top: 1px solid var(--hair); }
.faq summary {
  position: relative;
  display: block;
  min-height: 56px;
  padding: 20px 60px 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s;
}
.faq summary:hover { background: rgba(255, 255, 255, 0.04); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--violet-soft);
  border-bottom: 2px solid var(--violet-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 0; }
.faq details p { padding: 0 24px 22px; color: var(--ink-70); }

/* ---------- Footer ---------- */
.site-footer {
  overflow: hidden;
  padding-top: 64px;
  background: linear-gradient(180deg, transparent, #04061a 50%, #02030a);
  color: var(--ink-70);
}
.footer-line {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), transparent);
}
.footer-glow {
  position: absolute;
  left: 50%; top: 0;
  width: 42rem; max-width: 100%;
  height: 10rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.35), transparent);
  pointer-events: none;
}
.footer-inner { display: grid; gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 24rem; font-size: 16px; line-height: 1.65; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-85);
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}
.footer-note { margin-top: 32px; max-width: 48rem; color: var(--ink-65); font-size: 14px; line-height: 1.6; }
.footer-note a { color: inherit; text-decoration: underline; }
.footer-bottom {
  margin-top: 40px;
  padding-bottom: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  color: var(--ink-65);
  font-size: 14px;
}
.footer-name {
  position: relative;
  margin: 24px 0 -0.22em;
  font-family: var(--display);
  font-size: clamp(3.5rem, 15vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .line > span, .fade { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
  .card:hover, .btn-primary:hover { transform: none; }
}


/* =====================================================================================================
   Other apps' landing pages: try.lingsaa.com/one, /money, /shop, /organics.
   Everything below is scoped to <body class="brand-page app-<app>"> (plus .theme-light on the light
   pages), so the Dwaramithra (gate) page above is untouched. Each app sets its own colours and fonts as variables;
   the shared rules read them. Fonts are self-hosted only where the app's repo ships the files (Money's
   Figtree); otherwise the app's font is named first and the system font is the fallback.
   ===================================================================================================== */

/* ---------- Fonts ---------- */
/* Lingsaa Money's landing font (copied from the Money repo, frontend/public/landing/) */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/demo/assets/money/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/demo/assets/money/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Per-app tokens ---------- */
.app-one {
  --ground: #06071a;
  --ink: #f1f2ff;
  --accent: #8c93ff;
  --accent-strong: #8c93ff;
  --accent-soft: rgba(140, 147, 255, 0.16);
  --accent-ring: rgba(140, 147, 255, 0.35);
  --link: #aeb3ff;
  --focus: #aeb3ff;
  --brand-b: #aeb3ff;
  --btn-bg: #ffffff;
  --btn-ink: #06071a;
  --btn-shadow: 0 10px 40px -12px rgba(124, 132, 255, 0.7);
  --btn-shadow-hover: 0 16px 50px -12px rgba(255, 165, 82, 0.55);
  --grad: linear-gradient(92deg, #d6d8ff 0%, #8c93ff 45%, #ffa552 100%);
  --glow-filter: drop-shadow(0 0 28px rgba(124, 132, 255, 0.45));
  --glow-soft: rgba(124, 132, 255, 0.22);
  --blob-a: rgba(124, 132, 255, 0.26);
  --blob-b: rgba(255, 165, 82, 0.09);
  --blob-c: rgba(76, 201, 240, 0.10);
  --line-grad: linear-gradient(90deg, rgba(140, 147, 255, 0.7), rgba(76, 201, 240, 0.6), rgba(255, 165, 82, 0.7));
  --font: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --display: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "Newsreader Variable", "Iowan Old Style", Georgia, serif;
}

.app-money {
  --ground: #f5f8ff;
  --ink: #0b1b3f;
  --ink-rgb: 11, 27, 63;
  --surface: #ffffff;
  --surface-2: #eef3fd;
  --line: #e1e7f3;
  --line-strong: #c9d4ea;
  --accent: #1d4ed8;
  --accent-strong: #1d4ed8;
  --accent-soft: #e8f0ff;
  --accent-ring: rgba(29, 78, 216, 0.25);
  --link: #1d4ed8;
  --focus: #1d4ed8;
  --brand-b: #1d4ed8;
  --btn-bg: linear-gradient(90deg, #1d4ed8, #14b8a6);
  --btn-ink: #ffffff;
  --btn-shadow: 0 14px 26px -14px rgba(29, 78, 216, 0.9);
  --btn-shadow-hover: 0 18px 32px -14px rgba(13, 148, 136, 0.8);
  --grad: linear-gradient(90deg, #1d4ed8 0%, #0d9488 100%);
  --glow-filter: none;
  --glow-soft: rgba(59, 130, 246, 0.12);
  --blob-a: rgba(59, 130, 246, 0.13);
  --blob-b: rgba(20, 184, 166, 0.10);
  --blob-c: rgba(29, 78, 216, 0.06);
  --line-grad: linear-gradient(90deg, #93c5fd, #5eead4);
  --footer-bg: #061a4a;
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

.app-shop {
  --ground: #f6f8fc;
  --ink: #0f172a;
  --ink-rgb: 15, 23, 42;
  --surface: #ffffff;
  --surface-2: #eff6ff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-strong: #2563eb;
  --accent-soft: #eff6ff;
  --accent-ring: rgba(37, 99, 235, 0.25);
  --link: #1d4ed8;
  --focus: #2563eb;
  --brand-b: #2563eb;
  --btn-bg: #c2410c;
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(194, 65, 12, 0.9);
  --btn-shadow-hover: 0 16px 32px -14px rgba(154, 52, 18, 0.9);
  --grad: linear-gradient(90deg, #2563eb 0%, #1e3a8a 100%);
  --glow-filter: none;
  --glow-soft: rgba(37, 99, 235, 0.10);
  --blob-a: rgba(37, 99, 235, 0.10);
  --blob-b: rgba(249, 115, 22, 0.07);
  --blob-c: rgba(37, 99, 235, 0.05);
  --line-grad: linear-gradient(90deg, #93c5fd, #2563eb, #fb923c);
  --footer-bg: #070f22;
  --navy: #070f22;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Telugu", sans-serif;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.app-organics {
  --ground: #fbfdf9;
  --ink: #14301c;
  --ink-rgb: 20, 48, 28;
  --surface: #ffffff;
  --surface-2: #f0f9f1;
  --line: #e1eadf;
  --line-strong: #c8d8c6;
  --accent: #15803d;
  --accent-strong: #15803d;
  --accent-soft: #dcfce7;
  --accent-ring: rgba(21, 128, 61, 0.25);
  --link: #15803d;
  --focus: #15803d;
  --brand-b: #15803d;
  --btn-bg: linear-gradient(100deg, #15803d, #3fa535);
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(21, 128, 61, 0.9);
  --btn-shadow-hover: 0 16px 32px -14px rgba(63, 165, 53, 0.9);
  --grad: linear-gradient(90deg, #15803d 0%, #3fa535 100%);
  --glow-filter: none;
  --glow-soft: rgba(63, 165, 53, 0.12);
  --blob-a: rgba(63, 165, 53, 0.10);
  --blob-b: rgba(245, 196, 81, 0.08);
  --blob-c: rgba(21, 128, 61, 0.05);
  --line-grad: linear-gradient(90deg, #86efac, #15803d, #3fa535);
  --footer-bg: #14301c;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --display: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Shared rules for the brand pages (dark and light) ---------- */
html:has(> body.app-one) { background: #06071a; }
html:has(> body.app-money) { background: #f5f8ff; color-scheme: light; }
html:has(> body.app-shop) { background: #f6f8fc; color-scheme: light; }
html:has(> body.app-organics) { background: #fbfdf9; color-scheme: light; }

.brand-page { background: var(--ground); color: var(--ink); }
.brand-page h1, .brand-page h2, .brand-page h3, .brand-page .brand-name { font-family: var(--display); }
:where(.brand-page) a { color: var(--link); }
.brand-page .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-page .glow { filter: var(--glow-filter); }
.brand-page .blob-a { background: radial-gradient(closest-side, var(--blob-a), transparent); }
.brand-page .blob-b { background: radial-gradient(closest-side, var(--blob-b), transparent); }
.brand-page .blob-c { background: radial-gradient(closest-side, var(--blob-c), transparent); }
.brand-page .btn-primary,
.brand-page a.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--btn-shadow); }
.brand-page .btn-primary:hover { box-shadow: var(--btn-shadow-hover); }
.brand-page a.btn { text-decoration: none; }
.brand-page a.btn-glass { color: var(--ink); }
.brand-page .brand-b { color: var(--brand-b); }
.brand-page .dot { background: var(--accent); box-shadow: 0 0 10px 2px var(--accent-ring); }
.brand-page .kicker,
.brand-page .step-label,
.brand-page .step-num,
.brand-page .trust svg { color: var(--accent); }
.brand-page .label-pill { border-color: var(--accent-ring); background: var(--accent-soft); color: var(--accent); }
.brand-page .check-ico { background: var(--accent-soft); color: var(--accent); }
.brand-page .card-glow { background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.brand-page .section-glow { background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.brand-page .section-book::before { background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.brand-page .footer-glow { background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.brand-page .footer-line { background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; }
.brand-page .faq summary::after { border-color: var(--accent); }
.brand-page .check input[type="checkbox"] { accent-color: var(--accent-strong); }
@media (min-width: 1024px) { .brand-page .steps::before { background: var(--line-grad); } }

/* The brand mark next to the name (One's and Organics' marks are square pictures) */
.brand-page .brand-icon { border-radius: 10px; }
.brand-page .brand-tile { background: #fff; padding: 3px; object-fit: contain; }
.brand-page .footer-name { font-size: clamp(2.6rem, 11vw, 10rem); }
.brand-page .footer-name-long { font-size: clamp(2.2rem, 9.4vw, 8.6rem); }

/* White button for dark bands */
.brand-page a.btn-light,
.brand-page .btn-light { background: #fff; color: #0b1020; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6); transition: transform 0.35s var(--ease); }
.brand-page .btn-light:hover { transform: translateY(-1px); }

/* Plain text link with an arrow, for secondary actions */
.brand-page .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.brand-page .text-link:hover { text-decoration: underline; }

/* ---------- Light theme layer (Money, Shop, Organics) ---------- */
.theme-light {
  color-scheme: light;
  --ink-90: rgba(var(--ink-rgb), 0.92);
  --ink-85: rgba(var(--ink-rgb), 0.88);
  --ink-75: rgba(var(--ink-rgb), 0.80);
  --ink-70: rgba(var(--ink-rgb), 0.76);
  --ink-65: rgba(var(--ink-rgb), 0.72);
  --ink-55: rgba(var(--ink-rgb), 0.62);
  --glass-bg: var(--surface);
  --glass-bg-hover: var(--surface);
  --glass-border: var(--line);
  --glass-border-hover: var(--line-strong);
  --hair: var(--line);
  --error: #b91c1c;
  --error-strong: #991b1b;
  --field-bg: #ffffff;
  --card-shadow: 0 18px 40px -30px rgba(var(--ink-rgb), 0.45);
}
.theme-light .noise { display: none; }
.theme-light .skip-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.theme-light .btn-glass { border-color: var(--line-strong); background: var(--surface); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light .btn-glass:hover { background: var(--accent-soft); }
.theme-light .pill { border-color: var(--line); background: rgba(255, 255, 255, 0.92); box-shadow: 0 16px 40px -26px rgba(var(--ink-rgb), 0.45); }
.theme-light .brand,
.theme-light .brand-a { color: var(--ink); }
.theme-light .tray { border-color: var(--line); background: var(--surface-2); }
.theme-light .tray a { color: var(--ink-70); }
.theme-light .tray a:hover { background: var(--surface); color: var(--ink); }
.theme-light .pill-link { color: var(--ink-85); }
.theme-light .pill-link:hover { background: var(--accent-soft); }
.theme-light .menu-btn { border-color: var(--line); background: var(--surface); color: var(--ink); }
.theme-light .menu-panel { border-color: var(--line); background: var(--surface); box-shadow: 0 24px 60px -24px rgba(var(--ink-rgb), 0.4); }
.theme-light .menu-list a { color: var(--ink-85); }
.theme-light .menu-list a:hover { background: var(--accent-soft); color: var(--ink); }
.theme-light .eyebrow { border-color: var(--line); background: var(--surface); color: var(--ink-75); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light .card { border-color: var(--line); background: var(--surface); box-shadow: var(--card-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light .card:hover { border-color: var(--line-strong); background-color: var(--surface); }
.theme-light .step-num { border-color: var(--line); background: var(--surface); }
.theme-light .form-card { border-color: var(--line); background: var(--surface); box-shadow: 0 30px 80px -44px rgba(var(--ink-rgb), 0.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light input[type="text"],
.theme-light input[type="tel"],
.theme-light input[type="email"],
.theme-light input[type="number"],
.theme-light select,
.theme-light textarea { border-color: var(--line-strong); background: var(--field-bg); color: var(--ink); }
.theme-light input::placeholder,
.theme-light textarea::placeholder { color: var(--ink-55); }
.theme-light input:hover,
.theme-light select:hover,
.theme-light textarea:hover { border-color: var(--ink-55); }
.theme-light input:focus,
.theme-light select:focus,
.theme-light textarea:focus { border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 3px var(--accent-ring); }
.theme-light input:-webkit-autofill,
.theme-light input:-webkit-autofill:hover,
.theme-light input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset; caret-color: var(--ink); }
.theme-light .select-wrap select:invalid { color: var(--ink-55); }
.theme-light select option { background: #fff; color: var(--ink); }
.theme-light .phone-prefix { border-color: var(--line-strong); background: var(--surface-2); color: var(--ink-85); }
.theme-light .field-error::before { color: #fff; }
.theme-light [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2) !important; }
.theme-light .field-consent { border-color: var(--line); background: var(--surface-2); }
.theme-light .form-status { border-color: rgba(185, 28, 28, 0.3); }
.theme-light .form-status-error { background: #fef2f2; color: #991b1b; }
.theme-light .success .success-phone { color: var(--ink); }
.theme-light .faq { border-color: var(--line); background: var(--surface); box-shadow: var(--card-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-light .faq summary:hover { background: var(--surface-2); }

/* Footer on a deep brand colour (light pages) */
.theme-light .site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.76); }
.theme-light .site-footer .brand,
.theme-light .site-footer .brand-a { color: #fff; }
.theme-light .site-footer .brand-b { color: var(--footer-accent, #fff); }
.theme-light .site-footer .footer-links a { color: rgba(255, 255, 255, 0.92); }
.theme-light .site-footer .footer-links a:hover { color: #fff; }
.theme-light .site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.72); }
.theme-light .site-footer .footer-note { color: rgba(255, 255, 255, 0.72); }
.theme-light .site-footer :focus-visible { outline-color: #fff; }
.theme-light .footer-line,
.theme-light .footer-glow { display: none; }
.app-money { --footer-accent: #7dd3fc; }
.app-shop { --footer-accent: #93c5fd; }
.app-organics { --footer-accent: #8ccf62; }

/* A dark band inside a light page (Shop's "for shop owners" section) */
.theme-light .band-dark {
  --ink: #ffffff;
  --ink-rgb: 255, 255, 255;
  --ink-90: rgba(255, 255, 255, 0.92);
  --ink-85: rgba(255, 255, 255, 0.86);
  --ink-75: rgba(255, 255, 255, 0.80);
  --ink-70: rgba(255, 255, 255, 0.76);
  --ink-65: rgba(255, 255, 255, 0.72);
  --ink-55: rgba(255, 255, 255, 0.64);
  --surface: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --accent-soft: rgba(96, 165, 250, 0.18);
  --accent: #93c5fd;
  --link: #93c5fd;
  --focus: #93c5fd;
  --card-shadow: none;
  background: var(--navy, #070f22);
  color: var(--ink);
}

/* ---------- Hero layouts ---------- */
/* Split hero: words on one side, a picture from the app on the other (Money, Shop) */
.brand-page .hero-split { min-height: 0; display: block; }
.brand-page .hero-grid { display: grid; gap: 36px; align-items: center; padding-top: 108px; padding-bottom: 56px; }
@media (min-width: 1024px) {
  .brand-page .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; padding-top: 140px; padding-bottom: 88px; }
}
.brand-page .hero-split .hero-title { font-size: clamp(2.2rem, 6.4vw, 4.1rem); max-width: 13em; }
.brand-page .hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 40px 80px -48px rgba(var(--ink-rgb, 0, 0, 0), 0.55);
}
.brand-page .hero-figure img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.brand-page .hero-figure figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
}

/* Centred hero (One, Organics) */
.brand-page .hero-center { text-align: center; }
.brand-page .hero-center .hero-inner { display: flex; flex-direction: column; align-items: center; }
.brand-page .hero-center .hero-title { margin-left: auto; margin-right: auto; max-width: 14em; }
.brand-page .hero-center .lead { margin-left: auto; margin-right: auto; }
.brand-page .hero-center .hero-actions { justify-content: center; }
.brand-page .hero-center .trust { justify-content: center; }

/* ---------- One ---------- */
.app-one .hero { min-height: 640px; }
@media (min-width: 1024px) { .app-one .hero { min-height: min(820px, 96vh); } }
.app-one .spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(124, 132, 255, 0.30), transparent 70%),
    radial-gradient(30% 30% at 50% 8%, rgba(255, 165, 82, 0.12), transparent 70%);
}
.app-one .spot-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.app-one .hero-title { font-size: clamp(2.6rem, 8.4vw, 5.4rem); letter-spacing: -0.045em; font-weight: 650; }
.app-one .hero-title .muted { color: #a0a4cc; }
.app-one .serif-word { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: #f1f2ff; }
.app-one .eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.app-one .eyebrow-chip .dot { background: #3ddc97; box-shadow: 0 0 8px 1px rgba(61, 220, 151, 0.7); }
.app-one .lead { color: #a0a4cc; }
.app-one .btn-glass { border-color: rgba(255, 255, 255, 0.16); background: transparent; }
.app-one .btn-glass:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.35); }

/* The eight apps, as chips under the hero */
.app-one .app-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 46rem;
  margin: 40px auto 0;
}
.app-one .app-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9dbf5;
  font-size: 13.5px;
  font-weight: 500;
}
.app-one .app-chips .chip-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c, #8c93ff); }
.app-one .c-green { --c: #3ddc97; }
.app-one .c-orange { --c: #ffa552; }
.app-one .c-pink { --c: #f47ab8; }
.app-one .c-cyan { --c: #4cc9f0; }
.app-one .c-amber { --c: #f5c451; }
.app-one .c-indigo { --c: #8c93ff; }

/* Feature grid with four columns (One's eight apps) */
.brand-page .feature-grid-4 .feature { padding: 24px; }
.brand-page .feature-grid-4 .feature h3 { margin-top: 20px; font-size: 18.5px; }
.brand-page .feature-grid-4 .feature p { font-size: 15px; }
@media (min-width: 1200px) { .brand-page .feature-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* "Why" list: icon + words, two columns on wide screens */
.brand-page .why-list { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 760px) { .brand-page .why-list { grid-template-columns: repeat(2, 1fr); gap: 22px 32px; } }
.brand-page .why-list li { display: flex; align-items: flex-start; gap: 14px; }
.brand-page .why-list h3 { font-size: 17.5px; letter-spacing: -0.01em; line-height: 1.3; }
.brand-page .why-list p { margin-top: 4px; color: var(--ink-70); font-size: 15.5px; }
.brand-page .why-list .tile { width: 40px; height: 40px; border-radius: 12px; }
.brand-page .why-list .tile svg { width: 20px; height: 20px; }

/* Tags such as "GST returns", "E-invoice" */
.brand-page .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.brand-page .tag-row li {
  padding: 6px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--ink-85);
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- Money ---------- */
.app-money .hero-figure { aspect-ratio: 16 / 10; }
.app-money .hero-title .grad-text { padding-bottom: 0.06em; }
.app-money .card-glow { display: none; }

/* Honest "it does / it doesn't" pair */
.brand-page .does-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 860px) { .brand-page .does-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.brand-page .does { padding: 28px; }
.brand-page .does h3 { font-size: 19px; }
.brand-page .does ul { display: grid; gap: 10px; margin-top: 16px; color: var(--ink-85); font-size: 15.5px; }
.brand-page .does li { display: flex; gap: 10px; align-items: flex-start; }
.brand-page .does .mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; }
.brand-page .does .mark svg { width: 12px; height: 12px; }
.brand-page .does .mark-yes { background: #dcfce7; color: #15803d; }
.brand-page .does .mark-no { background: #fef3c7; color: #b45309; }

/* "Questions?" box in place of a call-back form (Money has no form) */
.brand-page .ask-card { padding: 32px 22px; text-align: center; }
@media (min-width: 640px) { .brand-page .ask-card { padding: 48px 48px; } }
.brand-page .ask-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.brand-page .ask-card p { margin: 14px auto 0; max-width: 36rem; color: var(--ink-70); font-size: 17px; }
.brand-page .ask-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 28px; }
.brand-page .mail-link { overflow-wrap: anywhere; }

/* ---------- Shop ---------- */
.app-shop .hero-figure { aspect-ratio: 4 / 3; }
.app-shop .hero-figure img { object-position: 88% center; }
.app-shop .card-glow { display: none; }
.app-shop .shop-mark { width: 40px; height: 40px; flex: none; }
.app-shop .site-footer .shop-mark { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }

/* The shop owners' band */
.brand-page .seller-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .brand-page .seller-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.brand-page .seller-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; aspect-ratio: 4 / 3; }
.brand-page .seller-figure img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.brand-page .seller-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }
@media (max-width: 479px) { .brand-page .seller-actions .btn { flex: 1 1 100%; } }
.brand-page .band-dark .checks { color: var(--ink-90); }
.brand-page .note { margin-top: 18px; color: var(--ink-65); font-size: 14.5px; }

/* ---------- Organics ---------- */
.app-organics .hero { min-height: 620px; }
@media (min-width: 1024px) { .app-organics .hero { min-height: min(760px, 94vh); } }
.app-organics .hero-bg img { object-position: center 70%; }
.app-organics .hero-shade { background: linear-gradient(180deg, rgba(251, 253, 249, 0.9), rgba(251, 253, 249, 0.8)); }
.app-organics .hero-fade { background: linear-gradient(0deg, #fbfdf9, rgba(251, 253, 249, 0.7) 50%, transparent); }
@media (min-width: 900px) {
  .app-organics .hero-shade { background: radial-gradient(ellipse 52% 70% at 50% 46%, rgba(251, 253, 249, 0.94) 35%, rgba(251, 253, 249, 0.55) 70%, rgba(251, 253, 249, 0.15)); }
}
.app-organics .hero-title { font-weight: 700; letter-spacing: -0.03em; }
.app-organics .eyebrow { background: rgba(255, 255, 255, 0.88); }
.app-organics .card-glow { display: none; }

/* Who it is for: two doors (shoppers / growers) */
.brand-page .doors { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 860px) { .brand-page .doors { grid-template-columns: 1fr 1fr; gap: 24px; } }
.brand-page .door { display: flex; flex-direction: column; padding: 28px; }
.brand-page .door > * { position: relative; }
.brand-page .door h3 { margin-top: 18px; font-size: 22px; }
.brand-page .door p { margin-top: 10px; color: var(--ink-70); }
.brand-page .door .btn { margin-top: 24px; align-self: flex-start; white-space: normal; }
@media (max-width: 479px) { .brand-page .door .btn { align-self: stretch; } }
.brand-page .door .door-foot { margin-top: 12px; color: var(--ink-65); font-size: 14px; }

/* Long button labels may wrap on small phones instead of pushing the page sideways */
@media (max-width: 479px) {
  .brand-page .hero-actions .btn,
  .brand-page .how-cta .btn,
  .brand-page .seller-actions .btn { white-space: normal; padding-top: 12px; padding-bottom: 12px; }
}

/* Even line breaks in the big headlines (no single word left alone on phones) */
.brand-page .hero-title .line > span,
.brand-page .section-title { text-wrap: balance; }
@media (max-width: 479px) {
  .brand-page .hero-actions .btn,
  .brand-page .how-cta .btn,
  .brand-page .seller-actions .btn,
  .brand-page .door .btn { text-wrap: balance; }
}


/* =====================================================================================================
   More landing pages: try.lingsaa.com/university, /edu, /construction, /hms.
   Everything below is scoped to <body class="brand-page theme-light app-university|app-edu|app-construction|
   app-hms">, so the pages above (Dwaramithra, One, Money, Shop, Organics) are untouched. The fonts get their own
   family names ("LS …") so no other page starts downloading them.
   ===================================================================================================== */

/* ---------- Fonts (copied from the Vidyankura repo, frontend/src/fonts; SIL Open Font Licence) ---------- */
@font-face {
  font-family: "LS Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/demo/assets/university/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "LS Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/demo/assets/university/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Per-app tokens ---------- */
/* Vidyankura (was LINGSAA Smart University): the product site's LINGSAA blue, academic gold, deep navy; Plus Jakarta Sans + Inter */
.app-university {
  --ground: #f7f8fc;
  --ink: #0b1220;
  --ink-rgb: 11, 18, 32;
  --surface: #ffffff;
  --surface-2: #eef2fd;
  --line: #e3e7f0;
  --line-strong: #cbd3e3;
  --accent: #2f5bea;
  --accent-strong: #2f5bea;
  --accent-soft: #eef2fd;
  --accent-ring: rgba(47, 91, 234, 0.25);
  --link: #274bc0;
  --focus: #2f5bea;
  --brand-b: #2f5bea;
  --btn-bg: #2f5bea;
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(47, 91, 234, 0.9);
  --btn-shadow-hover: 0 16px 32px -14px rgba(39, 75, 192, 0.95);
  --grad: linear-gradient(90deg, #2f5bea 0%, #1f3c9a 100%);
  --glow-filter: none;
  --glow-soft: rgba(47, 91, 234, 0.10);
  --blob-a: rgba(47, 91, 234, 0.10);
  --blob-b: rgba(233, 196, 106, 0.10);
  --blob-c: rgba(47, 91, 234, 0.05);
  --line-grad: linear-gradient(90deg, #97adf5, #2f5bea, #e9c46a);
  --footer-bg: #0b1530;
  --footer-accent: #e9c46a;
  --navy: #0b1530;
  --font: "LS Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "LS Plus Jakarta Sans", "LS Inter", "Segoe UI", system-ui, sans-serif;
}

/* Lingsaa Edu: royal blue on the sky canvas, navy ink, marigold; Plus Jakarta Sans (the site's font) */
.app-edu {
  --ground: #eef4fc;
  --ink: #0f1c36;
  --ink-rgb: 15, 28, 54;
  --surface: #ffffff;
  --surface-2: #e8f0fe;
  --line: #dbe6f5;
  --line-strong: #c3d3ec;
  --accent: #1a56db;
  --accent-strong: #1a56db;
  --accent-soft: #e8f0fe;
  --accent-ring: rgba(26, 86, 219, 0.25);
  --link: #1a56db;
  --focus: #1a56db;
  --brand-b: #a16207;
  --btn-bg: linear-gradient(135deg, #2563eb, #1a56db);
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(26, 86, 219, 0.9);
  --btn-shadow-hover: 0 16px 32px -14px rgba(22, 52, 111, 0.9);
  --grad: linear-gradient(90deg, #1a56db 0%, #16346f 100%);
  --glow-filter: none;
  --glow-soft: rgba(37, 99, 235, 0.12);
  --blob-a: rgba(37, 99, 235, 0.13);
  --blob-b: rgba(96, 165, 250, 0.14);
  --blob-c: rgba(245, 179, 1, 0.06);
  --line-grad: linear-gradient(90deg, #60a5fa, #1a56db, #f5b301);
  --footer-bg: #0f2044;
  --footer-accent: #f5b301;
  --navy: #0f2044;
  --font: "LS Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Telugu", sans-serif;
  --display: "LS Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

/* NirmanaSetu (was Lingsaa Construction): "Graphite & Brass"; Archivo headings (named; not shipped in the repo) and Inter */
.app-construction {
  --ground: #f4f3f0;
  --ink: #15171a;
  --ink-rgb: 21, 23, 26;
  --surface: #ffffff;
  --surface-2: #eceae5;
  --line: #e6e3dc;
  --line-strong: #d1ccc1;
  --accent: #8a5f1a;
  --accent-strong: #8a5f1a;
  --accent-soft: #f6eedf;
  --accent-ring: rgba(191, 141, 53, 0.32);
  --link: #8a5f1a;
  --focus: #8a5f1a;
  --brand-b: #8a5f1a;
  --btn-bg: #15171a;
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(21, 23, 26, 0.75);
  --btn-shadow-hover: 0 16px 32px -14px rgba(191, 141, 53, 0.85);
  --grad: linear-gradient(90deg, #8a5f1a 0%, #bf8d35 100%);
  --glow-filter: none;
  --glow-soft: rgba(191, 141, 53, 0.10);
  --blob-a: rgba(191, 141, 53, 0.10);
  --blob-b: rgba(47, 93, 138, 0.06);
  --blob-c: rgba(21, 23, 26, 0.04);
  --line-grad: linear-gradient(90deg, #d4a657, #8a5f1a, #2f5d8a);
  --footer-bg: #121417;
  --footer-accent: #d4a657;
  --navy: #121417;
  --font: "LS Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --display: "Archivo", "LS Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Jeevema (was Lingsaa HMS): clinical blue #2559B8, wordmark #0F2A44, CTA gradient #093970 → #0b488d; Figtree */
.app-hms {
  --ground: #f5f8fd;
  --ink: #1c244c;
  --ink-rgb: 28, 36, 76;
  --surface: #ffffff;
  --surface-2: #eff4fc;
  --line: #dbe6f8;
  --line-strong: #bcd0f1;
  --accent: #2559b8;
  --accent-strong: #2559b8;
  --accent-soft: #e8eff7;
  --accent-ring: rgba(37, 89, 184, 0.25);
  --link: #1f4a9c;
  --focus: #2559b8;
  --brand-b: #0b3a89;
  --btn-bg: linear-gradient(90deg, #093970, #0b488d);
  --btn-ink: #ffffff;
  --btn-shadow: 0 12px 26px -14px rgba(9, 57, 112, 0.9);
  --btn-shadow-hover: 0 16px 32px -14px rgba(37, 89, 184, 0.9);
  --grad: linear-gradient(90deg, #2559b8 0%, #093970 100%);
  --glow-filter: none;
  --glow-soft: rgba(37, 89, 184, 0.10);
  --blob-a: rgba(37, 89, 184, 0.10);
  --blob-b: rgba(59, 130, 246, 0.08);
  --blob-c: rgba(9, 57, 112, 0.05);
  --line-grad: linear-gradient(90deg, #8fb0e6, #2559b8, #093970);
  --footer-bg: #0f2a44;
  --footer-accent: #5a9aed;
  --navy: #0f2a44;
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Telugu", "Noto Sans Devanagari", sans-serif;
  --display: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

html:has(> body.app-university) { background: #f7f8fc; color-scheme: light; }
html:has(> body.app-edu) { background: #eef4fc; color-scheme: light; }
html:has(> body.app-construction) { background: #f4f3f0; color-scheme: light; }
html:has(> body.app-hms) { background: #f5f8fd; color-scheme: light; }

/* ---------- Shared bits of these four pages ---------- */
:is(.app-university, .app-edu, .app-construction, .app-hms) .card-glow { display: none; }

/* The line under a main button that says what really happens */
:is(.app-university, .app-edu, .app-construction, .app-hms) .cta-note {
  margin-top: 14px;
  max-width: 34rem;
  color: var(--ink-75);
  font-size: 14.5px;
  line-height: 1.55;
}
:is(.app-university, .app-edu, .app-construction, .app-hms) .how-note { margin: 14px auto 0; text-align: center; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .cta-alt { margin-top: 6px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .hero-copy .trust { margin-top: 18px; }

/* A dark band with words on the left and a list + buttons on the right */
:is(.app-university, .app-edu, .app-construction, .app-hms) .band-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) {
  :is(.app-university, .app-edu, .app-construction, .app-hms) .band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
:is(.app-university, .app-edu, .app-construction, .app-hms) .band-grid .checks { margin-top: 0; }
@media (max-width: 1023px) {
  :is(.app-university, .app-edu, .app-construction, .app-hms) .band-grid .checks { margin-top: 4px; }
}
:is(.app-university, .app-edu, .app-construction, .app-hms) .band-dark .cta-note { color: var(--ink-75); }

/* Plans / products as two doors (Jeevema) */
:is(.app-university, .app-edu, .app-construction, .app-hms) .door ul { display: grid; gap: 8px; margin-top: 14px; color: var(--ink-85); font-size: 15px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .door li { display: flex; gap: 10px; align-items: flex-start; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .door .check-ico { width: 22px; height: 22px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .door .price { margin-top: 18px; color: var(--ink); font-weight: 700; font-size: 16px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .door .price span { color: var(--ink-65); font-weight: 500; font-size: 14px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .door .text-link { margin-top: 8px; align-self: flex-start; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .tag-intro { margin-top: 44px; color: var(--ink-75); font-size: 16px; }
:is(.app-university, .app-edu, .app-construction, .app-hms) .tag-intro + .tag-row { margin-top: 14px; }

/* Long button labels may wrap on small phones instead of pushing the page sideways */
@media (max-width: 479px) {
  :is(.app-university, .app-edu, .app-construction, .app-hms) .band-actions .btn { white-space: normal; padding-top: 12px; padding-bottom: 12px; text-wrap: balance; flex: 1 1 100%; }
}
:is(.app-university, .app-edu, .app-construction, .app-hms) .band-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }

/* ---------- University ---------- */
.app-university .hero-figure { aspect-ratio: 16 / 10; }
.app-university .hero-figure img { object-position: left top; }
.app-university .brand { gap: 10px; }
.app-university .brand-name { display: inline-flex; flex-direction: column; line-height: 1; }
.app-university .brand-a { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.app-university .brand-b { margin-top: 4px; color: var(--ink-65); font-family: var(--font); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; }
.app-university .tone-gold { --a: #e9c46a; --b: #a16207; }

/* ---------- Edu ---------- */
.app-edu .hero-figure { aspect-ratio: 16 / 10; }
.app-edu .hero-figure img { object-position: left top; }
.app-edu .brand-icon { border-radius: 0; }
.app-edu .hero-title { font-weight: 800; letter-spacing: -0.035em; }
.app-edu .tone-gold { --a: #fbbf24; --b: #b45309; }

/* ---------- Construction ---------- */
.app-construction .hero-figure { aspect-ratio: 2 / 1; }
.app-construction .hero-title { font-weight: 700; letter-spacing: -0.035em; }
.app-construction .tone-brass { --a: #d4a657; --b: #8a5f1a; }
.app-construction .tone-graphite { --a: #4a4f57; --b: #15171a; }
.app-construction .tone-blueprint { --a: #4f7fb0; --b: #2f5d8a; }
.app-construction .band-dark { --accent: #d4a657; --link: #d4a657; --focus: #d4a657; --accent-soft: rgba(212, 166, 87, 0.18); }
.app-construction .footer-name { font-size: clamp(1.9rem, 8vw, 7.4rem); }

/* ---------- HMS ---------- */
.app-hms .hero-figure { aspect-ratio: 4 / 3; }
.app-hms .hero-figure img { object-position: 60% center; }
.app-hms .brand-icon { border-radius: 0; }
.app-hms .site-header .brand-a { color: #0f2a44; }
.app-hms .hero-title { font-weight: 800; letter-spacing: -0.035em; }

/* A little smaller hero headline on wide screens, so it sits on three lines next to the picture */
@media (min-width: 1024px) {
  :is(.app-university, .app-edu, .app-construction, .app-hms) .hero-split .hero-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
}
