@font-face {
  font-family: "Funnel Display";
  src: url("funnel-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Funnel Sans";
  src: url("funnel-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f7f9fa;
  --surface: #ecf0f2;
  --paper: #ffffff;
  --ink: #1f3038;
  --muted: #465861;
  --line: #cfd9dd;
  --control-line: #71848d;
  --action: #0d7480;
  --action-hover: #095661;
  --action-text: #ffffff;
  --inverse: #f7f9fa;
  --inverse-muted: #d0dce0;
  --inverse-action: #b7e5e8;
  --inverse-line: #697981;
  --font-display: "Funnel Display", "Space Grotesk", system-ui, sans-serif;
  --font-text: "Funnel Sans", Inter, system-ui, sans-serif;
  --site-width: 76rem;
  --read-width: 53rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --column-gap: 1.5rem;
  --nav-height: 4.625rem;
  --section-space: clamp(3.5rem, 8vw, 7rem);
  --panel-space: clamp(1.25rem, 3vw, 2rem);
  --button-radius: 0.375rem;
  --panel-radius: 0.5rem;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
}

main { flex: 1; }

h1, h2, h3, p, figure, ul, ol { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.625rem, 6.25vw, 5.5rem); }
h2 { font-size: clamp(1.75rem, 3.15vw, 2.625rem); }
h3 { font-size: 1.25rem; }

p { overflow-wrap: break-word; }
p + p { margin-top: 1rem; }
a { color: inherit; }
button { font: inherit; }
.keep-together { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 4px;
}

.site-footer :focus-visible,
.band-dark :focus-visible {
  outline-color: var(--inverse-action);
}

.skip-link {
  position: absolute;
  z-index: 4;
  inset-block-start: 0.75rem;
  inset-inline-start: max(var(--gutter), calc((100% - var(--site-width)) / 2 + var(--gutter)));
  transform: translateY(calc(-100% - 1rem));
  padding: 0.625rem 1rem;
  border-radius: var(--button-radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--read-width); }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-bar, .site-nav, .nav-actions {
  display: flex;
  align-items: center;
}

.header-bar {
  min-height: var(--nav-height);
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  font: 600 1.875rem/1 var(--font-display);
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark img {
  width: 1.9375rem;
  height: auto;
}

.site-nav {
  gap: clamp(0.875rem, 1.5vw, 1.5rem);
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-nav > a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.site-nav > a { white-space: nowrap; }

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.site-nav > a[aria-current="page"] { color: var(--action-hover); }
.nav-actions { gap: 0.75rem; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--control-line);
  border-radius: var(--button-radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle:hover { background: var(--surface); }

.menu-icon {
  position: relative;
  width: 1.125rem;
  height: 0.625rem;
  border-block: 2px solid currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  border: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before,
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--action);
  border-radius: var(--button-radius);
  color: var(--action-hover);
  background: var(--paper);
  font: 600 1rem/1.3 var(--font-text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--action-text);
  background: var(--action);
}

.button-primary:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

.button-blue:hover,
.button-outline:hover {
  border-color: var(--action-hover);
  background: var(--surface);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button, .menu-toggle {
    transition: background-color 140ms ease, border-color 140ms ease;
  }
}

.arrow {
  position: relative;
  flex: 0 0 0.875rem;
  display: inline-block;
  width: 0.875rem;
  height: 0.625rem;
}

.arrow::before {
  position: absolute;
  content: "";
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.text-link {
  color: var(--action-hover);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-link .arrow { margin-inline-start: 0.5rem; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { background: var(--surface); }

.home-hero {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--nav-height) - 1px);
  justify-items: center;
  align-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(2.75rem, 8vw, 7.5rem);
  text-align: center;
}

.hero-grid:has(.hero-card img) {
  gap: clamp(1.25rem, 2vw, 1.75rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.home-hero h1 {
  max-width: 19ch;
  margin-inline: auto;
  line-height: 1.025;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 55ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.home-hero .lead { margin-inline: auto; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.home-hero .actions {
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-card {
  width: min(100%, 49rem);
  min-width: 0;
}

.hero-review-frames {
  display: grid;
}

.hero-review-frame {
  grid-area: 1 / 1;
  min-width: 0;
}

.hero-review-frame + .hero-review-frame {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-review-frames[data-ready] .hero-review-frame + .hero-review-frame {
    animation: hero-review-dissolve 5s ease-in-out infinite;
  }
}

@keyframes hero-review-dissolve {
  /* Each view holds for two seconds, followed by a half-second dissolve. */
  0%, 40%, 100% { opacity: 0; }
  50%, 90% { opacity: 1; }
}

.screenshot {
  display: grid;
  justify-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  padding: 1rem var(--panel-space);
  text-wrap: pretty;
}

.screenshot:not(:has(img)) {
  align-content: center;
  min-height: 8.5rem;
}

.hero-card .screenshot {
  border-top: 3px solid var(--action);
  background: var(--paper);
}

.page-hero {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.75vw, 4.75rem);
  text-wrap: pretty;
}

.page-hero .lead + p { margin-top: 1rem; }

.band { padding-block: var(--section-space); }
.band-title { margin-bottom: 1.25rem; }
.band-white { background: var(--paper); }

.band-dark {
  color: var(--inverse);
  background: var(--ink);
}

.band-dark p { color: var(--inverse-muted); }
.band-dark p:first-of-type { color: var(--inverse); font-size: clamp(1.25rem, 2vw, 1.5rem); }
.band-dark h2 + p { margin-top: 1.25rem; }
.band-dark .text-link { color: var(--inverse-action); }

@media (min-width: 54rem) {
  .band-white > .measure,
  .band-dark > .measure {
    display: grid;
    max-width: var(--site-width);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--column-gap);
    align-items: start;
  }

  .band-white > .measure > h2,
  .band-dark > .measure > h2 {
    grid-area: 1 / 1 / span 4 / 6;
    margin: 0;
  }

  .band-white > .measure > p,
  .band-dark > .measure > p { grid-column: 7 / -1; }
  .band-dark h2 + p { margin-top: 0; }
}

.band ul:has(> li > [data-form-catalog]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  padding: 0;
}

.band ul:has(> li > [data-form-catalog]) > li {
  padding: 0.625rem 0;
  border-top: 1px solid var(--line);
}

.band ul:has(> li > [data-form-catalog]) > li::marker { color: var(--action); }

.form-request strong { font-size: 1.25rem; }

.closing {
  background: var(--surface);
  text-align: center;
}

.closing h2 {
  margin-inline: auto;
  max-width: 23ch;
}

.closing p { margin-inline: auto; max-width: 60ch; }

.card-grid, .form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--column-gap);
}

.card {
  min-width: 0;
  padding: var(--panel-space);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
}

.card h2, .faq h2 { font-size: clamp(1.5rem, 2.65vw, 2.375rem); }
.card h2 + p { margin-top: 0.75rem; }
.card .screenshot, .card .actions { margin-top: 1.5rem; }

.card-accent {
  border-top: 3px solid var(--action);
  background: var(--surface);
}

.form-grid h2 { font-size: 1.375rem; }
.stack { display: grid; gap: 1.5rem; }

.form-catalog {
  width: min(56rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  color: var(--ink);
}

.form-catalog[open] {
  display: flex;
  flex-direction: column;
}

.form-catalog::backdrop { background: rgb(31 48 56 / 65%); }

.form-catalog header, .form-catalog .stack { padding: var(--panel-space); }

.form-catalog header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.form-catalog .stack { overflow: auto; }
.form-catalog .stack:focus-visible { outline-offset: -4px; }
.form-catalog h3 { margin-bottom: 0.75rem; }

.form-catalog ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.5rem 1.25rem;
  padding: 0;
  list-style: none;
}

.form-catalog li {
  padding-block: 0.5rem;
  border-top: 1px solid var(--line);
}

.form-catalog li span {
  display: block;
  color: var(--muted);
}

.steps {
  max-width: var(--site-width);
  display: grid;
  gap: 1.5rem;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.step:not(:has(> .screenshot)) { grid-template-columns: minmax(0, 1fr); }

.step-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--action-hover);
  font-weight: 700;
}

.step .screenshot { margin: 0; }

.table-card { padding-block: 0.5rem; }

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td { padding: 0.875rem 0; }
thead th { color: var(--muted); font-weight: 600; }
tbody tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; }
th:last-child, td:last-child { padding-inline-start: 0.5rem; text-align: right; }
td { font-weight: 700; font-variant-numeric: tabular-nums; }

.faq { display: grid; gap: 0.625rem; }
.faq h2 { margin-bottom: 0.375rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
}

.faq summary {
  position: relative;
  min-height: 2.75rem;
  padding: 0.875rem 3rem 0.875rem 1rem;
  border-radius: inherit;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}

.faq summary:hover,
.faq details[open] summary { background: var(--surface); }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.125rem;
  width: 0.625rem;
  height: 0.625rem;
  border: solid var(--action-hover);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.faq details[open] summary::after { top: 1.5rem; transform: rotate(225deg); }
.faq details > div { padding: 1rem; }

mark {
  background: transparent;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

.site-footer {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--inverse-muted);
  font-size: 0.9375rem;
}

.footer-main, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem 2rem;
}

.footer-bottom {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--inverse-line);
}

.footer-bottom nav, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
}

.site-footer a:hover,
.site-footer nav a[aria-current="page"] { color: var(--inverse); }

@media (max-width: 67.999rem) {
  .menu-toggle { display: inline-flex; }
  .menu-toggle[aria-expanded="false"] + .site-nav { display: none; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    max-height: calc(100dvh - var(--nav-height));
    overflow: auto;
    padding: 0.5rem var(--gutter) 1.25rem;
    border-block: 1px solid var(--line);
    background: var(--paper);
    gap: 0;
  }

  .site-nav > a { min-height: 3rem; }
  .site-nav > a + a { border-top: 1px solid var(--line); }
  .nav-actions { flex-wrap: wrap; margin-top: 0.75rem; }
}

@media (max-width: 56rem) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  :root { --nav-height: 4rem; }

  .wordmark { font-size: 1.625rem; }
  .wordmark img { width: 1.6875rem; }
  .home-hero .actions { align-items: stretch; flex-direction: column; }
  .hero-grid { gap: 1.75rem; }
  .form-grid, .step, .band ul:has(> li > [data-form-catalog]) {
    grid-template-columns: minmax(0, 1fr);
  }
}
