/*
 * dgz.thefreesamplesguide.com — static site theme.
 *
 * NOT ported from the WordPress theme, because there was nothing to port: the
 * install ran stock `twentytwentyfive` with no child theme and no customizer
 * overrides, so its appearance was WordPress's default demo styling rather than
 * anything this brand chose. Copying it would carry over a look nobody picked.
 *
 * The plugin stylesheet (wp-content/plugins/1.4.10/static/dp-styles.css) is not
 * carried over either, and that is worth stating because the sibling repo does
 * carry it. Its `.dp-table` rules are what render the CCPA category table on
 * PerkSurge — but on this install that markup does not exist. Verified against
 * live: the entry content has no `<table>` and no `.dp-cell`, and the category
 * table is a flat run of `<p>` elements reading "CATEGORIES", "EXAMPLES",
 * "COLLECTED", "A. Identifiers.", … Copying the rules here would be dead CSS
 * for markup nothing emits. See the ENG-2755 flag — restoring that table is a
 * content decision, not a styling one, so this port reproduces what live shows.
 *
 * Deliberately neutral. This host serves legal and compliance documents; it
 * makes no offer and advertises nothing, and the styling should not imply
 * otherwise. See src/index.html on the homepage decision (ENG-2755).
 *
 * ENG-2841 kept that neutrality and dropped the anonymity. The palette and
 * typeface below are the brand's own, read on 2026-09-22 out of
 * www.thefreesamplesguide.com/wp-content/themes/the-free-sampls-guide/assets/css/
 * (main.css declares the custom properties; footer.css and legal.css show how
 * they are used). Values are copied, not eyeballed. What is NOT carried over:
 * their `logopositive.svg`, because we have no right to it, so the mark here is
 * set in type; and their green-on-white footer link, for the contrast reason
 * spelled out at --accent-ink.
 */

/* The brand sets everything in Inter. Loaded here rather than per page: there is
 * no build step and no include mechanism, so a <link> in <head> would be ten
 * copies to keep in step. The system stack below it is what rendered every page
 * before this, so a blocked or slow font request degrades to the old look
 * rather than to Times. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  /* Brand tokens. The comment on each is the name it carries in the brand's own
   * main.css, so a future reader can diff ours against theirs. */
  --ink: #1a191c;          /* --dark-text-black */
  --heading: #171e33;      /* --heading */
  --muted: #4e5772;        /* --gray-para */
  --accent: #82b000;       /* --green-text */
  --accent-soft: #f5f9e8;  /* --primary / --green-bg-light */
  --accent-mid: #e2efb7;   /* --green-bg */

  /* Green text. Same hue (75.7deg) and saturation (100%) as --accent, lightness
   * taken from 34.5% down to 22% — the shallowest darkening that clears WCAG AA
   * on every surface the green actually sits on:
   *
   *     white #ffffff       5.70:1
   *     --accent-soft       5.32:1   (hero band, footer)
   *     --accent-mid        4.68:1   (alternating section band)
   *
   * The brand's own footer.css puts --green-text on white at 14px, which is
   * 2.57:1 and fails. Reproducing that would put a contrast failure on the
   * compliance links themselves — the ones a consumer opens to exercise a
   * privacy right, often on a phone in bad light. --accent stays for rules,
   * borders and fills, where contrast does not apply; text uses this. */
  --accent-ink: #537000;

  --line: #dde1e8;
  --bg-alt: #f5f9e8;

  /* Unchanged from ENG-2755, and deliberately so: the brand defines no link
   * colour for running prose. legal.css has no `a` rule at all, and main.css
   * only removes the underline. There is nothing to copy, so the sober blue
   * that six reviewed legal documents already render in stays. */
  --link: #14508c;
  --link-hover: #0d3a68;
  --focus: #14508c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Visible only on keyboard focus. These are the pages a screen-reader user is
 * most likely to be navigating under time pressure — a consent disclosure or an
 * opt-out — so the jump past the header stays available. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--link-hover); }

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.125rem 0;
  background: #fff;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

/* The wordmark. Type, not an image — the brand's logopositive.svg is theirs.
 * The accented middle words are what make it read as a mark rather than as a
 * page title; the whole thing is still one link and one accessible name. */
.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--heading);
  text-decoration: none;
}

.site-title:hover { color: var(--heading); }

.site-title-accent { color: var(--accent-ink); }

