/* MyHindupur home page. Brand tokens from docs/brand/brand.md (Direction D).
   This page is independent of web/, so it keeps its own small copy of them. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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;
}
/* Telugu fonts download only when Telugu text is on the page. */
@font-face {
  font-family: "Anek Telugu";
  src: url("/fonts/anek-telugu-telugu.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Noto Sans Telugu";
  src: url("/fonts/noto-sans-telugu-telugu.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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;
}

:root {
  --peacock: #0B5D5E;
  --peacock-deep: #073F40;
  --marigold: #FFB627;
  --kumkum: #B02A57;
  --kumkum-bright: #D63A6B;
  --ink: #122423;
  --ink-muted: #4F5E5C;
  --jasmine: #FFFAF2;
  --mint: #E3F2EF;
  --white: #FFFFFF;

  --font-heading: "Bricolage Grotesque", "Anek Telugu", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans Telugu", system-ui, sans-serif;

  --radius-card: 24px;
  --radius-control: 12px;
  --radius-pill: 999px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--jasmine);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

[hidden] { display: none !important; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* Demo preview notice (deploy-home.sh) */
.preview {
  padding: 8px 16px;
  background: var(--marigold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* Header */
.top { padding-block: 16px; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--peacock); }
.logo__mark { width: 40px; height: 38px; flex: none; }
.logo__word { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo__word--te { font-size: 1.3rem; letter-spacing: 0; }
.logo__my { color: var(--kumkum-bright); }

.lang {
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--peacock);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--peacock);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.lang:hover { background: var(--mint); }

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

/* Hero */
.hero { padding-block: 32px 48px; }
.hero__inner {
  background: var(--peacock);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 24px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--marigold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.hero__title {
  margin: 0 auto 28px;
  max-width: 22ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
:lang(te) .hero__title { max-width: 26ch; line-height: 1.35; letter-spacing: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 32px;
  border-radius: var(--radius-control);
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  text-decoration: none;
  box-shadow: 0 6px 0 var(--peacock-deep);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--peacock-deep); }
.hero__note { margin: 20px 0 0; font-size: 0.95rem; opacity: 0.9; }

/* Apps */
.apps { text-align: center; padding-bottom: 40px; }
.apps__title { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--peacock-deep); }
.apps__note { margin: 0 0 16px; color: var(--ink-muted); }
.apps__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 10px 18px;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  text-align: left;
  font-weight: 700;
  line-height: 1.2;
}
.badge svg { width: 26px; height: 26px; flex: none; }
.badge small { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.8; }
.badge[aria-disabled="true"] { opacity: 0.75; }

/* Coming soon */
.soon p {
  margin: 0 0 48px;
  padding: 16px 20px;
  border-radius: var(--radius-card);
  background: var(--mint);
  color: var(--peacock-deep);
  text-align: center;
}

/* Footer */
.foot { background: var(--peacock-deep); color: var(--white); padding-block: 40px 24px; }
.foot__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.foot__title { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--marigold); }
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list li { padding-block: 4px; }
.foot a { color: var(--white); text-underline-offset: 3px; }
.foot a:hover { color: var(--marigold); }
.foot p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.foot__ids { font-size: 0.85rem; }
.foot .foot__copy { margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

@media (min-width: 720px) {
  .hero__inner { padding: 64px 48px; }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
