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

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

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

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/barlow-condensed-900.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #172025;
  --steel: #52606a;
  --jade: #0f766e;
  --jade-bright: #0d9488;
  --mist: #f4f7f7;
  --border: #e3e8e8;
  --focus: #0d9488;
  font-family: "Barlow", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  translate: 0 -160%;
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  height: 4rem;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.button {
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  padding-inline: 0.625rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, translate 100ms ease;
}

.button:hover {
  background: var(--mist);
}

.button:active {
  translate: 0 1px;
}

.button:focus-visible,
.brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent);
  outline-offset: 3px;
}

.button-primary {
  background: var(--jade);
  color: #fff;
}

.button-primary:hover {
  background: rgb(15 118 110 / 80%);
}

.button-outline {
  border-color: var(--border);
  background: #fff;
}

.button-outline:hover,
.button-quiet:hover {
  color: var(--ink);
  background: var(--mist);
}

.button-large {
  height: 2.25rem;
  padding-inline: 0.625rem;
  font-size: 0.875rem;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero {
  padding: 4rem 1rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.brand-bar {
  width: 4rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--jade);
}

.eyebrow {
  margin: 0;
  color: var(--jade);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.25rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
}

h1 {
  max-width: 48rem;
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-wrap: balance;
}

h1 strong {
  color: var(--jade);
  font-weight: inherit;
}

.hero-copy {
  max-width: 36rem;
  margin: 0;
  color: var(--steel);
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-wrap: balance;
}

.hero-actions {
  gap: 0.75rem;
}

.features {
  padding: 0 1rem 4rem;
  display: grid;
  gap: 1.5rem;
}

.feature {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--mist) 55%, #fff);
}

.feature-bar {
  width: 2rem;
  height: 0.25rem;
  margin-block-end: 1rem;
  border-radius: 999px;
  background: var(--jade);
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-block-end: 0.75rem;
  fill: none;
  stroke: var(--jade);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h2 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.75rem;
}

.feature p {
  margin: 0;
  color: var(--steel);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

footer {
  border-block-start: 1px solid var(--border);
  padding: 1.5rem 1rem;
  color: var(--steel);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .site-header {
    padding-inline: 2rem;
  }

  h1 {
    font-size: 4.5rem;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 4rem;
  }

  footer {
    padding-inline: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
