/* public/styles.css — twoweektrip.com base stylesheet.
   Translated from the "Industry" design system
   (design/_ds/industry-187ba915-5c23-45e5-a12c-e5ee44e383a5/styles.css) and
   the approved "Lanes" artboard (design/Two Week Trip - Home Feed (Lanes).dc.html).
   This file is hand-written, ships as-is (no build step) and is the single
   stylesheet linked from every page (src/lib/layout.js).

   Deltas from the design-tool source (see docs/plans/2026-09-07-twoweektrip-milestone3-ssr.md,
   Task 3.2, and its "Decisions carried into this milestone" table, M3-2/M3-6):
     1. No Google Fonts stylesheet fetch -- system-font stack only (M3-2).
     2. Dark theme is wrapped for a real shipped page: both an OS-preference
        media query AND an explicit [data-theme] toggle, not just the toggle
        (a design-tool canvas only ever needed the toggle).
     3. Nine lane-color custom properties, one per style slug, computed with
        the artboard's own formula (M3-6) -- not hand-picked hex values.
     4. Real fluid containers + a real mobile breakpoint, not the artboard's
        fixed comparison-mockup widths (1080px / 372px side by side).
*/

:root {
  /* Base tokens -- verbatim values from the Industry design system, steel-blue
     mono-scheme on a light ground. Kept as --color-* to match the component
     rules below, which are ported from the source CSS and reference these
     names directly (see readme.md: "take every color ... from its variables"). */
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Short alias for --color-bg. Purely a naming convenience some tooling in
     this project expects; --color-bg remains the token every component rule
     below actually reads. */
  --bg: var(--color-bg);

  /* Tonal ramps -- generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. Identical
     across light/dark: the ramp is a fixed perceptual scale, only the
     semantic tokens above (and their dark redefinitions below) pick a
     different step of it per theme. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  /* Type -- both artboards override the design system's Barlow/Barlow
     Condensed pair to a system-font stack (M3-2: drop Google Fonts
     entirely, never fetch Barlow at render time). */
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading-weight: 600;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation -- soft ink-tinted shadows on the light ground; redefined
     darker/heavier under the dark theme below. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);

  /* Nine lane colors, one per style slug (design's "Lanes" direction, M3-6).
     Computed exactly as the artboard's own script does it -- never hand-picked:
       HUE = [250, 285, 320, 355, 30, 60, 105, 150, 200]
       lane(i)     = oklch(0.55 0.062 HUE[i])   -- the style's identifying color
       lane-ink(i) = oklch(0.44 0.07  HUE[i])   -- darker step, for text/badge-fill contrast
     Order matches STYLES in src/lib/styles.js:
       overlanding, motorcycle, backpacking, family, couples, campervan,
       cycling, rail, solo. Same set in both themes -- the artboard defines
       one lane palette, not a light/dark pair; these mid-tone OKLCH
       lightness values (0.55 / 0.44) were chosen to read on either ground. */
  --lane-overlanding: oklch(0.55 0.062 250);
  --lane-ink-overlanding: oklch(0.44 0.07 250);
  --lane-motorcycle: oklch(0.55 0.062 285);
  --lane-ink-motorcycle: oklch(0.44 0.07 285);
  --lane-backpacking: oklch(0.55 0.062 320);
  --lane-ink-backpacking: oklch(0.44 0.07 320);
  --lane-family: oklch(0.55 0.062 355);
  --lane-ink-family: oklch(0.44 0.07 355);
  --lane-couples: oklch(0.55 0.062 30);
  --lane-ink-couples: oklch(0.44 0.07 30);
  --lane-campervan: oklch(0.55 0.062 60);
  --lane-ink-campervan: oklch(0.44 0.07 60);
  --lane-cycling: oklch(0.55 0.062 105);
  --lane-ink-cycling: oklch(0.44 0.07 105);
  --lane-rail: oklch(0.55 0.062 150);
  --lane-ink-rail: oklch(0.44 0.07 150);
  --lane-solo: oklch(0.55 0.062 200);
  --lane-ink-solo: oklch(0.44 0.07 200);
}

