/* Life of Amira — locked design tokens v1 (2026-10-04). Source: design/STYLE.md
   Every base colour is an unaltered Sanzo Wada swatch; Paper is the only derived value. */

@import url("fonts.css"); /* self-hosted, no third-party requests */

:root {
  /* Core palette, shared by all products */
  --paper:      #FBF7EA; /* base background, 60% */
  --ink:        #253122; /* Deep Slate Olive: text, dark surfaces */
  --terracotta: #AE5224; /* Burnt Sienna: primary action */
  --olive:      #555832; /* Lincoln Green: secondary */
  --sand:       #EBD3A2; /* Ivory Buff: surface */
  --ocher:      #E2B540; /* Yellow Ocher: accent, sparingly; never text on paper */
  --olive-green:#6B7140; /* muted text, 4.8:1 on paper */
  --ecru:       #C2AE93; /* rules, borders, dividers only */
  --russet:     #793327; /* Hay's Russet: pressed, hover, errors */
  --cream:      #FDBF68; /* Cream Yellow: highlight on ink only */

  /* Product-specific palettes */
  --nights-bg:    #112F2C; /* Deep Slate Green */
  --nights-2:     #42533E; /* Blackish Olive */
  --nights-soft:  #B7C2A9; /* Dark Greenish Glaucous */
  --nights-lamp:  #FDC57E; /* Cinnamon Buff */
  --talk-russet:  #793327;
  --talk-shell:   #FDD4BD; /* Seashell Pink */
  --talk-salmon:  #D8A37B; /* Ochraceous Salmon */

  /* Default type: umbrella (editorial) */
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;

  --body-min: 17px;      /* never smaller for body copy */
  --label: 15px;         /* smallest text anywhere */
  --radius: 10px;
  --bg: var(--paper);
  --fg: var(--ink);
  --action: var(--terracotta);
  --action-fg: var(--paper);
}

/* Amira Strong = POSTER: condensed caps, numbers as heroes, square corners, flat full-bleed colour */
[data-product="strong"] {
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --radius: 0;
  --bg: var(--paper);
  --fg: var(--ink);
  --action: var(--terracotta);
  --highlight: var(--cream);        /* on ink only */
  --counter-size: clamp(160px, 42vw, 240px); /* rep counter: readable from the floor, no glasses */
  --exercise-size: 56px;            /* exercise name during a workout, minimum */
  --cta-size: 28px;                 /* big caps buttons */
}

/* Amira Nights = LOGBOOK, dark: ruled lines, tabular numbers, colour like ink stamps, warm-lamp highlights */
[data-product="nights"] {
  --font-display: "Gloock", Georgia, serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --bg: var(--nights-bg);
  --fg: var(--nights-lamp);
  --muted: var(--nights-soft);
  --action: var(--nights-lamp);
  --action-fg: var(--nights-bg);
  --radius: 2px;
}

/* Amira Talk = EDITORIAL, warm and candid */
[data-product="talk"] {
  --bg: var(--talk-russet);
  --fg: var(--talk-shell);
  --action: var(--talk-shell);
  --action-fg: var(--talk-russet);
}

html { font-size: var(--body-min); }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--body-min); line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-display); }
[data-product="strong"] h1, [data-product="strong"] h2, [data-product="strong"] .caps { text-transform: uppercase; letter-spacing: 0; line-height: .92; font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }
