/*
 * EkaAgri public website. Same look as the farmer app: "Night & Gold" (Project Docs/brand/brand-final.md),
 * tokens copied from packages/ui/src/theme.css. Change a colour there first, then here.
 * Plain CSS, no build step: fast on cheap phones and easy to upload to Hostinger.
 */

/* ---------- Fonts: Lexend (English, numbers) + Anek Telugu. Self-hosted, each loads only when needed. ---------- */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/lexend-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: 'Lexend';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/lexend-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
@font-face {
  font-family: 'Anek Telugu';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/anek-telugu-telugu.woff2') format('woff2');
  unicode-range:
    U+0951-0952, U+0964-0965, U+0B83, U+0C00-0C7F, U+1CD5-1CD6, U+1CD8, U+1CDA, U+1CF2, U+200C-200D, U+25CC;
}

/* ---------- Tokens (same names and values as the app) ---------- */
:root {
  --font: Lexend, 'Anek Telugu', ui-sans-serif, system-ui, sans-serif;

  --canvas: #f7f6ef;
  --card: #ffffff;
  --ink: #24231a;
  --ink-soft: #55523a;
  --line: #dcd9c2;
  --line-strong: #8c8866;

  --night: #000000;
  --night-2: #121212;
  --night-3: #1c1b17;
  --cream: #f7f3e8;
  --sage: #bdb893;

  --btn: #000000;
  --btn-active: #262626;
  --btn-ink: #f7f3e8;

  --brand: #7a5100;
  --brand-dark: #6b4700;
  --brand-50: #fbf3e2;
  --brand-100: #f5e3bc;

  --ok: #155c30;
  --ok-bg: #dfeee2;
  --info-bg: #e6eef7;
  --info-ink: #17467a;
  --warn-bg: #fbe9dc;
  --warn-ink: #9a3b00;

  /* Logo gold: "Call us" only, and accents on night. Never text on a light background. */
  --call: #e0ae45;
  --call-dark: #c9962f;
  --call-ink: #1f1606;

  --sky-sun: #fff6dd;
  --sky-sun-2: #ffe3a6;

  --radius-card: 18px;
  --radius-control: 12px;
  --shadow-card: 0 1px 2px rgb(26 20 18 / 0.05), 0 4px 14px -2px rgb(26 20 18 / 0.09);
  --shadow-lift: 0 2px 4px rgb(26 20 18 / 0.05), 0 10px 24px -6px rgb(26 20 18 / 0.16);
  --shadow-float: 0 6px 16px rgb(26 20 18 / 0.3);

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
/* Telugu ≥ 18 px body (NFR-015), with room for marks below the line */
html:lang(te) {
  font-size: 112.5%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:lang(te) body {
  line-height: 1.7;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--brand);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-dark);
}
button,
a,
summary,
label {
  touch-action: manipulation;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html:lang(te) h1,
html:lang(te) h2,
html:lang(te) h3 {
  line-height: 1.4;
  letter-spacing: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-night :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--call);
}
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.filled {
  fill: currentColor;
  stroke: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-control);
  background: var(--call);
  color: var(--call-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 120ms var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-call {
  background: var(--call);
  color: var(--call-ink);
}
.btn-call:hover {
  background: var(--call-dark);
  color: var(--call-ink);
}
.btn-dark {
  background: var(--btn);
  color: var(--btn-ink);
}
.btn-dark:hover {
  background: var(--btn-active);
  color: var(--btn-ink);
}
.btn-ghost {
  border-color: rgb(247 243 232 / 0.45);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgb(247 243 232 / 0.08);
  color: var(--cream);
}
.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--card);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--night);
  color: var(--cream);
  border-bottom: 1px solid rgb(189 184 147 / 0.14);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-right: auto;
}
.brand-link img {
  height: 30px;
  width: auto;
}
.site-nav {
  display: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: color 160ms var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--cream);
}
.site-nav a[aria-current='page'] {
  box-shadow: inset 0 -3px 0 var(--call);
  border-radius: 0;
}
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgb(189 184 147 / 0.35);
}
.lang-switch button {
  min-height: 40px;
  min-width: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sage);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch button[aria-pressed='true'] {
  background: var(--cream);
  color: var(--night);
}
.header-call {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.95rem;
}
.header-call .label-long {
  display: none;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  border-top: 1px solid rgb(189 184 147 / 0.14);
  padding: 8px var(--gutter) 20px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgb(189 184 147 / 0.12);
}
.mobile-nav .lang-switch {
  margin-top: 16px;
}
.header-tools .lang-switch {
  display: none;
}

