/* bharatlekh.com. One stylesheet, no scripts, nothing fetched from anywhere else. */
:root {
  --canvas: #f6f5f1; --surface: #fff; --sunken: #f0eee9; --line: #e5e2da;
  --ink: #1c1b18; --ink-soft: #3f3d38; --muted: #6f6b63;
  --brand-50: #eef1fb; --brand-100: #dfe4f6; --brand-200: #c3ccee; --brand-700: #2f3a7d; --brand-800: #263066; --brand-900: #1f2a5c;
  --gold-300: #efd08a; --gold-700: #a3741f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-900); }
:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand b { display: block; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; }
.brand small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.2; }
nav { display: flex; align-items: center; gap: .25rem 1.1rem; flex-wrap: wrap; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: .7rem 0; }
nav a[aria-current="page"] { color: var(--brand-900); font-weight: 600; }
.button {
  display: inline-block; background: var(--brand-900); color: #fff !important; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: .6rem; font-weight: 600; line-height: 1.2;
}
.button:hover { background: var(--brand-800); }
.button.small { padding: .8rem 1.1rem; font-size: .92rem; }
.button.quiet { background: transparent; color: var(--brand-900) !important; border: 1px solid var(--brand-200); }
.button.quiet:hover { background: var(--brand-50); }

/* hero */
.hero { background: var(--brand-900); color: #fff; padding: 4rem 0 4.25rem; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 1rem; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero p { color: var(--brand-100); max-width: 56ch; margin: 0 0 1.75rem; font-size: 1.08rem; }
.hero .button { background: var(--gold-300); color: var(--brand-900) !important; }
.hero .button:hover { background: #f5dca3; }
.hero .button.quiet { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }
.hero .button.quiet:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* sections */
section { padding: 3.25rem 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.015em; margin: 0 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.lede { color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; padding: 1.25rem 1.35rem; }
section.alt .card { background: var(--canvas); }
.card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.steps li { counter-increment: step; background: var(--brand-50); border-radius: .75rem; padding: .9rem 1rem; font-weight: 600; color: var(--brand-900); }
.steps li::before { content: counter(step); display: block; font-size: .8rem; color: var(--gold-700); margin-bottom: .15rem; }
.steps li small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; line-height: 1.4; margin-top: .2rem; }
.price { max-width: 34rem; }
.price .figure { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; color: var(--brand-900); margin: .25rem 0 .75rem; }
ul.ticks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
ul.ticks li { padding-left: 1.6rem; position: relative; margin: .4rem 0; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: #1f7a4d; font-weight: 700; }

.gap-sm { margin-top: .5rem !important; }
.gap { margin-top: 1.5rem !important; }
.gap-lg { margin-top: 2rem !important; }
.gap-xl { margin-top: 3rem !important; }
.lede.tight { margin-bottom: 1rem; }

/* documents: terms, privacy, refunds */
.doc { max-width: 46rem; padding: 3rem 0 4rem; }
.doc h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4rem; }
.doc .updated { color: var(--muted); font-size: .92rem; margin: 0 0 2rem; }
.doc h2 { font-size: 1.25rem; margin: 2.25rem 0 .5rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin: .35rem 0; }
.doc .summary { background: var(--brand-50); border-radius: .8rem; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.doc .summary p { margin: .35rem 0; color: var(--brand-900); }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.table th, .table td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); min-width: 9rem; }
.table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
address { font-style: normal; }

/* footer */
.foot { background: var(--brand-900); color: var(--brand-200); padding: 2.75rem 0 3rem; font-size: .92rem; }
.foot a { color: #fff; }
.foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-300); margin: 0 0 .5rem; }
.foot h2:not(:first-child) { margin-top: 1.25rem; }
.foot p { margin: 0 0 .75rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.foot-brand { font-size: 1.05rem; color: #fff; }
.foot-brand span { color: var(--brand-200); margin-left: .35rem; }
.links a { display: inline-block; margin: 0 .9rem .35rem 0; }

@media (max-width: 30rem) {
  .hero { padding: 2.75rem 0 3rem; }
  section { padding: 2.5rem 0; }
  .actions .button { width: 100%; text-align: center; }
}
