:root {
  --bg: #170e0d;
  --bg-2: #241513;
  --panel: rgba(255, 249, 241, 0.09);
  --panel-strong: rgba(255, 249, 241, 0.15);
  --paper: #fff7ec;
  --muted: rgba(255, 247, 236, 0.72);
  --soft: rgba(255, 247, 236, 0.54);
  --line: rgba(255, 247, 236, 0.18);
  --accent: #ff4d4d;
  --accent-2: #ff7a34;
  --accent-3: #ff2f75;
  --green: #9de0b0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 91, 66, 0.34), transparent 34rem),
    radial-gradient(circle at 88% 20%, rgba(255, 159, 83, 0.18), transparent 28rem),
    linear-gradient(140deg, #130b0a 0%, #25110f 48%, #130b0a 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 118px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header,
.section,
.site-footer,
.mobile-sticky-cta {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 12, 11, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 14px;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ff2f75, #ff7a34);
  box-shadow: 0 16px 38px rgba(255, 77, 77, 0.36);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--soft);
  margin-top: 3px;
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #ff244f 0%, #ff5d35 52%, #ff9d2e 100%);
  box-shadow:
    0 18px 44px rgba(255, 52, 66, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover {
  box-shadow:
    0 24px 58px rgba(255, 52, 66, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn-ghost {
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.btn-xl {
  min-height: 58px;
  padding-inline: 26px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 58px 0 54px;
}

.eyebrow,
.section-kicker,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffd7c3;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 900;
}

.live-dot,
.pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(157, 224, 176, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 20px;
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.hero-subhead,
.section-copy p,
.intake-copy p,
.crm-panel p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.proof-row span,
.goal-chip {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.image-shell,
.visual-card,
.system-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-image-shell {
  height: 620px;
  margin: 0;
  border-radius: 40px;
}

.hero-image-shell::after,
.visual-card::after,
.system-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 14, 13, 0.7) 0%, transparent 36%),
    linear-gradient(0deg, rgba(23, 14, 13, 0.72) 0%, transparent 42%);
}

.image-shell,
.visual-card,
.system-visual {
  position: relative;
}

.hero-image-shell img,
.visual-card img,
.system-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.hero-visual:hover img,
.visual-card:hover img,
.system-visual:hover img {
  transform: scale(1.035);
}

.floating-offer-card,
.floating-metric-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 14, 13, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.floating-offer-card {
  right: 22px;
  bottom: 24px;
  width: min(340px, calc(100% - 44px));
  padding: 22px;
  border-radius: 28px;
}

.floating-offer-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.4rem;
}

.floating-offer-card p {
  color: var(--muted);
  line-height: 1.55;
}

.floating-offer-card .btn {
  width: 100%;
}

.floating-metric-card {
  left: -24px;
  top: 62px;
  padding: 18px 20px;
  border-radius: 22px;
}

.floating-metric-card span,
.floating-metric-card small {
  display: block;
  color: var(--soft);
}

.floating-metric-card strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1.05;
}

.pain-strip,
.metrics-section,
.final-cta {
  display: grid;
  gap: 28px;
  margin-top: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.pain-strip {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.pain-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

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

.pain-grid article,
.metric,
.lead-card,
.event-panel,
.program-card,
.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.pain-grid article {
  padding: 20px;
}

.pain-grid p,
.metric small,
.program-card small,
.lead-card dd,
.event-list,
.faq-item p {
  color: var(--muted);
}

.split-section,
.intake-section,
.system-section,
.faq-section {
  display: grid;
  gap: 34px;
  margin-top: 110px;
}

.split-section {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
}

.program-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.program-card {
  width: 100%;
  padding: 19px;
  color: var(--paper);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.program-card:hover,
.program-card.is-selected {
  transform: translateX(6px);
  border-color: rgba(255, 122, 52, 0.58);
  background: rgba(255, 122, 52, 0.14);
}

.program-card span {
  display: block;
  margin-bottom: 8px;
  color: #ffbc8a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.program-card strong,
.program-card small {
  display: block;
}

.visual-card {
  min-height: 610px;
  border-radius: var(--radius-xl);
}

.visual-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 20px;
  border-radius: 22px;
  background: rgba(23, 14, 13, 0.72);
  backdrop-filter: blur(16px);
}

.visual-caption span {
  color: #ffbc8a;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.visual-caption strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.intake-section {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.goal-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.goal-chip {
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.goal-chip:hover,
.goal-chip.is-selected {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 52, 0.58);
  background: rgba(255, 122, 52, 0.16);
}

.system-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(157, 224, 176, 0.25);
  border-radius: 22px;
  background: rgba(157, 224, 176, 0.08);
}

.system-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-form {
  scroll-margin-top: 120px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.form-header {
  margin-bottom: 24px;
}

.form-header p {
  color: var(--muted);
  line-height: 1.55;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: rgba(255, 247, 236, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.23);
  padding: 14px 15px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 247, 236, 0.42);
}

select option {
  color: #170e0d;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 122, 52, 0.76);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 5px rgba(255, 122, 52, 0.12);
}

.form-error {
  padding: 13px 15px;
  border: 1px solid rgba(255, 77, 77, 0.35);
  border-radius: 16px;
  color: #ffd5d5;
  background: rgba(255, 77, 77, 0.12);
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  min-height: 60px;
}

.success-state {
  scroll-margin-top: 120px;
  margin-top: 16px;
  padding: 17px;
  border: 1px solid rgba(157, 224, 176, 0.35);
  border-radius: 18px;
  color: #eaffef;
  background: rgba(157, 224, 176, 0.1);
}

.success-state strong,
.success-state span {
  display: block;
}

.success-state span {
  margin-top: 6px;
  color: rgba(234, 255, 239, 0.76);
  line-height: 1.55;
}

.system-section {
  scroll-margin-top: 120px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.system-visual {
  min-height: 560px;
  border-radius: var(--radius-xl);
}

.crm-panel,
.event-panel {
  align-self: stretch;
}

.crm-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.07);
}

.lead-card {
  margin-top: 22px;
  padding: 20px;
}

.lead-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.lead-card-top span {
  color: var(--muted);
}

.lead-card-top strong {
  color: #ffbc8a;
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

dt {
  color: var(--soft);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.event-panel {
  grid-column: 1 / -1;
  padding: 22px;
}

.event-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.small-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  padding: 9px 13px;
  font-weight: 800;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.analytics-funnel {
  display: grid;
  gap: 9px;
  margin: 18px 0 14px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 96px 1fr 32px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(239, 106, 85, 0.16);
  border-radius: 15px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.funnel-row:hover,
.funnel-row:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 106, 85, 0.48);
  background: rgba(239, 106, 85, 0.12);
  outline: none;
}

.funnel-row span,
.funnel-row strong {
  font-size: 0.78rem;
  font-weight: 950;
}

.funnel-row i {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.funnel-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.36), transparent 30%),
    linear-gradient(90deg, var(--coral), var(--violet));
  box-shadow: 0 0 22px rgba(239, 106, 85, 0.22);
}

.funnel-row.is-active {
  border-color: rgba(49, 199, 183, 0.38);
  background: rgba(49, 199, 183, 0.11);
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.analytics-summary article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(49, 199, 183, 0.18);
  border-radius: 15px;
  background: rgba(49, 199, 183, 0.08);
}

.analytics-summary span,
.analytics-summary strong {
  display: block;
}

.analytics-summary span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.analytics-summary strong {
  margin-top: 5px;
  color: var(--teal);
  font-size: 1.04rem;
  line-height: 1;
}

.event-list li {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.event-list strong,
.event-list span {
  display: block;
}

.event-list strong {
  color: var(--paper);
  font-size: 0.9rem;
}

.event-list span {
  margin-top: 7px;
  color: var(--soft);
  font-size: 0.78rem;
}

.metrics-section {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 110px;
}

.metric {
  padding: 22px;
}

.metric span,
.metric small {
  display: block;
}

.metric span {
  color: var(--soft);
}

.metric strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.8rem;
  line-height: 1;
}

.faq-section {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  width: 100%;
  padding: 20px;
  color: var(--paper);
  text-align: left;
}

.faq-item span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 900;
}

.faq-item span::after {
  content: "+";
  color: #ffbc8a;
  font-size: 1.2rem;
}

.faq-item[aria-expanded="true"] span::after {
  content: "−";
}

.faq-item p {
  display: none;
  margin: 14px 0 0;
  line-height: 1.62;
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

.final-cta {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 110px;
  margin-bottom: 70px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 122, 52, 0.22), transparent 26rem),
    rgba(255, 255, 255, 0.08);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}

