/*
 * bhuvaji.in — Design A (CLAUDE.md §4), responsive (owner, 2026-10-15).
 * Phone up to 640 px, tablet 641–1024 px, desktop 1025 px and up. The page
 * container is up to 1200 px; the header, the hero and the coloured bands run
 * the full width. Reading text keeps about 70 characters a line.
 * Cream background, navy surfaces, gold as an accent only. Fonts from this
 * domain (OFL). No script, no third-party request, no cookie.
 */

/* WOFF2 first, WOFF as the fallback: the same fonts, every glyph kept
   (website/v2_fonts.py; owner, 2026-10-15). A browser takes the first it
   can read and never fetches the others. */
@font-face {
  font-family: 'Noto Serif Gujarati';
  src:
    url('/fonts/NotoSerifGujarati-SemiBold.woff2') format('woff2'),
    url('/fonts/NotoSerifGujarati-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Gujarati';
  src:
    url('/fonts/NotoSansGujarati-Regular.woff2') format('woff2'),
    url('/fonts/NotoSansGujarati-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src:
    url('/fonts/Cinzel-SemiBold.woff2') format('woff2'),
    url('/fonts/Cinzel-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #0f1b3d;
  --navy-2: #1a2a52;
  --panel: #0b1330;
  --gold: #d4ab53;
  --gold-dark: #b8862b;
  --gold-light: #f3d891;
  --cream: #f8f4ec;
  --beige: #eee5d4;
  --white: #fff;
  --ink: #17203b;
  --ink-soft: #5a617a;
  --line: #e3d8c3;
  --good: #2f6b4f;
  --bad: #a4493d;
  --serif: 'Noto Serif Gujarati', Georgia, serif;
  --sans: 'Noto Sans Gujarati', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --wrap: 1200px;
  --gutter: 16px;
  --read: 70ch;
  --shadow: 0 1px 2px rgba(15, 27, 61, 0.05), 0 8px 24px rgba(15, 27, 61, 0.06);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--gold-dark);
  text-underline-offset: 3px;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 12px;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 19px;
}
p {
  margin: 0 0 14px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 10;
}
.icon {
  color: var(--gold-dark);
  flex: none;
}

/* --- header -------------------------------------------------------------- */
header.site {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 171, 83, 0.18);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
}
.brand .mark {
  border-radius: 10px;
}
.wordmark {
  font: 600 22px/1 var(--serif);
  color: var(--gold);
}
.wordmark.latin {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.08em;
  font-size: 19px;
}
nav.main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
}
nav.main a {
  color: var(--beige);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
}
nav.main a:hover {
  background: var(--navy-2);
}
nav.main a[aria-current='page'] {
  color: var(--gold-light);
  background: var(--navy-2);
}
nav.main a.lang {
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-left: 4px;
}

/* --- buttons and small parts ---------------------------------------------- */
/* A label, not a button: it is not a link, so no fill, no shadow, no pointer
   (owner, 2026-10-15: anything that is not a link must not look like a button). */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 17px/1.3 var(--serif);
  cursor: default;
}
.soon .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.more {
  font-weight: 600;
  text-decoration: none;
}
.more:hover {
  text-decoration: underline;
}

/* --- hero (home) ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 75% 40%,
    var(--navy-2) 0%,
    var(--navy) 45%,
    var(--panel) 100%
  );
  color: var(--beige);
}
.hero::before {
  content: '';
  position: absolute;
  inset: auto -160px -200px auto;
  width: 640px;
  height: 640px;
  background: url('/assets/mandala.svg') center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 48px;
  align-items: center;
}
.hero-text {
  text-align: center;
}
.hero-text .mark {
  margin: 0 auto 14px;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(212, 171, 83, 0.35),
    0 10px 40px rgba(212, 171, 83, 0.18);
}
.hero h1 {
  color: var(--gold-light);
  font-size: 44px;
  margin-bottom: 4px;
}
.hero .tagline {
  font: 600 22px/1.5 var(--serif);
  color: var(--gold);
  margin-bottom: 6px;
}
.hero .brandline {
  color: var(--beige);
  opacity: 0.85;
  margin-bottom: 14px;
}
.hero .line {
  max-width: 46ch;
  margin: 0 auto 24px;
  color: var(--white);
}
.hero-phone {
  display: flex;
  justify-content: center;
}

/* a phone drawn in CSS around a real screenshot */
.phone {
  position: relative;
  width: min(270px, 72vw);
  border-radius: 38px;
  padding: 10px;
  background: #050a1c;
  box-shadow:
    0 0 0 2px rgba(212, 171, 83, 0.55),
    0 30px 60px rgba(0, 0, 0, 0.45);
}
.phone::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 70px;
  height: 18px;
  margin-left: -35px;
  border-radius: 10px;
  background: #050a1c;
  z-index: 1;
}
.phone img {
  border-radius: 28px;
  width: 100%;
}
.phone.light {
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow);
}

