/* LLM intelligence benchmark — main content only, flat / full-width */

#main-content.unity-ai-page {
  margin-block-end: 3rem;
}

.unity-ai-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.unity-ai-page__article {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* Cover art — capped height (stays above viewport bottom); rounded clip; skeleton until image loads */
.unity-ai-page__cover {
  width: 100%;
  max-width: 46rem;
  margin: 2rem auto 0;
  box-shadow: none;
}

.unity-ai-page__cover-caption {
  margin: 0.7rem 0 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--secondary-color);
  opacity: 0.6;
  text-align: center;
}

.unity-ai-page__cover-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, calc(100vh - var(--header-height, 120px) - 14rem), 30rem);
  max-height: min(calc(100dvh - var(--header-height, 120px) - 14rem), 30rem);
  min-height: 10.5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  border: 1px solid rgba(232, 232, 233, 0.06);
  background-color: var(--light-color);
}

.unity-ai-page__cover-placeholder {
  display: none;
}

.unity-ai-page__cover-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.unity-ai-page__cover--loaded .unity-ai-page__cover-placeholder {
  display: none;
}


.unity-ai-page__cover--error .unity-ai-page__cover-img {
  display: none;
}

/* Hero */
.unity-ai-page__hero {
  width: 100%;
  margin: 2.5rem auto 0.35rem;
  text-align: center;
}

.unity-ai-page__hero h1 {
  display: block;
  font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--secondary-color);
  margin: 0;
  text-wrap: balance;
}

.unity-ai-page__hero-rule {
  display: block;
  width: 64px;
  height: 4px;
  margin: 1.5rem auto 0;
  background: var(--primary-color);
  border-radius: 999px;
}

.unity-ai-page__hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem auto 0;
  max-width: 760px;
}

.unity-ai-page__hero-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 233, 0.12);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.unity-ai-page__hero-nav-pill:hover {
  background: rgba(16, 172, 132, 0.14);
  border-color: rgba(16, 172, 132, 0.45);
  color: var(--secondary-color);
}

.unity-ai-page__hero-nav-pill:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .unity-ai-page__hero-nav {
    gap: 0.45rem;
  }

  .unity-ai-page__hero-nav-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }
}

.unity-ai-page__title-text {
  text-wrap: balance;
}

.unity-ai-page__shortcut {
  margin-inline-start: 0.35em;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: help;
  white-space: nowrap;
}

.unity-ai-page__shortcut--hero-sub {
  margin-inline-start: 0;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--primary-color);
  text-transform: uppercase;
  border: none;
  background: none;
  box-shadow: none;
  text-decoration: none;
  font-style: normal;
}

.unity-ai-page__shortcut--inline {
  margin-inline-start: 0;
  letter-spacing: 0.05em;
  border: none;
  background: none;
  padding: 0;
}

.unity-ai-page__lead {
  max-width: 720px;
  margin: 1.75rem auto 0;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--secondary-color);
  text-align: center;
  text-wrap: balance;
}

.unity-ai-page__hero-intro {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: clamp(0.92rem, 0.88rem + 0.15vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--secondary-color);
  opacity: 0.62;
  text-align: center;
  text-wrap: balance;
}

.unity-ai-page__placeholder {
  margin: 4rem auto 2rem;
  max-width: 720px;
  padding: 1.5rem 1.75rem;
  border: 1px dashed rgba(232, 232, 233, 0.18);
  border-radius: 12px;
  text-align: center;
  color: var(--secondary-color);
  opacity: 0.6;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Pillar sections */

.unity-ai-page__section {
  margin-top: 5rem;
  scroll-margin-top: calc(var(--header-height, 120px) + 1.5rem);
}

.unity-ai-page__section-header {
  max-width: 760px;
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(232, 232, 233, 0.1);
}

.unity-ai-page__section-title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--secondary-color);
}

.unity-ai-page__section-sub {
  margin: 0.6rem 0 0;
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--secondary-color);
  opacity: 0.68;
}

/* Card list (image-left, text-right) */

.unity-ai-page__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unity-ai-page__card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(232, 232, 233, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.unity-ai-page__card:last-child {
  border-bottom: none;
}

.unity-ai-page__card:hover .unity-ai-page__card-image-link img {
  transform: scale(1.04);
  filter: saturate(1.05) brightness(1);
}

.unity-ai-page__card:hover .unity-ai-page__card-title a {
  color: var(--primary-color);
}

.unity-ai-page__card-image-link {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease;
}

.unity-ai-page__card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.96);
  transition: transform 0.5s ease, filter 0.3s ease;
  will-change: transform;
}

