/*
 * Grahsathi website: "Cosmic gold" (docs/04-design-system.md). The night
 * sky of the apps (deep indigo, gold leaf, saffron), Cinzel inscriptions,
 * Manrope to read, Fraunces for numbers, and parchment for long reading.
 */

@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
/* Loaded only where Devanagari or zodiac glyphs appear. */
@font-face { font-family: "Noto Sans Devanagari"; src: url("/fonts/NotoSansDevanagari-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Noto Sans Devanagari"; src: url("/fonts/NotoSansDevanagari-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Noto Sans Symbols"; src: url("/fonts/NotoSansSymbols-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; unicode-range: U+2600-26FF, U+FE0E; }

:root {
  /* AppPalette.dark */
  --night: #0b0a1f;
  --night-top: #15103a;
  --night-bottom: #07061a;
  --surface: #17123a;
  --surface-alt: #221b4e;
  --border: #2f2766;
  --gold-border: #8e6e2e;
  --field-border: #7068ac;
  --text: #f6f0e0;
  --text-soft: #ddd5ee;
  --muted: #b8b0d8;
  --gold: #f2c14e;
  --gold-soft: #3a2d12;
  --on-gold: #1a1236;
  --gold-text: #f7da8f;
  --saffron: #f2913e;
  --violet: #ac9bff;
  --violet-soft: #2b2370;
  --danger: #ff9f96;
  --good: #82e0a8;
  --gold-leaf: linear-gradient(135deg, #f9de8c 0%, #f2c14e 50%, #e8963a 100%);
  --glow: 0 8px 28px -6px rgba(242, 193, 78, 0.45);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  /* AppPalette.light: the parchment band */
  --parchment: #fbf4e6;
  --parchment-surface: #fffcf5;
  --parchment-border: #eadab8;
  --plum: #2b1a3f;
  --plum-muted: #5f4f72;
  --deep-gold: #8a5a00;

  --display: "Cinzel", "Noto Sans Devanagari", Georgia, serif;
  --body: "Manrope", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --numbers: "Fraunces", Georgia, serif;
  --radius: 20px;
  --radius-field: 14px;
  --header: 68px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  background-color: var(--night-bottom);
  background-image:
    url("/img/stars.svg"),
    radial-gradient(1200px 700px at 12% -10%, rgba(75, 54, 168, 0.55), transparent 60%),
    radial-gradient(900px 600px at 95% 20%, rgba(122, 84, 20, 0.35), transparent 60%),
    linear-gradient(180deg, var(--night-top) 0%, var(--night) 40%, var(--night-bottom) 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 600px 600px, auto, auto, auto;
  overflow-x: hidden;
}

.lang-hi body, body.lang-hi { line-height: 1.8; }
/* The one Hindi word on English pages (the language switch) uses the phone's own font, so English pages never download the Devanagari font. */
body.lang-en [lang="hi"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

img, svg { max-width: 100%; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--on-gold); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.centered { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 { margin: 0; }
.display, h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
}
.display { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.55rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
.display-small { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
h1.display {
  background: var(--gold-leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang-hi .display, .lang-hi h2, .lang-hi .display-small { font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.lang-hi .display { font-size: clamp(1.95rem, 1.25rem + 2.8vw, 3.1rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lang-hi .eyebrow { letter-spacing: 0.02em; font-size: 0.9rem; text-transform: none; }
.sparkle { width: 14px; height: 14px; color: var(--gold); flex: none; }
.sparkle-small { width: 11px; height: 11px; }

.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--text-soft); margin: 1.1rem 0 0; }
.fine { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
p { margin: 0.5rem 0 0; }

.section-head { margin: 0 0 2.6rem; }
.section-head.centered { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.centered .eyebrow { justify-content: center; display: flex; }
.section-head h2 { position: relative; }
.section-head.centered h2::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-border), var(--gold), var(--gold-border), transparent);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.4rem;
  border-radius: 16px;
  border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold-leaf); color: var(--on-gold); box-shadow: var(--glow); }
.btn-gold:hover { color: var(--on-gold); transform: translateY(-1px); box-shadow: 0 12px 32px -6px rgba(242, 193, 78, 0.6); }
.btn-outline { border-color: var(--gold-border); color: var(--gold-text); background: rgba(23, 18, 58, 0.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { min-height: 42px; padding: 0 1rem; font-size: 0.92rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.actions.centered { justify-content: center; }

.text-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-weight: 700; color: var(--gold-text); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--gold-text); text-decoration: underline; cursor: pointer; }
.link-button[disabled] { color: var(--muted); text-decoration: none; cursor: default; }

/* ----------------------------------------------------------------- cards */

.card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-alt), var(--surface));
  border: 1px solid rgba(142, 110, 46, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card.ornate { border-color: var(--gold-border); box-shadow: var(--shadow), var(--glow); }
.card.ornate::before, .card.ornate::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}
.card.ornate::before { left: 28px; }
.card.ornate::after { right: 28px; }
.card p { color: var(--text-soft); }

.seal {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  background: radial-gradient(circle at 35% 30%, var(--violet-soft), var(--surface));
  color: var(--gold);
  box-shadow: inset 0 0 0 3px rgba(11, 10, 31, 0.6), 0 0 18px -4px rgba(242, 193, 78, 0.35);
  flex: none;
}
.seal .icon { width: 26px; height: 26px; }
.seal-small { width: 46px; height: 46px; }
.seal-small .icon { width: 22px; height: 22px; }
.seal-big { width: 72px; height: 72px; }
.seal-big .icon { width: 34px; height: 34px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 31, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(142, 110, 46, 0.45);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-border), 0 0 16px -4px rgba(242, 193, 78, 0.5); }
.brand-name {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  background: var(--gold-leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; align-items: center; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold-border); text-decoration-thickness: 2px; }
.site-nav .lang-switch { border: 1px solid var(--gold-border); border-radius: 999px; padding: 0.25rem 0.8rem; color: var(--gold-text); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--gold-border);
  background: rgba(23, 18, 58, 0.7);
  color: var(--gold);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 20px 1.5rem;
    background: rgba(15, 12, 42, 0.98);
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--header));
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--border); font-size: 1.02rem; }
  .site-nav ul a.lang-switch { display: inline-block; margin-top: 0.9rem; border: 1px solid var(--gold-border); padding: 0.35rem 1rem; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 3vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-copy { max-width: 600px; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.trust li { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text-soft); font-size: 0.93rem; font-weight: 600; }
.trust .icon, .ticks .icon { color: var(--gold); flex: none; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.wheel { display: block; }
.wheel-signs { font-family: "Noto Sans Symbols", "Segoe UI Symbol", sans-serif; }
.wheel-hero {
  position: absolute;
  width: min(600px, 118%);
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 0 24px rgba(242, 193, 78, 0.25));
  animation: turn 120s linear infinite;
}
@keyframes turn { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #241c52, #0d0a24);
  border: 1px solid var(--gold-border);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(242, 193, 78, 0.12), 0 0 46px -10px rgba(242, 193, 78, 0.35);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.phone-hero { width: 290px; z-index: 1; }

/* -------------------------------------------------------------- sections */

.section { padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0; position: relative; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step h3 { margin-top: 1rem; }
.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-leaf);
  color: var(--on-gold);
  font: 600 1.2rem/1 var(--numbers);
  box-shadow: var(--glow);
}

/* Eight features fill rows of four (two on tablets); six benefits rows of three. */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature h3 { margin-top: 1rem; }
.feature { transition: border-color 0.2s ease, transform 0.2s ease; }
.feature:hover { border-color: var(--gold-border); transform: translateY(-2px); }

.screen-row {
  list-style: none;
  padding: 0.5rem 0 1rem;
  margin: 3rem 0 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
.screen-row li { flex: 0 0 250px; }
.screen-row li:nth-child(2) { transform: translateY(-1.5rem); }
.screen-row figure { margin: 0; }
.screen-row figcaption { margin-top: 1rem; text-align: center; color: var(--text-soft); font-weight: 600; }
.screens .fine, .section .fine.centered { text-align: center; }

.safety-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.safety-item { display: flex; gap: 1rem; align-items: flex-start; }

.billing { margin-top: 2.2rem; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem 2.5rem; align-items: start; padding: 2rem; }
.billing .text-link { grid-column: 2; margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-soft); }
.ticks .icon { margin-top: 0.2rem; }

.band {
  padding: 3rem 0;
  background: linear-gradient(110deg, rgba(122, 84, 20, 0.4), rgba(75, 54, 168, 0.35));
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.band p { color: var(--text-soft); max-width: 620px; }

/* Parchment: the apps' light theme, for questions and answers. */
.parchment { background: var(--parchment); color: var(--plum); }
.parchment h2 { color: var(--plum); }
.parchment .eyebrow, .parchment .sparkle { color: var(--deep-gold); }
.parchment .section-head.centered h2::after { background: linear-gradient(90deg, transparent, #cda65a, var(--deep-gold), #cda65a, transparent); }
.parchment a { color: var(--deep-gold); }
.fine-dark { margin-top: 1.5rem; font-weight: 700; }
.faq details {
  background: var(--parchment-surface);
  border: 1px solid var(--parchment-border);
  border-radius: 16px;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 14px rgba(43, 26, 63, 0.06);
}
.faq details[open] { border-color: #cda65a; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font: 600 1.5rem/1 var(--numbers);
  color: var(--deep-gold);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--plum-muted); }

.final { text-align: center; overflow: hidden; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-inner > *:not(.wheel) { position: relative; z-index: 1; }
.wheel-faint { position: absolute; top: 50%; left: 50%; width: 640px; max-width: none; transform: translate(-50%, -50%); opacity: 0.13; }
.final .actions, .final .btn { margin-top: 1.8rem; }

/* ----------------------------------------------------------- partner page */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.who { padding: 2rem; }
.who h2 { margin-bottom: 1.4rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 1.1rem; position: relative; padding-bottom: 1.6rem; }
.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(var(--gold-border), transparent);
}
.timeline .step-number { flex: none; }
.timeline p { color: var(--text-soft); }

.apply { background: radial-gradient(800px 500px at 50% 0%, rgba(75, 54, 168, 0.35), transparent 70%); }
.apply .lead { margin: -1rem auto 2rem; max-width: 600px; }
.signup { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.signup-steps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.6rem; flex-wrap: wrap; }
.signup-steps li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.signup-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); font: 600 0.8rem/1 var(--numbers); }
.signup-steps li.is-current { border-color: var(--gold); color: var(--gold-text); }
.signup-steps li.is-current span { background: var(--gold-leaf); color: var(--on-gold); border-color: transparent; }
.signup-steps li.is-done { color: var(--text-soft); border-color: var(--gold-border); }
.signup-steps li.is-done span { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-border); }

.signup-form label:not(.check):not(.chip), .signup-form legend {
  display: block;
  margin: 1.2rem 0 0.45rem;
  font-weight: 700;
  color: var(--text);
}
.signup-form > label:first-child, .signup-form > .sent-to + label { margin-top: 0; }
.signup-form .sub-label { margin: 0.9rem 0 0.4rem; font-weight: 600; color: var(--text-soft); font-size: 0.92rem; }
.signup-form input[type="text"], .signup-form input[type="tel"], .signup-form input[type="number"], .signup-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-field);
  border: 1.5px solid var(--field-border);
  background: rgba(11, 10, 31, 0.65);
  color: var(--text);
  font: 400 1rem/1.5 var(--body);
}
.signup-form textarea { resize: vertical; min-height: 130px; }
.signup-form input:focus, .signup-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.25); }
.signup-form input[aria-invalid="true"], .signup-form textarea[aria-invalid="true"] { border-color: var(--danger); }
.signup-form .short-input { max-width: 180px; }
.signup-form .btn-block { margin-top: 1.6rem; }
.hint { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--muted); }
.counter { font-family: var(--numbers); white-space: nowrap; }

