/* [build 2026-09-28-pages-v1] BoffoCakes info & policy pages (about, contact, delivery, terms, privacy, refund-policy) */
:root {
  --bc-cream: #F6EFE0;
  --bc-cream-warm: #FBF4E5;
  --bc-sage-deep: #6B8268;
  --bc-sage-deeper: #4F6651;
  --bc-warm-gold-deep: #A6741A;
  --bc-charcoal: #2A2520;
  --bc-charcoal-soft: #5D544A;
  --line: rgba(45,41,36,0.10);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--bc-charcoal); background: var(--bc-cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--bc-sage-deeper); }

.topnav { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.topnav .brand { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--bc-charcoal); text-decoration: none; }
.topnav .brand em { color: var(--bc-warm-gold-deep); }
.topnav-links { display: flex; gap: 16px; font-size: 14px; }
.topnav-links a { color: var(--bc-charcoal-soft); text-decoration: none; white-space: nowrap; }
.topnav-links a:hover { color: var(--bc-charcoal); }

main.page { max-width: 760px; margin: 0 auto; padding: 40px 18px 64px; }
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-warm-gold-deep); font-weight: 600; margin: 0 0 8px; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
h1 em { font-style: italic; color: var(--bc-sage-deeper); }
.lede { font-size: 17px; color: var(--bc-charcoal-soft); margin: 0 0 28px; }
.updated { font-size: 13px; color: var(--bc-charcoal-soft); margin: 4px 0 24px; }
h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.25; margin: 36px 0 10px; text-wrap: balance; }
h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.card p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 18px 0; }
.facts .card { margin: 0; }
.facts b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bc-warm-gold-deep); margin-bottom: 4px; }

.tbl { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bc-charcoal-soft); background: var(--bc-cream-warm); font-weight: 600; }
tr:last-child td { border-bottom: none; }

.btn { display: inline-block; padding: 12px 20px; border-radius: 100px; background: var(--bc-sage-deep); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--bc-sage-deeper); }
.btn.secondary { background: transparent; color: var(--bc-sage-deeper); border: 1px solid var(--bc-sage-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.pin-check { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pin-check input { flex: 1 1 160px; font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(45,41,36,0.2); background: #fff; }
.pin-check input:focus { outline: none; border-color: var(--bc-sage-deep); box-shadow: 0 0 0 3px rgba(107,130,104,0.18); }
.pin-check button { font: inherit; font-weight: 600; padding: 11px 18px; border-radius: 10px; border: none; background: var(--bc-sage-deep); color: #fff; cursor: pointer; }
.pin-result { margin-top: 10px; font-size: 15px; min-height: 1.5em; }
.pin-result.ok { color: var(--bc-sage-deeper); }
.pin-result.no { color: #A5483A; }

.bc-footer { background: var(--bc-charcoal); color: rgba(255,255,255,0.72); padding: 36px 18px 40px; text-align: center; font-size: 13px; line-height: 1.7; }
.bc-footer p { margin: 6px auto; max-width: none; }
.bc-footer a { color: rgba(255,255,255,0.88); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.3); }
.bc-footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 14px; }
.bc-footer .legal { color: rgba(255,255,255,0.55); font-size: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #B9CDB5; outline-offset: 2px; }
@media (max-width: 480px) { main.page { padding-top: 28px; } .topnav-links { gap: 12px; font-size: 13px; } }
@media (max-width: 400px) { .topnav-links a.hide-small { display: none; } }
