/* The text pages (details, terms, privacy, refund, contact).
   Same warm white, fonts, nav, hills and footer as index.html, whose <style> holds the originals:
   change a token or the nav there, change it here too. */

@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-rupee.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/source-serif-4-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 105.8547%; ascent-override: 94.9414%; descent-override: 27.8684%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif 4 Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 87.0998%; ascent-override: 118.944%; descent-override: 38.4616%; line-gap-override: 0%; }

:root {
  --bg: #fffcf7; --surface: #ffffff; --well: #f7f4ed;
  --ink: #10231b; --ink2: #4a5a52; --ink3: #66716a;
  --line: rgba(16, 35, 27, .11); --line2: rgba(16, 35, 27, .2); --edge: #10231b;
  --accent: #17784f; --accent-hover: #198058; --accent-2: #0f5c3c; --accent-soft: #e4f2e9;
  --warm: #e5b53c; --warm-ink: #845c00; --warm-soft: #fdf3d8;
  --display: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --t1: 120ms; --t2: 200ms;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 var(--display); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; z-index: 100; left: 12px; top: -64px; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top var(--t2); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 43.75em) { .wrap { padding-inline: 32px; } }

/* ---------- Nav (as on index.html, without the scrollspy) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 1.0625rem var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; font-size: 0.9062rem; }
.nav .links { margin-left: auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); background: var(--surface); color: var(--ink2); }
.nav .links a { text-decoration: none; padding: 5px 14px; border-radius: 999px; transition: background var(--t2), color var(--t2); }
.nav .links a:hover { color: var(--ink); background: var(--well); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding: 0 8px 0 16px; margin-left: 8px; border-radius: 999px; font: 500 0.875rem var(--display); text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff; border: 1.5px solid var(--edge); box-shadow: 0 3px 0 var(--edge); transition: transform var(--t1) var(--ease), box-shadow var(--t1) var(--ease), background var(--t2); }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 0 var(--edge); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.btn .arr { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 0.8125rem; }
@media (max-width: 56.25em) { .nav .links { display: none; } .btn { margin-left: auto; } }
@media (max-width: 24em) { .nav .wrap { gap: 12px; } .brand { font-size: 0.875rem; } .btn .arr { display: none; } }

/* ---------- The text ---------- */
main { flex: 1; }
main:focus { outline: none; }
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 20px clamp(48px, 7vw, 88px); }
.doc h1 { margin: 0 0 20px; font-size: clamp(2.25rem, 5.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.doc h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.doc .lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.doc h2 { margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.doc h3 { margin: 28px 0 8px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc ul { margin: 0 0 14px; color: var(--ink2); text-wrap: pretty; }
.doc ul { padding-left: 0; list-style: none; }
.doc li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.doc li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color var(--t2); }
.doc a:hover { text-decoration-color: var(--accent); }
.doc blockquote { margin: 18px 0; padding: 18px 22px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line2); border-left: 4px solid var(--warm); color: var(--ink); }
.doc .card { margin: 24px 0; padding: 22px 24px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line2), 0 30px 60px -34px rgba(16, 35, 27, .32); }
.doc .card p { margin: 0; color: var(--ink); } .doc .card p + p { margin-top: 10px; }
.doc .card a { overflow-wrap: anywhere; }
.doc .draft { margin: 0 0 28px; padding: 12px 16px; border-radius: 12px; background: var(--warm-soft); box-shadow: inset 0 0 0 1px var(--warm); color: var(--warm-ink); font-size: 0.9375rem; }
.doc .note { font-size: 0.9375rem; color: var(--ink3); }
.doc > :first-child { margin-top: 0; }

/* ---------- Ending: low hills, the footer stands on the ground ---------- */
.end { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 120; min-height: 64px; margin-bottom: -1px; }
.end .o { stroke: var(--edge); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
footer { background: var(--well); border-top: 1.5px solid var(--edge); color: var(--ink2); font-size: 0.875rem; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; } .foot a:hover, .foot a[aria-current="page"] { color: var(--ink); }
.foot a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 47.5em) { .foot { flex-direction: column-reverse; justify-content: center; gap: 14px; padding-block: 22px 26px; text-align: center; } .foot nav { justify-content: center; gap: 6px 24px; } .foot > span { font-size: 0.8125rem; color: var(--ink3); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; } }