.phone-field, .rate-field { display: flex; align-items: stretch; gap: 0.5rem; }
.rate-field { align-items: center; }
.prefix {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  border-radius: var(--radius-field);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--gold-text);
  font: 600 1.05rem/1 var(--numbers);
}
.rate-field .prefix { min-height: 50px; }
.suffix { color: var(--muted); font-weight: 600; }
.code-input { max-width: 240px; text-align: center; letter-spacing: 0.45em; font: 600 1.4rem/1 var(--numbers) !important; }
.sent-to { margin: 0 0 1rem; color: var(--text-soft); }
.resend { display: block; margin: 1rem auto 0; }

.chips { border: 0; padding: 0; margin: 1.3rem 0 0; min-width: 0; }
.signup-form .chips legend { margin: 0 0 0.6rem; padding: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--field-border);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  user-select: none;
}
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip .icon { width: 16px; height: 16px; display: none; }
.chip:has(input:checked) { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-text); }
.chip:has(input:checked) .icon { display: block; }
.chip:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.consents { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-soft); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--gold); flex: none; }

.form-status { min-height: 1.5em; margin: 1rem 0 0; font-weight: 600; }
.form-status.error { color: var(--danger); }
.form-status.info { color: var(--muted); }
.notice { padding: 0.8rem 1rem; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); }

