/* Human Lately — one calm stylesheet (HL-002). Tokens from site-kit-v1 brand/STYLE.md:
   warm, calm, one button. Phone first; wider layouts from 700px and 1000px up. */
:root {
  --cream: #F7F4EC;
  --green: #24382C;   /* wordmark, headlines, the one button */
  --gold: #A8752F;    /* decorative only (3.6:1 on cream — never for text) */
  --brown: #70563D;   /* eyebrows, supporting accent text (6.2:1) */
  --ink: #263029;     /* body text (12.4:1) */
  --muted: #667065;   /* secondary labels, footer (4.7:1 on cream) */
  --line: #DDD8CD;    /* fine rules */
  --serif: "Cormorant Garamond", "Linux Libertine G", "Linux Libertine", Georgia, "Times New Roman", serif;
  --sans: Inter, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brown); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--green); letter-spacing: normal; margin: 0; }
h1 { font-size: 40px; line-height: 1.08; }
h2 { font-size: 30px; line-height: 1.15; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; padding-top: 12px; padding-bottom: 4px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { width: auto; height: 26px; }
.site-nav { display: flex; gap: 20px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--green); text-decoration: underline; }

/* Hero — phone: copy, button, then the picture edge to edge */
.hero-grid { display: grid; gap: 32px; padding-top: 32px; }
.eyebrow { font-size: 13px; line-height: 1.5; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); margin-bottom: 12px; }
.hero h1 { margin-bottom: 16px; }
.hero-sub { font-size: 17px; margin-bottom: 24px; }
.button {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 12px 24px;
  border-radius: 8px; background: var(--green); color: var(--cream);
  font: 500 16px/1.4 var(--sans); text-align: center; text-decoration: none;
}
.button:hover { color: var(--cream); background: #1b2b21; }
.format { font-size: 14px; color: var(--ink); text-align: center; margin: 12px 0 0; }
.hero-art { margin: 0 calc(-1 * var(--gutter)); }
.hero-art img { width: 100%; height: auto; }

/* Three benefits — phone: compact vertical list */
.benefit-list { list-style: none; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; display: grid; gap: 12px; }
.benefit-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.benefit-list svg { flex: none; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefits { border-bottom: 1px solid var(--line); }

/* Four tiles — figures, not shop links */
.collection { padding: 40px 0 16px; }
.collection h2 { margin-bottom: 24px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.tile { margin: 0; }
.tile img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: var(--line); }
.tile figcaption { padding-top: 10px; }
.tile-title { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--green); }
.tile-label { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.tiles-note { font-size: 15px; margin: 24px 0 0; }

/* Our approach */
.approach { padding: 40px 0 48px; }
.approach-grid { display: grid; gap: 24px; }
.approach h2 { margin-bottom: 16px; }
.approach-copy p { font-size: 16px; max-width: 34em; }
.approach-art { width: 100%; height: auto; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer p { margin-bottom: 12px; max-width: 46em; }
.site-footer a { color: var(--green); }
.footer-name { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--green); margin-bottom: 4px; }
.footer-safety { color: var(--ink); }
.footer-links { margin-bottom: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Small pages: thanks, privacy, and the download gate's deny page (lib/access.js uses .wrap .narrow .brand .info) */
.wrap { max-width: 40rem; margin: 0 auto; padding: 40px var(--gutter) 56px; }
.narrow { padding-top: 32px; }
.wrap h1 { font-size: 36px; line-height: 1.1; margin: 8px 0 20px; }
.wrap h2 { font-size: 26px; margin: 32px 0 8px; }
.brand { font-family: var(--serif); font-size: 24px; color: var(--green); margin-bottom: 24px; }
.brand a { color: var(--green); text-decoration: none; }
.buy { margin: 24px 0 8px; }
.info, .muted { color: var(--muted); }
.info { font-size: 14px; }
.under { margin-top: 12px; }
.steps { padding-left: 1.3rem; margin: 0 0 16px; }
.steps li { margin-bottom: 8px; }
.safety { border: 1px solid var(--line); border-radius: 8px; background: #FBF9F4; padding: 16px 18px; margin: 32px 0 16px; }
.safety p:last-child { margin-bottom: 0; }
.hidden { display: none; }
.page-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 12px; font-size: 14px; color: var(--muted); }
.page-footer a { display: inline-block; padding: 12px 0; }

/* Tablet and up */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding-top: 0; }
  .hero-copy { padding: 48px 0; }
  .hero-art { margin: 0 calc(-1 * var(--gutter)) 0 0; }
  .button { width: auto; display: inline-flex; }
  .format { text-align: left; }
  .benefit-list { grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 20px; padding-bottom: 20px; }
  .benefit-list li { justify-content: center; padding: 4px 16px; }
  .benefit-list li + li { border-left: 1px solid var(--line); }
  .collection { padding-top: 64px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .approach { padding: 64px 0 80px; }
  .approach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .approach-copy p { font-size: 18px; }
}
@media (min-width: 1000px) {
  h1 { font-size: 64px; line-height: 1.05; }
  h2 { font-size: 40px; }
  .hero-sub { font-size: 18px; }
  .tile-title { font-size: 24px; }
  .hero-art { margin-right: 0; }
}
