:root {
  --navy: #132b38;
  --navy-soft: #1b3a48;
  --teal: #2aa695;
  --teal-dark: #16746a;
  --teal-pale: #dcefeb;
  --coral: #ef8465;
  --coral-dark: #b54d34;
  --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;
}
.lucide-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.text-link-icon {
  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.52);
  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: 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: grid;
  place-items: center;
  background: var(--teal);
}
.product-icon-shape {
  width: 32px;
  height: 32px;
  display: block;
  background: var(--paper);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.product-icon-car .product-icon-shape {
  -webkit-mask-image: url("/assets/products/car-agenda-mark-mask.png");
  mask-image: url("/assets/products/car-agenda-mark-mask.png");
}
.product-brand-symbol {
  width: 34px;
  height: 34px;
  color: var(--paper);
}
.football-product .product-icon {
  background: var(--coral);
}
.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);
}
.product-card > a .external-link-icon {
  width: 18px;
  height: 18px;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card > a:hover .external-link-icon,
.product-card > a:focus-visible .external-link-icon {
  transform: translate(2px, -2px);
}
.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: 0 max(24px, calc((100vw - 1400px) / 2));
  background: var(--navy);
  color: var(--salt);
}
.footer-main {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) minmax(150px, 0.55fr) minmax(190px, 0.7fr);
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}
.footer-identity {
  max-width: 390px;
}
.footer-brand {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none;
}
.footer-identity p {
  max-width: 320px;
  margin: 20px 0 0;
  color: rgba(244, 241, 232, 0.62);
  font-size: 17px;
  line-height: 1.5;
}
.footer-group {
  min-height: 132px;
  padding-left: 28px;
  border-left: 1px solid rgba(244, 241, 232, 0.14);
}
.footer-group .footer-group-title {
  margin: 2px 0 22px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-link-list {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.footer-link-list a {
  color: rgba(244, 241, 232, 0.82);
  text-decoration: none;
}
.footer-link-list a:hover,
.footer-link-list a:focus-visible,
.footer-link-list a[aria-current="page"] {
  color: var(--salt);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-bottom {
  min-height: 76px;
  padding: 22px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
}
.footer-bottom small,
.footer-bottom p {
  margin: 0;
  color: rgba(244, 241, 232, 0.52);
  font-size: 12px;
}

.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;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer-identity {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@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 {
    gap: 12px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .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;
  }
  .home-hero {
    min-height: 0;
    padding: 112px 16px 34px;
    justify-content: flex-start;
    gap: 0;
  }
  h1 {
    font-size: clamp(50px, 15vw, 68px);
  }
  .home-hero h1 {
    font-size: clamp(48px, 13.2vw, 56px);
    line-height: 0.98;
  }
  .home-hero .eyebrow {
    margin-bottom: 20px;
  }
  .hero-intro {
    margin-top: 26px;
    font-size: 18px;
  }
  .home-hero .hero-intro {
    margin: 24px 0 22px;
    font-size: 17px;
    line-height: 1.48;
  }
  .home-hero .text-link {
    min-height: 44px;
  }
  .hero-symbol {
    width: 100%;
    max-width: none;
    margin-top: 30px;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-top: 1px solid rgba(244, 241, 232, 0.15);
  }
  .hero-symbol svg {
    width: 76px;
  }
  .hero-symbol p {
    max-width: 180px;
    margin: 0;
    display: block;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.13em;
  }
  .principles {
    position: static;
    width: 100%;
    margin-top: 22px;
    padding-top: 18px;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(244, 241, 232, 0.15);
    font-size: 10px;
  }
  .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: 0 16px;
  }
  .footer-main {
    padding: 52px 0 44px;
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }
  .footer-identity {
    grid-column: 1 / -1;
  }
  .footer-brand {
    font-size: 26px;
  }
  .footer-identity p {
    margin-top: 14px;
    font-size: 15px;
  }
  .footer-group {
    min-height: 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(244, 241, 232, 0.14);
    border-left: 0;
  }
  .footer-group .footer-group-title {
    margin-bottom: 18px;
  }
  .footer-link-list {
    gap: 12px;
  }
  .footer-bottom {
    min-height: 0;
    padding: 22px 0 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .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 (max-width: 350px) {
  .home-hero {
    padding-top: 104px;
  }
  .home-hero h1 {
    font-size: 44px;
  }
  .home-hero .eyebrow {
    margin-bottom: 16px;
  }
  .home-hero .hero-intro {
    margin: 20px 0 18px;
    font-size: 16px;
  }
  .hero-symbol {
    margin-top: 24px;
    padding-top: 16px;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
  }
  .hero-symbol svg {
    width: 68px;
  }
  .principles {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 9px;
  }
}

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