* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #f8fafc;
  line-height: 1.6;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-knot {
  color: #111827;
  font-weight: 800;
}

.brand-ai {
  color: #e30613;
  font-weight: 900;
}

/* Header / masthead */

.site-header {
  min-height: 270px;
  padding: 0 48px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.logo-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: absolute;
  left: calc((100% - 1180px) / 2 - 185px);
  top: 18px;
  z-index: 5;
}

.logo-image {
  width: 950px;
  height: 413px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: none;
}

.site-nav {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  z-index: 10;
}

.site-nav a {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #e30613;
}

.site-nav .portal-link {
  padding: 10px 16px;
  color: #ffffff;
  background: #111827;
  border-radius: 999px;
  font-weight: 800;
}

.site-nav .portal-link:hover {
  color: #ffffff;
  background: #e30613;
}

/* Hero */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 220px 48px 72px 48px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px 0;
  color: #e30613;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 780px;
  margin: 24px 0 0 0;
  color: #374151;
  font-size: 22px;
}

.button {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 22px;
  color: #ffffff;
  background: #111827;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button:hover {
  background: #e30613;
}

.button .brand-knot {
  color: #ffffff;
}

.button .brand-ai {
  color: #ff2b2b;
}

.hero-visual {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.visual-caption {
  margin: 18px 0 0 0;
  color: #374151;
  font-size: 15px;
}

/* Cards */

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto 88px auto;
  padding: 0 48px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.card p {
  margin-bottom: 0;
  color: #374151;
}

.card a {
  color: #111827;
  font-weight: 800;
  text-decoration-color: #e30613;
  text-underline-offset: 4px;
}

.card a:hover {
  color: #e30613;
}

/* Updates page */

.updates-list {
  max-width: 1180px;
  margin: 0 auto 88px auto;
  padding: 0 48px;
  display: grid;
  gap: 22px;
}

.update-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.update-date {
  margin: 0 0 10px 0;
  color: #e30613;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.update-card h2 {
  margin: 0 0 12px 0;
  font-size: 30px;
  line-height: 1.2;
}

.update-card p {
  max-width: 850px;
  margin: 0 0 18px 0;
  color: #374151;
}

.update-card a {
  color: #111827;
  font-weight: 800;
  text-decoration-color: #e30613;
  text-underline-offset: 4px;
}

.update-card a:hover {
  color: #e30613;
}

/* Legal / document pages */

.document-section {
  max-width: 920px;
  margin: 0 auto 88px auto;
  padding: 0 48px;
}

.document-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.document-card h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 26px;
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card p,
.document-card li {
  color: #374151;
}

.document-card a {
  color: #111827;
  font-weight: 800;
  text-decoration-color: #e30613;
  text-underline-offset: 4px;
}

.document-card a:hover {
  color: #e30613;
}

/* Footer */

.site-footer {
  padding: 32px 48px;
  color: #ffffff;
  background: #111827;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer .brand-knot {
  color: #ffffff;
}

.site-footer .brand-ai {
  color: #ff2b2b;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ff2b2b;
}

/* Tablet */

@media (max-width: 1150px) {
  .site-header {
    min-height: 300px;
    padding: 0 32px;
  }

  .logo-lockup {
    left: -135px;
    top: 16px;
  }

  .logo-image {
    width: 600px;
    height: 260px;
  }

  .site-nav {
    left: 32px;
    right: 32px;
    bottom: 26px;
    justify-content: flex-start;
  }

  .hero {
    padding: 150px 32px 72px 32px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 20px;
  }

  .intro-grid {
    padding: 0 32px;
  }

  .updates-list {
    padding: 0 32px;
  }

  .document-section {
    padding: 0 32px;
  }
}

/* Mobile */

@media (max-width: 750px) {
  .site-header {
    min-height: 330px;
    padding: 0 22px;
  }

  .logo-lockup {
    left: -32px;
    top: 18px;
  }

  .logo-image {
    width: 375px;
    height: 165px;
  }

  .site-nav {
    left: 22px;
    right: 22px;
    bottom: 24px;
    gap: 12px;
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: 14px;
  }

  .site-nav .portal-link {
    padding: 9px 14px;
  }

  .hero {
    padding: 100px 22px 48px 22px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-visual {
    padding: 18px;
    border-radius: 22px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    padding: 0 22px;
    margin-bottom: 64px;
  }

  .card {
    padding: 24px;
  }

  .updates-list {
    padding: 0 22px;
    margin-bottom: 64px;
  }

  .update-card {
    padding: 24px;
  }

  .update-card h2 {
    font-size: 26px;
  }

  .document-section {
    padding: 0 22px;
    margin-bottom: 64px;
  }

  .document-card {
    padding: 24px;
  }

  .site-footer {
    padding: 28px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}