@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap');

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Titillium Web', sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(253, 2, 2, 0.16), transparent 36%),
    radial-gradient(circle at 86% 84%, rgba(253, 2, 2, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0d0d 0%, #111 100%);
  color: #fff;
}

.checkin-page {
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(253, 2, 2, 0.16), transparent 36%),
    radial-gradient(circle at 86% 84%, rgba(253, 2, 2, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0d0d 0%, #111 100%);
}

body.checkin-page {
  color: #fff !important;
  background:
    radial-gradient(circle at 14% 18%, rgba(253, 2, 2, 0.16), transparent 36%),
    radial-gradient(circle at 86% 84%, rgba(253, 2, 2, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0d0d 0%, #111 100%) !important;
}

.checkin-logo-link {
  position: fixed;
  top: 70px;
  left: 40px;
  z-index: 40;
}

.checkin-logo {
  width: 70px;
  height: auto;
  display: block;
}

.checkin-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 118px 28px 72px;
}

.checkin-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.checkin-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #fd0202;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.checkin-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.checkin-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.65;
}

.checkin-card {
  max-width: 860px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.checkin-card .ai-checkin {
  margin-top: 0;
}

.ai-checkin {
  margin-top: 44px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(253, 2, 2, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.03);
}

.ai-checkin-head {
  margin-bottom: 16px;
}

.ai-checkin-kicker {
  margin-bottom: 10px;
  color: #fd0202;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ai-checkin h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.ai-checkin p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.ai-checkin-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ai-checkin-progress span {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.ai-checkin-progress span.is-active {
  background: #fd0202;
}

.ai-checkin-flow {
  min-height: 128px;
}

.ai-step {
  animation: aiCheckinFade 0.22s ease;
}

.ai-step[hidden] {
  display: none !important;
}

.ai-step-count {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ai-step-label {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ai-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-pill {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1;
  font-family: 'Titillium Web', sans-serif;
  cursor: pointer;
}

.ai-pill:hover,
.ai-pill.is-selected {
  border-color: #fd0202;
  background: rgba(253, 2, 2, 0.14);
  color: #fff;
}

.ai-checkin-summary {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-summary-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ai-checkin-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ai-checkin-reset:hover {
  border-color: #fd0202;
  color: #fd0202;
}

.checkin-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes aiCheckinFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkin-value,
.checkin-guardrails {
  max-width: 980px;
  margin-bottom: 26px;
  padding: 26px 24px;
}

.checkin-value {
  border: 0;
  background: transparent;
  padding: 0 0 8px;
}

.checkin-guardrails {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.checkin-value h2,
.checkin-guardrails h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.checkin-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checkin-value-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
}

.checkin-value-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.checkin-value-grid p,
.checkin-guardrails p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.checkin-guardrails ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.checkin-guardrails li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.checkin-guardrails-note {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(253, 2, 2, 0.35);
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .checkin-main {
    padding-top: 100px;
  }

  .checkin-logo-link {
    top: 22px;
    left: 20px;
  }

  .checkin-logo {
    width: 62px;
  }
}

@media (max-width: 768px) {
  html,
  body,
  body.checkin-page {
    background:
      radial-gradient(circle at 14% 18%, rgba(253, 2, 2, 0.16), transparent 36%),
      radial-gradient(circle at 86% 84%, rgba(253, 2, 2, 0.12), transparent 34%),
      linear-gradient(180deg, #0d0d0d 0%, #111 100%) !important;
    color: #fff !important;
  }

  body.checkin-page .checkin-value-grid article,
  body.checkin-page .checkin-card,
  body.checkin-page .contact-fit-card,
  body.checkin-page .contact-form-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }

  .checkin-main {
    padding: 92px 18px 44px;
  }

  .checkin-intro {
    margin-bottom: 22px;
  }

  .checkin-intro h1 {
    font-size: 38px;
  }

  .checkin-intro p {
    font-size: 17px;
    line-height: 1.62;
  }

  .checkin-card .ai-checkin {
    padding: 20px;
  }

  .checkin-value,
  .checkin-guardrails {
    padding: 18px 16px;
  }

  .checkin-value h2,
  .checkin-guardrails h2 {
    font-size: 24px;
  }

  .checkin-value-grid {
    grid-template-columns: 1fr;
  }
}
