/* ============================================================
   ANOU DESIGN TOKENS + CORE COMPONENTS
   Drop-in stylesheet for theanou.com (load after fonts.css).
   Source of truth for the 2026 refresh (see Product Page v2).
   ============================================================ */

:root {
  /* --- Brand color (ONE blue family — replaces rgba(0,103,214,.934), #3970D4, hsl(217,67%,50%)) --- */
  --anou-blue:        #407bd9;  /* primary buttons, links, active states */
  --anou-blue-dark:   #3568bd;  /* hover state of primary */
  --anou-blue-2:      #6794DD;  /* gradient/ramp step */
  --anou-blue-3:      #85A9E4;  /* charts: secondary slice */
  --anou-blue-4:      #A4BFEB;
  --anou-blue-5:      #C2D4F1;  /* charts: tertiary slice */
  --anou-blue-6:      #E1EAF8;  /* lightest ramp step */
  --anou-blue-panel:  #f2f6fc;  /* tinted panel / section background */
  --anou-blue-border: #ccd8eb;  /* input & pill borders */

  /* --- Ink (gray ramp — replaces mixed hsl(218,...) and #7a7a7a) --- */
  --ink:        #2e333d;  /* headings, titles, prices */
  --ink-body:   #4b5563;  /* body copy */
  --ink-muted:  #6b7280;  /* secondary text, nav links */
  --ink-faint:  #9aa1ad;  /* labels, captions — decorative text only */
  --border:     #e5e8ee;  /* hairlines, card borders */

  /* --- Feedback --- */
  --success: #10b981;
  --error:   #ef4444;

  /* --- Type --- */
  --font-display: grotesk, sans-serif;   /* headings; always weight 900 */
  --font-body:    grap, sans-serif;      /* body copy */
  --font-ui:      grap-med, sans-serif;  /* buttons, labels, nav */

  /* Type scale (px): don't go below 12, body never below 14 */
  --text-hero: 52px;   /* editorial hero only */
  --text-h1:   32px;   /* page title */
  --text-h2:   26px;   /* section title */
  --text-h3:   22px;   /* sub-section title */
  --text-card: 17px;   /* card titles */
  --text-body: 15px;   /* long-form body (line-height 1.7) */
  --text-sm:   13px;   /* UI copy, details (line-height 1.6) */
  --text-cap:  12px;   /* captions, legends */
  --text-label:11px;   /* uppercase eyebrow/labels only */

  /* --- Spacing (4px base) --- */
  --s-1: 8px; --s-2: 12px; --s-3: 16px; --s-4: 20px;
  --s-5: 24px; --s-6: 32px; --s-7: 40px; --s-8: 64px;

  /* --- Layout --- */
  --page-max: 1280px;
  --page-pad: 40px;      /* 20px under 900px */
}

/* ============ TEXT STYLES ============ */

.h1 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h1); line-height: 1.15; color: var(--ink); margin: 0; }
.h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h2); line-height: 1.2;  color: var(--ink); margin: 0; }
.h3 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-h3); line-height: 1.25; color: var(--ink); margin: 0; }

.body-text { font-family: var(--font-body); font-size: var(--text-body); line-height: 1.7; color: var(--ink-body); }
.small-text { font-family: var(--font-body); font-size: var(--text-sm); line-height: 1.6; color: var(--ink-body); }
.caption { font-family: var(--font-body); font-size: var(--text-cap); line-height: 1.5; color: var(--ink-faint); }

/* Eyebrow: blue uppercase kicker above section titles */
.eyebrow {
  font-family: var(--font-ui); font-size: var(--text-label);
  letter-spacing: 2px; text-transform: uppercase; color: var(--anou-blue);
  margin: 0 0 var(--s-1) 0;
}

/* Label/value pair (product details, specs) */
.spec-label {
  font-family: var(--font-ui); font-size: var(--text-label);
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.spec-value { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink); margin: 2px 0 0 0; }