.unity-ai-page__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.unity-ai-page__card-title {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--secondary-color);
}

.unity-ai-page__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.unity-ai-page__card-title a:hover {
  color: var(--primary-color);
}

.unity-ai-page__card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--secondary-color);
  opacity: 0.72;
}

.unity-ai-page__card-meta {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(16, 172, 132, 0.1);
  border: 1px solid rgba(16, 172, 132, 0.25);
  border-radius: 999px;
}

@media (max-width: 640px) {
  .unity-ai-page__card {
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  .unity-ai-page__card-title {
    font-size: 1.05rem;
  }

  .unity-ai-page__card-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Featured card (Section 5: From the lab) */

.unity-ai-page__feature {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(232, 232, 233, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.unity-ai-page__feature:hover {
  border-color: rgba(16, 172, 132, 0.3);
}

.unity-ai-page__feature-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.unity-ai-page__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(0.96);
  transition: transform 0.6s ease;
}

.unity-ai-page__feature:hover .unity-ai-page__feature-media img {
  transform: scale(1.02);
}

.unity-ai-page__feature-body {
  padding: 2rem;
}

.unity-ai-page__feature-title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--secondary-color);
}

.unity-ai-page__feature-desc {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--secondary-color);
  opacity: 0.78;
}

.unity-ai-page__feature-desc:last-of-type {
  margin-bottom: 1.5rem;
}

.unity-ai-page__feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.unity-ai-page__feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 233, 0.16);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.unity-ai-page__feature-btn:hover {
  background: rgba(16, 172, 132, 0.12);
  border-color: rgba(16, 172, 132, 0.4);
  color: var(--secondary-color);
}

.unity-ai-page__feature-btn:active {
  transform: scale(0.98);
}

.unity-ai-page__feature-btn--primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.unity-ai-page__feature-btn--primary:hover {
  background: rgba(16, 172, 132, 0.85);
  border-color: rgba(16, 172, 132, 0.85);
}

.unity-ai-page__feature-btn.is-busy {
  opacity: 0.6;
  cursor: wait;
}

.unity-ai-page__feature-status {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--secondary-color);
  opacity: 0.75;
}

.unity-ai-page__feature-status[data-tone="error"] {
  color: #ff8a8a;
  opacity: 1;
}

.unity-ai-page__feature-status[data-tone="success"] {
  color: var(--primary-color);
  opacity: 1;
}

.unity-ai-page__feature-status[data-tone="info"] {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .unity-ai-page__feature-body {
    padding: 1.5rem;
  }

  .unity-ai-page__feature-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .unity-ai-page__feature-btn {
    justify-content: center;
  }
}

/* Compact copy CTA in the hero — for repeat visitors who already know what DULLMIBT is */
.unity-ai-page__hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.unity-ai-page__hero-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  font-family: "Rubik", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--secondary-color);
  background: none;
  border: 1px solid rgba(232, 232, 233, 0.18);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.unity-ai-page__hero-copy:hover {
  border-color: rgba(16, 172, 132, 0.6);
  color: var(--primary-color);
}

.unity-ai-page__hero-copy:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.unity-ai-page__hero-copy:active {
  transform: scale(0.99);
}

.unity-ai-page__hero-copy.is-busy {
  cursor: progress;
  opacity: 0.7;
}

.unity-ai-page__hero-copy[disabled] {
  cursor: not-allowed;
}

.unity-ai-page__hero-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.unity-ai-page__hero-copy.is-busy .unity-ai-page__hero-copy-icon {
  animation: unity-ai-card-pulse 1.4s ease-in-out infinite;
}

.unity-ai-page__hero-status {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-color);
  text-align: center;
  text-wrap: balance;
}

.unity-ai-page__hero-status:empty {
  min-height: 0;
}

.unity-ai-page__hero-status[data-tone="success"]:not(:empty) {
  color: var(--primary-color);
}

.unity-ai-page__hero-status[data-tone="error"]:not(:empty) {
  color: #ff8a8a;
}

.unity-ai-page__hero-status[data-tone="info"]:not(:empty) {
  color: var(--secondary-color);
  opacity: 0.7;
  font-style: italic;
}

@media (hover: none) {
  .unity-ai-page__hero-copy:hover {
    border-color: rgba(232, 232, 233, 0.18);
    color: var(--secondary-color);
  }
}

/* Prose — single column, sized by article max-width */
.unity-ai-page__what {
  width: 100%;
  margin-top: 3.5rem;
}

.unity-ai-page__what .unity-ai-page__body {
  margin-top: 0;
}

