:root {
  --ink: #111312;
  --muted: #626864;
  --paper: #f3f5f4;
  --white: #ffffff;
  --line: #d9dedb;
  --focus: #135f4c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 19, 18, 0.1);
  background: rgba(243, 245, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: #454a47;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.contact-link {
  padding: 9px 13px;
  border: 1px solid #bbc2be;
  border-radius: 6px;
}

.intro {
  padding: 72px 0 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: 72px;
}

.eyebrow,
.app-category {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: 72px;
  line-height: 0.94;
  letter-spacing: 0;
}

.intro-copy {
  padding-bottom: 3px;
}

.intro-copy p {
  max-width: 18ch;
  margin: 0 0 14px;
  font-size: 29px;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-copy span {
  display: block;
  max-width: 48ch;
  color: var(--muted);
  font-size: 15px;
}

.directory {
  padding: 28px 0 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
  padding-top: 28px;
  border-top: 1px solid #cbd0cd;
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0;
}

.app-count {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
}

.app-count strong {
  color: var(--ink);
  font-size: 20px;
}

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

.app-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover,
.app-card:focus-within {
  transform: translateY(-3px);
  border-color: #a9b2ad;
  box-shadow: 0 16px 34px rgba(21, 33, 26, 0.09);
}

.app-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.app-card > a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.app-visual {
  height: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.image-visual {
  background: #121614;
}

.image-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.app-speak .image-visual img {
  object-position: center 12%;
}

.app-golf .image-visual img {
  object-position: center 14%;
}

.app-boxing .image-visual img,
.app-cold .image-visual img,
.app-climbing .image-visual img {
  object-position: center 12%;
}


.app-body {
  min-height: 258px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 21px 19px;
}

.app-category {
  margin-bottom: 7px;
  font-size: 10px;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.app-body > p:not(.app-category) {
  margin: 13px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.view-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e6e9e7;
  font-size: 13px;
  font-weight: 800;
}

.view-link span {
  font-size: 17px;
  font-weight: 500;
}

.tennis-visual {
  display: grid;
  place-items: center;
  background: #117b43;
  color: #f2ffab;
}

.court-line {
  width: 78%;
  height: 68%;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.56);
}

.court-line::before,
.court-line::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.56);
}

.court-line::before {
  width: 2px;
  top: 0;
  bottom: 0;
  left: 50%;
}

.court-line::after {
  height: 2px;
  left: 0;
  right: 0;
  top: 50%;
}

.tennis-score {
  z-index: 1;
  width: 104px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid #d9f24c;
  border-radius: 50%;
  background: #0e1712;
}

.tennis-score small {
  font-size: 8px;
  font-weight: 900;
}

.tennis-score strong {
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
}

.date-visual {
  display: grid;
  place-items: center;
  background: #7e2f46;
  color: #fff5ed;
}

.date-visual::before {
  content: "";
  width: 48%;
  height: 100%;
  position: absolute;
  right: 0;
  background: #e7655c;
}

.date-visual div {
  width: 78%;
  z-index: 1;
  padding: 15px 18px;
  border-left: 4px solid #f1c668;
  background: #251720;
}

.date-visual small,
.date-visual strong,
.date-visual span {
  display: block;
}

.date-visual small {
  color: #f1c668;
  font-size: 9px;
  font-weight: 900;
}

.date-visual strong {
  font-size: 30px;
  line-height: 1.1;
}

.date-visual span {
  color: #dccbd2;
  font-size: 11px;
}

.icon-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 24px;
}

.icon-visual img {
  width: 84px;
  flex: 0 0 84px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.icon-visual span {
  max-width: 12ch;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.longevity-visual {
  background: #e8d8bc;
  color: #352f28;
}

.trader-visual {
  background: #172033;
  color: #d9e6fb;
}

.climbing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  background: #0b0d0f;
  color: #c8ff3d;
}

.climbing-grade {
  font-size: 46px;
  font-weight: 900;
}

.climbing-chart {
  height: 84px;
  display: flex;
  align-items: end;
  gap: 6px;
}

.climbing-chart i {
  width: 8px;
  display: block;
  background: #ff8a3d;
}

.climbing-chart i:nth-child(1) { height: 28%; }
.climbing-chart i:nth-child(2) { height: 56%; }
.climbing-chart i:nth-child(3) { height: 43%; }
.climbing-chart i:nth-child(4) { height: 78%; }
.climbing-chart i:nth-child(5) { height: 100%; }

.boxing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #121216;
  color: #f5f5f7;
}

.boxing-round {
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px solid #fa541f;
  border-radius: 50%;
  background: #0d0d0f;
}

.boxing-round small {
  color: #fa541f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.boxing-round strong {
  font-size: 34px;
  line-height: 1;
}

.boxing-timer {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fa541f;
}

.cold-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #071016;
  color: #eef8fb;
}

.cold-chip {
  min-width: 88px;
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.cold-chip span {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cold-ice {
  background: rgba(91, 229, 255, 0.14);
  border: 1px solid rgba(91, 229, 255, 0.35);
  color: #5be5ff;
}

.cold-heat {
  background: rgba(255, 159, 67, 0.14);
  border: 1px solid rgba(255, 159, 67, 0.35);
  color: #ff9f43;
}

.site-footer {
  padding: 38px 0;
  background: #111312;
  color: #f2f5f3;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
}

.footer-inner div {
  display: flex;
  flex-direction: column;
}

.footer-inner span,
.footer-inner a {
  color: #aeb6b1;
  font-size: 12px;
}

.footer-inner a {
  font-weight: 700;
}

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

  .app-body {
    min-height: 226px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 620px);
  }

  nav a:not(.contact-link) {
    display: none;
  }

  .intro {
    padding: 52px 0 48px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 31px;
  }

  h1 {
    font-size: 54px;
  }

  .intro-copy p {
    font-size: 25px;
  }

  .directory {
    padding-bottom: 72px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .brand > span:last-child {
    font-size: 14px;
  }

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

  .app-body {
    min-height: 220px;
  }

  .section-heading {
    align-items: center;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .app-card {
    transition: none;
  }
}