/* Nav links */
.nav-link {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-muted); text-decoration: none;
}
.nav-link:hover { color: var(--ink); }

/* Default links */
a { color: var(--anou-blue); }
a:hover { color: var(--anou-blue-dark); }

/* ============ BUTTONS ============ */
/* Text is always --font-ui, uppercase, letter-spaced. Min height 44px. */

.btn-primary {
  background: var(--anou-blue); color: #fff; border: 0; cursor: pointer;
  height: 52px; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
}
.btn-primary:hover { background: var(--anou-blue-dark); }

.btn-secondary {
  background: #fff; color: var(--anou-blue); border: 1px solid var(--anou-blue); cursor: pointer;
  height: 46px; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--anou-blue-panel); }

/* On photos/banners over a scrim */
.btn-ghost-light {
  background: transparent; color: #fff; border: 1px solid #fff; cursor: pointer;
  padding: 12px 28px;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; display: inline-block;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }

/* Inline text CTA: "Personalize this design →" */
.text-cta { font-family: var(--font-body); font-size: var(--text-sm); color: var(--anou-blue); text-decoration: none; }
.text-cta:hover { color: var(--anou-blue-dark); }

/* ============ SURFACES ============ */

/* Card: sharp corners (no border-radius on rectangles — round is for avatars/swatches only) */
.card {
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(46,51,61,.05); padding: 26px;
}

/* Tinted panel (e.g. "Where your money goes") */
.panel { background: var(--anou-blue-panel); padding: var(--s-4); }

/* Tinted full-width section band (e.g. "Meet the makers") */
.section-band { background: var(--anou-blue-panel); padding: 44px var(--page-pad); }

/* Signature offset-shadow photo (brand motif — keep) */
.offset-photo-left  { box-shadow: var(--anou-blue) -12px -12px; }
.offset-photo-right { box-shadow: var(--anou-blue)  12px -12px; }

/* Image banner scrim: ALWAYS put text on photos over this */
.banner-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20,30,50,.15), rgba(20,30,50,.55));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff;
}

/* ============ COMPONENTS ============ */

/* Money bar (transparent pricing) — three slices, widths set inline per product */
.money-bar { display: flex; height: 12px; overflow: hidden; }
.money-bar .slice-makers   { background: var(--anou-blue); }
.money-bar .slice-anou     { background: var(--anou-blue-3); }
.money-bar .slice-shipping { background: var(--anou-blue-5); }
.money-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.money-legend .key { display: inline-block; width: 8px; height: 8px; }

/* Trust checklist rows */
.trust-item { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-body); }
.trust-item .check { color: var(--success); }

/* Avatar stack (overlapping maker faces) */
.avatar-stack { display: flex; }
.avatar-stack img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; display: block; }
.avatar-stack img + img { margin-left: -12px; }

/* Color swatch (product colors) */
.swatch { width: 26px; height: 26px; border-radius: 50%; display: inline-block; }
.swatch.light { border: 1px solid var(--border); }

/* Hairline divider */
.rule { border: 0; border-top: 1px solid var(--border); margin: var(--s-4) 0; }

/* ============ LAYOUT HELPERS ============ */

.page { max-width: var(--page-max); margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); box-sizing: border-box; }

@media (max-width: 900px) {
  :root { --page-pad: 20px; --text-h1: 26px; --text-h2: 22px; --text-hero: 34px; }
}

/* ============ USAGE RULES (read me) ============
1. ONE blue: var(--anou-blue) for every interactive/brand element.
   Ramp steps are for charts, panels, and decoration only.
2. Body text never below 14px; 11-12px is reserved for uppercase
   labels and captions in --ink-faint (never for sentences).
3. Text on photos always sits on .banner-scrim.
4. Sharp corners on rectangles; circles for faces and swatches.
5. Headings are grotesk 900. Buttons/labels are grap-med,
   uppercase, letter-spaced. Everything else is grap.
6. The offset-photo shadow is the brand motif — use it on one
   photo per section, never on every image.
================================================= */