/* Dark theme, wrapped both ways since this ships as a real page:
   - prefers-color-scheme covers a viewer who never touched the toggle,
     guarded by :not([data-theme="light"]) so an explicit light choice wins.
   - [data-theme="dark"] covers the explicit toggle (public/lib/prefs.js,
     Task 3.6) and wins over the OS setting in both directions.
   Semantic tokens are redefined by picking a different step of the SAME
   fixed ramps above (same hue, different lightness) rather than inventing
   new hex values -- the pattern the reference project's tokens.js uses,
   applied to Industry's steel-blue ramp instead of the reference's cobalt one. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: var(--color-neutral-900);
    --color-surface: var(--color-neutral-800);
    --color-text: var(--color-neutral-100);
    --color-accent: var(--color-accent-400);
    --color-accent-2: var(--color-accent-2-400);
    --color-divider: color-mix(in srgb, var(--color-neutral-100) 18%, transparent);
    --bg: var(--color-bg);

    --shadow-sm: 0 1px 2px color-mix(in srgb, #000 40%, transparent);
    --shadow-md: 0 3px 10px color-mix(in srgb, #000 45%, transparent);
    --shadow-lg: 0 12px 32px color-mix(in srgb, #000 55%, transparent);
  }
}
:root[data-theme="dark"] {
  --color-bg: var(--color-neutral-900);
  --color-surface: var(--color-neutral-800);
  --color-text: var(--color-neutral-100);
  --color-accent: var(--color-accent-400);
  --color-accent-2: var(--color-accent-2-400);
  --color-divider: color-mix(in srgb, var(--color-neutral-100) 18%, transparent);
  --bg: var(--color-bg);

  --shadow-sm: 0 1px 2px color-mix(in srgb, #000 40%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #000 45%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #000 55%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.blueprint.halftone, .blueprint.plate, .blueprint.duotone { overflow: visible; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.duotone{position:relative;overflow:hidden}
.duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS on plain HTML: no
   JavaScript, no build step. Ported from the Industry design system;
   Tasks 3.3-3.4 build directly on this vocabulary (.btn, .card, .tag,
   .blueprint/.corner, .duotone, .nav, .seg, .dialog).
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
/* Non-interactive tag chip -- rendered when a destination/style/topic chip's
   target page isn't known to qualify yet (design §7, M3-4: fail closed --
   never link to a page that could 404). Plain text, visually distinct from
   a clickable tag. */
.tag--unlinked {
  border: 1px dashed var(--color-divider); color: color-mix(in srgb, var(--color-text) 60%, transparent);
  cursor: default;
}

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.card, .btn, .input, .tag, .seg, .dialog { border-radius: 0; }
.card, .dialog { background: transparent; border: 1px solid var(--color-divider); }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }
.btn-ghost { border-color: transparent; }

/* ══════════════════════════════════════════════════════════════════════════
   News / blog / deal cards — Task 3.3/3.4 follow-up (this file was
   deliberately read-only while those tasks built src/lib/layout.js and
   src/lib/cards.js, so they invented BEM-style class names this file
   couldn't have anticipated). Values are taken from the approved artboard,
   design/Two Week Trip - Home Feed (Lanes).dc.html, whose inline
   `style="..."` attributes on the news/blog/deal markup are the exact
   spacing/type spec each renderer was translated from. Where cards.js
   already sets a property inline (e.g. news-card__time's color/weight),
   the CSS below still declares a real fallback rather than an empty
   selector — belt-and-suspenders, and needed regardless for the
   test/css-coverage.test.js guard, which requires a real matching rule per
   class, not just an inline style at render time.
   ══════════════════════════════════════════════════════════════════════ */

/* Shared surface every card type composes with .card (see the "blueprint
   frame" component rules above): transparent, square-cornered,
   hairline-bordered. .news-card/.blog-card/.deal-card each override the
   base .card box model (flex column + padding + gap) because they lay
   themselves out with an inline `style="display:grid;..."` on the same
   element — the base .card's padding/gap must not double up with the
   padding cards.js already applies to their own inner cells. */
.card--news, .news-card,
.card--blog, .blog-card,
.card--deal, .deal-card {
  padding: 0;
  gap: 0;
}

/* — shared card sub-elements (news/blog/deal titles all carry .card-title
     alongside their type-specific modifier; tags/summary/foot are literally
     the same markup across news and blog cards) — */
.card-title a { color: var(--color-text); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }

.card__summary {
  margin: var(--space-1) 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-neutral-800);
  max-width: 72ch; /* artboard's news (80ch) and blog (64ch) snippets share
                       one class here -- splitting the difference since both
                       card types render the same .card__summary markup. */
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* thumbnail wrapper from ssr-utils.js's mediaHtml() -- rendered directly
   into the news card (no .duotone wrapper there, unlike the blog card's
   image state), so it needs its own box treatment: fixed to the artboard's
   104x74 news thumb. */