@media (min-width: 600px) {
  .header-call .label-long {
    display: inline;
  }
  .header-call .label-short {
    display: none;
  }
}
@media (min-width: 1080px) {
  .site-nav {
    display: flex;
    gap: 2px;
  }
  .menu-btn,
  .mobile-nav,
  .mobile-nav.open {
    display: none;
  }
  .header-tools .lang-switch {
    display: inline-flex;
  }
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 20%, rgb(224 174 69 / 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgb(189 184 147 / 0.12), transparent 60%), var(--night);
  color: var(--cream);
}
.hero-rows {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 220px;
  color: var(--call);
  opacity: 0.12;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  gap: 48px;
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: clamp(56px, 9vw, 104px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgb(224 174 69 / 0.12);
  border: 1px solid rgb(224 174 69 / 0.35);
  color: var(--call);
  font-size: 0.9rem;
  font-weight: 500;
}
.eyebrow .icon {
  width: 18px;
  height: 18px;
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--cream);
}
.hero h1 em {
  font-style: normal;
  color: var(--call);
}
.hero .lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #d9d5c3;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--sage);
  font-size: 0.95rem;
}
.hero-note .icon {
  width: 20px;
  height: 20px;
  color: var(--call);
}
@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ---------- Phone mock-up: a drawn copy of the farmer app's Home ("My Farm") ---------- */
.phone {
  justify-self: center;
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 44px;
  background: #1d1d1b;
  box-shadow:
    0 0 0 1px rgb(189 184 147 / 0.25),
    0 30px 60px -20px rgb(0 0 0 / 0.8),
    0 0 80px -10px rgb(224 174 69 / 0.25);
  transform: rotate(2deg);
}
.phone-screen {
  overflow: hidden;
  border-radius: 34px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.ph-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 14px 12px;
  background: var(--night);
}
.ph-bar img {
  height: 20px;
  width: auto;
}
.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--call);
  color: var(--call-ink);
  font-weight: 600;
  font-size: 12px;
}
.ph-pill .icon {
  width: 13px;
  height: 13px;
}
.ph-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}
.ph-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ph-tile {
  padding: 10px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.ph-weather {
  background: linear-gradient(160deg, var(--sky-sun), var(--sky-sun-2));
}
.ph-weather b {
  display: block;
  font-size: 20px;
  font-weight: 700;
}
.ph-weather .ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--ok);
  font-weight: 600;
  font-size: 11px;
}
.ph-weather .ok .icon {
  width: 12px;
  height: 12px;
}
.ph-tip {
  background: var(--brand-50);
  color: var(--brand-dark);
}
.ph-tip .icon {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
}
.ph-tip span {
  font-size: 11.5px;
  font-weight: 500;
}
.ph-farm {
  padding: 14px;
  border-radius: 16px;
  background: var(--night-2);
  color: var(--cream);
}
.ph-farm .name {
  font-weight: 700;
  font-size: 15px;
}
.ph-farm .meta {
  color: var(--sage);
  font-size: 11.5px;
}
.ph-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 12px 0 6px;
}
.ph-stages i {
  height: 6px;
  border-radius: 6px;
  background: rgb(189 184 147 / 0.25);
}
.ph-stages i.done {
  background: var(--sage);
}
.ph-stages i.now {
  background: var(--call);
}
.ph-farm .now {
  font-size: 11.5px;
  color: var(--sage);
}
.ph-farm .now b {
  color: var(--cream);
}
.ph-farm .go {
  display: block;
  margin-top: 10px;
  padding: 9px;
  border-radius: 999px;
  background: var(--call);
  color: var(--call-ink);
  text-align: center;
  font-weight: 600;
  font-size: 12.5px;
}
.ph-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ph-services span {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 2px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}
.ph-services .icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
}
.ph-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 14px;
  background: var(--night);
  color: var(--sage);
  font-size: 10px;
  text-align: center;
}
.ph-tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.ph-tabs .icon {
  width: 18px;
  height: 18px;
}
.ph-tabs .on {
  color: var(--call);
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--night-2);
  color: var(--cream);
  border-top: 1px solid rgb(189 184 147 / 0.14);
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 4px 24px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  font-weight: 500;
  font-size: 0.95rem;
}
.trust .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgb(224 174 69 / 0.14);
  color: var(--call);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 9vw, 104px) 0;
}
.section-alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html:lang(te) .kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* Services */
.service-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.service-card .pic {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--line);
}
.service-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .tag {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.72);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.service-card .tag .icon {
  width: 16px;
  height: 16px;
  color: var(--call);
}
.service-card .body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 22px;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
.service-card .te-name {
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.service-card.more {
  justify-content: center;
  padding: 28px;
  background: var(--brand-50);
  box-shadow: none;
  border: 2px dashed var(--brand-100);
}
.service-card.more:hover {
  transform: none;
}
.service-card.more .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: var(--card);
  color: var(--brand);
  margin-bottom: 14px;
}
.service-card.more h3 {
  color: var(--brand-dark);
}
.service-card.more p {
  margin-top: 6px;
  color: var(--brand-dark);
}

