/* StackCheck — dark fitness marketing site */
:root {
  --bg: #0a0c0b;
  --bg-elevated: #121614;
  --bg-card: #161b18;
  --bg-input: #0e1210;
  --border: #2a332e;
  --border-strong: #3d4a42;
  --text: #f2f5f3;
  --text-muted: #9aa89f;
  --text-dim: #6b7a70;
  --accent: #b8ff3c;
  --accent-dim: #8fcc2a;
  --accent-glow: rgba(184, 255, 60, 0.15);
  --accent-text: #0a0c0b;
  --danger: #ff6b6b;
  --success: #5ee09a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --max: 720px;
  --max-wide: 960px;
  --tap: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 255, 60, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(184, 255, 60, 0.03), transparent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #d4ff7a;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  color: var(--accent-text);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 750;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  color: var(--accent-text);
  box-shadow: 0 6px 32px rgba(184, 255, 60, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(184, 255, 60, 0.25);
  border-radius: 999px;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.65rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-pill .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.price-pill .label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Two-column lists */
.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 1rem;
}

.card.for h3 {
  color: var(--accent);
}

.card.not-for h3 {
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist.yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checklist.no li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Included table */
.include-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 1rem;
  font-size: 0.975rem;
}

.include-table th,
.include-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.include-table th {
  color: var(--accent);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-elevated);
}

.include-table tr:last-child td {
  border-bottom: none;
}

.include-table td:first-child {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  width: 30%;
}

@media (max-width: 520px) {
  .include-table,
  .include-table thead,
  .include-table tbody,
  .include-table th,
  .include-table td,
  .include-table tr {
    display: block;
  }

  .include-table thead {
    display: none;
  }

  .include-table tr {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
  }

  .include-table td {
    border: none;
    padding: 0.25rem 0;
    width: 100%;
  }

  .include-table td:first-child {
    color: var(--accent);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
  }
}

.note {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-text);
  background: var(--accent);
  border-radius: 50%;
}

.steps strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.steps span {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Pricing */
.pricing-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, #1a221c 100%);
  border: 1px solid rgba(184, 255, 60, 0.35);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 0 48px var(--accent-glow);
}

.pricing-card .eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-card .big-price {
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin: 0.5rem 0;
}

.pricing-card .big-price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-list {
  list-style: none;
  margin: 1.5rem auto;
  padding: 0;
  max-width: 320px;
  text-align: left;
}

.pricing-list li {
  padding: 0.55rem 0 0.55rem 1.75rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.pricing-fine {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 1rem 0 1.5rem;
}

/* FAQ */
.faq {
  margin: 0;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  padding: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.15rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tap);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 3.5rem 1.25rem;
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  margin-top: 1rem;
}

.site-footer .disclaimer {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.site-footer .foot-meta {
  font-size: 0.8125rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.site-footer .foot-meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer .foot-meta a:hover {
  color: var(--accent);
}

/* ========== Intake form ========== */
.page-header {
  padding: 2rem 0 1rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
}

.progress-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h2 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid transparent;
  color: var(--accent);
}

.field {
  margin-bottom: 1.35rem;
}

.field label,
.field .field-label {
  display: block;
  font-weight: 650;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.req {
  color: var(--accent);
  font-weight: 700;
}

.hint {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa89f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.field.error input,
.field.error select,
.field.error textarea,
.field.error .checkbox-group,
.field.error .chip-group {
  border-color: var(--danger);
}

.error-msg {
  display: none;
  font-size: 0.8125rem;
  color: var(--danger);
  margin-top: 0.35rem;
}

.field.error .error-msg {
  display: block;
}

/* Chips / multi-select */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:has(input:checked),
.chip.active {
  color: var(--accent-text);
  background: var(--accent);
  border-color: var(--accent);
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Checkbox consent */
.consent {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.consent input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent label {
  font-size: 0.925rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

/* Form actions */
.form-actions {
  position: sticky;
  bottom: 0;
  padding: 1rem 0 1.5rem;
  margin-top: 1rem;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
  z-index: 10;
}

.form-actions .btn {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Demo / success panel */
.panel {
  display: none;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.panel.visible {
  display: block;
}

.panel.success {
  border-color: rgba(94, 224, 154, 0.4);
}

.panel.warning {
  border-color: rgba(255, 184, 60, 0.45);
}

.panel h2 {
  font-size: 1.25rem;
  color: var(--success);
  margin-bottom: 0.75rem;
}

.panel.warning h2 {
  color: #ffc04d;
}

.panel pre {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  max-height: 280px;
  white-space: pre-wrap;
  word-break: break-word;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 184, 60, 0.1);
  border: 1px solid rgba(255, 184, 60, 0.35);
  color: #ffd88a;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

@media (min-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 4.5rem 0 3rem;
  }
}
