/* Editorial layer and interactive components. Existing form and privacy styles remain shared. */
:root {
  --deep: #09171b;
  --forest: #173c35;
  --accent: #c9ff95;
  --paper: #f2f6ef;
  --muted-dark: #a7bdb4;
}
body {
  background: var(--paper);
}
.hero.section-dark {
  background:
    radial-gradient(ellipse at 74% 45%, #204c3c 0, transparent 42%),
    linear-gradient(135deg, #071419, #112923);
}
.hero:before {
  opacity: 0.1;
  background-size: 64px 64px;
}
.hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  min-height: 720px;
}
.hero h1 {
  font-size: clamp(58px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.hero h1 em {
  color: var(--accent);
}
.creation-engine {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(201, 255, 149, 0.2);
  border-radius: 18px;
  background: linear-gradient(
    150deg,
    rgba(16, 43, 37, 0.95),
    rgba(8, 23, 26, 0.96)
  );
  box-shadow: 0 30px 85px #0005;
  overflow: hidden;
  animation: window-in 0.9s ease-out both;
}
.engine-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid #c9ff9526;
  color: #c2d5c7;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 750;
}
.engine-heading span:last-child {
  color: #87a797;
  text-align: right;
}
.engine-stage {
  height: 325px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #b5ff951c, transparent 49%);
  overflow: hidden;
}
.engine-orbit {
  position: absolute;
  border: 1px solid #b7e8a53d;
  border-radius: 50%;
  width: 220px;
  height: 220px;
}
.orbit-b {
  width: 325px;
  height: 325px;
  border-style: dashed;
  border-color: #b7e8a529;
}
.engine-core {
  width: 132px;
  height: 132px;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #14352a;
  background: linear-gradient(145deg, #ddffbe, #9fdf7c);
  box-shadow:
    0 0 0 12px #c9ff950a,
    0 18px 60px #0004;
  transform: rotate(-8deg);
}
.engine-core-mark {
  font-size: 68px;
  font-weight: 850;
  letter-spacing: -0.13em;
  line-height: 1;
}
.engine-core-mark span {
  font-size: 22px;
  vertical-align: top;
  letter-spacing: 0;
}
.engine-core-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-top: 8px;
}
.engine-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #c9ff9533;
  border-radius: 8px;
  background: #142f2b;
  color: #dbeddb;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.engine-node i,
.output-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.node-one {
  top: 46px;
  left: 12%;
}
.node-two {
  top: 73px;
  right: 10%;
}
.node-three {
  bottom: 65px;
  left: 9%;
}
.node-four {
  bottom: 48px;
  right: 12%;
}
.engine-output {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c6ddc9;
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.output-arrow {
  font-size: 14px;
  color: var(--accent);
}
.creation-engine[data-mode="app"] .engine-core {
  border-radius: 24px;
  transform: rotate(5deg);
  background: linear-gradient(145deg, #dcf6f2, #97d9c8);
}
.creation-engine[data-mode="automation"] .engine-core {
  border-radius: 50%;
  transform: rotate(0);
  background: linear-gradient(145deg, #e3fbb9, #a4dc85);
}
.creation-engine[data-mode="software"] .engine-core {
  border-radius: 12px;
  transform: rotate(-3deg);
  background: linear-gradient(145deg, #d4e9ff, #a4cdbc);
}
.engine-core {
  transition:
    transform 0.5s ease,
    border-radius 0.5s ease,
    background 0.5s ease;
}
.engine-controls {
  padding: 20px 22px 23px;
  border-top: 1px solid #c9ff9526;
}
.engine-controls > span {
  display: block;
  color: #8aa89a;
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 800;
}
.engine-options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.engine-options button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #b8dcc02b;
  border-radius: 8px;
  background: #ffffff08;
  color: #c6d9cf;
  font-size: 12px;
  cursor: pointer;
}
.engine-options button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #17382b;
}
.engine-description {
  min-height: 2.8em;
  color: #afc4b5;
  font-size: 12px;
  line-height: 1.5;
}
.lab-section {
  background: #0b1d20;
  color: #fff;
  padding: 125px 0;
  overflow: hidden;
}
.lab-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.lab-copy h2 {
  margin: 24px 0;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.05;
}
.lab-copy p {
  max-width: 390px;
  color: #a9bfb7;
  font-size: 16px;
}
.lab-caption {
  display: block;
  margin-top: 30px;
  color: #92b5a1;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.lab-panel {
  background: #f5f9f2;
  color: #14352b;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 70px #0003;
}
.lab-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #667d6c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.lab-indicator {
  color: #357b4c;
}
.lab-flow {
  display: flex;
  align-items: center;
  margin: 35px 0;
}
.lab-step {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8e6d8;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.lab-step span,
.lab-step strong,
.lab-step small {
  display: block;
}
.lab-step span {
  color: #6da36d;
  font-size: 10px;
}
.lab-step strong {
  font-size: 14px;
  margin: 12px 0 4px;
}
.lab-step small {
  color: #738a78;
  font-size: 10px;
}
.lab-step.is-active {
  background: #e6f8d9;
  border-color: #82bd70;
  transform: translateY(-4px);
}
.lab-line {
  height: 2px;
  width: 24px;
  flex: none;
  background: #b4cbb5;
}
.lab-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lab-run {
  background: #173c35;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 14px 18px;
  font-weight: 750;
}
.lab-actions p {
  color: #607968;
  font-size: 12px;
}
.service-grid {
  grid-template-columns: repeat(6, 1fr);
}
.service-card {
  grid-column: span 2;
}
.service-card:first-child,
.service-card:last-child {
  grid-column: span 3;
}
.service-card:first-child {
  background: linear-gradient(145deg, #fff, #e9f4e5);
}
.service-card:first-child:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 100px;
  right: 25px;
  bottom: 24px;
  border: 1px solid #b8d7b5;
  border-radius: 12px;
  background:
    linear-gradient(#d8ead4 12px, transparent 12px),
    linear-gradient(135deg, #fafff8, #e0f1da);
  box-shadow: 0 12px 25px #244c2412;
  pointer-events: none;
}
.service-card:first-child .service-choose {
  align-self: flex-start;
}
.service-card-alt {
  background: #173c35;
}
.how-section {
  background: #edf3ea;
}
.steps-panel {
  position: relative;
}
.workflow-step {
  position: relative;
}
.step-number {
  border: 1px solid #cfe3c9;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
  background: #f7fbf5;
}
.workflow-step:hover {
  transform: none;
}
.proof-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-note {
  display: none;
}
.proof-section {
  padding-bottom: 90px;
}
.audience-section {
  padding-top: 90px;
}
.nav-links a:after {
  pointer-events: none;
}
@media (max-width: 1024px) {
  .hero-inner {
    gap: 25px;
  }
  .lab-layout {
    gap: 40px;
  }
  .service-card {
    grid-column: span 3;
  }
}
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .creation-engine {
    max-width: 620px;
    width: 100%;
    margin: 15px auto 0;
  }
  .lab-layout {
    grid-template-columns: 1fr;
  }
  .lab-copy p {
    max-width: 620px;
  }
  .service-card:first-child,
  .service-card:last-child {
    grid-column: span 3;
  }
}
@media (max-width: 600px) {
  .proof-stats {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(44px, 11vw, 64px);
  }
  .engine-heading {
    font-size: 8px;
  }
  .engine-stage {
    height: 280px;
  }
  .engine-orbit {
    width: 180px;
    height: 180px;
  }
  .orbit-b {
    width: 265px;
    height: 265px;
  }
  .engine-core {
    width: 108px;
    height: 108px;
  }
  .engine-core-mark {
    font-size: 55px;
  }
  .engine-node {
    font-size: 8px;
  }
  .node-one {
    left: 4%;
  }
  .node-two {
    right: 4%;
  }
  .node-three {
    left: 4%;
  }
  .node-four {
    right: 4%;
  }
  .engine-options button {
    flex: 1 1 40%;
  }
  .lab-section {
    padding: 80px 0;
  }
  .lab-panel {
    padding: 18px;
  }
  .lab-flow {
    gap: 8px;
    align-items: stretch;
    flex-direction: column;
    margin: 24px 0;
  }
  .lab-step {
    padding: 13px;
  }
  .lab-step strong {
    margin: 5px 0;
  }
  .lab-line {
    height: 12px;
    width: 2px;
    margin-left: 20px;
  }
  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card:first-child,
  .service-card:last-child {
    grid-column: auto;
  }
  .service-card:first-child:after {
    width: 100px;
    height: 70px;
    right: 15px;
    bottom: 15px;
  }
  .service-card:first-child .service-choose {
    max-width: 55%;
  }
  .nav-links a {
    min-height: 48px;
  }
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .creation-engine {
    animation: none;
  }
  .engine-core,
  .lab-step {
    transition: none;
  }
  .lab-step.is-active {
    transform: none;
  }
}
