/* Shared styles for the secondary pages (privacy, terms, thanks, 404). Tokens match index.html. */
@font-face { font-family: "Albert Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/albert-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 700; font-display: swap; src: url(/assets/fonts/albert-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 800; font-display: swap; src: url(/assets/fonts/albert-sans-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --green: #0E4F30; --green-deep: #093822; --blue: #0B5A96; --bag: #F8F7F2;
  --ink: #13241B; --muted: #4C5B53; --line: #D9DED8; --yellow: #F2C417;
  --sans: "Albert Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand__eco { color: var(--green); } .brand__sort { color: var(--blue); }
.brand__sub { display: block; margin-top: 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; color: var(--blue); }
.back { font-weight: 700; text-decoration: none; }
.back:hover { text-decoration: underline; }

.doc { max-width: 46em; padding-block: clamp(36px, 7vw, 80px); }
.doc h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; color: var(--green); }
.doc .updated { margin: 0 0 32px; color: var(--muted); }
.doc .lede { font-size: 1.2rem; font-weight: 500; }
.doc h2 { margin: 40px 0 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; color: var(--green); }
.doc h3 { margin: 24px 0 6px; font-size: 1.1rem; }
.doc p, .doc ul, .doc table { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; }
  .doc thead { display: none; }
  .doc tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 700; }
  .doc td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

.message { min-height: 60vh; display: grid; align-content: center; padding-block: 64px; }
.message h1 { margin: 0; font-size: clamp(2.6rem, 9vw, 5.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; color: var(--green); }
.message p { margin: 20px 0 0; max-width: 30em; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.4; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 24px; margin-top: 28px; justify-self: start;
  font: inherit; font-weight: 700; text-decoration: none; border-radius: 8px; background: var(--green); color: #fff; }
.btn:hover { background: var(--green-deep); }

.foot { background: var(--green-deep); color: #CFE0D6; padding-block: 32px; font-size: 1rem; }
.foot a { color: var(--yellow); }
.foot p { margin: 0; }
.foot p + p { margin-top: 6px; }
.foot__tagline { font-family: var(--label); text-transform: uppercase; font-size: 2rem; line-height: 1; color: #fff; margin-bottom: 14px !important; }
