@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ECE7DC;
  color: #161616;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
}

a {
  color: #B8441A;
}

a:hover {
  color: #8E3312;
}

a:focus-visible {
  outline: 2px solid #F4F1EA;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #161616;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  background: #161616;
  color: #F4F1EA;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

.page {
  width: 100%;
  padding-bottom: 32px;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 24px;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 100%;
  font-family: Archivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
}

.nav a {
  color: #161616;
  text-decoration: none;
  padding: 8px 10px;
}

.nav a:hover {
  color: #B8441A;
}

.nav-beta {
  background: #161616;
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 999px;
}

.nav a.nav-beta,
.nav a.nav-beta:hover {
  color: #FFFFFF;
}

.bento {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bento > * {
  min-width: 0;
}

.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-6 { grid-column: span 6; }

.hero,
.beta {
  grid-row: span 2;
}

.hero {
  border-radius: 24px;
  color: #F4F1EA;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  background-image:
    linear-gradient(rgba(14, 13, 12, 0.62), rgba(14, 13, 12, 0.9)),
    url("court-bg-web.jpg");
  background-size: cover;
  background-position: center;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #EE6A33;
}

.hero h1 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero h1 .dot {
  color: #EE6A33;
}

.hero .lede {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.55;
  max-width: 560px;
  color: #E6E1D6;
}

.beta {
  border-radius: 24px;
  background: #C9501F;
  color: #FFFFFF;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.beta-kicker {
  margin: 0 0 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
}

.beta h2 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}

.beta-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  min-width: 0;
}

.beta-phone {
  width: 46%;
  max-width: 100%;
  height: auto;
  margin-bottom: -60px;
  display: block;
}

.beta-qr {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.beta-qr img {
  width: 100%;
  max-width: 120px;
  height: auto;
  background: #FFFFFF;
  padding: 6px;
  border-radius: 10px;
}

.beta-join {
  color: #FFFFFF;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.beta-join:hover {
  color: #FFFFFF;
}

.name-tile {
  border-radius: 24px;
  background: #FFFFFF;
  padding: 40px;
}

.kicker {
  margin: 0 0 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  color: #B8441A;
}

.name-tile h2 {
  margin: 0 0 16px;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
}

.name-tile p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.65;
  color: #3C3A36;
}

.cairn-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.cairn-line img {
  width: 24px;
  height: 24px;
  display: block;
}

.cairn {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background: #161616;
}

.cairn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
}

.cairn figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(22, 22, 22, 0.82);
  color: #F4F1EA;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.5;
}

.cairn figcaption p {
  margin: 0;
}

.photo-credit {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #CFC9BC;
}

.photo-credit a {
  color: #F4F1EA;
}

.photo-credit a:hover {
  color: #FFFFFF;
}

.layers {
  border-radius: 24px;
  background: #FFFFFF;
  padding: 40px;
}

.layers-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.layers-head h2 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}

.layers-head p {
  margin: 0;
  font-size: 17px;
  color: #55524C;
  max-width: 460px;
}

.layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.layer {
  background: #F4F1EA;
  border-radius: 16px;
  padding: 24px;
}

.layer-num {
  margin: 0 0 30px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  color: #B8441A;
}

.layer h3 {
  margin: 0 0 8px;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 24px;
}

.layer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #55524C;
}

.next-bar {
  margin-top: 12px;
  background: #161616;
  color: #F4F1EA;
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.next-bar strong {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  color: #EE6A33;
}

.link-tile {
  border-radius: 24px;
  background: #FFFFFF;
  padding: 32px;
  text-decoration: none;
  color: #161616;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-tile:hover {
  color: #161616;
  background: #F7F4EE;
}

.link-tile .stat {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: #B8441A;
}

.link-tile h3 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.link-tile p {
  margin: 0;
  font-size: 15px;
  color: #55524C;
}

.link-tile .kicker {
  margin: 0;
}

.link-tile.wide {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.link-tile.wide .wide-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.link-tile.wide .wide-go {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #B8441A;
  white-space: nowrap;
}

.link-tile.wide:hover .wide-go {
  color: #8E3312;
}

.site-footer {
  border-radius: 24px;
  background: #161616;
  color: #CFC9BC;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  height: 18px;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: Archivo, sans-serif;
  font-weight: 600;
}

.footer-nav a {
  color: #F4F1EA;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .span-4,
  .span-3,
  .span-2,
  .span-6,
  .hero,
  .beta {
    grid-column: span 6;
    grid-row: auto;
  }

  .hero {
    min-height: 480px;
    padding: 36px 28px;
  }

  .link-tile.wide {
    flex-wrap: wrap;
  }

  .link-tile.wide .wide-go {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .site-header,
  .bento {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    padding: 6px 6px 6px 14px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
    letter-spacing: -1.5px;
  }

  .name-tile,
  .layers {
    padding: 28px 22px;
  }

  .beta {
    padding: 28px 22px;
  }

  .beta-phone {
    width: 42%;
    margin-bottom: -40px;
  }
}
