/* Mandi 24x7 website: one stylesheet for the landing page and the legal pages. Mobile-first. */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #fbf5ea;
  --card: #ffffff;
  --green: #0e6b32;
  --green-ink: #0e6b32;      /* green used for text/links */
  --green-deep: #0a4f25;
  --saffron: #f28c28;
  --saffron-ink: #b4530a;    /* saffron dark enough for text on cream */
  --red: #e2432a;
  --text: #1b1a12;
  --muted: #6b6457;
  --line: #eadfca;
  --tint: #f3ead8;
  --leaf: #e4f1e7;
  --mark: #ffe9a8;
  --shadow: 0 1px 2px rgba(60, 45, 20, .06), 0 8px 24px rgba(60, 45, 20, .08);
  --shadow-lg: 0 2px 4px rgba(60, 45, 20, .08), 0 24px 48px rgba(60, 45, 20, .16);
  --radius: 20px;
  --display: "Baloo 2", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #121212;
    --card: #1d1c19;
    --green-ink: #6fcf93;
    --saffron-ink: #f7a85a;
    --text: #f3eee4;
    --muted: #b7ae9f;
    --line: #34302a;
    --tint: #191816;
    --leaf: #17271c;
    --mark: #6b5414;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 48px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 16px/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
h1, h2 { letter-spacing: -.01em; }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons and badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border-radius: 14px; border: 2px solid transparent;
  background: var(--green); color: #fff;
  font: 700 17px/1.1 var(--display); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn-ghost { background: transparent; color: var(--green-ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--leaf); }