.site-footer strong {
  color: var(--paper);
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .pain-strip,
  .split-section,
  .intake-section,
  .system-section,
  .faq-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual,
  .hero-image-shell,
  .visual-card,
  .system-visual {
    min-height: 460px;
    height: 460px;
  }

  .floating-metric-card {
    left: 18px;
    top: 18px;
  }

  .pain-grid,
  .metrics-section,
  .event-list {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta .btn {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 4.7rem);
  }

  .hero-actions,
  .hero-actions .btn,
  .field-grid,
  .pain-grid,
  .metrics-section,
  .event-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-visual,
  .hero-image-shell {
    min-height: 500px;
    height: 500px;
  }

  .hero-image-shell img {
    object-position: 58% center;
  }

  .floating-offer-card {
    right: 14px;
    left: 14px;
    width: auto;
    bottom: 14px;
  }

  .floating-metric-card {
    max-width: 170px;
  }

  .pain-strip,
  .lead-form,
  .crm-panel,
  .event-panel,
  .final-cta {
    padding: 20px;
    border-radius: 24px;
  }

  .split-section,
  .intake-section,
  .system-section,
  .faq-section {
    margin-top: 76px;
  }

  .visual-card,
  .system-visual {
    min-height: 420px;
    height: 420px;
  }

  dl div {
    display: grid;
    gap: 4px;
  }

  dd {
    text-align: left;
  }

  .site-footer {
    display: grid;
    padding-bottom: 80px;
  }

  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    justify-content: center;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 28%),
      linear-gradient(135deg, #ff244f 0%, #ff5d35 52%, #ff9d2e 100%);
    box-shadow: 0 18px 48px rgba(255, 52, 66, 0.46);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
