/* ── Change these to rebrand ── */
:root {
  --teal: #0d5c63;
  --navy: #0e1f3d;
  --cream: #faf6ee;
  --ember: #ff5a2c; /* CTA button colour */
  --mustard: #f5b82e;
  --muted: #6b7a96;
  --rule: #e2dccb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Nav ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Hero ── */
.hero {
  margin-bottom: 48px;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
h1 em {
  color: var(--ember);
  font-style: italic;
}
.sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 32px;
}

/* ── Hero CTA buttons ── */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-cta-row .btn {
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.btn--primary {
  background: var(--ember);
  color: white;
  border: 2px solid var(--ember);
}
.btn--primary:hover {
  background: #e8451a;
  border-color: #e8451a;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: white;
}

/* ── Running photo (optional) ── */
.photo {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 48px;
  /* shows a placeholder until src is set */
  background: linear-gradient(160deg, var(--teal) 0%, var(--navy) 100%);
}

/* ── Email form ── */
.form {
  display: flex;
  gap: 8px;
  background: white;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(14, 31, 61, 0.12);
}
.form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: transparent;
  min-width: 0;
}
.form input::placeholder {
  color: var(--muted);
}
.form button {
  background: var(--ember);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}
.form button:hover {
  background: #e8451a;
}

@media (max-width: 500px) {
  .form {
    flex-direction: column;
    border-radius: 14px;
    padding: 8px;
  }
  .form button {
    border-radius: 10px;
    padding: 14px;
  }
}

/* ── Kit interest chips ── */
.chips {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding: 4px;
  background: #ede8db;
  border-radius: 999px;
}
.chip {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.chip.on {
  background: var(--navy);
  color: white;
}
.note {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Success state ── */
.success {
  background: white;
  border: 1.5px solid var(--teal);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.success-tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ember);
  color: white;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.success strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}
.success p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Divider ── */
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

/* ── Kit cards ── */
.kits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .kits {
    grid-template-columns: 1fr;
  }
}

.kit {
  padding: 24px;
  border-radius: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}
.kit--teal {
  background: var(--teal);
}
.kit--navy {
  background: var(--navy);
}
.kit-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.kit--teal .kit-label {
  color: var(--mustard);
  opacity: 1;
}
.kit--navy .kit-label {
  color: #4fb3b8;
  opacity: 1;
}
.kit h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
  letter-spacing: -0.01em;
}
.kit .price {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 14px;
}
.kit ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.kit li {
  font-size: 14px;
  opacity: 0.85;
  padding-left: 16px;
  position: relative;
  line-height: 1.35;
}
.kit li::before {
  content: "–";
  position: absolute;
  left: 0;
  opacity: 0.6;
}
.kit-addon {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  opacity: 0.85;
}
.kit-addon span {
  color: var(--mustard);
  font-weight: 600;
  margin-right: 6px;
}

/* ── Kit photo slot ── */
.kit-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}
.kit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: inherit;
}
.kit-photo img.loaded {
  display: block;
}
.kit-photo-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.kit-photo img.loaded + .kit-photo-label {
  display: none;
}

/* ── FAQ ── */
.faq {
  margin-top: 0;
}
.faq h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 560px;
}

/* ── Footer ── */
.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--navy);
}

#form-area {
  margin-top: 32px;
}

.form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

#hero-photo {
  margin-bottom: 24px;
}

.kit-intro-copy {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 32px;
}

.kit-subline {
  font-size: 0.9rem;
  color: #666;
  margin-top: -6px;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
