/* Design tokens — Premier WinDor.
 *
 * Source: design/TYPE-STANDARD.md (confirmed 3 Sep 2026) and the Claude
 * Design export in design/*.dc.html. Values are the export's, not estimates.
 * Rule: style with tokens, never hard-coded values.
 */

/* Inter, self-hosted. One variable face covers weights 200–700. Named "Inter"
   rather than "Inter Variable" so computed font-family matches the export. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour — roles, per TYPE-STANDARD */
  --red: #ed3133;
  --red-dark: #c42126;
  --charcoal: #252525;
  --grey-light: #f6f5f0;
  --white: #ffffff;
  --hero-bg: #141414;
  --panel-bg: #1d1d1d;
  --nav-bg: #1a1a1a;
  --headline-on-dark: #f2efea;
  --body-on-dark: #e2ded8;
  --muted-on-dark: #c9c6c1;
  --label-on-dark: #9a9691;
  --body: #4a4a4a;
  --body-strong: #3f3f3f;
  --placeholder: #6f6f6f;
  --line-dark: #3a3a3a;
  --line-light: #e6e3dd;
  --field-bg: #f4f4f4;
  --field-border: #ededed;
  --gold: #efc618;
  --dot-active: #f32730;
  --dot: #d9d9d9;
  --initial-bg: #8e9aa4;
  --parallax-bg: #e8e2d8;
  --media-bg: #e9e5df;

  /* Template-generic names, mapped so LeadForm/404/thank-you keep working */
  --ink: var(--charcoal);
  --surface: var(--white);
  --accent: var(--red);
  --line: var(--line-light);
  --font-display: var(--font);
  --font-body: var(--font);

  /* Type */
  --font: Inter, sans-serif;
  --h1-gateway: clamp(38px, 4.51vw, 65px);
  --h1: clamp(36px, 4.03vw, 58px);
  --h2: clamp(28px, 2.92vw, 42px);
  --h3: clamp(21px, 1.94vw, 28px);
  --h3-form: clamp(22px, 1.94vw, 28px);
  --hero-sub-gateway: clamp(20px, 2.22vw, 32px);
  --hero-sub: clamp(19px, 1.81vw, 26px);
  --subhead: clamp(18px, 1.67vw, 24px);
  --body-gateway: clamp(16px, 1.32vw, 19px);
  --body-secondary: clamp(15px, 1.25vw, 18px);
  --body-small: clamp(15px, 1.11vw, 16px);
  --eyebrow: clamp(12px, 0.97vw, 14px);
  --eyebrow-hero: clamp(12px, 1.11vw, 16px);
  --nav: clamp(14px, 1.08vw, 15.5px);
  --leading-display: 1.06;
  --leading-h2: 1.08;
  --leading-body: 1.42;
  --tracking-h1: -0.01em;
  --tracking-h2: -0.03em;
  --tracking-eyebrow: 0.2em;

  /* Template steps, mapped to the nearest real sizes */
  --step--1: 14px;
  --step-0: var(--body-secondary);
  --step-1: var(--subhead);
  --step-2: var(--h3);
  --step-3: var(--h2);
  --step-4: var(--h1);
  --step-5: var(--h1-gateway);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(30px, 4.16vw, 60px);
  --section-pad: clamp(56px, 6.4vw, 92px);
  --section-pad-lg: clamp(72px, 8.3vw, 120px);
  --stack-gap: clamp(8px, 0.7vw, 10px);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  /* Buttons */
  --btn-font: clamp(14px, 1.28vw, 18.4px);
  --btn-pad: clamp(10px, 0.78vw, 11.2px) clamp(18px, 1.67vw, 24px);
  --btn-pad-outline: clamp(9px, 0.68vw, 9.7px) clamp(18px, 1.67vw, 24px);
  --btn-pad-sm: clamp(11px, 1vw, 14px) clamp(18px, 1.67vw, 24px);
  --btn-min-h: calc(52px - 0.76vw);

  /* Shape */
  --radius-btn: 6px;
  --radius-card: 14px;
  --radius-panel: 16px;
  --radius-cta: 20px;
  --radius-field: 6px;
  --radius-surface: var(--radius-card);
  --radius-action: var(--radius-btn);

  /* Motion */
  --ease-reveal: cubic-bezier(0.16, 0.84, 0.44, 1);
  --reveal-duration: 0.72s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}
