:root {
  --ink: #161616;
  --muted: #5f615f;
  --paper: #f7f5ef;
  --paper-strong: #fffbf1;
  --panel: #ffffff;
  --line: #d9d4c7;
  --charcoal: #191a16;
  --charcoal-2: #23241f;
  --mint: #69e6a6;
  --mint-dark: #14824b;
  --coral: #ff6b4a;
  --amber: #f7b733;
  --cyan: #4cc9d8;
  --violet: #5a3ca0;
  --violet-strong: #42287f;
  --shadow: 0 20px 60px rgba(22, 22, 22, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(25, 26, 22, 0.74);
  color: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 18, 15, 0.88);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.24);
}

.brand,
.header-cta,
.main-nav,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--mint);
  color: #111;
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 7px;
}

.main-nav {
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.main-nav a {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-cta {
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  border-radius: 7px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 42px);
  max-height: 820px;
  overflow: hidden;
  padding: 104px 20px 48px;
  background: var(--charcoal);
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(25, 26, 22, 0), var(--charcoal));
  z-index: -1;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
}

.automation-map {
  position: absolute;
  inset: 11% 3% auto auto;
  width: min(48vw, 640px);
  height: 360px;
  opacity: 0.92;
}

.map-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 70px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

.node-ai {
  top: 38px;
  left: 28px;
  background: var(--mint);
  color: #111;
}

.node-crm {
  top: 128px;
  left: 236px;
}

.node-api {
  top: 38px;
  right: 112px;
  background: var(--coral);
}

.node-zap {
  right: 8px;
  bottom: 48px;
  background: var(--cyan);
  color: #111;
}

.map-line {
  position: absolute;
  height: 2px;
  background: rgba(105, 230, 166, 0.58);
  transform-origin: left center;
}

.line-one {
  top: 104px;
  left: 96px;
  width: 166px;
  transform: rotate(22deg);
}

.line-two {
  top: 152px;
  left: 306px;
  width: 176px;
  transform: rotate(-24deg);
  background: rgba(255, 107, 74, 0.68);
}

.line-three {
  top: 118px;
  right: 74px;
  width: 164px;
  transform: rotate(65deg);
  background: rgba(76, 201, 216, 0.72);
}

.dashboard-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.panel-main {
  right: 4%;
  bottom: 12%;
  width: min(34vw, 430px);
  min-width: 360px;
  padding: 18px;
}

.panel-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.panel-topbar span {
  width: 10px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.panel-title-row,
.chat-header,
.metric-row {
  display: flex;
  align-items: center;
}

.panel-title-row {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-title-row strong,
.chat-header strong,
.panel-flow strong {
  font-size: 0.98rem;
}

.panel-title-row small,
.chat-header small,
.metric-row span {
  color: rgba(255, 255, 255, 0.62);
}

.panel-title-row small {
  padding: 6px 9px;
  background: rgba(105, 230, 166, 0.16);
  color: var(--mint);
  border-radius: 6px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric-row div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
  border-radius: 7px;
}

.metric-row span,
.metric-row strong {
  display: block;
}

.metric-row span {
  margin-bottom: 6px;
  font-size: 0.72rem;
}

.metric-row strong {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  height: 116px;
  padding-top: 12px;
}

.chart-bars span {
  display: block;
  min-height: 22px;
  background: var(--mint);
  border-radius: 6px 6px 2px 2px;
}

.chart-bars span:nth-child(2n) {
  background: var(--amber);
}

.chart-bars span:nth-child(3n) {
  background: var(--cyan);
}

.panel-chat {
  top: 23%;
  right: 7%;
  width: 300px;
  padding: 16px;
  animation: float-panel 7s ease-in-out infinite;
}

.chat-header {
  gap: 10px;
  margin-bottom: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  background: var(--mint);
  color: #111;
  font-weight: 900;
  border-radius: 7px;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin-top: 8px;
  padding: 10px 11px;
  font-size: 0.78rem;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 7px;
}

.bubble.outgoing {
  margin-left: auto;
  background: rgba(105, 230, 166, 0.22);
}

.bubble.short {
  max-width: 54%;
}

.panel-flow {
  right: -2%;
  top: 49%;
  width: 250px;
  padding: 16px;
  animation: float-panel 8s ease-in-out 1s infinite;
}

.flow-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.14);
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 7px;
}

