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

:root {
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #6d655c;
  --faint: #8a8176;
  --line: #e4dcd0;
  --paper: #f6f1e8;
  --paper-2: #efe8dc;
  --card: #fffcf7;
  --white: #ffffff;
  --gold: #8a6420;
  --gold-deep: #6e4e16;
  --gold-soft: rgba(138, 100, 32, 0.1);
  --danger: #8f2d2d;
  --shadow: 0 18px 50px rgba(28, 25, 21, 0.08);
  --nav-h: 64px;
  --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.skip {
  position: absolute; left: 1rem; top: -40px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 0.5rem 0.8rem; border-radius: 8px;
}
.skip:focus { top: 0.6rem; }

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-weight: 650; letter-spacing: -0.03em; font-size: 1.02rem;
}
.mark {
  width: 28px; height: 28px; color: var(--gold-deep);
}
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: 0.9rem; color: var(--ink-soft);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a.btn { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu-btn {
  display: none; border: 1px solid var(--line); background: var(--card);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; margin: 0 auto;
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: none; cursor: pointer;
  background: var(--gold); color: #fff;
  font-size: 0.92rem; font-weight: 600;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--gold-deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.btn-nav { padding: 0.55rem 0.95rem; font-size: 0.84rem; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); }
.btn-block { width: 100%; }

.hero {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(196, 165, 116, 0.28), transparent 60%),
    var(--paper);
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem;
}
.kicker i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: block; font-style: normal;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; font-weight: 680; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); max-width: 12ch; }
.lede {
  margin-top: 1.15rem; max-width: 38rem;
  font-size: 1.12rem; color: var(--ink-soft); line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.fine { margin-top: 0.9rem; color: var(--muted); font-size: 0.86rem; }

.day-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1.35rem 1.35rem 1.1rem;
}
.day-card header {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem;
}
.day-card header strong { font-size: 0.95rem; }
.day-card header span { font-size: 0.78rem; color: var(--muted); }
.slot {
  display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.7rem;
  padding: 0.85rem 0; border-top: 1px solid var(--line);
}
.slot time { font-variant-numeric: tabular-nums; font-size: 0.84rem; color: var(--gold-deep); font-weight: 650; }
.slot p { font-size: 0.92rem; }
.slot small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.day-note {
  margin-top: 0.4rem; background: var(--gold-soft); color: var(--gold-deep);
  border-radius: 10px; padding: 0.7rem 0.8rem; font-size: 0.82rem;
}

.section { padding: 5rem 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #f6f1e8; }
.section-ink .muted, .section-ink p { color: rgba(246, 241, 232, 0.72); }
.overline {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
}
.section-ink .overline { color: #e4c98a; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 18ch; }
.sub { margin-top: 0.8rem; color: var(--muted); max-width: 40rem; font-size: 1.02rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.3rem 1.5rem;
}
.section-paper .card { background: var(--white); }
.num { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; }
.card h3 { margin: 0.7rem 0 0.45rem; font-size: 1.2rem; }
.card p, .prose p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.card p + p, .prose p + p { margin-top: 0.7rem; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.traits { display: flex; flex-direction: column; }
.trait { padding: 1rem 0; border-top: 1px solid var(--line); }
.trait strong { display: block; margin-bottom: 0.2rem; }
.trait span { color: var(--muted); font-size: 0.92rem; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 1rem; border-top: 1px solid var(--line); }
.step b {
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); font-size: 0.8rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; display: flex; flex-direction: column; }
.plan.featured { border-color: #d7c4a2; box-shadow: var(--shadow); }
.plan .price { font-size: 2rem; letter-spacing: -0.04em; font-weight: 700; margin: 0.4rem 0; }
.plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0.4rem 0 1.2rem; }
.plan li { padding: 0.38rem 0 0.38rem 1.1rem; position: relative; color: var(--ink-soft); font-size: 0.92rem; }
.plan li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 0.7rem; }
.plan .btn { margin-top: auto; }

.addon {
  margin-top: 1rem; border: 1px dashed #d7c4a2; border-radius: 16px; padding: 1.2rem 1.3rem;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; background: var(--paper);
}
.addon strong { font-size: 1.05rem; }
.addon p { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; max-width: 46rem; }

.zones { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.zone {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 0.45rem 0.8rem; font-size: 0.88rem;
}

.pledge {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem;
}
.pledge article { border-radius: 16px; padding: 1.3rem; }
.pledge .helper-pledge { background: #2a241e; }
.pledge .home-pledge { background: #3a3126; }
.pledge h3 { color: #f6f1e8; font-size: 1.05rem; margin-bottom: 0.5rem; }
.pledge p { color: rgba(246, 241, 232, 0.75); font-size: 0.92rem; }

.faq details { border-top: 1px solid var(--line); padding: 0.95rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 0.55rem; max-width: 46rem; font-size: 0.95rem; }

.page-hero { padding: 3.2rem 0 1rem; background: var(--paper); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.narrow { max-width: 760px; }

.form-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; align-items: start; }
.checks { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; color: var(--ink-soft); font-size: 0.92rem; }
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem;
  box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.8rem; }
.field.span { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 650; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 10px; padding: 0.7rem 0.75rem; font-size: 0.95rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.86rem; color: var(--ink-soft); margin: 0.35rem 0 0.7rem;
}
.consent input { margin-top: 0.2rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { color: var(--danger); font-size: 0.88rem; margin-bottom: 0.7rem; min-height: 1.1em; }
.telugu { font-size: 1.05rem; color: var(--ink-soft); margin-top: 0.4rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 2rem; background: var(--paper); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; }
.footer-links a { text-decoration: none; font-size: 0.88rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.legal { width: min(var(--max), calc(100% - 2.5rem)); margin: 1.4rem auto 0; color: var(--faint); font-size: 0.78rem; }

@media (max-width: 900px) {
  .hero-grid, .split, .form-layout, .plans, .pillars, .pledge { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .addon { flex-direction: column; align-items: flex-start; }
  h1 { max-width: none; }
}
@media (max-width: 720px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 0.8rem 1.25rem 1.1rem; gap: 0.85rem;
  }
  body.nav-open .nav-links { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-inner, .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
  .section { padding: 3.4rem 0; }
  .hero { padding: 2.4rem 0 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