.signup-result { text-align: center; }
.signup-result:focus { outline: none; }
.signup-result h3 { font-family: var(--display); font-size: 1.5rem; margin-top: 1rem; }
.signup-result h4 { margin-top: 1.6rem; color: var(--gold); }
.signup-result .btn { margin-top: 1.4rem; }
.signup-result .actions .btn { margin-top: 0; }
.next-steps { text-align: left; display: inline-grid; gap: 0.5rem; margin: 0.8rem auto 0; padding-left: 1.3rem; color: var(--text-soft); max-width: 480px; }
.reason { color: var(--muted); }

[hidden] { display: none !important; }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--gold-border); background: rgba(7, 6, 26, 0.88); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand p { color: var(--text-soft); max-width: 420px; }
.footer-disclaimer { font-size: 0.85rem; color: var(--muted) !important; }
.footer-title { font: 700 0.78rem/1.4 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.lang-hi .footer-title { letter-spacing: 0.02em; font-size: 0.9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1060px) {
  .steps, .feature-grid, .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-copy { max-width: none; }
  .hero-visual { min-height: 520px; }
  .wheel-hero { width: min(520px, 130%); }
  .phone-hero { width: 250px; }
  .two-col { grid-template-columns: 1fr; }
  .billing { grid-template-columns: 1fr; }
  .billing .text-link { grid-column: 1; }
  .band-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  /* Screens scroll sideways inside their row, never the page. */
  .screen-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem; padding: 0.5rem 4px 1.5rem; margin-left: -4px; margin-right: -4px; }
  .screen-row li { flex: 0 0 220px; scroll-snap-align: center; }
  .screen-row li:nth-child(2) { transform: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .steps, .safety-grid { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .brand-name { font-size: 1.02rem; }
  .hero-visual { min-height: 460px; }
  .phone-hero { width: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }
  .billing { padding: 1.4rem; }
  .who { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wheel-hero { animation: none; }
  .btn, .feature { transition: none; }
}
