@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #111;
  --muted: #555;
  --rule: #d9d9d9;
  --surface: #f5f5f5;
  --blue: #3381ff;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.5 "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:focus-visible, main:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.wrap {
  width: min(100% - 2 * var(--gutter), 78rem);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: var(--gutter);
  z-index: 1;
  padding: 0.5rem 1rem;
  background: #fff;
}
.skip-link:not(:focus) {
  clip-path: inset(50%);
}
.site-header {
  padding: 0.5rem;
  color: #202021;
}
.header-inner, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 2rem;
}
.header-inner {
  width: min(100%, 86rem);
  margin-inline: auto;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem clamp(0.75rem, 2vw, 1.5rem);
  border-radius: 0.25rem;
  background: rgb(255 255 255 / 30%);
}
.brand, nav a, .button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.brand:hover {
  opacity: 0.8;
}
.brand img {
  display: block;
  width: 5rem;
  height: auto;
}
.header-nav {
  --pill-height: 2rem;
  font-size: 0.875rem;
}
.header-nav ul {
  position: relative;
  gap: 0.25rem;
}
.header-nav a {
  position: relative;
  justify-content: center;
  isolation: isolate;
  padding-inline: clamp(0.4rem, 1.5vw, 0.75rem);
  border-radius: 0.25rem;
}
.header-nav a:hover {
  text-decoration: none;
}
.header-nav a::before {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: var(--pill-height);
  border-radius: inherit;
  background: var(--pill-color, transparent);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
  z-index: -1;
}
.header-nav a[aria-current="page"],
.header-nav a:focus-visible,
.header-nav :where(ul:not([data-highlight])) a:hover {
  --pill-color: #0000000d;
}
.header-nav a:active {
  --pill-color: #0000001a;
}
.header-nav .header-signin {
  --pill-color: var(--blue);
  color: #fff;
}
.header-nav .header-signin:hover {
  --pill-color: #5597ff;
}
.header-nav .header-signin:active {
  --pill-color: #2f7cf5;
}
.header-nav ul::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--highlight-width, 0);
  height: var(--pill-height);
  border-radius: 0.25rem;
  background: #0000000d;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--highlight-x, 0), calc(var(--highlight-y, 0px) - var(--pill-height) / 2));
}
.header-nav ul[data-highlight]::before {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .brand {
    transition: opacity 200ms ease-out;
  }
  .header-nav ul[data-highlight]::before {
    transition: transform 200ms ease-out, width 100ms ease-out;
  }
}
nav ul, .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem clamp(0.75rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-inner nav a:hover {
  text-decoration: underline;
}
.button {
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.button:hover {
  background: #333;
}
.button--secondary {
  background: #eee;
  color: var(--ink);
}
.button--secondary:hover {
  background: #ddd;
}
.hero {
  padding-block: clamp(4rem, 9vw, 8.5rem);
}
h1 {
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(2.25rem, 8.2vw, 7.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
h1 span {
  display: block;
}
.hero-copy {
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.hero-copy p {
  max-width: 55ch;
  margin: 0 0 1.75rem;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}
.actions {
  gap: 0.75rem;
}
.testimony {
  background: var(--surface);
  border-block: 1px solid var(--rule);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.testimony figure, blockquote {
  margin: 0;
}
.testimony h2 {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
blockquote p {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(1.875rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
figcaption {
  margin-top: 1.5rem;
  color: var(--muted);
}
.footer-inner {
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-inner p {
  margin: 0;
}
