:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --panel: #ffffff;
  --text: #0f172a;
  --text-light: #475569;
  --border: #dbe4ee;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --muted: #f8fafc;
  --hero-text: #e5eef7;
  --hero-muted: #c7d6e5;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 2rem)); }
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--hero-text);
  padding: 4.25rem 0 3.25rem;
}
.intake-hero {
  padding-bottom: 2.5rem;
}
.hero-simple {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.03;
  margin: 0.4rem auto 1rem;
  max-width: 12ch;
  text-align: center;
}
.subhead {
  max-width: 620px;
  font-size: 1.04rem;
  color: var(--hero-muted);
  margin-top: 0.25rem;
}
.center-subhead {
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  opacity: 0.95;
}
.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.center-actions {
  justify-content: center;
}
.button {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}
.button.primary {
  background: var(--accent);
  color: white;
}
.button.primary:hover { background: var(--accent-dark); }
.button:disabled {
  background: #94a3b8;
  color: #e2e8f0;
  cursor: not-allowed;
  box-shadow: none;
}
.button:disabled:hover {
  background: #94a3b8;
}
.button.secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
}
.button.large { padding: 1rem 1.65rem; font-size: 1.05rem; }
.section { padding: 4.5rem 0; }
.section.compact { padding: 1.5rem 0 0.75rem; }
.section.muted { background: var(--muted); }
.compact-form {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.center-text { text-align: center; }
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.3rem;
}
.mini-grid {
  display: grid;
  gap: 1rem;
}
.mini-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mini-card, .card, .step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.mini-card h3, .card h3, .step-card h3 {
  margin: 0.55rem 0 0.35rem;
}
.mini-card p, .card p, .step-card p, .buy-copy, .note, .helper-text {
  color: var(--text-light);
}
.icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ecfeff;
  font-size: 1.6rem;
}
.steps.three-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #d1fae5;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.card.visual .scene {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.price {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0.2rem 0 0.7rem;
}
.intake-card {
  padding: 1.6rem;
}
.intake-form {
  display: grid;
  gap: 1.15rem;
}
.progress-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1rem 0.9rem;
  background: #f8fffe;
}
.progress-copy {
  margin-bottom: 0.7rem;
  color: var(--text);
}
.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #14b8a6 0%, #0f766e 100%);
  transition: width 0.2s ease;
}
.form-step {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.step-header {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #edf2f7;
}
.step-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #ccfbf1;
  color: #115e59;
  font-weight: 800;
  font-size: 0.92rem;
}
.question-block {
  display: grid;
  gap: 0.45rem;
}
.question-block label {
  font-weight: 700;
}
.helper-text {
  margin: 0;
  font-size: 0.96rem;
}
.question-block input,
.question-block select,
.question-block textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.question-block textarea {
  resize: vertical;
  min-height: 110px;
}
.question-block input:focus,
.question-block select:focus,
.question-block textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.18);
  border-color: var(--accent);
}
.upload-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.upload-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  background: #fcfefe;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}
.preview-thumb {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.preview-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.preview-thumb span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-light);
  word-break: break-word;
}
.walkthrough-card {
  display: grid;
  gap: 1.25rem;
}
.video-placeholder,
.video-panel {
  border: 1px dashed #b6d4d1;
  border-radius: 22px;
  padding: 1rem;
  text-align: center;
  background: #f8fffe;
}
.walkthrough-video {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #000;
}
.video-placeholder {
  padding: 2rem 1.25rem;
}
.video-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: #ccfbf1;
  color: var(--accent-dark);
  font-size: 1.8rem;
  font-weight: 800;
}
.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.media-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.media-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.media-caption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}
.walkthrough-copy h3,
.disclaimer-card h3 {
  margin: 0 0 0.55rem;
}
.walkthrough-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-light);
}
.transition-card,
.disclaimer-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: #f8fafc;
}
.good-result-card {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.caution-result-card {
  background: #fff7ed;
  border-color: #fed7aa;
}
.transition-card p,
.disclaimer-card p {
  margin: 0;
}
.diagnostic-steps {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text-light);
}
.diagnostic-steps li + li {
  margin-top: 0.55rem;
}
.form-actions {
  padding-top: 0.5rem;
}
.submit-helper {
  margin: 0 0 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.form-actions .note {
  margin-top: 0.85rem;
}
.preview-links {
  display: grid;
  gap: 0.85rem;
}
.preview-links .button {
  text-align: center;
}
@media (max-width: 980px) {
  .grid.three, .steps.three-steps, .mini-grid.four, .mini-grid.five, .upload-split, .photo-pair {
    grid-template-columns: 1fr;
  }
  .hero { padding: 4rem 0 3.5rem; }
}