/* Shop */
.shop {
  display: grid;
  gap: 40px;
  align-items: center;
}
.shop-pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.shop-pics figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.shop-pics img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.shop-pics figcaption {
  padding: 10px 14px 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
  margin-top: 1px;
}
.check-list b {
  display: block;
}
.check-list span {
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .shop {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* How it works */
.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--night);
  color: var(--call);
  font-weight: 700;
  font-size: 1.15rem;
}
.step h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 600;
}
.step p {
  margin-top: 8px;
  color: var(--ink-soft);
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-dark);
}
.callout .text {
  flex: 1 1 280px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout .text .icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.callout b {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

/* App features */
.features {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.feature {
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.feature .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: var(--card);
  color: var(--brand);
  box-shadow: var(--shadow-card);
}
.feature h3 {
  margin-top: 16px;
  font-size: 1.12rem;
  font-weight: 600;
}
.feature p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Areas */
.areas {
  display: grid;
  gap: 20px;
}
.area {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.area .icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
}
.area h3 {
  margin-top: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}
.area p {
  margin-top: 6px;
  color: var(--ink-soft);
}
.area .rows {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 220px;
  height: 140px;
  color: var(--brand);
  opacity: 0.12;
}
.area.soon {
  background: transparent;
  border: 2px dashed var(--line);
  box-shadow: none;
}
@media (min-width: 800px) {
  .areas {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Partners band */
.partners {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}
.partners .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}
.partners h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
}
.partners .kicker {
  color: var(--call);
}
.partners .lead {
  margin-top: 14px;
  color: #d9d5c3;
  font-size: 1.08rem;
}
.partner-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.partner-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--night-3);
  border: 1px solid rgb(189 184 147 / 0.16);
}
.partner-list .icon {
  width: 26px;
  height: 26px;
  color: var(--call);
  margin-top: 1px;
}
.partner-list b {
  display: block;
  color: var(--cream);
}
.partner-list span {
  color: var(--sage);
  font-size: 0.97rem;
}
@media (min-width: 900px) {
  .partners .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  color: var(--brand);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

/* Final call-to-action */
.cta-band {
  padding: clamp(40px, 7vw, 72px) 0;
}
.cta-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: radial-gradient(600px 300px at 100% 0%, rgb(224 174 69 / 0.2), transparent 60%), var(--night);
  color: var(--cream);
}
.cta-card h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
}
.cta-card p {
  margin-top: 10px;
  color: #d9d5c3;
}
.cta-card .hero-ctas {
  margin-top: 0;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: 14px;
  border: 1px solid rgb(189 184 147 / 0.4);
  color: var(--sage);
  font-size: 0.9rem;
}
.store-badge b {
  display: block;
  color: var(--cream);
  font-size: 1rem;
}
@media (min-width: 860px) {
  .cta-card {
    grid-template-columns: 1fr auto;
  }
}

