/* ==========================================================================
   Biryani Katha — legal pages (Terms & Conditions, Privacy Policy)
   Standalone readable document styling. Reuses brand palette + fonts.
   ========================================================================== */

:root {
  --green: #3e5626;
  --mustard: #c08529;
  --cream: #fadd9d;
  --card: #fdf7ea;
  --ink: #262010;
  --muted: #5c5540;
}

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

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

body {
  background: var(--green);
  color: var(--ink);
  font-family: 'Satoshi', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 3rem);
}

/* ---- top bar ---- */
.legal-nav {
  max-width: 52rem;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.legal-nav .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}
.legal-nav .brand:hover { opacity: 0.85; }
.legal-nav .back {
  color: var(--cream);
  font-weight: 700;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  text-decoration: none;
  white-space: nowrap;
}
.legal-nav .back:hover { text-decoration: underline; }

/* ---- content card ---- */
.legal-card {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 5vw, 4rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.legal-card h1 {
  font-family: 'Bowlby One SC', cursive;
  font-weight: 400;
  color: var(--green);
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.legal-card .updated {
  color: var(--muted);
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
  font-weight: 500;
  margin-top: 0.75rem;
}

.legal-card .rule {
  height: 0.28rem;
  width: 4.5rem;
  background: var(--mustard);
  border: none;
  border-radius: 1rem;
  margin: 1.5rem 0 2.25rem;
}

.legal-card .lede {
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: var(--ink);
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  color: var(--green);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  letter-spacing: 0.03em;
  margin: 2.25rem 0 0.75rem;
  line-height: 1.15;
}

.legal-card h2:first-of-type { margin-top: 0; }

.legal-card p,
.legal-card li {
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-card li { margin-bottom: 0.5rem; }

.legal-card a {
  color: var(--mustard);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.legal-card a:hover { text-decoration: underline; }

.legal-card address {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
}

/* ---- page footer ---- */
.legal-foot {
  max-width: 52rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  text-align: center;
  color: var(--cream);
  font-size: clamp(0.8rem, 2.4vw, 0.9rem);
  font-weight: 500;
}
.legal-foot a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}
.legal-foot a:hover { text-decoration: underline; }
.legal-foot .sep { opacity: 0.5; margin: 0 0.6rem; }
