/* Local Poppins font definitions */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg {
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
}

:root {
  /* Night Sky Blue */
  --color-night-sky-blue-0: #60677b;
  --color-night-sky-blue-1: #828898;
  --color-night-sky-blue-2: #9da7b2;
  --color-night-sky-blue-3: #cfd6dd;
  --color-night-sky-blue-4: #dee3e7;
  --color-night-sky-blue-5: #eaedf0;
  --color-night-sky-blue-6: #f2f3f4;
  --color-night-sky-blue-7: #f5f7f9;
  --color-night-sky-blue-8: #fbfcfd;
  --color-night-sky-blue-dark-1: #061131;
  --color-night-sky-blue-dark-2: #272E35;
  --color-night-sky-blue-dark-3: #3A424A;
  --color-night-sky-blue-dark-4: #454D65;

  /* Neutral */
  --color-neutral-0: #5e5e5e;
  --color-neutral-1: #898989;
  --color-neutral-2: #a5a5a5;
  --color-neutral-3: #d5d5d5;
  --color-neutral-4: #e2e2e2;
  --color-neutral-5: #eaeaea;
  --color-neutral-6: #f2f2f2;
  --color-neutral-7: #f7f7f7;
  --color-neutral-8: #fcfcfc;
  --color-neutral-dark-1: #222222;
  --color-neutral-dark-2: #2D2D2D;
  --color-neutral-dark-3: #404040;
  --color-neutral-dark-4: #525252;

  /* White Alpha */
  --color-white-0: #ffffff;

  /* Red */
  --color-red-0: #b12c27;
  --color-red-1: #c5615d;
  --color-red-2: #d89593;
  --color-red-3: #d89593;
  --color-red-4: #ebcac9;
  --color-red-5: #ebcac9;
  --color-red-6: #ffebeb;
  --color-red-7: #fbf4f4;
  --color-red-8: #fbf4f4;
  --color-red-dark-1: #2C0B0A;
  --color-red-dark-2: #591614;
  --color-red-dark-3: #85211D;
  --color-red-dark-4: #952D2D;

  /* Dark Blue */
  --color-dark-blue-0: #224099;
  --color-dark-blue-1: #6792f4;
  --color-dark-blue-2: #8db0fb;
  --color-dark-blue-3: #cdddff;
  --color-dark-blue-4: #d7e4ff;
  --color-dark-blue-5: #e5eeff;
  --color-dark-blue-6: #edf2ff;
  --color-dark-blue-7: #f5f8ff;
  --color-dark-blue-8: #fafbff;
  --color-dark-blue-dark-1: #061131;
  --color-dark-blue-dark-2: #113997;
  --color-dark-blue-dark-3: #1E50C0;
  --color-dark-blue-dark-4: #2759CD;

  /* Blue */
  --color-blue-0: #007da7;
  --color-blue-1: #409dbd;
  --color-blue-2: #80bed3;
  --color-blue-3: #b8e8f5;
  --color-blue-4: #c5ecf7;
  --color-blue-5: #e0f3fa;
  --color-blue-6: #e8f7fc;
  --color-blue-7: #f2f8fb;
  --color-blue-8: #fafeff;
  --color-blue-dark-1: #001F2A;
  --color-blue-dark-2: #003F54;
  --color-blue-dark-3: #005E7D;
  --color-blue-dark-4: #196C85;

  /* Green */
  --color-green-0: #2d8c63;
  --color-green-1: #4aa578;
  --color-green-2: #75cc9e;
  --color-green-3: #c2ebd5;
  --color-green-4: #c6f1da;
  --color-green-5: #d8f8e7;
  --color-green-6: #e6f9ef;
  --color-green-7: #f4f9f7;
  --color-green-8: #fbfefc;
  --color-green-dark-1: #0B2319;
  --color-green-dark-2: #174632;
  --color-green-dark-3: #196742;
  --color-green-dark-4: #22694A;

  /* Yellow */
  --color-yellow-0: #c68414;
  --color-yellow-1: #d4a34f;
  --color-yellow-2: #e2c189;
  --color-yellow-3: #e2c189;
  --color-yellow-4: #f1e0c4;
  --color-yellow-5: #f1e0c4;
  --color-yellow-6: #f1e0c4;
  --color-yellow-7: #fcf9f3;
  --color-yellow-8: #fcf9f3;
  --color-yellow-dark-1: #322105;
  --color-yellow-dark-2: #63420A;
  --color-yellow-dark-3: #94630F;
  --color-yellow-dark-4: #B4610E;

  /* SPACINGS */
  --spacing-0: 0px;
  --spacing-0-5: 2px;
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --spacing-10: 40px;
  --spacing-11: 44px;
  --spacing-16: 64px;

  /* Border Radius */
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-default: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

/* Typography Classes */
.typography-h1 {
  font-size: 42px;
  line-height: 50px;
  font-weight: 300;
  letter-spacing: normal;
}

.typography-h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-h3 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-h5 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: normal;
}

.typography-h6 {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.16px;
}

/* Body Text */
.typography-body-text-lg {
  font-size: 22px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-body-text {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-body-text-sm {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
}

/* Labels */
.typography-label-lg {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.16px;
}

.typography-label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.16px;
}

.typography-label-semantic {
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
}

.typography-label-helper {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
}

/* Buttons & Links */
.typography-button {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-button-sm {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
}

.typography-link {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: normal;
}

.typography-link-sm {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: normal;
}

/* Accessible focus styles */
.focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-dark-blue-0), 0 0 0 4px rgba(34, 64, 153, 0.1);
}

.focus-ring-inset:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-dark-blue-0);
}

/* Custom color utilities for the design system */
.text-night-sky-blue-dark-1 { color: var(--color-night-sky-blue-dark-1); }
.bg-blue-7 { background-color: var(--color-blue-7); }
.bg-dark-blue-0 { background-color: var(--color-dark-blue-0); }
.text-white-0 { color: var(--color-white-0); }
.hover\:bg-blue-0:hover { background-color: var(--color-blue-0); }
.hover\:text-white-0:hover { color: var(--color-white-0); }

/* Hero section header SVG */
.definely-logo {
  width: 180px;
  height: 44px;
}

/* Button styles matching React design */
.btn-primary {
  background-color: var(--color-dark-blue-0);
  color: var(--color-white-0);
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: #374151;
}

.btn-primary:disabled {
  background-color: #9CA3AF;
}

.btn-secondary {
  background-color: var(--color-white-0);
  color: #374151;
  padding: 12px 32px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: #F9FAFB;
}

/* Custom grid utilities */
.grid-2fr-1fr {
  grid-template-columns: 2fr 1fr;
}

/* CTA button hover effect */
.cta-button-hover:hover {
  background-color: #0089bb !important;
}