.launch-home {
  padding: calc(var(--header) + clamp(34px, 6vw, 84px)) 0 clamp(44px, 6vw, 82px);
  color: #152438;
  background: #f6f5f1;
}

.launch-home-heading {
  margin-bottom: clamp(24px, 3.6vw, 48px);
  text-align: center;
}

.launch-home-heading h1 {
  max-width: none;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
  text-wrap: balance;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.launch-tovia {
  --launch-heading: #3c2533;
  --launch-text: #563d49;
  --launch-accent: #8b3b52;
  --launch-button: #87374e;
  --launch-button-hover: #6f2b3f;
  --launch-button-text: #fff;
  --launch-border: #dcbab5;
  color: var(--launch-heading);
  background: #f2ddd5 url('../img/tovia-paper-v2.webp') center / cover;
}

.launch-tflsk {
  --launch-heading: #fff;
  --launch-text: #d5e1e9;
  --launch-accent: #ffda64;
  --launch-button: #f7cb48;
  --launch-button-hover: #ffe17e;
  --launch-button-text: #071427;
  --launch-border: #35546a;
  color: var(--launch-heading);
  background: #08182c linear-gradient(140deg, #102d46 0%, #08182c 65%);
}

.launch-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .73fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  padding: clamp(24px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid var(--launch-border);
  border-radius: 24px;
}

.launch-card.launch-tflsk {
  background: linear-gradient(100deg, #08182c, #0a2539d9), url('../img/pitch-overhead-v1.webp') center / cover;
}

.launch-card h2 {
  margin-top: 18px;
  font-size: clamp(2.35rem, 4.3vw, 4.1rem);
}

.launch-card p {
  margin: 12px 0 0;
  color: var(--launch-text);
  line-height: 1.5;
}

.launch-card .launch-card-tagline {
  color: var(--launch-accent);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 800;
  line-height: 1.2;
}

.launch-icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  box-shadow: 0 6px 14px #15101a22;
}

.launch-card-screen,
.launch-product-screens img {
  width: 100%;
  height: auto;
  border: 1px solid var(--launch-border);
  border-radius: clamp(8px, 1.5vw, 19px);
  box-shadow: 0 18px 35px #150e2440;
}

.launch-card-screen {
  width: min(100%, 178px);
  justify-self: center;
  transform: rotate(4deg);
}

.launch-tflsk .launch-card-screen {
  transform: rotate(-4deg);
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 24px;
}

.launch-card .launch-actions {
  align-items: flex-start;
  flex-direction: column;
}

.launch-download.btn {
  min-height: 46px;
  padding-inline: 18px;
  color: var(--launch-button-text);
  background: var(--launch-button);
  border-color: transparent;
  box-shadow: none;
  font-size: .8rem;
  letter-spacing: .01em;
  text-align: center;
  text-transform: none;
}

.launch-download.btn:hover {
  color: var(--launch-button-text);
  background: var(--launch-button-hover);
}

.launch-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .4em;
  font-size: .88rem;
  font-weight: 800;
}

.launch-link:hover,
.launch-support-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.launch-actions a:focus-visible,
.launch-support-link:focus-visible,
.app-screen-track:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.launch-product {
  position: relative;
  padding: calc(var(--header) + clamp(34px, 5vw, 68px)) 0 clamp(44px, 6vw, 90px);
}

.launch-product.launch-tflsk {
  background: linear-gradient(90deg, #071427, #091e34df), url('../img/stadium-hero-v2.webp') center / cover;
}

.launch-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.launch-product-name {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
  font-size: 1.1rem;
  font-weight: 850;
}

.launch-product h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  text-wrap: balance;
}

.launch-product h1 span {
  color: var(--launch-accent);
}

.launch-product-lead {
  max-width: 50ch;
  margin: 20px 0 0;
  color: var(--launch-text);
  font-size: clamp(1rem, 1.4vw, 1.19rem);
  line-height: 1.65;
}

.launch-support-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--launch-text);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.launch-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}

.launch-resources .launch-support-link {
  margin-top: 0;
}

.launch-product-screens {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 8px;
}

.launch-product-screens .launch-screen-front {
  z-index: 1;
  width: min(54%, 225px);
  transform: rotate(-5deg);
}

.launch-product-screens .launch-screen-back {
  width: min(45%, 186px);
  margin-left: -5%;
  transform: translateY(5%) rotate(8deg);
}

.launch-closing {
  text-align: center;
}

.launch-closing .launch-actions {
  justify-content: center;
}

.launch-studio .service-image {
  min-height: 0;
  max-height: 370px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  mask-image: none;
  border-radius: 14px;
}

#features,
#inside-tovia,
#screenshots,
#enquiry {
  scroll-margin-top: calc(var(--header) + 20px);
}

.app-system-section .ui-card h3,
.tovia-system .ui-card h3 {
  margin-bottom: 12px;
}

.app-course-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-course-list li {
  padding: 10px 17px;
  border: 1px solid #486178;
  border-radius: 8px;
  color: #e2ebf4;
  font-weight: 700;
}

.tovia-page .tovia-system::before {
  display: none;
}

.contact-options {
  margin-bottom: 24px;
}

.contact-options h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.contact-options p {
  margin: 8px 0 0;
}

.contact-options a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .launch-grid {
    grid-template-columns: minmax(0, 610px);
    justify-content: center;
  }

  .launch-card {
    padding-inline: clamp(20px, 5vw, 42px);
  }
}

@media (max-width: 640px) {
  .launch-product-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .launch-product h1,
  .launch-product-lead {
    margin-inline: auto;
  }

  .launch-product-name,
  .launch-product .launch-actions,
  .launch-resources {
    justify-content: center;
  }

  .launch-product-screens {
    width: min(100%, 345px);
  }
}

@media (max-width: 390px) {
  .launch-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, .63fr);
    padding-inline: 16px;
  }

  .launch-card .launch-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 360px) {
  .site-header .nav-wrap {
    gap: 8px;
  }

  .site-header .brand {
    width: min(36%, 120px);
  }

  .site-header .nav-cta {
    margin-right: 0;
    padding-inline: 8px;
    letter-spacing: .04em;
  }

  .site-header .nav-toggle {
    flex: none;
  }
}
