/* AskGVT web tokens, color and typography v2. Link in every page. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600..700&family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&family=Fira+Code:wght@400;500&display=swap");

:root {
  /* Teal ramp */
  --teal-50: #E2F5F1; --teal-100: #C4EDE7; --teal-200: #97DDD6; --teal-300: #6FCDC6; --teal-400: #56C3BD;
  --teal-500: #45B9B4; --teal-600: #36A09C; --teal-700: #2A7F7D; --teal-800: #1D5E5E; --teal-900: #0F3D3E;
  /* Coral ramp */
  --coral-50: #FFF1ED; --coral-100: #FFE0D7; --coral-200: #FFC2B1; --coral-300: #FFA38B; --coral-400: #FF8E73;
  --coral-500: #FF7A5C; --coral-600: #E85F40; --coral-700: #C2462A; --coral-800: #93321D; --coral-900: #5E1F12;
  /* Sun ramp */
  --sun-50: #FFF9E8; --sun-100: #FFF1CC; --sun-200: #FFE59E; --sun-300: #FFDD85; --sun-400: #FFD776;
  --sun-500: #FFD166; --sun-600: #F0B83F; --sun-700: #C98F1E; --sun-800: #946510; --sun-900: #5C3E0A;
  /* Minto Gordo and mint */
  --minto-1: #3DD9C0; --minto-2: #5FE8B5; --minto-3: #B6F2C7; --mint-hover: #86EFC9;

  /* Named colors */
  --superteal: var(--teal-500); --deep-end: var(--teal-900); --seafoam: var(--teal-50);
  --hotcoral: var(--coral-500); --blush: var(--coral-50);
  --sunroof: var(--sun-500); --cream: var(--sun-50);
  --mint: var(--minto-2);

  /* Neutrals */
  --surface: #FEFDFF; --panel: #FAFAF6; --gvt-black: #050505; --paper: #FFFFFF; --dark-canvas: #0A0C10;
  --grey-100: #F8F9FA; --grey-200: #E9ECEF; --grey-300: #DEE2E6; --grey-400: #CED4DA; --grey-500: #ADB5BD;
  --grey-600: #6C757D; --grey-700: #495057; --grey-800: #343A40; --grey-900: #212529; --grey-950: #151718; --grey-999: #111214;
  --ink: var(--grey-950);
  --border: rgba(0,0,0,.10); --border-strong: rgba(0,0,0,.16); --border-dark: rgba(255,255,255,.12);

  /* Semantic */
  --success: #0CB25F; --warning: #DE7C0D; --danger: #DE0D2C;

  /* Gradients, always 135deg */
  --grad-minto: linear-gradient(135deg, #3DD9C0, #5FE8B5, #B6F2C7);
  --grad-cta: var(--grad-minto);
  --grad-cta-hover: linear-gradient(135deg, #5FE8B5, #86EFC9, #D2F7DC);
  --grad-cta-active: linear-gradient(135deg, #2FC2AC, #4FD9A6, #A3E9BA);
  --grad-cta-ui: linear-gradient(135deg, #45B9B4, #5FE8B5); /* fallback CTA if the gradient reads as a second logo */
  --grad-tide: linear-gradient(135deg, #45B9B4, #0F3D3E);
  --grad-daybreak: linear-gradient(135deg, #45B9B4, #B6F2C7, #FFD166);
  --grad-heat: linear-gradient(135deg, #FF7A5C, #FFD166);

  /* Fonts */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;  /* headlines only */
  --font-eyebrow: Rajdhani, "Arial Narrow", sans-serif;          /* eyebrows */
  --font-numbers: Rajdhani, "Arial Narrow", sans-serif;          /* big stats */
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "Fira Code", ui-monospace, monospace;

  /* Spacing (strict) */
  --space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px;
  --space-24: 24px; --space-32: 32px; --space-48: 48px; --space-64: 64px;

  /* Radius (strict) */
  --radius-sm: 8px; --radius-md: 16px; --radius-pill: 999px;

  /* Motion */
  --ease-enter: cubic-bezier(.2,.7,.2,1); --ease-interactive: cubic-bezier(.5,0,.2,1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-view: 320ms;
}

body { margin: 0; background: var(--surface); color: var(--gvt-black); font-family: var(--font-body); font-size: 16px; line-height: 24px; }

/* Type styles */
.t-display-xl, .t-display, .t-h1, .t-h2, .t-h3, .t-h4 { font-family: var(--font-display); margin: 0; }
.t-stat { font-family: var(--font-numbers); font-size: 120px; line-height: 1; font-weight: 700; letter-spacing: 0; margin: 0; } /* numbers only, never words */
.t-display-xl { font-size: 96px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.t-display { font-size: 72px; line-height: 76px; font-weight: 700; letter-spacing: -0.025em; }
.t-h1 { font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -0.02em; }
.t-h2 { font-size: 48px; line-height: 52px; font-weight: 700; letter-spacing: -0.02em; }
.t-h3 { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.t-h4 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.005em; }
.t-eyebrow { font-family: var(--font-eyebrow); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.t-body-lg { font-size: 20px; line-height: 30px; }
.t-body { font-size: 16px; line-height: 24px; }
.t-body-sm { font-size: 14px; line-height: 20px; }
.t-caption { font-size: 12px; line-height: 16px; }
.t-code { font-family: var(--font-mono); font-size: 14px; line-height: 20px; }

@media (max-width: 767px) {
  .t-stat { font-size: 72px; }
  .t-display-xl { font-size: 56px; line-height: 60px; }
  .t-display { font-size: 48px; line-height: 52px; }
  .t-h1 { font-size: 40px; line-height: 44px; }
  .t-h2 { font-size: 36px; line-height: 40px; }
  .t-h3 { font-size: 28px; line-height: 32px; }
  .t-h4 { font-size: 20px; line-height: 28px; }
  .t-eyebrow { font-size: 14px; }
  .t-body-lg { font-size: 16px; line-height: 24px; }
}

/* Buttons: padding and radius from the v1 scale */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  padding: var(--space-12) var(--space-24); border: 1px solid transparent; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-interactive), background-image var(--dur-fast) var(--ease-interactive), border-color var(--dur-fast) var(--ease-interactive);
}
.btn-sm { padding: var(--space-8) var(--space-16); font-size: 14px; line-height: 20px; }
.btn-lg { padding: var(--space-16) var(--space-32); }
.btn:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 2px; }

/* Primary: the Minto Gordo gradient, on light and dark surfaces */
.btn-primary { background-image: var(--grad-cta); color: var(--gvt-black); }
.btn-primary:hover { background-image: var(--grad-cta-hover); }
.btn-primary:active { background-image: var(--grad-cta-active); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] { background-image: none; background-color: var(--grey-400); color: var(--grey-500); }

.btn-teal { background: var(--teal-500); color: var(--gvt-black); }
.btn-teal:hover { background: var(--teal-400); }
.btn-teal:active { background: var(--teal-600); }

.btn-coral { background: var(--coral-500); color: var(--gvt-black); }
.btn-coral:hover { background: var(--coral-400); }
.btn-coral:active { background: var(--coral-600); }

.btn-mint { background: var(--mint); color: var(--gvt-black); }
.btn-mint:hover { background: var(--mint-hover); }
.btn-mint:active { background: var(--minto-1); }
.btn-mint:focus-visible { outline-color: var(--mint); }

.btn-deep { background: var(--teal-900); color: var(--paper); }
.btn-deep:hover { background: var(--teal-800); }
.btn-deep:active { background: var(--teal-700); }

.btn-secondary { background: var(--surface); color: var(--gvt-black); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--gvt-black); }
.btn-secondary:active { background: var(--grey-200); }

.btn-secondary-dark { background: transparent; color: var(--paper); border-color: var(--border-dark); }
.btn-secondary-dark:hover { border-color: var(--paper); }
.btn-secondary-dark:focus-visible { outline-color: var(--mint); }

.btn:disabled, .btn[aria-disabled="true"] { background: var(--grey-400); color: var(--grey-500); border-color: transparent; cursor: not-allowed; }

/* Surfaces */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-32); }
.pill { border-radius: var(--radius-pill); }
