:root {
  --bg: #ffffff;
  --muted-bg: #fafafa;
  --ink: #1d1f20;
  --heading: #181d27;
  --text: #535862;
  --label: #e2715b;
  --button: #057dcd;
  --button-hover: #0469ad;
  --footer: #31373d;
  --nav-width: 1040px;
  --content-width: 730px;
  --hero-width: 826px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: #fff;
}

.nav {
  width: min(var(--nav-width), calc(100% - 40px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  display: block;
}

.nav-cta {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #414651;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero {
  padding: 60px 0 100px;
}

.hero-inner {
  width: min(var(--hero-width), calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.section {
  padding: 80px 0 100px;
}

.section-muted {
  background: var(--muted-bg);
}

.section-inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0;
  color: var(--label);
  font-size: 1rem;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
}

h1 {
  margin-top: 16px;
  font-size: 4.6875rem;
  font-weight: 600;
  line-height: 1.1733333333;
  letter-spacing: -3.6px;
}

h2 {
  margin-top: 16px;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.3px;
}

.hero-text {
  width: min(548px, 100%);
  margin: 32px auto 0;
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.3px;
}

.section-text {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.3px;
}

.button {
  width: 112px;
  min-height: 48px;
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--button);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--button-hover);
  transform: translateY(-1px);
}

.section-heading {
  margin-bottom: 40px;
}

.solution-list {
  display: grid;
  gap: 48px;
}

.solution {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
}

.solution p {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff4f1;
}

.solution-icon span {
  width: 24px;
  height: 24px;
  display: block;
  border: 2px solid var(--label);
  border-radius: 7px;
}

.solution-icon-img {
  display: block;
  background: none;
  border-radius: 10px;
}

.solution:nth-child(2) .solution-icon span {
  border-radius: 50%;
}

.solution:nth-child(3) .solution-icon span {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  transform: rotate(45deg);
}

.contact .button {
  margin-top: 16px;
}

.footer {
  padding: 40px 0 100px;
  background: #fff;
}

.footer p {
  margin: 0;
  color: var(--footer);
  font-size: 1rem;
  line-height: 2;
}

.contact-page {
  min-height: 100vh;
  background: #ffffff;
}

.contact-hero {
  padding: 60px 0 96px;
}

.contact-shell {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: start;
}

.contact-copy h1 {
  max-width: 14ch;
  font-size: 4rem;
}

.contact-lead,
.contact-note {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.375rem;
  line-height: 1.7;
  letter-spacing: -0.2px;
}

.contact-note a {
  color: var(--button);
}

.contact-form {
  width: min(100%, 820px);
  padding: 28px;
  border: 1px solid rgba(24, 29, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(24, 29, 39, 0.06);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.field span {
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(83, 88, 98, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--heading);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 176px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(5, 125, 205, 0.65);
  box-shadow: 0 0 0 4px rgba(5, 125, 205, 0.12);
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button-submit {
  width: auto;
  min-width: 148px;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.5rem;
  margin: 12px 0 0;
  color: var(--label);
  font-size: 0.95rem;
  line-height: 1.5;
}

.button-fit {
  width: auto;
  min-width: 112px;
  padding: 0 22px;
}

@media (max-width: 860px) {
  .hero {
    padding: 48px 0 76px;
  }

  .section {
    padding: 64px 0 80px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -2.2px;
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

@media (max-width: 540px) {
  .nav,
  .hero-inner,
  .section-inner {
    width: min(100% - 32px, var(--content-width));
  }

  .contact-shell {
    width: min(100% - 32px, var(--content-width));
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.5rem);
  }

  .hero-text,
  .section-text {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .solution {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
  }

  .solution-icon {
    width: 40px;
    height: 40px;
  }

  .solution-icon span {
    width: 20px;
    height: 20px;
  }
}