/* --- bands and grids --------------------------------------------------------- */
.band {
  padding: 44px 0;
}
.band.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band.navy {
  background: var(--navy);
  color: var(--beige);
}
.band.navy h2,
.band.navy h3 {
  color: var(--gold-light);
}
.band-head {
  margin-bottom: 22px;
}
.band-head h2 {
  margin-bottom: 6px;
}
.lead {
  color: var(--ink-soft);
  max-width: var(--read);
  margin: 0;
}
.band.navy .lead {
  color: var(--beige);
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
/* A card is flat. Only an article card, which is a link, lifts on hover. */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.band.alt .card {
  background: var(--cream);
  box-shadow: none;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
}
.card h3 {
  font-size: 18px;
  margin: 10px 0 6px;
}
.feature .icon,
.open-col .icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(212, 171, 83, 0.13);
}

/* open columns: icon, heading, a short line — no box, nothing clickable-looking */
.grid.open {
  gap: 28px 32px;
  align-items: start;
}
.open-col h3 {
  font-size: 19px;
  margin: 14px 0 6px;
}
.open-col p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}
.band.navy .open-col p {
  color: var(--beige);
}
.band.navy .open-col .icon {
  background: rgba(212, 171, 83, 0.16);
}
.band.navy .card {
  background: var(--navy-2);
  border-color: rgba(212, 171, 83, 0.25);
  box-shadow: none;
}
.band.navy .card p {
  color: var(--beige);
}
.band.navy .icon {
  color: var(--gold);
}
.step-no {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font: 600 15px/26px var(--serif);
  text-align: center;
  vertical-align: 2px;
}

/* article cards: the whole card is one link (the title's, stretched) */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.post-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.post-card h3 {
  margin: 0;
  font-size: 19px;
}
.post-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.post-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.post-card:hover h3 a {
  text-decoration: underline;
}
.post-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .more {
  margin-top: auto;
  color: var(--gold-dark);
}

/* alternating rows: a screenshot beside a heading and text */
.showcase {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
}
.showcase + .showcase {
  border-top: 1px solid var(--line);
}
.showcase .phone {
  margin: 0 auto;
}
.showcase h3 {
  font-size: 24px;
}
.showcase p {
  color: var(--ink-soft);
}

/* FAQ: native details, no script */
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 28px 15px 0;
  font: 600 17px/1.5 var(--serif);
  color: var(--navy);
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--gold-dark);
  font-size: 22px;
}
details[open] summary::after {
  content: '–';
}
details > div {
  padding-bottom: 14px;
}
.faq details {
  max-width: 860px;
}
.note {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
  color: var(--ink-soft);
  max-width: var(--read);
  margin-top: 20px;
}

/* --- page bands (articles, the kept pages) ------------------------------------- */
.page-band {
  background: radial-gradient(
    circle at 85% 20%,
    var(--navy-2) 0%,
    var(--navy) 55%,
    var(--panel) 100%
  );
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
.page-band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  background: url('/assets/mandala.svg') center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.page-band .wrap {
  position: relative;
  padding-top: 32px;
  padding-bottom: 30px;
}
.page-band h1 {
  color: var(--gold-light);
  max-width: 24ch;
  margin-bottom: 10px;
}
.page-band .meta {
  color: var(--beige);
  font-size: 15px;
  margin: 0;
}
.page-band .meta a {
  color: var(--gold);
}
.crumb {
  font-size: 14px;
  margin-bottom: 8px;
}
.crumb a {
  color: var(--gold);
  text-decoration: none;
}

/* the kept pages keep one reading column */
main.page {
  max-width: calc(var(--read) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
}
main.page section {
  margin-bottom: 26px;
}
main.page ul {
  padding-left: 20px;
}
main.page li {
  margin-bottom: 10px;
}
.updated,
.note-small {
  color: var(--ink-soft);
  font-size: 14px;
}
.app-label {
  font-weight: 600;
}
.page-hero {
  background: var(--navy);
  color: var(--beige);
  text-align: center;
  padding: 28px 16px 30px;
}
.page-hero h1 {
  color: var(--gold-light);
}
.page-hero .mark {
  margin: 0 auto 12px;
  border-radius: 20px;
}
.page-hero .tagline {
  color: var(--gold);
  font: 600 18px/1.5 var(--serif);
  margin: 0;
}
.page-hero .coming {
  margin: 8px 0 0;
}

/* --- articles -------------------------------------------------------------------- */
.article-top {
  display: grid;
  gap: 32px;
  padding-top: 32px;
}
.prose {
  max-width: var(--read);
}
.prose h2 {
  font-size: 23px;
  margin-top: 30px;
  scroll-margin-top: 16px;
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin-bottom: 8px;
}
.prose figure {
  margin: 22px 0;
}
.prose figure img {
  border-radius: 16px;
  margin: 0 auto;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow);
}
.prose figure.phone-shot img {
  max-width: 300px;
}
figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.article-rest {
  padding-bottom: 8px;
}
.wide {
  margin: 8px 0 26px;
}
.summary-en {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 26px 0;
  max-width: var(--read);
}
.summary-en h2 {
  font-size: 18px;
  margin: 0 0 6px;
}
.summary-en p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* the sidebar: contents, the app card, related articles */
.sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}
.side-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.side-box h2 {
  font-size: 17px;
  margin: 0 0 10px;
}
.side-box ol,
.side-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}
.side-box li {
  margin-bottom: 6px;
}
.side-box a {
  color: var(--ink);
  text-decoration: none;
}
.side-box a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}
.app-card {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--beige);
  text-align: center;
}
.app-card .mark {
  margin: 0 auto 10px;
  border-radius: 14px;
}
.app-card h2 {
  color: var(--gold-light);
}
.app-card p {
  font-size: 15px;
  margin: 0 0 12px;
}
.app-card .soon {
  font-size: 15px;
  padding: 9px 16px;
}
.closing {
  margin: 26px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--beige);
  text-align: center;
}
.closing b {
  color: var(--gold-light);
}
.article-rest > .sidebar.after {
  margin: 8px 0 40px;
}

