:root {
  color-scheme: dark;
  --ink: #0f1922;
  --ink-deep: #09131c;
  --slate: #1e2a38;
  --steel: #33475b;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --fog: #e2e8f0;
  --mist: #a8b5c4;
  --line: rgba(148, 163, 184, 0.2);
  --shell: 70rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--fog);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 19, 28, 0.92);
}

.header-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  width: min(15rem, 65vw);
}

.brand img {
  width: 100%;
  height: 3.3rem;
  object-fit: contain;
  object-position: left center;
}

.header-link {
  color: var(--mist);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-link:hover {
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 30%, rgba(37, 99, 235, 0.22), transparent 34rem),
    linear-gradient(145deg, var(--ink-deep), var(--slate));
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -13rem;
  bottom: -19rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6rem;
  content: "";
  transform: rotate(45deg);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.18) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(100deg, transparent, #000 70%, transparent);
}

.hero-inner {
  display: grid;
  min-height: clamp(34rem, 72vh, 46rem);
  align-content: center;
  padding-block: 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(2.85rem, 9vw, 6.5rem);
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 39rem;
  margin: 0 0 2.5rem;
  color: #bdc8d5;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.primary-action,
.contact-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 0.45rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  min-height: 3.25rem;
  padding-inline: 1.25rem;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1rem 2.5rem rgba(37, 99, 235, 0.2);
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.about {
  padding-block: 5.5rem;
  background: #f4f7fa;
  color: var(--ink);
}

.section-heading {
  display: grid;
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 0;
  color: #4c5f72;
  font-size: 1.05rem;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.about-copy {
  max-width: 42rem;
}

.about-copy p {
  margin: 0 0 1.25rem;
  color: #3f5265;
  font-size: 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #ccd6e0;
  list-style: none;
}

.value-strip li {
  color: #30455a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  padding-block: 5.5rem;
  background:
    radial-gradient(circle at 85% 25%, rgba(37, 99, 235, 0.18), transparent 30rem),
    var(--slate);
}

.contact .section-heading {
  margin-bottom: 0;
}

.contact .section-heading h2 {
  color: #fff;
}

.contact .section-heading > p:last-child {
  color: #bac5d1;
}

.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
  background: rgba(9, 19, 28, 0.5);
}

.contact-label {
  margin: 0 0 0.75rem;
  color: var(--mist);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-action {
  min-height: 3.15rem;
  padding-inline: 1.1rem;
  background: var(--blue);
  color: #fff;
  overflow-wrap: anywhere;
  transition: background 160ms ease, transform 160ms ease;
}

.contact-action:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.contact address {
  display: grid;
  gap: 0.15rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  margin: 0;
  color: #bac5d1;
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
  color: var(--mist);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 2rem;
  font-size: 0.875rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  width: fit-content;
  color: var(--fog);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.footer-note {
  color: #718196;
}

@media (min-width: 42rem) {
  .shell {
    width: min(calc(100% - 4rem), var(--shell));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(3rem, 8vw, 7rem);
  }

  .value-strip {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .footer-note {
    text-align: right;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
