@import "tailwindcss";

:root {
  --ink: #0a1a2f;
  --muted: #657285;
  --paper: #f5f7f9;
  --line: rgba(10, 26, 47, 0.13);
  --blue: #1759c7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.blueprint {
  background-image:
    linear-gradient(rgba(23, 89, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 89, 199, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.site-header,
.hero,
.company-section,
footer {
  margin: 0 auto;
  max-width: 1320px;
  padding-left: 42px;
  padding-right: 42px;
  position: relative;
}

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

.brand {
  align-items: center;
  display: flex;
  gap: 13px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  font-size: 25px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  letter-spacing: -0.06em;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 23px;
  letter-spacing: 0.17em;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  margin-top: 6px;
  text-transform: uppercase;
}

.contact-link {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-link svg,
.card-arrow svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.hero {
  padding-bottom: 88px;
  padding-top: 84px;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.19em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--blue);
  height: 2px;
  width: 32px;
}

.hero h1 {
  font-size: clamp(64px, 8.5vw, 122px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.85;
  margin: 0;
  max-width: 1050px;
}

.hero h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 45px 0 0 auto;
  max-width: 570px;
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.15em;
  margin-top: 42px;
  text-transform: uppercase;
}

.status-dot {
  background: #32b67a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(50, 182, 122, 0.12);
  height: 7px;
  width: 7px;
}

.company-section {
  padding-bottom: 100px;
}

.section-heading {
  align-items: end;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
}

.section-heading p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

.section-heading span {
  color: var(--muted);
  font-size: 11px;
}

.company-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-card {
  --accent: var(--blue);
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 24px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.company-card::before {
  background: var(--accent);
  content: "";
  height: 4px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.company-card:hover,
.company-card:focus-visible {
  border-color: rgba(10, 26, 47, 0.28);
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.1);
  outline: none;
  transform: translateY(-6px);
}

.company-card:hover::before,
.company-card:focus-visible::before {
  transform: scaleX(1);
}

.company-card.cyan {
  --accent: #0c91a5;
}

.company-card.gold {
  --accent: #b47d22;
}

.company-card.green {
  --accent: #327a57;
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.card-number {
  color: #9ca6b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.card-arrow {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  height: 40px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  width: 40px;
}

.company-card:hover .card-arrow,
.company-card:focus-visible .card-arrow {
  background: var(--accent);
  color: white;
}

.card-content {
  margin-top: auto;
}

.card-content > p:first-child {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.card-content h2 {
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.rule {
  background: var(--accent);
  display: block;
  height: 2px;
  margin: 20px 0;
  width: 30px;
}

.description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.card-domain {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 26px;
  padding-top: 18px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 130px;
}

footer strong,
footer span {
  display: block;
}

footer strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

footer span,
footer p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin: 7px 0 0;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .company-section,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-header {
    height: 86px;
  }

  .contact-link {
    font-size: 0;
    gap: 0;
  }

  .contact-link svg {
    height: 23px;
    width: 23px;
  }

  .hero {
    padding-bottom: 64px;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 76px);
    line-height: 0.9;
  }

  .hero-copy {
    font-size: 15px;
    margin-top: 35px;
  }

  .section-heading span {
    display: none;
  }

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

  .company-card {
    min-height: 330px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
