@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap");

:root {
  --primary: #01A0C6;
  --primary-text: #00799A;
  --on-primary: #0B1A20;
  --grey: #727A7E;
  --ink: #16191C;
  --black: #000000;
  --ground: #F5F4F1;
  --plate: #ECEAE5;
  --plate-2: #EFEDE9;
  --line: #DAD7D0;
  --hero-bg: #E9ECEF;
  --dark: #1E252C;
  --muted: #5B6168;
  --muted-2: #4C525A;
  --body: #3E444B;
}

body {
  margin: 0;
  background: var(--ground);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
}

a {
  color: #16191C;
}

a:hover {
  color: #00799A;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #00799A;
  outline-offset: 1px;
}

.btn-chamfer {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.btn-primary {
  background: #01A0C6;
  color: #0B1A20;
}

.btn-grey {
  background: #727A7E;
  color: #FFFFFF;
}

a.btn-primary:hover,
button.btn-primary:hover {
  color: #0B1A20;
}

a.btn-grey:hover,
button.btn-grey:hover {
  color: #FFFFFF;
}

button.btn-chamfer {
  border: 0;
  cursor: pointer;
  font-family: Inter, sans-serif;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
}

.hero-media {
  transform: scale(calc(1 + 0.14 * var(--p, 0))) translateY(calc(6% * var(--p, 0)));
  transition: transform 0.15s linear;
  will-change: transform;
}

.hero-copy {
  opacity: calc(1 - 1.5 * var(--p, 0));
  transform: translateY(calc(-90px * var(--p, 0)));
  transition: opacity 0.15s linear, transform 0.15s linear;
}

.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media,
  .hero-copy {
    transform: none;
    opacity: 1;
  }
}