/* --- tables ------------------------------------------------------------------------ */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 16px;
}
.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table thead th {
  background: var(--beige);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
}
.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table .c {
  text-align: center;
}
.table tr.total td {
  font-weight: 600;
  background: var(--cream);
}
.syllables {
  table-layout: fixed;
}
.syllables th,
.syllables td {
  padding: 8px 4px;
  overflow-wrap: anywhere;
}
.syllables th:first-child {
  width: 27%;
  padding-left: 10px;
}
.syllables tbody th {
  font-weight: 600;
  font-size: 14px;
}
.syllables td b {
  font-size: 18px;
}
.syllables small {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-good {
  background: var(--good);
}
.dot-neutral {
  background: var(--gold-dark);
}
.dot-avoid {
  background: var(--bad);
}

/* --- footer ------------------------------------------------------------------------ */
footer.site {
  background: var(--navy);
  color: var(--beige);
  padding: 36px 0 30px;
  font-size: 15px;
}
footer.site a {
  color: var(--gold);
  text-decoration: none;
}
footer.site a:hover {
  text-decoration: underline;
}
footer.site .cols {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
footer.site .about .brand {
  margin-bottom: 10px;
}
footer.site h2 {
  color: var(--gold-light);
  font-size: 16px;
  margin: 0 0 10px;
}
footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.site li {
  margin-bottom: 7px;
}
footer.site .fine {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 171, 83, 0.2);
  color: #b9bfd3;
  font-size: 14px;
}

/* --- tablet: 641–1024 px -------------------------------------------------------------- */
@media (min-width: 641px) {
  :root {
    --gutter: 24px;
  }
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 34px;
  }
  .band {
    padding: 56px 0;
  }
  .grid.two,
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .showcase.flip .phone-col {
    order: 2;
  }
  .syllables th,
  .syllables td {
    padding: 10px 8px;
  }
  .syllables small {
    font-size: 13px;
  }
  footer.site .cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* --- desktop: 1025 px and up ----------------------------------------------------------- */
@media (min-width: 1025px) {
  :root {
    --gutter: 32px;
  }
  h1 {
    font-size: 38px;
  }
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    padding-top: 64px;
    padding-bottom: 72px;
    gap: 48px;
  }
  .hero-text {
    text-align: left;
  }
  .hero-text .mark {
    margin: 0 0 18px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero .tagline {
    font-size: 30px;
  }
  .hero .line {
    margin: 0 0 28px;
    font-size: 19px;
  }
  .phone {
    width: 300px;
  }
  .band {
    padding: 72px 0;
  }
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
  /* the phone and its text read as one unit, centred, without a wide gap */
  .showcase {
    grid-template-columns: auto minmax(0, 460px);
    justify-content: center;
    gap: 56px;
    padding: 36px 0;
  }
  .showcase.flip {
    grid-template-columns: minmax(0, 460px) auto;
  }
  .page-band .wrap {
    padding-top: 44px;
    padding-bottom: 40px;
  }
  .page-band h1 {
    font-size: 42px;
  }
  .article-top {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    padding-top: 40px;
  }
  .sidebar.beside {
    position: sticky;
    top: 16px;
  }
  footer.site .cols {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* --- phone and tablet: no sidebar; the contents list stands after the first
   paragraph, and the article ends with one "coming soon" line and the cards --- */
.toc-inline {
  margin: 4px 0 22px;
}
@media (max-width: 1024px) {
  .sidebar.beside {
    display: none;
  }
}
@media (min-width: 1025px) {
  .toc-inline {
    display: none;
  }
}