.btn-saffron { background: var(--saffron); color: #1b1a12; }
.btn-saffron:hover { background: #ffa04a; }

.play-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 7px 18px 7px 14px;
  background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 12px;
  font: 600 20px/1 var(--body); text-decoration: none; letter-spacing: -.01em;
}
.play-badge small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.play-badge .play-ico { width: 24px; height: 26px; }
a.play-badge:hover { background: #1f1f1f; }
.play-badge.is-soon { cursor: default; }
.play-badge.is-soon small { text-transform: none; letter-spacing: 0; font-size: 12px; color: #d8d8d8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
.brand img { display: block; height: 44px; width: auto; }
.nav { order: 3; width: 100%; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--text); text-decoration: none; white-space: nowrap;
  font: 600 15px/1 var(--display); padding: 10px 8px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current] { color: var(--green-ink); background: var(--leaf); }
@media (min-width: 860px) {
  .bar { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 50px; }
  .nav { order: 0; width: auto; margin: 0 0 0 auto; gap: 6px; }
  .nav a { padding: 10px 12px; font-size: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.sec-head { margin-bottom: 32px; max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(28px, 6vw, 42px); font-weight: 800; color: var(--text); }
.kicker {
  margin: 0 0 6px; color: var(--saffron-ink);
  font: 700 14px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; display: flex; align-items: center; gap: 6px; }
.fine.center { justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 36px 0 24px;
  background:
    radial-gradient(60% 50% at 95% 10%, color-mix(in srgb, var(--saffron) 18%, transparent), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--leaf); color: var(--green-ink);
  font: 700 14px/1.2 var(--display);
}
.hero h1 { font-size: clamp(36px, 9vw, 64px); font-weight: 800; }
.hero h1 .hl { color: var(--green-ink); }
.hindi { margin: 10px 0 0; color: var(--saffron-ink); font: 700 clamp(22px, 5vw, 30px)/1.3 var(--display); }
.lead { margin: 14px 0 0; font-size: 18px; color: var(--muted); max-width: 34em; }

.hero-art { position: relative; display: grid; place-items: center; padding: 16px 0 8px; }
.ring { position: absolute; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--green) 22%, transparent); pointer-events: none; }
.ring.r1 { width: 330px; height: 330px; }
.ring.r2 { width: 460px; height: 460px; border-style: dashed; opacity: .7; }
/* Phone-width layout: small bubbles that only touch the phone's bezel, never its content */
.bubble {
  position: absolute; z-index: 2; width: 66px; height: 66px; border-radius: 50%;
  background: #fff; border: 4px solid #fff; box-shadow: var(--shadow-lg); object-fit: cover;
}
.b1 { top: 9%; left: calc(50% - 178px); }
.b2 { top: 30%; right: calc(50% - 178px); width: 58px; height: 58px; }
.b3 { bottom: 34%; left: calc(50% - 176px); width: 58px; height: 58px; }
.b4 { bottom: 9%; right: calc(50% - 178px); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .ring.r1 { width: 420px; height: 420px; }
  .ring.r2 { width: 560px; height: 560px; }
  .bubble { width: 118px; height: 118px; border-width: 6px; }
  .b1 { left: calc(50% - 250px); }
  .b2 { right: calc(50% - 240px); width: 96px; height: 96px; }
  .b3 { left: calc(50% - 236px); width: 96px; height: 96px; }
  .b4 { right: calc(50% - 255px); }
}

/* ---------- Phone mockup ---------- */
.phone {
  --pw: 236px;
  position: relative; z-index: 1;
  width: var(--pw); padding: calc(var(--pw) * .035);
  border-radius: calc(var(--pw) * .15);
  background: #1b1a17;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3833;
  font-size: calc(var(--pw) / 21);
}
.phone::before { /* camera notch */
  content: ""; position: absolute; z-index: 3; top: calc(var(--pw) * .06); left: 50%;
  width: calc(var(--pw) * .07); height: calc(var(--pw) * .07); transform: translateX(-50%);
  border-radius: 50%; background: #0c0c0b;
}
.phone-hero { --pw: 248px; }
@media (min-width: 900px) { .phone-hero { --pw: 300px; } }
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 19; border-radius: calc(var(--pw) * .12);
  background: #fbf5ea; color: #1b1a12;
  font-family: var(--body); line-height: 1.3;
  display: flex; flex-direction: column;
}
.screen .shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen .ico { width: 1.3em; height: 1.3em; vertical-align: middle; }
.s-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .5em;
  padding: 2.6em 1.1em .9em; background: #0e6b32; color: #fff;
}
.s-bar b { display: block; font: 700 1.25em/1.1 var(--display); }
.s-bar small { display: block; font-size: .8em; opacity: .85; margin-top: .15em; }
.s-search {
  display: flex; align-items: center; gap: .5em; margin: .8em .9em .4em; padding: .6em .8em;
  background: #fff; border-radius: 1em; color: #8a8273; font-size: .92em; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.s-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-mic { color: #0e6b32; }
.s-tabs { display: flex; align-items: center; gap: .4em; padding: .3em .9em .5em; font: 700 .9em/1 var(--display); }
.s-tabs span { padding: .45em .8em; border-radius: 99px; background: #efe6d4; color: #6b6457; }
.s-tabs .on { background: #0e6b32; color: #fff; }
.s-tabs .s-sort { margin-left: auto; background: #fff1df; color: #b4530a; display: inline-flex; align-items: center; gap: .2em; }
.s-list { list-style: none; margin: 0; padding: 0 .7em; }
.s-list li {
  display: flex; align-items: center; gap: .6em;
  padding: .45em .4em; margin-bottom: .35em; background: #fff; border-radius: .8em;
}
.s-list img { width: 2.6em; height: 2.6em; border-radius: .6em; flex: none; }
.s-name { flex: 1; min-width: 0; font-weight: 600; font-size: .95em; }
.s-name small, .s-price small { display: block; font-weight: 400; font-size: .78em; color: #6b6457; }
.s-name em { font-style: normal; font-size: .72em; font-weight: 700; color: #fff; background: #f28c28; padding: .1em .45em; border-radius: 99px; margin-left: .35em; vertical-align: .15em; }
.s-price { text-align: right; font: 800 1.15em/1.05 var(--display); color: #0e6b32; }
.s-price small { display: inline; }
.s-price .s-from { display: block; }
.s-price.paid { color: #b4530a; }
.s-cut {
  margin: auto .9em .9em; padding: .6em; border-radius: .8em; text-align: center;
  background: #fff1df; color: #b4530a; font-weight: 700; font-size: .85em;
}
.s-hero { text-align: center; padding: .8em 0 .2em; }
.s-hero img { width: 6.5em; height: 6.5em; border-radius: 50%; border: .3em solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.s-hero p { margin: .3em 0 .5em; font-size: .85em; color: #6b6457; }
.s-shops li { padding: .7em .8em; }
.s-add {
  width: 1.7em; height: 1.7em; border-radius: 50%; background: #0e6b32; color: #fff;
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.s-group { margin: .7em 0 .1em; }
.s-group > b { display: block; padding: 0 1.1em .35em; font: 700 .95em/1.2 var(--display); color: #0e6b32; }
.s-sum { margin: .5em .9em; padding: .7em .9em; background: #fff; border-radius: .8em; font-size: .9em; }
.s-sum p { display: flex; justify-content: space-between; margin: .15em 0; }
.s-sum .s-note { justify-content: flex-start; gap: .35em; color: #b4530a; font-weight: 600; margin-top: .4em; }
.s-btn {
  margin: auto .9em 1em; padding: .8em; border-radius: .9em; text-align: center;
  background: #0e6b32; color: #fff; font: 700 1em/1 var(--display);
}
.s-steps { list-style: none; margin: .8em .9em; padding: .4em 0 .4em 1.6em; position: relative; background: #fff; border-radius: .9em; }
.s-steps li { position: relative; padding: .55em .8em .55em .4em; }
.s-steps li::before {
  content: ""; position: absolute; left: -1.15em; top: .85em; width: .85em; height: .85em;
  border-radius: 50%; background: #e3dccd; box-shadow: 0 0 0 .2em #fff;
}
.s-steps li:not(:last-child)::after { content: ""; position: absolute; left: -.8em; top: 1.75em; bottom: -.85em; width: .15em; background: #e3dccd; }
.s-steps li.done::before, .s-steps li.done::after { background: #0e6b32; }
.s-steps li.now::before { background: #f28c28; box-shadow: 0 0 0 .2em #fff, 0 0 0 .45em rgba(242,140,40,.3); }
.s-steps b { display: block; font-size: .95em; }
.s-steps li:not(.done):not(.now) b { color: #9a9283; font-weight: 500; }
.s-steps small { color: #6b6457; font-size: .78em; }
.s-due {
  margin: .9em .9em .6em; padding: .9em 1em; border-radius: 1em; color: #fff;
  background: linear-gradient(135deg, #0e6b32, #138a43);
}
.s-due small { display: block; opacity: .85; font-size: .8em; }
.s-due b { display: block; font: 800 2.2em/1 var(--display); margin: .1em 0; }
.s-due span { font-size: .78em; opacity: .9; }
.s-ledger li { padding: .65em .8em; }

/* ---------- How it works ---------- */
.steps-grid, .feat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { position: relative; padding: 26px 22px 22px; }
.step h3 { font-size: 24px; font-weight: 800; margin: 14px 0 4px; }
.step p { margin: 0; color: var(--muted); }
.step-ico {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: var(--leaf); color: var(--green-ink);
}
.step-ico .ico { width: 32px; height: 32px; }
.step-no {
  position: absolute; top: 18px; right: 22px;
  font: 800 52px/1 var(--display); color: color-mix(in srgb, var(--saffron) 35%, transparent);
}
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- For buyers ---------- */
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.feat > .ico {
  width: 46px; height: 46px; padding: 10px; border-radius: 14px;
  background: color-mix(in srgb, var(--saffron) 16%, var(--card)); color: var(--saffron-ink);
}
.feat h3 { font-size: 19px; font-weight: 700; }
.feat p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- For vendors ---------- */
.section-green {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(242, 140, 40, .22), transparent 70%),
    linear-gradient(160deg, #0e6b32, #0a4f25);
  color: #f6f1e4;
}
.section-green .sec-head h2 { color: #fff; }
.section-green .kicker { color: #ffc37f; }
.section-green .fine { color: #d7e6da; }
.vendor-grid { display: grid; gap: 36px; align-items: center; }
.v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.v-list .ico {
  width: 42px; height: 42px; padding: 9px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); color: #ffc37f;
}
.v-list b { color: #fff; }
.vendor-card { padding: 20px; max-width: 400px; width: 100%; justify-self: center; color: var(--text); background: var(--card); }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 16px;
  border-radius: 14px; background: color-mix(in srgb, var(--saffron) 16%, var(--card));
}
.toast .ico { width: 28px; height: 28px; color: var(--saffron-ink); }
.toast small, .vc-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.vc-title { margin: 0 0 10px; font: 800 20px/1.2 var(--display); color: var(--green-ink); }
.vc-list { list-style: none; margin: 0; padding: 0; }
.vc-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.25; font-weight: 600; }
.vc-list img { width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.vc-list span { flex: 1; }
.vc-list b { font: 800 20px/1 var(--display); color: var(--green-ink); }
@media (min-width: 900px) { .vendor-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; } .v-list { grid-template-columns: 1fr 1fr; gap: 16px 24px; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-row {
  list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
}
.trust-row li { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--display); }
.trust-row .ico { width: 30px; height: 30px; color: var(--green-ink); }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, auto); justify-content: space-between; } .trust-row li { font-size: 17px; } }

/* ---------- Screenshots carousel ---------- */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.sec-head-row > div:first-child { max-width: 720px; }
.car-btns { display: none; gap: 8px; flex: none; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--green-ink); box-shadow: var(--shadow);
}
.car-btn:disabled { opacity: .4; cursor: default; }
@media (min-width: 760px) { .car-btns { display: flex; } }
.carousel {
  list-style: none; margin: 0 -16px; padding: 8px 16px 20px;
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: thin;
}
.slide { flex: none; scroll-snap-align: start; }
.slide .phone { --pw: 228px; }
.cap { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); max-width: 228px; }
.cap b { display: block; color: var(--text); font: 700 17px/1.3 var(--display); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; font: 700 18px/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--leaf); color: var(--green-ink); font-size: 22px; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- Final call to action ---------- */
.final { padding: 56px 0 64px; }
.final-card {
  position: relative; overflow: hidden; border-radius: 26px; background: #0e6b32; color: #fff;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.final-bg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: right center; order: 2; }
.final-copy { position: relative; padding: 32px 24px 8px; }
.final-copy h2 { font-size: clamp(30px, 7vw, 46px); font-weight: 800; max-width: 12em; }
.final-copy p { margin: 8px 0 20px; color: #dcebdf; font-size: 18px; }
.play-badge.on-dark { border-color: rgba(255, 255, 255, .55); }
@media (min-width: 760px) {
  .final-card { display: block; min-height: 400px; }
  .final-bg { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: right 40%; }
  .final-copy { padding: 56px 48px; max-width: 54%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 32px 0 36px; }
.foot { display: grid; gap: 16px; justify-items: center; text-align: center; }
.foot .brand img { height: 46px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot-links a { color: var(--text); font-weight: 600; text-decoration: none; padding: 6px 0; }
.foot-links a:hover { color: var(--green-ink); text-decoration: underline; }
.copy { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 860px) {
  .foot { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; }
  .foot-links { justify-content: flex-end; justify-self: end; }
  .copy { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 880px; margin: 24px auto 56px; padding: 0 16px; }
.legal article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px clamp(18px, 4vw, 44px); box-shadow: var(--shadow); }
.legal h1 { color: var(--green-ink); font-size: clamp(30px, 5vw, 40px); font-weight: 800; margin: 0 0 6px; }
.legal h2 { color: var(--green-ink); font-size: 22px; font-weight: 700; margin: 30px 0 8px; }
.legal h3 { font-size: 18px; margin: 18px 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .steps li { margin: 8px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--tint); }
.legal .note { background: color-mix(in srgb, var(--saffron) 12%, var(--card)); border-left: 4px solid var(--saffron); padding: 12px 14px; border-radius: 8px; }
@media (max-width: 560px) {
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal tr:first-child { display: none; }
  .legal tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .legal td { border: 0; padding: 2px 4px; }
  .legal td:first-child { font-weight: 700; }
}