/* There is no `.site-nav`. An earlier pass on ENG-2841 gave the header an About
 * Us / How It Works / Contact Us nav and styled it after the brand's green
 * `.nav-ul` links; both pages were then dropped, because this host serves legal
 * documents and a nav holding one link the footer already carries is furniture.
 * The rules went out with them rather than sitting here unused — the same
 * reason the plugin's `.dp-table` rules were never carried over at all. */

/* ------------------------------------------------------------------ main */

main { flex: 1 0 auto; padding: 2.5rem 0 4rem; }

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb .sep { margin: 0 0.5rem; }

.breadcrumb .current { color: var(--ink); }

h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
  color: var(--heading);
  letter-spacing: -0.015em;
}

.content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--heading);
}

.content h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--heading);
}

.content p { margin: 0 0 1rem; }

.content ul,
.content ol {
  margin: 0 0 1rem 1.5rem;
}

.content li { margin-bottom: 0.5rem; }

/* The ported copy nests <p> inside <li> throughout — WordPress's block editor
 * emitted it that way and it is preserved verbatim. Without this the list reads
 * as double-spaced. */
.content li > p { margin-bottom: 0.5rem; }

.content li > p:last-child { margin-bottom: 0; }

.content strong { font-weight: 700; }

.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

/* ---------------------------------------------------------------- landing

   ENG-2841. Two references, and they contribute different things.

   The bands are the brand's. Its home.css puts the hero on `--primary`
   (#f5f9e8) with a 56px/600 `--heading` title and a `--gray-para` lede, and
   gives the next section `--green-bg` (#e2efb7); legal.css washes document
   pages in the same soft green. So the alternating green bands below are the
   brand's own device, not an invention, and the 1rem radius matches the 16px
   its cards use.

   The density is blog.find.perksurgeland.com's. That page is the sibling
   compliance host and the shape works: a short hero, then sections of
   single-line "link — what it is" entries, then a flat footer row. An earlier
   pass here gave every document a heading, a padded row and a full sentence of
   its own, which pushed the page long enough that the footer read as the same
   index served twice. One line per document is what keeps the footer legible
   as chrome.

   Nothing in this vocabulary can state an offer. `.link-list li` is an anchor
   and a clause; there is no component for a price, a badge, a rating or a
   count, and adding one is a change to what this host is for. */

.hero {
  background: var(--accent-soft);
  padding: 3.5rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero h1 .site-title-accent { color: var(--accent-ink); }

.hero-lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 44ch;
}

/* <main>'s own padding frames a document page's text. A band layout supplies its
   own vertical rhythm and runs edge to edge, so the wrapper contributes nothing
   but a white gap above the hero and below the last section. */
.landing { padding: 0; }

.section { padding: 2.75rem 0; border-bottom: 1px solid var(--line); }

.section:last-of-type { border-bottom: 0; }

/* The tinted band carries its own edge, so the hairline would double it. */
.section-alt { background: var(--accent-mid); border-bottom: 0; }

.section > .wrap > h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

/* One line per entry: the link, an em dash, and a clause saying what it is.
   Not a description list and not a card — see the note above on why. */
.link-list { list-style: none; margin: 0; }

.link-list li {
  margin-bottom: 0.625rem;
  line-height: 1.55;
}

.link-list li:last-child { margin-bottom: 0; }

/* Navy, not --link. The brand's homepage renders its own article links at
   #171E33 (inline on the .btn-nobg anchors), which is --heading, so that is the
   one place the brand does state a link colour and this list matches it. The
   blue --link stays where the brand says nothing: running prose inside the
   ported legal documents. */
.link-list a {
  font-weight: 600;
  color: var(--heading);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.link-list a:hover { color: var(--accent-ink); }

.link-list .desc { color: var(--muted); }

/* ---------------------------------------------------------------- footer */

/* The brand's footer.css is a white panel with green links and a small grey
   copyright line, not the dark slab the --bg-footer-black token suggests. The
   token is declared and never used; the panel is what ships. */
/* White, which is what the brand's own footer.css sets — the --bg-footer-black
   token it declares is never used. White also keeps the footer distinct from the
   tinted section that ends the page; stacking --accent-mid straight onto
   --accent-soft read as two unrelated greens meeting. The 3px rule is the
   separator. */
.site-footer {
  border-top: 3px solid var(--accent);
  background: #fff;
  padding: 2.25rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* One flat centred row, the way blog.find.perksurgeland.com's footer reads.
   The previous version split it into a site nav and a labelled "Privacy & Legal"
   nav with a wordmark above both, which made the footer a second index of the
   page it sat under. It is chrome; it should look like chrome. */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 1.375rem;
  margin-bottom: 1.25rem;
}

/* --accent-ink, not --accent: see the note on the token. These are the links a
   consumer follows to exercise a privacy right, so they are the last place to
   ship a 2.9:1 contrast ratio. */
.footer-nav a {
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--accent-ink); text-decoration: underline; }

