/* Teams (corporate wellness) landing page — extends the root landing-page design system. */

/* iOS Safari can fail to paint the page when large fixed elements use
   filter: blur(), so the glows are drawn as soft radial gradients instead. */
.team-page .background-blob {
  filter: none;
  border-radius: 0;
}

.team-page .blob-one {
  top: -420px;
  right: -320px;
  width: 1060px;
  height: 1060px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.16) 0%,
    rgba(249, 115, 22, 0.06) 35%,
    rgba(249, 115, 22, 0) 70%
  );
  opacity: 1;
}

.team-blob-two {
  top: 46%;
  left: -460px;
  width: 940px;
  height: 940px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.07) 0%,
    rgba(249, 115, 22, 0.025) 35%,
    rgba(249, 115, 22, 0) 70%
  );
}

.team-btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
}

.team-btn-primary:hover {
  background: #fb8a36;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.28);
}

.team-page h1,
.team-page h2 {
  text-wrap: balance;
}

.team-page p {
  text-wrap: pretty;
}

.team-hero {
  padding-bottom: 96px;
}

.team-hero .hero-content {
  max-width: 640px;
}

.team-hero .hero-title {
  font-size: clamp(2.7rem, 5.3vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.team-hero .hero-eyebrow {
  display: block;
}

.team-hero .hero-subtitle {
  max-width: 580px;
}

.team-hero-visual {
  isolation: isolate;
}

.team-hero-visual .phone-frame {
  width: min(300px, 76vw);
}

/* Why teams */

.team-why {
  padding: 112px 0;
}

.credibility-section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.credibility-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--fg);
  text-decoration: none;
}

.hero-rating[hidden] {
  display: none;
}

.hero-rating-score {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}

.hero-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.hero-rating-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.hero-rating-text {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-rating:hover .hero-rating-text {
  color: var(--fg);
}

/* Why Muay Thai */

.team-unique {
  padding: 112px 0;
  background: linear-gradient(
    105deg,
    rgba(249, 115, 22, 0.09),
    rgba(249, 115, 22, 0.015) 60%,
    transparent
  );
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.unique-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 560px);
  justify-content: center;
  align-items: center;
  gap: 72px;
}

.unique-video {
  margin: 0;
}

.unique-video-frame {
  position: relative;
}

.video-sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--fg);
  background: rgba(10, 9, 8, 0.85);
  border: 1px solid rgba(241, 237, 230, 0.18);
  border-radius: 50%;
  cursor: pointer;
}

.video-sound-toggle:hover {
  border-color: rgba(249, 115, 22, 0.6);
}

.video-sound-toggle svg {
  width: 18px;
  height: 18px;
}

.unique-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--card-bg);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.unique-video figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.unique-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.unique-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.unique-list {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  list-style: none;
}

.unique-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.unique-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.unique-list h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.unique-list p {
  color: var(--muted);
  font-size: 0.92rem;
}

.team-card {
  min-height: 200px;
  padding: 26px;
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.team-card > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--primary);
}

.team-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.team-how {
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

/* Coach */

.credibility-section {
  padding: 104px 0;
  background: linear-gradient(
    105deg,
    rgba(249, 115, 22, 0.09),
    rgba(249, 115, 22, 0.015) 60%,
    transparent
  );
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.credibility-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  justify-content: center;
  align-items: center;
  gap: 56px;
}

.credibility-photo {
  position: relative;
  width: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 28px;
  background: var(--card-bg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.credibility-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.credibility-section p + p {
  margin-top: 14px;
}

/* Pricing */

.plan-section {
  padding: 116px 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tier-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
}

.tier-card-featured {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.1);
}

.tier-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-size {
  color: var(--muted);
  font-size: 0.88rem;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
}

.tier-price strong {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}

.tier-price span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tier-was {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.tier-was s {
  color: rgba(165, 159, 144, 0.8);
}

.tier-card .btn {
  margin-top: 26px;
  justify-content: center;
}

.plan-included {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  max-width: 760px;
  margin: 40px auto 0;
  list-style: none;
}

.plan-included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg);
  font-size: 0.95rem;
}

.plan-included svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #4ade80;
  stroke-width: 3;
}

.plan-footnote {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Signup */

.signup-section {
  padding: 116px 0;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--border-card);
}

.signup-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-field label span {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(249, 115, 22, 0.6);
  outline-offset: 1px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-submit {
  grid-column: 1 / -1;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.signup-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.signup-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.signup-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  font-size: 0.9rem;
  text-align: center;
}

.signup-status.is-error {
  color: #f87171;
}

.signup-success {
  text-align: center;
}

.signup-success svg {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #4ade80;
}

.signup-success p {
  color: var(--muted);
}

@media (min-width: 900px) {
  .team-hero .hero-content {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .why-card-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .why-card-grid {
    max-width: 520px;
    margin: 0 auto;
  }

  .tier-grid {
    max-width: 420px;
    margin: 0 auto;
  }

  .unique-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .unique-video {
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .unique-copy {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .credibility-photo {
    width: min(100%, 240px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .team-hero {
    padding-bottom: 64px;
  }

  .team-hero .hero-title {
    font-size: 2.55rem;
  }

  .team-unique,
  .team-why,
  .credibility-section,
  .plan-section,
  .signup-section {
    padding: 82px 0;
  }

  .why-card-grid,
  .team-how .steps-grid,
  .plan-included,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: auto;
  }

  .signup-card {
    padding: 24px;
  }
}

.signup-status:empty {
  display: none;
}