.unity-ai-page__body {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-top: 0;
  text-align: start;
}

.unity-ai-page__body--rest {
  margin-top: 3.5rem;
}

.unity-ai-page__body h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--secondary-color);
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(232, 232, 233, 0.12);
}

.unity-ai-page__body h2::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 1em;
  border-radius: 1px;
  background: var(--primary-color);
  flex-shrink: 0;
}

.unity-ai-page__body h2:first-child {
  margin-top: 0;
}

.unity-ai-page__body p {
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.82;
  color: var(--secondary-color);
  opacity: 0.84;
  margin: 0 0 1.3rem;
}

.unity-ai-page__body ul {
  margin: 0 0 1.4rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  list-style: none;
}

.unity-ai-page__body li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.78;
  color: var(--secondary-color);
  opacity: 0.84;
}

.unity-ai-page__body li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.85em;
  width: 0.7rem;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.65;
  transform: none;
  border-radius: 0;
}

.unity-ai-page__body a {
  color: var(--primary-color);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(16, 172, 132, 0.4);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.unity-ai-page__body a:hover {
  color: var(--primary-color);
  text-decoration-color: var(--primary-color);
}

.unity-ai-page__body code,
.unity-ai-page__start-card-text code,
.unity-ai-page__use-detail code {
  font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 400;
}

/* Tables — minimal, generous, table-friendly typography (layers + scoring) */
.unity-ai-page__layers-table,
.unity-ai-page__scoring-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.4rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.02rem;
  text-align: left;
}

.unity-ai-page__layers-table thead th,
.unity-ai-page__scoring-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  text-align: left;
  padding: 0 1.25rem 0.85rem 0;
  border-bottom: 1px solid rgba(232, 232, 233, 0.18);
  white-space: nowrap;
}

.unity-ai-page__layers-table thead th:last-child,
.unity-ai-page__scoring-table thead th:last-child {
  padding-right: 0;
}

.unity-ai-page__layers-table tbody td,
.unity-ai-page__scoring-table tbody td {
  padding: 1.1rem 1.25rem 1.1rem 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(232, 232, 233, 0.07);
  line-height: 1.7;
  color: var(--secondary-color);
  opacity: 0.9;
}

.unity-ai-page__layers-table tbody td:last-child,
.unity-ai-page__scoring-table tbody td:last-child {
  padding-right: 0;
}

.unity-ai-page__layers-table tbody tr:last-child td,
.unity-ai-page__scoring-table tbody tr:last-child td {
  border-bottom: none;
}

.unity-ai-page__layers-table-num-h,
.unity-ai-page__layers-table-num {
  width: 3rem;
}

.unity-ai-page__layers-table-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.85;
}

.unity-ai-page__layers-table-name-h,
.unity-ai-page__layers-table-name {
  width: 14rem;
}

.unity-ai-page__scoring-table-scope-h,
.unity-ai-page__scoring-table-scope {
  width: 11rem;
}

.unity-ai-page__layers-table-name,
.unity-ai-page__scoring-table-scope {
  font-weight: 600;
  color: var(--secondary-color);
  opacity: 1;
}

@media (max-width: 720px) {
  /* Stack each row as a labeled block on small screens */
  .unity-ai-page__layers-table,
  .unity-ai-page__layers-table thead,
  .unity-ai-page__layers-table tbody,
  .unity-ai-page__layers-table tr,
  .unity-ai-page__layers-table td,
  .unity-ai-page__layers-table th,
  .unity-ai-page__scoring-table,
  .unity-ai-page__scoring-table thead,
  .unity-ai-page__scoring-table tbody,
  .unity-ai-page__scoring-table tr,
  .unity-ai-page__scoring-table td,
  .unity-ai-page__scoring-table th {
    display: block;
    width: auto;
  }

  .unity-ai-page__layers-table thead,
  .unity-ai-page__scoring-table thead {
    position: absolute;
    left: -9999px;
  }

  .unity-ai-page__layers-table tbody tr,
  .unity-ai-page__scoring-table tbody tr {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(232, 232, 233, 0.08);
  }

  .unity-ai-page__layers-table tbody tr:last-child,
  .unity-ai-page__scoring-table tbody tr:last-child {
    border-bottom: none;
  }

  .unity-ai-page__layers-table tbody td,
  .unity-ai-page__scoring-table tbody td {
    padding: 0;
    border-bottom: none;
  }

  .unity-ai-page__layers-table-num {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .unity-ai-page__layers-table-num::before {
    content: "Layer ";
  }

  .unity-ai-page__layers-table-name {
    display: inline;
    font-size: 1.05rem;
  }

  .unity-ai-page__scoring-table-scope {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.85;
  }

  .unity-ai-page__layers-table tbody td:last-child,
  .unity-ai-page__scoring-table tbody td:last-child {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
  }
}

.unity-ai-page__body p.unity-ai-page__note,
p.unity-ai-page__note {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--secondary-color);
  opacity: 0.65;
  margin: 1.5rem 0 0;
  padding: 0;
  border: none;
  background: none;
}

