/* Shared look for the public pages (privacy, terms, gift guides, About, How we earn, Contact), using the Dear Little Wish design tokens. */
:root {
  --ground: #F1F4EC; --surface: #FFFFFF; --sage-soft: #E4EDDF; --marigold-soft: #F6E3BC;
  --leaf: #2F6B4F; --ink: #1F3A2E; --muted: #4F6358; --line: #D5DDCB;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #121C17; --surface: #1A2821; --sage-soft: #213429; --marigold-soft: #3D3320;
    --leaf: #8CCBA6; --ink: #E8EFE4; --muted: #A9BAAE; --line: #2F4438; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
.page { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 20px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 24%; }
.brand span { color: var(--leaf); font-weight: 500; }
.back { color: var(--leaf); font-weight: 700; font-size: 15px; }
h1 { font-family: var(--font-display); font-size: clamp(32px, 7vw, 44px); line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { max-width: 68ch; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--leaf); }
.updated { color: var(--muted); margin: 0 0 20px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 20px; }
.summary ul { margin: 8px 0 0; }
.todo { background: var(--marigold-soft); border-radius: 6px; padding: 0 4px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--surface); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--sage-soft); font-weight: 700; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 16px; }
:focus-visible { outline: 3px solid #E9A93A; outline-offset: 2px; }

/* ---------- Public pages: gift guides, About, How we earn, Contact ---------- */
.page.wide { max-width: 1040px; }
.cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--leaf); color: var(--ground); font-weight: 700; text-decoration: none; white-space: nowrap; }
.crumbs { margin: 0 0 4px; font-size: 14px; }
.lead { font-size: 18px; max-width: 62ch; }
.disclosure { font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; max-width: none; }
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 24px 0; }
.gift { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.gift img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--sage-soft); }
.gift-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gift h3 { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.25; display: flex; justify-content: space-between; gap: 12px; }
.gift .price { font-family: var(--font-body); font-size: 15px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.gift p { margin: 0; }
.gift .shop { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--sage-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
.gift .also { font-size: 14px; color: var(--muted); }
.finder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--marigold-soft); border-radius: 22px; padding: 18px 20px; margin: 28px 0; }
.finder p { margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; text-decoration: none; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 24px 0; }
.guide-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.guide-tile img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.guide-tile span { padding: 12px 16px 16px; display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.guide-tile strong { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.guide-tile:hover strong, .guide-tile:focus-visible strong { color: var(--leaf); }
footer a { color: var(--leaf); }
