/* Avengr Design System — Colors + Type
 * Source: avengr-v2.webflow/css/avengr-v2.css
 */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ----- Brand colors (from Webflow root) ----- */
  --black: #0f0f0f;
  --white: #ffffff;
  --tomato: #ff5757;          /* primary accent */
  --tomato-hover: #f14d4d;
  --tomato-pressed: #ec3d3d;
  --tomato-light: #ff57571a;  /* 10% accent */
  --gray: #353535;
  --gray-hover: #272727;
  --lavender-blush: #ffefef;
  --misty-rose: #ffe1e1;

  /* Marketing notes / legacy notes:
   * #ff5757 was originally suggested by user; the live brand is #ff5757.
   * Both are interchangeable for accent dot/punctuation use.
   */
  --tomato-marketing: #ff5757;

  /* ----- Semantic — Dark mode (default) ----- */
  --bg: var(--black);
  --bg-elev: #1a1a1a;
  --bg-card: #181818;
  --surface: var(--gray);
  --surface-hover: var(--gray-hover);
  --fg1: var(--white);            /* primary text */
  --fg2: #d4cece;                 /* muted text on dark */
  --fg3: #9e9e9e;                 /* tertiary */
  --border: #ffffff1a;            /* hairline divider */
  --border-strong: #ffffff33;
  --accent: var(--tomato);
  --accent-fg: var(--white);
  --link: var(--tomato);

  /* ----- Spacing ----- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;
  --sp-10: 120px;

  /* ----- Radii ----- */
  --radius-xs: 3px;    /* buttons */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;   /* promo card, soft surfaces */
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* ----- Shadows ----- */
  --shadow-button: 1px 1px 20px #0000004d;        /* .button.drop-shadow */
  --shadow-card: 0 12px 40px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 80px rgba(255,87,87,0.35);   /* soft red blob */
  --overlay-dark: #0a0a0aeb;
  --overlay-soft: #0f0f0f99;

  /* ----- Type ----- */
  --font-sans: "Outfit", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-icons: "Icons", "Font Awesome 6 Free", sans-serif;

  /* Type scale (matches webflow base) */
  --fs-display: 64px;   /* .home-heading.block */
  --fs-h1: 38px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-h4: 18px;
  --fs-h5: 14px;
  --fs-h6: 12px;
  --fs-lead: 20px;      /* .content-paragraph */
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 13px;

  --lh-tight: 1.0;
  --lh-snug: 1.15;
  --lh-base: 1.4;
  --lh-loose: 1.6;

  --tracking-display: -0.02em;
  --tracking-tight: -0.01em;
  --tracking-normal: 0em;

  /* ----- Motion ----- */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* ----- Light mode override ----- */
[data-theme="light"] {
  --bg: var(--white);
  --bg-elev: #f6f5f3;
  --bg-card: var(--white);
  --surface: var(--lavender-blush);
  --surface-hover: var(--misty-rose);
  --fg1: var(--gray);
  --fg2: #5f5f5f;
  --fg3: #9e9e9e;
  --border: rgba(15,15,15,0.08);
  --border-strong: rgba(15,15,15,0.18);
}

/* ============================================================
 * Semantic / element styles
 * ========================================================== */

html, body {
  background-color: var(--bg);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-base);
}

h1, .h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 44px;
  margin: 20px 0 10px;
}
h2, .h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 36px;
  margin: 20px 0 10px;
}
h3, .h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 30px;
  margin: 20px 0 10px;
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 24px;
  margin: 10px 0;
}
h5, .h5 { font-weight: 700; font-size: var(--fs-h5); line-height: 20px; }
h6, .h6 { font-weight: 700; font-size: var(--fs-h6); line-height: 18px; }

.display {
  /* The signature Avengr hero treatment. */
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  margin: 0;
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 30px;
}

p { margin-bottom: 10px; }

a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease);
}
a:hover { box-shadow: 0 2px 0 0 var(--link); }

/* ----- Avengr signature: tomato punctuation ----- */
.punctuation {
  color: var(--accent);
  font-weight: 900;
}
.punctuation.less-thick { font-weight: 700; }

/* End every brand headline with a `<span class="punctuation">.</span>` */

/* ----- Button ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--accent-fg);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease);
}
.btn:hover { background-color: var(--tomato-pressed); box-shadow: none; }
.btn--cta { padding: 18px 40px; }
.btn--ghost {
  background-color: transparent;
  color: var(--fg1);
  border: 2px solid var(--accent);
  padding: 10px 14px;
}
.btn--shadow { box-shadow: var(--shadow-button); }