/* How to use */
.unity-ai-page__start {
  width: 100%;
  margin-top: 3.5rem;
  padding-top: 0;
  border-top: none;
  text-align: center;
  background: none;
}

.unity-ai-page__start-heading {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary-color);
  border: none;
  background: none;
}

.unity-ai-page__start-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--secondary-color);
  opacity: 0.84;
  text-align: center;
  text-wrap: balance;
}

.unity-ai-page__start-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.unity-ai-page__start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 16rem;
  max-width: none;
  min-width: min(100%, 14rem);
  padding: 1.5rem 1.25rem;
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: var(--secondary-color);
  background: none;
  border: 1px solid rgba(232, 232, 233, 0.1);
  border-radius: 0.35rem;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.unity-ai-page__start-card:hover {
  border-color: rgba(16, 172, 132, 0.5);
}

.unity-ai-page__start-card:active {
  transform: scale(0.99);
}

.unity-ai-page__start-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.unity-ai-page__start-card.is-busy {
  cursor: progress;
  opacity: 0.7;
}

.unity-ai-page__start-card[disabled] {
  cursor: not-allowed;
}

.unity-ai-page__start-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-color);
  background: none;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  transition: opacity 0.2s ease;
}

.unity-ai-page__start-card.is-busy .unity-ai-page__start-card-icon {
  animation: unity-ai-card-pulse 1.4s ease-in-out infinite;
}

@keyframes unity-ai-card-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.unity-ai-page__start-card-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--secondary-color);
}

.unity-ai-page__start-card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.75;
  text-align: center;
  text-wrap: balance;
}

.unity-ai-page__start-card--link .unity-ai-page__start-card-text {
  flex-grow: 1;
}

.unity-ai-page__start-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  border: none;
  background: none;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.unity-ai-page__start-card--link:hover .unity-ai-page__start-card-cta {
  color: var(--secondary-color);
}

.unity-ai-page__start-status {
  width: 100%;
  max-width: none;
  min-height: 1.2rem;
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--primary-color);
  text-align: center;
  transition: color 0.2s ease;
}

.unity-ai-page__start-status:not(:empty) {
  display: block;
  padding: 0;
  border: none;
  background: none;
}

.unity-ai-page__start-status[data-tone="success"]:not(:empty) {
  color: var(--primary-color);
}

.unity-ai-page__start-status[data-tone="error"]:not(:empty) {
  color: #ff8a8a;
}

.unity-ai-page__start-status[data-tone="info"]:not(:empty) {
  color: var(--secondary-color);
  opacity: 0.7;
  font-style: italic;
}

.unity-ai-page__start-status:empty {
  margin-top: 0.25rem;
  min-height: 0;
}

.unity-ai-page__use-detail {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.unity-ai-page__use-detail p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.82;
  color: var(--secondary-color);
  opacity: 0.84;
}

.unity-ai-page__what-is-unitymcp,
.unity-ai-page__contribute,
.unity-ai-page__scoring {
  width: 100%;
  margin-top: 3.5rem;
  padding-top: 0;
  border-top: none;
}

.unity-ai-page__what-is-unitymcp .unity-ai-page__body,
.unity-ai-page__contribute .unity-ai-page__body,
.unity-ai-page__scoring .unity-ai-page__body {
  margin-top: 0;
}

@media (min-width: 992px) {
  .unity-ai-page__title-text {
    white-space: nowrap;
    text-wrap: unset;
  }
}

@media (max-width: 768px) {
  .unity-ai-page__body h2 {
    font-size: 1.02rem;
  }

  .unity-ai-page__start-heading {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .unity-ai-page__start-options {
    flex-direction: column;
    align-items: stretch;
  }

  .unity-ai-page__start-card {
    width: 100%;
    max-width: none;
  }
}

@media (hover: none) {
  .unity-ai-page__body a:hover {
    color: var(--primary-color);
  }

  .unity-ai-page__start-card:hover {
    border-color: rgba(232, 232, 233, 0.18);
  }

  .unity-ai-page__start-card--link:hover .unity-ai-page__start-card-cta {
    color: var(--primary-color);
  }
}
