/* Hallmark · component scope: offer section, install, app skeleton · genre: utilitarian commerce
 * theme: locked system (docs/COOLDOWN-SITE-AND-APP-STANDARD.md, approved 1 Nov 2026)
 * type: Inter variable self hosted, owner verdict on the reference outranks the generic one font rule
 * states: default · hover · focus · active · disabled · loading · error · success
 */
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/inter-var.woff2") format("woff2");
}

:root {
  /* colors, measured from the flyer and the badge (standard section 3) */
  --navy: #05366e;
  --navy-deep: #183060;
  --navy-night: #04274f; /* flyer navy hue 212, darker, for the night sections */
  --cyan: #bbfeff; /* flyer swoosh under PROFUNDA, sampled 1 Nov 2026 */
  --blue: #0d498d;
  --blue-press: #0a3a72;
  --sky: #d8f0f8;
  --ice: #f0f9ff;
  --teal: #3c849c;
  --whatsapp: #18b65f;
  --whatsapp-press: #139a50;
  --offer-red: #d3171b;
  --ink: #0f1a2a;
  --muted: #65758b;
  --ink-soft: #3d4b60;
  --paper: #fbfdff;
  --rule: #c9dbe8;
  --rule-strong: #9fbcd3;
  --error: #b42318;
  --error-bg: #fdf0ef;
  --error-on-dark: #ffb4ab;
  --on-dark: #f0f9ff;
  --on-dark-soft: #b9d6ea;
  --on-accent: #ffffff;
  --on-whatsapp: #052e16;
  --rule-on-dark: rgba(240, 249, 255, 0.18);
  --scrim: rgba(15, 26, 42, 0.5);
  --shadow-sheet: 0 -8px 32px rgba(5, 54, 110, 0.18);
  --shadow-card: 0 1px 2px rgba(5, 54, 110, 0.06);
  --shadow-trust: 0 12px 32px rgba(4, 39, 79, 0.16);
  --hero-shade-phone: linear-gradient(0deg, rgba(4, 39, 79, 0.97) 0%, rgba(4, 39, 79, 0.9) 38%, rgba(4, 39, 79, 0.35) 68%, rgba(4, 39, 79, 0.2) 100%);
  --hero-shade-desk: linear-gradient(90deg, rgba(4, 39, 79, 1) 0%, rgba(4, 39, 79, 1) 42%, rgba(4, 39, 79, 0.55) 62%, rgba(4, 39, 79, 0.18) 100%);
  --caption-shade: linear-gradient(0deg, rgba(4, 39, 79, 0.92) 0%, rgba(4, 39, 79, 0) 100%);

  /* type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-title: clamp(1.875rem, 1.2rem + 2.6vw, 2.75rem);
  --track-display: -0.035em;
  --track-title: -0.03em;

  /* space, 4 pt scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-med: 220ms;

  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--blue);
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ice);
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: var(--track-title);
  color: var(--navy);
  font-style: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* buttons: one shape, three voices */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); padding: 0 var(--space-6);
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: inherit; font-size: var(--text-md); font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn[data-state="loading"] { cursor: progress; opacity: 0.8; }
.btn--wa { background: var(--whatsapp); color: var(--on-whatsapp); }
.btn--wa:hover { background: var(--whatsapp-press); }
.btn--primary { background: var(--blue); color: var(--on-accent); }
.btn--primary:hover { background: var(--blue-press); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--blue); background: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* Phone scale (Arky, 1 Nov 2026: "adjust phone version zoom out a bit"): one step smaller type and section gaps under 480px.
 * Body and form text stay at 16px so iPhone never zooms into a field; tap targets stay 48px. */
@media (max-width: 29.99rem) {
  :root {
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.0625rem;
    --text-xl: 1.25rem;
    --text-title: clamp(1.625rem, 1.1rem + 2.4vw, 1.75rem);
    --text-hero: clamp(2rem, 1.25rem + 3.6vw, 2.25rem);
    --space-12: 40px;
    --space-16: 48px;
    --space-24: 72px;
  }
}
