/* Shared styles for the content + policy pages.
   index.html keeps its own inline CSS so the money page has no render-blocking request. */

:root {
  --ink: #173128;
  --muted: #64736c;
  --green: #174c38;
  --green-soft: #e8f1ec;
  --cream: #fbf8f1;
  --gold: #b8893f;
  --line: #dfe7e2;
  --shadow: 0 14px 40px rgba(26, 69, 51, .10);
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
  padding: 10px 16px; z-index: 60; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

.top-note { background: var(--green); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 9px 14px; margin: 0; }
/* Emoji stack: Windows has no flag glyphs, so the sequence degrades to the
   letters "US" there - still legible, which is why the words say USA too. */
/* One clean line on phones: the flag + "Shipping all over the USA" is the
   message that matters. Pack sizes and price sit in the hero right below. */
.top-note-more { display: none; }
@media (min-width: 620px) { .top-note-more { display: inline; } }
.top-note .flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  font-size: 1.15em; line-height: 1; vertical-align: -.05em; margin-right: 2px;
}


/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 241, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 76, 56, .10);
}
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 11px; background: var(--green); color: #fff;
}
.brand-mark svg { width: 21px; height: 21px; }
.brand strong { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.05; }
.brand small { display: none; color: var(--muted); font-weight: 600; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 650; }
.links a { color: #345046; text-decoration: none; }
.links a:not(.nav-buy) { display: none; }
.nav-buy {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px; background: var(--green); color: #fff !important; border-radius: 999px; font-weight: 700;
}

/* ---------- Article ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b3c2ba; }
.crumbs a { color: var(--muted); }

article { padding: 8px 0 56px; }
.page-head { padding: 22px 0 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--green);
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
h1 { font-size: clamp(30px, 6.6vw, 50px); margin: 10px 0 12px; color: #143528; }
.standfirst { font-size: 19px; color: #50655c; margin: 0 0 8px; }
.byline { font-size: 13px; color: var(--muted); margin: 0; }

article h2 { font-size: clamp(24px, 4.6vw, 33px); margin: 40px 0 12px; }
article h3 { font-size: clamp(19px, 3.4vw, 23px); margin: 28px 0 8px; }
article p { margin: 0 0 16px; }
article ul, article ol { margin: 0 0 18px; padding-left: 22px; }
article li { margin-bottom: 8px; }
article figure { margin: 26px 0; }
article figure img { border-radius: 18px; border: 1px solid var(--line); width: 100%; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.callout {
  background: var(--green-soft); border: 1px solid #cfe2d7; border-left: 4px solid var(--green);
  border-radius: 12px; padding: 16px 18px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green); }

.todo {
  background: #fdf4e3; border: 1px solid #e8d8b9; border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 16px 18px; margin: 26px 0;
}
.todo p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 22px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 460px; background: #fff; font-size: 15px; }
caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--green-soft); color: var(--green); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
tbody th { font-weight: 700; }

details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--green); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: #4c5f57; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 800; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:active { transform: translateY(1px); }
.primary { background: var(--green); color: #fff !important; box-shadow: 0 10px 22px rgba(23, 76, 56, .18); }
.secondary { background: rgba(255, 255, 255, .8); border-color: var(--line); color: var(--ink) !important; }

.cta-box {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; margin: 44px 0 0; box-shadow: var(--shadow);
  display: grid; gap: 16px; align-items: center;
}
.cta-box h2 { margin: 0 0 6px; font-size: 26px; }
.cta-box p { margin: 0; color: var(--muted); }

.next-reads { display: grid; gap: 14px; margin: 40px 0 0; }
.next-read {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; text-decoration: none; color: inherit;
}
.next-read:hover { border-color: var(--green); color: inherit; }
.next-read strong { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; color: var(--green); }
.next-read span { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
footer { background: #12362a; color: rgba(255, 255, 255, .74); padding: 44px 0 26px; font-size: 15px; }
footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-family: inherit; margin: 0 0 12px; }
footer a { color: rgba(255, 255, 255, .74); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 30px; }
.footer-brand p { margin: 14px 0 0; max-width: 380px; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-bottom {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .52);
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .cta-box { grid-template-columns: 1fr auto; }
  .next-reads { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .brand small { display: block; }
  .links a:not(.nav-buy) { display: inline; }
  .footer-grid { grid-template-columns: 1.4fr .9fr 1.1fr .8fr; }
  .footer-bottom { grid-template-columns: auto 1fr; justify-items: start; }
  .footer-bottom span:last-child { justify-self: end; text-align: right; }
}