.flow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--mint);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 850;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--mint);
  color: #111;
  box-shadow: 0 18px 44px rgba(105, 230, 166, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button span,
.header-cta span {
  display: grid;
  place-items: center;
  width: 22px;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: var(--mint);
  font-size: 1.5rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.intro-strip {
  padding: 30px 0;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(5, auto);
  align-items: center;
  gap: 12px;
}

.intro-grid p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.intro-grid span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: #323330;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 7px;
}

.presence-section {
  padding: 22px 0 88px;
  background: var(--paper);
}

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

.presence-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 22, 22, 0.06);
}

.presence-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  background: var(--ink);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 7px;
}

.presence-grid h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.presence-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.instructor-section {
  background: #ffffff;
}

.instructor-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
}

.instructor-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.instructor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 22, 22, 0.2), rgba(22, 22, 22, 0));
  pointer-events: none;
}

.instructor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center right;
}

.instructor-copy p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.resume-card {
  max-width: 720px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--mint-dark);
  background: var(--paper-strong);
  border-radius: var(--radius);
}

.resume-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.resume-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #333;
  line-height: 1.55;
}

.resume-card li::marker {
  color: var(--mint-dark);
}

.niche-section {
  background:
    linear-gradient(180deg, rgba(255, 251, 241, 0.9), rgba(247, 245, 239, 0.96)),
    radial-gradient(circle at 12% 18%, rgba(255, 107, 74, 0.16), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(90, 60, 160, 0.14), transparent 30%);
}

.niche-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: 46px;
}

.niche-showcase {
  padding: 0;
}

.niche-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 0 28px;
  background: var(--violet);
  color: #fff;
  box-shadow: 0 18px 42px rgba(90, 60, 160, 0.24);
  border-radius: var(--radius);
}

.niche-badge span {
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 900;
  text-transform: uppercase;
}

.niche-badge i {
  width: 18px;
  aspect-ratio: 1;
  background: #fff;
  clip-path: polygon(72% 0, 100% 72%, 22% 78%);
  flex: 0 0 auto;
}

.niche-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: #1f1f1f;
  color: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.niche-reasons span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 850;
  line-height: 1.2;
  border-radius: 7px;
}

.niche-reasons span:nth-child(1),
.niche-reasons span:nth-child(4) {
  color: var(--mint);
}

.niche-reasons span:nth-child(2),
.niche-reasons span:nth-child(5) {
  color: var(--amber);
}

.niche-reasons span:nth-child(3),
.niche-reasons span:nth-child(6) {
  color: var(--cyan);
}

.niche-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.niche-ranking {
  max-width: 680px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #d9cdec;
  border-left: 6px solid var(--violet);
  background: #fff;
  color: #353336;
  line-height: 1.6;
  border-radius: var(--radius);
}

.niche-ranking strong {
  display: block;
  margin-bottom: 10px;
  color: var(--violet-strong);
}

.niche-ranking ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 800;
}

.starter-niches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.starter-niches strong {
  margin-right: 8px;
  color: var(--ink);
}

