/* vpndealhunter.com — design tokens (WordPress theme)
   Identity: "the shelf-edge price tag". Wide black price figures, highlighter yellow for the
   saving, a perforated coupon stub, and a green "verified" stamp. No timers, ever.
   Fonts: Archivo (OFL, wdth 100–125 + wght 400–900) + Red Hat Mono (OFL).
   Paths are relative to this file; in the theme put fonts in /assets/fonts/ (see spec.md). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("../fonts/RedHatMono-Var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* ---- colour ---- */
  --c-bg:       #FFF8EE; /* page */
  --c-surface:  #FFFFFF; /* deal tickets */
  --c-ink:      #1B1B1B; /* text (16.33:1 on bg, 17.22:1 on white) */
  --c-muted:    #5C5348; /* secondary text (7.15:1 on bg, 7.54:1 on white) */
  --c-rule:     #E6D9C4; /* hairlines, decorative */
  --c-rule-strong: #1B1B1B;
  --c-orange:   #FF5A1F; /* deal orange: CTA FILL with ink text (5.52:1). Never text on light bg (2.96:1 fails) */
  --c-orange-hover: #F04A10;
  --c-orange-text: #A8340A; /* orange as text/links on bg or white (6.30 / 6.64:1) */
  --c-green:    #0B3D2E; /* verified: stamp text, dark band bg (11.57:1 either way with bg) */
  --c-green-tint: #DDEBE3; /* verified stamp background (green text 9.92:1) */
  --c-yellow:   #FFD23F; /* highlighter: % off block + notice strip, ink or green text only (11.93 / 8.45:1) */
  --c-was:      #5C5348; /* struck "was" price */
  --c-focus:    #1B1B1B;

  /* ---- type ---- */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--2: clamp(0.75rem, 0.73rem + 0.08vw, 0.8rem);
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.13rem + 0.3vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.65vw, 1.95rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.5rem, 1.85rem + 2.9vw, 4.4rem);
  --price:   clamp(2.3rem, 1.9rem + 1.8vw, 3.25rem);

  --w-body: 400; --w-ui: 600; --w-heading: 800; --w-price: 900;
  --stretch-body: 100%; --stretch-ui: 106%; --stretch-display: 125%; --stretch-price: 118%;
  --lh-display: 0.95; --lh-heading: 1.08; --lh-ui: 1.3; --lh-body: 1.55;
  --ls-display: -0.025em; --ls-price: -0.03em; --ls-label: 0.06em;

  /* ---- shape & space ---- */
  --radius-0: 0; --radius-1: 3px; --radius-2: 6px; /* tickets use 6px; buttons 3px; chips are square */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: 6rem;
  --wrap: 82rem; --rail: 220px;

  --border: 1.5px solid var(--c-rule-strong);
  --border-hair: 1px solid var(--c-rule);
  --perforation: 2px dashed var(--c-rule-strong);
  --shadow-ticket: 0 1px 0 var(--c-rule-strong), 0 6px 0 -3px var(--c-rule); /* paper edge, not a blur glow */

  --focus-ring: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-focus);
}

html { font-family: var(--font-sans); font-stretch: var(--stretch-body); }
body { background: var(--c-bg); color: var(--c-ink); font-size: var(--step-0); line-height: var(--lh-body); }
h1, h2, h3 { font-weight: var(--w-heading); font-stretch: var(--stretch-display); line-height: var(--lh-heading); letter-spacing: var(--ls-display); text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: var(--w-price); line-height: var(--lh-display); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: var(--stretch-ui); letter-spacing: -0.01em; }
.price, .num { font-variant-numeric: tabular-nums lining-nums; }
code, .code, .mono { font-family: var(--font-mono); }
a { color: var(--c-orange-text); text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
