:root {
  --ink: #14181f;
  --ink-soft: #4d5562;
  --paper: #ffffff;
  --tint: #f5f6f8;
  --line: #dfe3e8;
  --volt: #ffb81c;
  --volt-text: #94600a;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1,
h2 {
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--volt-text);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 8px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--volt-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
}

.nav-list .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.button:hover {
  background: #2c3440;
}

.button-quiet {
  background: transparent;
  color: var(--ink);
}

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

.button-accent {
  border-color: var(--volt);
  background: var(--volt);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.button-accent:hover {
  background: #ffc94d;
}

/* Hero */

.hero {
  padding-block: clamp(56px, 9vw, 104px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.lede {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.1875rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-board {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-tint {
  background: var(--tint);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--volt);
  border-radius: 4px;
}

.service p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.service ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
  margin-top: 16px;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  list-style: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--volt-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.steps p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 6vw, 72px);
}

.about-copy {
  display: grid;
  gap: 16px;
  color: var(--ink-soft);
}

/* Contact and footer */

.contact {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: #fff;
}

.contact-inner {
  text-align: center;
}

.contact p {
  margin-block: 12px 28px;
  color: #c9ced6;
}

.contact a:focus-visible {
  outline-color: #fff;
}

.site-footer {
  padding-block: 24px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-board {
    max-width: 480px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav-optional {
    display: none;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

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

  .button {
    transition: none;
  }
}