.starter-niches span {
  padding: 8px 10px;
  background: #eff9ed;
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 6px;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.niche-card {
  min-height: 336px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-top: 6px solid var(--violet);
  border-radius: var(--radius);
}

.niche-card:nth-child(2),
.niche-card:nth-child(7) {
  border-top-color: var(--coral);
}

.niche-card:nth-child(3),
.niche-card:nth-child(8) {
  border-top-color: var(--cyan);
}

.niche-card:nth-child(4),
.niche-card:nth-child(9) {
  border-top-color: var(--amber);
}

.niche-card:nth-child(5),
.niche-card:nth-child(10) {
  border-top-color: var(--mint-dark);
}

.niche-card span,
.niche-card small {
  display: block;
  font-weight: 900;
}

.niche-card span {
  margin-bottom: 16px;
  color: var(--violet-strong);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.niche-card p {
  color: var(--muted);
  line-height: 1.6;
}

.niche-card small {
  margin-top: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.micro-saas-callout {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.micro-saas-callout .eyebrow {
  color: var(--mint);
}

.micro-saas-callout h3 {
  max-width: 720px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.micro-saas-callout p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  max-width: var(--container);
  gap: 40px;
}

.learning-grid,
.projects-grid,
.revenue-grid {
  display: grid;
  gap: 14px;
}

.learning-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.project-card,
.revenue-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

.feature-card {
  min-height: 238px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(22, 22, 22, 0.05);
}

.feature-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-icon {
  position: relative;
  display: block;
  width: 46px;
  aspect-ratio: 1;
  margin-bottom: 20px;
  background: #eff9ed;
  border: 1px solid #d3ead2;
  border-radius: 8px;
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  border-radius: 5px;
}

.automation-icon::before {
  inset: 12px;
  border: 2px solid var(--mint-dark);
}

.automation-icon::after {
  width: 22px;
  height: 2px;
  left: 12px;
  top: 22px;
  background: var(--coral);
}

.systems-icon::before {
  width: 24px;
  height: 16px;
  left: 10px;
  top: 10px;
  border: 2px solid var(--mint-dark);
}

.systems-icon::after {
  width: 18px;
  height: 6px;
  left: 14px;
  bottom: 10px;
  background: var(--amber);
}

.whatsapp-icon::before {
  inset: 10px;
  border: 2px solid var(--mint-dark);
  border-radius: 50%;
}

.whatsapp-icon::after {
  width: 12px;
  height: 8px;
  right: 9px;
  bottom: 8px;
  background: var(--mint-dark);
}

.api-icon::before {
  width: 8px;
  height: 24px;
  left: 13px;
  top: 11px;
  background: var(--mint-dark);
}

.api-icon::after {
  width: 8px;
  height: 24px;
  right: 13px;
  top: 11px;
  background: var(--coral);
}

.agent-icon::before {
  width: 24px;
  aspect-ratio: 1;
  left: 10px;
  top: 10px;
  border: 2px solid var(--mint-dark);
  border-radius: 50%;
}

.agent-icon::after {
  width: 16px;
  height: 2px;
  left: 15px;
  top: 23px;
  background: var(--coral);
}

.business-icon::before {
  width: 28px;
  height: 20px;
  left: 9px;
  top: 14px;
  background: var(--amber);
}

.business-icon::after {
  width: 14px;
  height: 14px;
  left: 16px;
  top: 10px;
  border: 2px solid var(--mint-dark);
  background: transparent;
}

.projects-section {
  background: #ffffff;
}

.project-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  border-radius: 7px;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.projects-grid {
  grid-template-columns: repeat(5, 1fr);
}

.project-card {
  min-height: 190px;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card.is-hidden {
  display: none;
}

.project-card span,
.revenue-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 8px;
  background: #eff9ed;
  color: var(--mint-dark);
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 6px;
}

.community-section {
  background: var(--charcoal-2);
  color: #fff;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 60px;
}

.community-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.community-side {
  display: grid;
  gap: 18px;
}

.community-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.community-board div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.community-board strong,
.community-board span {
  display: block;
}

.community-board strong {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.community-board span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
}

.lead-capture {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.lead-capture h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.32rem;
}

.lead-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-capture label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
}

.lead-capture input,
.lead-capture select,
.lead-capture textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 7px;
}

.lead-capture input,
.lead-capture select {
  min-height: 44px;
  padding: 0 12px;
}

.lead-capture textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.lead-capture input:focus,
.lead-capture select:focus,
.lead-capture textarea:focus {
  outline: 3px solid rgba(105, 230, 166, 0.36);
  border-color: var(--mint);
}

.lead-capture .button {
  width: 100%;
}

.lead-form-status {
  min-height: 22px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

.lead-form-status.is-success {
  color: var(--mint);
}

.lead-form-status.is-error {
  color: #ffb5a4;
}

.revenue-grid {
  grid-template-columns: repeat(4, 1fr);
}

.revenue-grid article {
  min-height: 150px;
  padding: 20px;
}

.revenue-grid h3 {
  margin-bottom: 0;
}

.revenue-grid .highlight-offer {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.revenue-grid .highlight-offer span {
  background: rgba(105, 230, 166, 0.16);
  color: var(--mint);
}

.difference-section {
  padding-top: 0;
}

.difference-card {
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.07);
}

.difference-card p:not(.eyebrow) {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.final-cta {
  padding: 92px 0;
  background: var(--coral);
  color: #111;
}

.final-cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.final-cta .eyebrow {
  color: rgba(0, 0, 0, 0.7);
}

.final-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.final-cta .button-primary {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.site-footer {
  padding: 30px 0;
  background: #111;
  color: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  text-align: right;
}

.footer-admin-link {
  display: inline-flex;
  margin-left: 12px;
  color: var(--mint);
  font-weight: 850;
}

.legal-header {
  position: sticky;
}

.legal-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--paper);
}

.legal-content {
  max-width: 880px;
  color: var(--ink);
}

.legal-content h1 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.legal-updated {
  margin: 0 0 34px;
  color: var(--muted);
  font-weight: 750;
}

.legal-content h2 {
  margin: 30px 0 8px;
  font-size: 1.2rem;
}

.legal-content p {
  margin: 0;
  max-width: 760px;
  color: #555;
  font-size: 1.04rem;
  line-height: 1.75;
}

@keyframes float-panel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .main-nav {
    display: none;
  }

  .hero-content {
    width: min(60vw, 560px);
    margin-left: 0;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(3rem, 8vw, 5.2rem);
  }

  .hero-copy {
    max-width: 540px;
  }

  .automation-map {
    right: -18%;
    width: 620px;
    opacity: 0.58;
  }

  .panel-main {
    right: -150px;
    bottom: 8%;
    width: 420px;
    min-width: 420px;
    opacity: 0.74;
  }

  .panel-chat {
    top: 14%;
    right: -36px;
    width: 300px;
    opacity: 0.82;
  }

  .panel-flow {
    right: -140px;
    top: 52%;
    opacity: 0.78;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .presence-grid {
    grid-template-columns: 1fr;
  }

  .niche-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: calc(100svh - 36px);
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(2.72rem, 13vw, 4.8rem);
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-stats {
    max-width: 520px;
  }

  .automation-map {
    top: 8%;
    right: -34%;
    width: 760px;
    opacity: 0.48;
  }

  .panel-main {
    display: none;
  }

  .panel-chat,
  .panel-flow {
    display: none;
  }

  .learning-grid,
  .instructor-layout,
  .niche-layout,
  .community-layout,
  .revenue-grid,
  .split-heading,
  .final-cta-content {
    grid-template-columns: 1fr;
  }

  .niche-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-layout {
    gap: 34px;
  }

  .section {
    padding: 72px 0;
  }

  .instructor-photo,
  .instructor-photo img {
    min-height: 420px;
  }
}

@media (max-height: 760px) {
  .hero-actions {
    margin-bottom: 0;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 0.94rem;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 11px;
  }

  .hero {
    min-height: calc(100svh - 34px);
    padding: 98px 14px 42px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    max-width: 390px;
  }

  .hero-stats {
    display: none;
  }

  .panel-main {
    right: -230px;
    bottom: 4%;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  .automation-map {
    right: -520px;
    opacity: 0.38;
  }

  .intro-grid,
  .presence-grid,
  .niche-grid,
  .projects-grid,
  .community-board,
  .lead-capture-grid {
    grid-template-columns: 1fr;
  }

  .niche-reasons {
    grid-template-columns: 1fr;
  }

  .instructor-photo,
  .instructor-photo img {
    min-height: 320px;
  }

  .intro-grid span {
    white-space: normal;
  }

  .project-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-button {
    width: 100%;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-content p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