/* ---------- Inner pages (contact, legal) ---------- */
.page-hero {
  background: var(--night);
  color: var(--cream);
}
.page-hero .wrap {
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(36px, 6vw, 56px);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
}
.page-hero p {
  margin-top: 12px;
  max-width: 40em;
  color: #d9d5c3;
  font-size: 1.08rem;
}
.page-hero .updated {
  margin-top: 16px;
  color: var(--sage);
  font-size: 0.92rem;
}
.prose {
  max-width: 760px;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.45rem;
  font-weight: 700;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 24px 0 8px;
  font-size: 1.12rem;
  font-weight: 600;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 6px;
}
.prose li::marker {
  color: var(--brand);
}
.prose table {
  width: 100%;
  margin: 8px 0 18px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--canvas);
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}
.summary-box {
  margin-bottom: 36px;
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.summary-box h2 {
  margin: 0 0 10px !important;
  font-size: 1.15rem !important;
  color: var(--brand-dark);
}
.summary-box ul {
  margin: 0 !important;
}
.summary-box[lang='te'] {
  font-size: 1.08rem;
  line-height: 1.75;
}
.inner-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) {
  .inner-grid {
    grid-template-columns: 1fr 300px;
    gap: 64px;
  }
}
.side-card {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.side-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
}
.side-card nav {
  display: grid;
  margin-top: 10px;
}
.side-card nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.side-card nav a:last-child {
  border-bottom: 0;
}
.side-card nav a:hover {
  color: var(--brand);
}
.side-card nav a[aria-current='page'] {
  color: var(--brand);
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.contact-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.contact-card > .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 8px;
}
.contact-card h2,
.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
.contact-card p {
  color: var(--ink-soft);
}
.contact-card .big {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.contact-card .btn {
  margin-top: 10px;
  justify-self: start;
}

/* Delete account steps */
.num-list,
.prose .num-list {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: n;
}
.num-list li {
  position: relative;
  padding: 16px 18px 16px 64px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  counter-increment: n;
}
.num-list li::before {
  content: counter(n);
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--night);
  color: var(--call);
  font-weight: 700;
}

/* Note to fill in before going live. Search the site for class="todo" and remove every one. */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-weight: 600;
  outline: 1px dashed var(--warn-ink);
}
.draft-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-size: 0.92rem;
  font-weight: 500;
}
.draft-banner .wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.draft-banner .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--sage);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: grid;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 28px;
}
.foot-top {
  display: grid;
  gap: 36px;
}
.foot-brand img {
  width: 220px;
  height: auto;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 26em;
}
.site-footer h2 {
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 600;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--sage);
  text-decoration: none;
}
.site-footer li a:hover {
  color: var(--cream);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgb(189 184 147 / 0.18);
  font-size: 0.85rem;
}
.foot-bottom a {
  color: var(--sage);
}
.credits {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.credits a {
  color: var(--sage);
}
@media (min-width: 760px) {
  .foot-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ---------- Gentle reveal on scroll (only when JS runs and motion is allowed) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .phone {
    transform: none;
  }
}

/* Header in Telugu: words are longer, so keep every item on one line and use the short "Call" label. */
.site-nav a,
.btn {
  white-space: nowrap;
}
html:lang(te) .site-nav a {
  padding: 0 8px;
  font-size: 0.82rem;
}
html:lang(te) .header-call .label-long {
  display: none;
}
html:lang(te) .header-call .label-short {
  display: inline;
}
