:root {
  color-scheme: light;
  --ink: #0b1728;
  --ink-soft: #465569;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #dce3eb;
  --accent: #40c7d4;
  --accent-dark: #178a98;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(11, 23, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 23, 40, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 3px 12px 3px 3px;
}

.header-label {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

main {
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: center;
}

.intro {
  position: relative;
  padding-left: 28px;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 5px auto 7px 0;
  width: 4px;
  background: var(--accent);
  border-radius: 999px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 5.8rem);
  font-weight: 710;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.contact-card {
  min-height: 440px;
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px 44px 4px 4px;
  box-shadow: 0 28px 60px rgba(11, 23, 40, 0.14);
}

.contact-card .card-kicker {
  color: var(--accent);
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.card-copy {
  margin: 18px 0 0;
  color: #b8c5d6;
  font-size: 1rem;
  line-height: 1.65;
}

.email-link {
  min-width: 0;
  padding: 19px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.email-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-link small {
  display: block;
  margin-bottom: 6px;
  color: #8fa0b6;
  font-size: 0.75rem;
  font-weight: 500;
}

.email-link svg {
  width: 26px;
  flex: 0 0 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 160ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.email-link:hover svg,
.email-link:focus-visible svg {
  transform: translateX(4px);
}

.email-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.company-details {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.company-details div {
  display: grid;
  gap: 6px;
}

.company-details dt {
  color: #8fa0b6;
  font-size: 0.75rem;
}

.company-details dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}

@media (max-width: 840px) {
  .page-shell {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 86px;
  }

  .header-label {
    display: none;
  }

  main {
    padding: 56px 0 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-card {
    min-height: 400px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 24px, 680px);
  }

  .intro {
    padding-left: 20px;
  }

  .intro::before {
    width: 3px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .contact-card {
    min-height: 0;
    padding: 30px 24px;
    border-radius: 3px 30px 3px 3px;
  }

  .company-details {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