.footer-nav a[aria-current="page"] { text-decoration: underline; }

.footer-address { margin-bottom: 0.5rem; font-size: 0.8125rem; }

.footer-copy { font-size: 0.75rem; }

/* ------------------------------------------------------------------ forms */

/* ENG-2763, for /contact-us/. Not a revival of the plugin's `.dp-form`: that
 * styled a form posting to wp-admin and goes out with the install. These are
 * perksurge-static-site's form rules restated in this site's variables and
 * class names, so the two brands' forms behave identically while each looks
 * like itself.
 *
 * Only the controls /contact-us/ actually emits are styled — text, email and
 * textarea. The sibling's radio/choice and select rules are omitted for the
 * same reason its `.dp-table` rules were: dead CSS for markup nothing here
 * emits. Add them with the form that needs them (ENG-2762, ENG-2764).
 *
 * ENG-2762 did that for /ccpa-form/: `input[type=tel]` and `select` joined the
 * control rules, and `.choices`/`.choice` below styles its request-type
 * radiogroup. /unsubscribe/ (ENG-2764) needs no new control types. */

.callout {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.callout h3 { font-size: 1.0625rem; margin: 0 0 0.25rem; }

.callout p:last-child { margin-bottom: 0; }

.form label { display: block; font-weight: 600; margin: 0.75rem 0 0.375rem; }

/* The asterisk is decorative — `required` on the control is what conveys the
 * constraint to assistive tech, and generated content is not reliably
 * announced anyway. */
.form label.required::after { content: " *"; color: #c02323; }

.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form select,
.form textarea {
  width: 100%;
  max-width: 26rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

.form textarea { min-height: 7.5rem; }

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible,
.form button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form button {
  margin-top: 1rem;
  background: var(--link);
  color: #fff;
  border: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form button:hover { background: var(--link-hover); }

.form button:disabled { opacity: 0.6; cursor: default; }

.form-status {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.75rem;
}

.form-status p { margin: 0 0 0.5rem; }

.form-status p:last-child { margin: 0; }

.form-status ul { margin: 0 0 0 1.25rem; }

.form-status-ok { border-color: #198754; background: #eaf6ee; }

.form-status-err { border-color: #dc3545; background: #fdecee; }

.form-section {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.form-section > h2 { font-size: 1.25rem; margin: 0 0 0.375rem; }

.form-section > p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9375rem; }

.form-hint { display: block; margin-top: 0.375rem; color: var(--muted); font-size: 0.84375rem; }

.form-legal { margin: 1.75rem 0 0; color: var(--muted); font-size: 0.84375rem; }

.form .is-invalid input,
.form .is-invalid select,
.form .is-invalid textarea { border-color: #dc3545; }

.form .is-invalid > label { color: #a71d2a; }

/* ENG-2762, for /ccpa-form/'s request-type radiogroup. The radio keeps its
 * native appearance and native keyboard behavior; only the box around it is
 * ours. */

.form .choices { display: grid; gap: 0.5rem; margin: 0.75rem 0 0; }

/* Scoped `.form .choice`, not a bare `.choice`, and that is load-bearing rather
 * than stylistic: `.form label` above is specificity (0,1,1) and a bare
 * `.choice` only (0,1,0), so `display: block` would win and stack the radio
 * above its own title. Every declaration here that contradicts `.form label`
 * has to clear that bar. */
.form .choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}

/* The whole box, not just the radio, carries the focus ring — the input is
 * 13px and its own outline is easy to miss against the border. :focus-within
 * rather than :has(:focus-visible) for reach; a pointer click on a label moves
 * focus to the radio too, so the ring showing on click is correct here. */
.form .choice:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form .choice:hover { border-color: var(--muted); }

.choice-title { display: block; font-weight: 600; }

.choice-desc { display: block; color: var(--muted); font-size: 0.9375rem; }

/* The group's own invalid state: the boxes carry it, since a red border on a
 * native radio control renders as nothing in most browsers. */
.form .is-invalid.choices .choice { border-color: #dc3545; }

/* `.form .is-invalid > label` above reddens the direct-child label of an
 * invalid row. Every `.choice` IS such a label, so without this all three
 * options turn red when one group is invalid — three red-bordered boxes of red
 * text for a single "pick one" error. The border is the signal. */
.form .is-invalid.choices > .choice { color: inherit; }