.card__media {
  width: 104px;
  height: 74px;
  flex: none;
  border: 1px solid var(--color-divider);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* — news card: dense, rule-led row with a left lane-color bar — */
.news-card {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: start;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.news-card__bar { align-self: stretch; }
.news-card__body { min-width: 0; }
.news-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 3px;
  font-size: 12px;
}
.news-card__lane { font-weight: 600; }
.news-card__source { font-weight: 400; }
.news-card__time { white-space: nowrap; }
.news-card__title {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.card__foot { margin-top: var(--space-2); }
.readmore {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-700);
  text-decoration: none;
}
.readmore:hover { text-decoration: underline; color: var(--color-accent-900); }

/* — blog card: .blueprint-framed, image-forward (or the diagonal-hatch
     initials plate when the item has no image -- roughly half of them) — */
.blog-card__body { padding: var(--space-4) calc(var(--space-4) * 1.3); }
.blog-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 6px;
}
.blog-card__badge {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px;
}
.blog-card__source { font-size: 12.5px; }
.blog-card__time { font-size: 11.5px; }
.blog-card__title {
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0;
}
.blog-card__plate { box-sizing: border-box; }
.blog-card__initials { user-select: none; }
.blog-card__plate-source { white-space: nowrap; }

/* — deal card: accent-tinted .blueprint plate; structured detail when the
     parser found real fields, bare headline+CTA when it didn't (Phase 0's
     own finding is that this is a normal, expected outcome) — */
.deal-card__main { padding: var(--space-3) var(--space-4); }
.deal-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 5px;
}
.deal-card__badge {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px;
}
.deal-card__source, .deal-card__time { font-size: 12px; color: var(--color-neutral-800); }
.deal-card__affiliate {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-color: var(--color-accent-400);
  color: var(--color-accent-800);
}
.deal-card__title {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.deal-card__detail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-2);
}
.deal-card__field { display: flex; flex-direction: column; gap: 2px; }
.deal-card__field-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
}
.deal-card__field-value { font-size: 13px; font-weight: 600; }
.deal-card__bare-note {
  margin-top: var(--space-2);
  font-size: 12.5px;
  color: var(--color-neutral-700);
}
.deal-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  border-left: 1px solid var(--color-accent-400);
}
.deal-card__price-block { display: flex; flex-direction: column; align-items: flex-start; }
.deal-card__price {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent-900);
}
.deal-card__currency-code { font-weight: 600; }
.deal-card__discount {
  margin-top: var(--space-2);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-bg);
  background: var(--color-accent-800);
  display: inline-block;
  padding: 2px 8px;
}
.deal-card__cta { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════════════════
   Footer — layout.js's footerHtml(): nav columns, newsletter form,
   affiliate-disclosure line. Structure and spacing follow the artboard's
   footer band (border-top on --color-text, --color-neutral-200 ground);
   layout.js's actual form markup is a stacked label→input→button (not the
   artboard's inline row), styled as that simpler, already-committed shape.
   ══════════════════════════════════════════════════════════════════════ */
.site-footer {
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-text);
  background: var(--color-neutral-200);
}
.footer-in { padding: var(--space-6) 0 var(--space-8); }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
}
.footer-col { display: flex; flex-direction: column; gap: 5px; }
.footer-col h6 { color: var(--color-neutral-700); margin: 0 0 2px; }
.footer-col a { font-size: 13px; color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 300px;
  margin-top: var(--space-6);
}
.footer-newsletter .btn { align-self: flex-start; }
.disclosure-line {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: 11.5px;
  color: var(--color-neutral-700);
  max-width: 70ch;
}

/* ══════════════════════════════════════════════════════════════════════════
   Layout — real fluid containers and a real mobile breakpoint. The Lanes
   artboards show a 1080px desktop mockup and a 372px mobile mockup side by
   side for comparison (a canvas-authoring convention); that is not a
   layout spec. This is the actual responsive implementation: a fluid
   container capped at a max-width, and a single breakpoint (720px,
   matching the reference project) below which the multi-lane nav collapses
   into the mobile drawer trigger and card grids drop to one column.
   ══════════════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.nav-lanes { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.nav-drawer-trigger { display: none; }

@media (max-width: 720px) {
  .container { padding: 0 var(--space-3); }
  .feed-grid { grid-template-columns: 1fr; }
  .lane-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .nav-lanes { display: none; }
  .nav-drawer-trigger { display: inline-flex; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }

  /* .blog-card and .deal-card set their two-column grid via an inline
     style="display:grid;grid-template-columns:..." on the <article> itself
     (src/lib/cards.js) -- a fixed minmax(160px,232px)/minmax(170px,210px)
     side column doesn't leave enough room for the text column on a phone,
     so it's overridden here (an external stylesheet can only beat an
     inline style with !important) to stack single-column instead. */
  .blog-card, .deal-card { grid-template-columns: 1fr !important; }
  .blog-card__plate { border-right: 0 !important; border-bottom: 1px solid var(--color-divider); }
  .deal-card__side { border-left: 0 !important; border-top: 1px solid var(--color-accent-400); }
  .deal-card__price { font-size: 30px; }

  /* News card's thumbnail column (.card__media, 104px) plus its 4px lane
     bar leave enough room for text down to ~320px, so no stacking is
     needed there -- just tighten the row gap. */
  .news-card { gap: var(--space-3); }

  .footer-cols { gap: var(--space-6); }
}
