/* ============================================================
   Seedlings — privacy policy page. Shares the Seedlings palette,
   separate from the main Polaris Interactive design system.
   Fonts are self-hosted: the site CSP allows 'self' only.
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper:      #FCF9F2;
  --surface:    #FFFFFF;
  --kraft:      #F3EDDE;
  --kraft-line: #E3D8BE;
  --ink:        #2B3A55;
  --ink-soft:   #5C6982;
  --ink-faint:  #8C95A6;
  --emerald:    #00795F;
  --emerald-bg: #E7F2ED;
  --rule:       #E6E0D2;
  --flag:       #B4531F;
  --flag-bg:    #FBEEE4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #191D24;
    --surface:    #212630;
    --kraft:      #2A2A25;
    --kraft-line: #45412F;
    --ink:        #EDE7DA;
    --ink-soft:   #B3B8C4;
    --ink-faint:  #838B99;
    --emerald:    #5FCBA8;
    --emerald-bg: #1B2E29;
    --rule:       #333844;
    --flag:       #E8A075;
    --flag-bg:    #2E241C;
  }
}
:root[data-theme="dark"] {
  --paper:      #191D24;
  --surface:    #212630;
  --kraft:      #2A2A25;
  --kraft-line: #45412F;
  --ink:        #EDE7DA;
  --ink-soft:   #B3B8C4;
  --ink-faint:  #838B99;
  --emerald:    #5FCBA8;
  --emerald-bg: #1B2E29;
  --rule:       #333844;
  --flag:       #E8A075;
  --flag-bg:    #2E241C;
}

* { box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  padding: 0 24px 96px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 43rem; margin: 0 auto; }

header.masthead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 72px 0 28px;
  border-bottom: 2px solid var(--ink);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}
h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.dateline {
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.lede {
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 32px 0 0;
}

/* --- the short version: the answer, before the detail --- */
.short {
  margin: 36px 0 8px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.short h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--rule);
}
.short-scroll { overflow-x: auto; }
table.answers {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
table.answers th,
table.answers td {
  text-align: left;
  padding: 13px 22px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.answers th {
  font-weight: 500;
  color: var(--ink-soft);
  width: 58%;
}
table.answers tr:last-child th,
table.answers tr:last-child td { border-bottom: none; }
.verdict {
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}
.verdict.qualified { color: var(--ink); white-space: normal; }

h2.section {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 52px 0 0;
  text-wrap: balance;
}
h2.section .num {
  font-family: "Karla", sans-serif;
  font-size: 0.72em;
  font-weight: 700;
  color: var(--emerald);
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
h3 {
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 0;
}
p { margin: 14px 0 0; }
ul { margin: 14px 0 0; padding-left: 1.15rem; }
li { margin: 8px 0 0; }
strong { font-weight: 700; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 3px;
}

.note {
  margin: 22px 0 0;
  background: var(--kraft);
  border: 1px solid var(--kraft-line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15.5px;
}
.note p:first-child { margin-top: 0; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 600px) {
  body { font-size: 16.5px; padding: 0 18px 72px; }
  table.answers th, table.answers td { padding: 12px 16px; }
  table.answers th { width: 52%; }
}
