/* Crawl Daddy Experts tokens, adapted from design-system/project/colors_and_type.css.
   The Google Fonts import was intentionally removed; Sora is self-hosted. */

@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/Sora.woff2") format("woff2-variations"),
       url("../assets/fonts/Sora.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cde-navy: #14304A;
  --cde-navy-deep: #0B1F32;
  --cde-navy-soft: #244B6E;
  --cde-red: #D9230B;
  --cde-red-deep: #A8190A;
  --cde-red-soft: #FBE9E5;
  --cde-gold: #E8A526;
  --cde-gold-bright: #F5B82E;
  --cde-gold-deep: #B97E11;
  --cde-gold-soft: #FBEFCF;
  --cde-splash: #6E94B0;
  --cde-splash-deep: #486A82;
  --cde-splash-soft: #DCE6EE;
  --cde-cream: #F4ECDC;
  --cde-bone: #FAF6EC;
  --cde-line: #E1D9C5;
  --cde-line-strong: #C9BEA1;
  --cde-charcoal: #1B1B1B;
  --cde-slate: #4A5765;
  --cde-stone: #97A2AE;

  --bg: #FFFFFF;
  --bg-alt: var(--cde-cream);
  --bg-dark: var(--cde-navy);
  --bg-dark-alt: var(--cde-navy-deep);
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: var(--cde-bone);
  --fg1: var(--cde-navy);
  --fg2: var(--cde-slate);
  --fg3: var(--cde-stone);
  --fg-on-dark: #FFFFFF;
  --fg-on-dark-2: #C8D3DE;
  --fg-on-dark-3: #8AA0B6;
  --primary: var(--cde-red);
  --primary-hover: #C21F0A;
  --primary-press: var(--cde-red-deep);
  --on-primary: #FFFFFF;
  --accent: var(--cde-gold);
  --accent-hover: #D89519;
  --on-accent: var(--cde-navy);
  --link: var(--cde-red);
  --link-hover: var(--cde-navy);
  --success: #4F7A3A;
  --warning: var(--cde-gold-deep);
  --danger: var(--cde-red-deep);
  --info: var(--cde-splash-deep);
  --border: var(--cde-line);
  --border-strong: var(--cde-line-strong);
  --border-on-dark: rgba(255,255,255,0.14);

  --font-display: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-eyebrow: 0.78rem;
  --fs-body-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-h6: 1rem;
  --fs-h5: 1.25rem;
  --fs-h4: 1.5rem;
  --fs-h3: 2rem;
  --fs-h2: 2.75rem;
  --fs-h1: 3.75rem;
  --fs-display: 5rem;
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-normal: 1.55;
  --lh-loose: 1.7;
  --tracking-tight: 0;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-caps: 0.08em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,31,50,0.10);
  --shadow-md: 0 6px 14px -4px rgba(11,31,50,0.16), 0 2px 4px rgba(11,31,50,0.08);
  --shadow-lg: 0 18px 36px -10px rgba(11,31,50,0.28), 0 6px 10px rgba(11,31,50,0.10);
  --shadow-cta: 0 4px 0 var(--cde-red-deep);
  --shadow-cta-press: 0 1px 0 var(--cde-red-deep);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
  --container: 1180px;
  --container-narrow: 880px;
  --header-h: 84px;
}

html {
  background: var(--bg);
  color: var(--fg1);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg1);
  -webkit-font-smoothing: antialiased;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
p {
  margin-top: 0;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 6vw, var(--fs-h1));
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, var(--fs-h2));
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, var(--fs-h3));
  font-weight: 700;
  line-height: var(--lh-snug);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: var(--lh-snug);
}

p {
  color: var(--fg2);
  margin-bottom: var(--s-4);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

small, .small {
  color: var(--fg2);
  font-size: var(--fs-body-sm);
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
}
