:root {
  --navy: #132b38;
  --navy-soft: #1b3a48;
  --teal: #2aa695;
  --teal-dark: #187e73;
  --teal-pale: #dcefeb;
  --coral: #ef8465;
  --coral-dark: #b74f36;
  --coral-pale: #fbe5dd;
  --salt: #f4f1e8;
  --paper: #fffdf8;
  --ink-muted: #53666e;
  --line: rgba(19, 43, 56, 0.16);
  --focus: #ef8465;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--salt);
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--navy);
}
.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(100% - 48px, 1400px);
  min-height: 88px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--salt);
  border-bottom: 1px solid rgba(244, 241, 232, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.brand > span > span,
.footer-brand span {
  color: var(--coral);
}
.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--teal);
}
.connections {
  opacity: 0.58;
}
.nodes {
  fill: var(--teal);
}
.signals {
  fill: var(--coral);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-header nav a:not(.nav-action):hover {
  color: var(--teal);
}
.nav-action {
  padding: 0 18px;
  border: 1px solid rgba(244, 241, 232, 0.4);
}
.nav-action:hover {
  background: var(--salt);
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(900px, 100svh);
  padding: 150px max(24px, calc((100vw - 1400px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 9vw;
  overflow: hidden;
  background: var(--navy);
  color: var(--salt);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(244, 241, 232, 0.15);
}
.hero-copy {
  max-width: 760px;
  animation: arrive 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: var(--teal);
}
h1,
h2,
h3,
p {
  text-wrap: pretty;
}
h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(52px, 6.5vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 600;
}
.hero-intro {
  max-width: 630px;
  margin: 34px 0 32px;
  color: rgba(244, 241, 232, 0.76);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.5;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: var(--salt);
  text-decoration: none;
}
.text-link-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.text-link-arrow {
  color: var(--coral);
}

.hero-symbol {
  width: min(100%, 480px);
  justify-self: end;
  animation: arrive 700ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-symbol svg {
  display: block;
  width: 100%;
  color: var(--teal);
}
.hero-symbol p {
  margin: 22px 7% 0;
  color: rgba(244, 241, 232, 0.58);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.principles {
  position: absolute;
  left: max(24px, calc((100vw - 1400px) / 2));
  bottom: 36px;
  display: flex;
  gap: 34px;
  color: rgba(244, 241, 232, 0.44);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.principles span + span::before {
  content: "·";
  margin-right: 34px;
  color: var(--coral);
}

.products {
  padding: 120px max(24px, calc((100vw - 1400px) / 2)) 144px;
}
.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.7fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.section-heading .eyebrow {
  color: var(--teal-dark);
}
.section-heading h2,
.about h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 600;
}
.section-heading > p:last-child {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card {
  min-height: 600px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 42px;
  background: var(--paper);
}
.product-card + .product-card {
  border-left: 1px solid var(--line);
}
.product-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-index {
  color: var(--ink-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.product-icon {
  width: 54px;
  height: 54px;
  display: block;
}
img.product-icon {
  object-fit: contain;
}
.football-product .product-icon {
  width: 60px;
  height: 60px;
}
.product-icon-car {
  background-color: #0e5a61;
  -webkit-mask-image: url("/assets/products/car-agenda-mark-mask.png");
  mask-image: url("/assets/products/car-agenda-mark-mask.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.product-owner {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.product-tagline {
  margin: 18px 0 12px;
  font-size: 20px;
  font-weight: 600;
}
.product-card div > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--ink-muted);
}
.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.product-card li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
}
.product-card > a {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--salt);
  text-decoration: none;
  font-weight: 600;
}
.product-card > a:hover {
  background: var(--teal-dark);
}
.football-product > a:hover {
  background: var(--coral-dark);
}

.about {
  padding: 132px max(24px, calc((100vw - 1400px) / 2));
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10vw;
  background: var(--teal-pale);
}
.about .eyebrow {
  color: var(--teal-dark);
}
.about-copy > p {
  margin: 3px 0 52px;
  color: var(--navy-soft);
  font-size: clamp(19px, 1.7vw, 25px);
}
.about dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.about dl div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.about dt {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.about dd {
  margin: 0;
  font-weight: 500;
}

.site-footer {
  padding: 64px max(24px, calc((100vw - 1400px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 32px;
  background: var(--navy);
  color: var(--salt);
}
.footer-brand {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none;
}
.site-footer p {
  margin: 0;
  color: rgba(244, 241, 232, 0.62);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(244, 241, 232, 0.82);
  text-underline-offset: 5px;
}
.site-footer small {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  color: rgba(244, 241, 232, 0.44);
}

.legal-page {
  background: var(--salt);
}
.legal-site-header {
  min-height: 88px;
  padding: 0 max(24px, calc((100vw - 1400px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--salt);
  border-bottom: 1px solid rgba(244, 241, 232, 0.18);
}
.legal-back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(244, 241, 232, 0.8);
  text-underline-offset: 5px;
}
.legal-main {
  padding: 88px max(24px, calc((100vw - 1120px) / 2)) 128px;
}
.legal-document {
  display: grid;
  gap: 72px;
}
.legal-hero {
  max-width: 900px;
}
.legal-hero .eyebrow {
  color: var(--teal-dark);
}
.legal-hero h1 {
  max-width: 920px;
  color: var(--navy);
}
.legal-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 32px 0 20px;
  color: var(--ink-muted);
  font-size: clamp(18px, 1.7vw, 23px);
}
.legal-hero small {
  color: var(--ink-muted);
}
.legal-notice {
  padding: 28px 30px;
  background: var(--navy);
  color: var(--salt);
}
.legal-notice strong {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal-notice p {
  max-width: 880px;
  margin: 12px 0 0;
  color: rgba(244, 241, 232, 0.78);
  font-size: 18px;
}
.legal-section {
  padding-top: 32px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
}
.legal-section-number {
  margin: 6px 0 0;
  color: var(--coral-dark);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.legal-section h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.legal-section h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.legal-section p {
  max-width: 850px;
  color: var(--navy-soft);
}
.legal-section a {
  color: var(--teal-dark);
  font-weight: 600;
  text-underline-offset: 4px;
}
.legal-product-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal-product-card {
  padding: 34px;
  background: var(--paper);
}
.legal-product-card + .legal-product-card {
  border-left: 1px solid var(--line);
}
.legal-product-card p {
  margin: 18px 0 26px;
  color: var(--ink-muted);
}
.legal-product-card .product-owner {
  margin: 0 0 18px;
}
.legal-product-links {
  display: grid;
  gap: 12px;
}
.legal-contact-list {
  max-width: 850px;
  margin: 32px 0;
  border-top: 1px solid var(--line);
}
.legal-contact-list div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-contact-list dt {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-contact-list dd {
  margin: 0;
}
.legal-footer {
  margin-top: 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 820px;
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
  .section-heading {
    grid-template-columns: 1fr 1.7fr;
  }
  .section-heading > p:last-child {
    grid-column: 2;
  }
  .product-card {
    min-height: 560px;
    padding: 32px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 72px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .site-header nav a:not(.nav-action) {
    display: none;
  }
  .nav-action {
    padding: 0 13px;
  }
  .hero {
    min-height: 800px;
    padding: 118px 16px 100px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
  }
  h1 {
    font-size: clamp(50px, 15vw, 68px);
  }
  .hero-intro {
    margin-top: 26px;
    font-size: 18px;
  }
  .hero-symbol {
    width: min(68vw, 280px);
    align-self: flex-end;
  }
  .hero-symbol p {
    display: none;
  }
  .principles {
    left: 16px;
    right: 16px;
    bottom: 28px;
    justify-content: space-between;
    gap: 8px;
    font-size: 9px;
  }
  .principles span + span::before {
    display: none;
  }
  .products {
    padding: 88px 16px 96px;
  }
  .section-heading {
    display: block;
    margin-bottom: 44px;
  }
  .section-heading > p:last-child {
    margin-top: 24px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    min-height: 560px;
    padding: 28px 22px;
  }
  .product-card + .product-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .about {
    padding: 88px 16px;
  }
  .about-copy > p {
    margin-bottom: 40px;
  }
  .about dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .site-footer {
    padding: 56px 16px 34px;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .site-footer small {
    grid-column: auto;
  }
  .legal-site-header {
    min-height: 72px;
    padding: 0 16px;
  }
  .legal-back-link {
    font-size: 13px;
  }
  .legal-main {
    padding: 64px 16px 88px;
  }
  .legal-document {
    gap: 52px;
  }
  .legal-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .legal-product-grid {
    grid-template-columns: 1fr;
  }
  .legal-product-card {
    padding: 28px 22px;
  }
  .legal-product-card + .legal-product-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .legal-contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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