@font-face {
  font-family: "Nunito";
  src: url("../../assets/fonts/Nunito-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-50: #eef3ff;
  --blue-100: #d9e4ff;
  --blue-200: #bccfff;
  --blue-300: #90afff;
  --blue-400: #5e85ff;
  --blue-500: #306eff;
  --blue-600: #1d54f0;
  --blue-700: #1842c4;
  --blue-800: #1a3a9b;
  --blue-900: #1b367a;
  --blue-950: #131f4d;

  --night: #0a1030;
  --night-2: #101943;
  --night-3: #172255;
  --night-ink: #f4f6ff;
  --night-soft: #b9c4ea;

  --flame: #fb641f;
  --flame-ink: #c2410c;
  --flame-50: #fff3ec;

  --ink: #1a202c;
  --ink-soft: #4a5568;
  --surface: #ffffff;
  --surface-alt: #f8f9ff;
  --tone-1: #f1f4fd;
  --tone-2: #e7ecfa;
  --success: #36b37e;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --pill: 999px;

  --margin: clamp(20px, 3.4vw, 56px);
  --maxw: 1600px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-float: 0 1px 2px rgba(19, 31, 77, 0.06), 0 12px 32px -8px rgba(19, 31, 77, 0.16), 0 32px 64px -24px rgba(19, 31, 77, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--blue-500);
  color: #fff;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding-inline: 26px;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.18s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn i {
  font-size: 18px;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover i.ph-arrow-right {
  transform: translateX(3px);
}

.btn-sm {
  --btn-h: 40px;
  padding-inline: 18px;
  font-size: 15px;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-light {
  background: #fff;
  color: var(--blue-950);
}

.btn-light:hover {
  background: var(--blue-50);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-tonal {
  background: var(--tone-2);
  color: var(--blue-950);
}

.btn-tonal:hover {
  background: var(--blue-100);
}

.flag {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(19, 31, 77, 0.08);
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.reveal-line > span {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
