.hero {
  padding-top: 48px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow-line {
  height: 1px;
  width: 25px;
  background: var(--green);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 62px;
}
.hero h1 {
  line-height: 1.08;
  letter-spacing: -0.065em;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-copy > p {
  font-size: 16px;
  max-width: 460px;
  margin-top: 28px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 35px;
}
.hero-actions .button {
  font-size: 12px;
  padding: 17px 19px;
  gap: 20px;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  white-space: nowrap;
}
.round-arrow {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-visual {
  padding-top: 12px;
}
.flow-diagram {
  border: 1px solid #d7ddd3;
  border-radius: 6px;
  background: #edf0e7;
  position: relative;
  overflow: hidden;
}
.diagram-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d7ddd3;
  padding: 18px 22px;
  gap: 10px;
}
.micro-label {
  font-size: 9px;
}
.diagram-tag {
  border: 1px solid #cbd4c3;
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 9px;
  color: #63745c;
}
.diagram-body {
  display: flex;
  align-items: center;
  padding: 50px 24px 38px;
  min-height: 310px;
  background-image: radial-gradient(#b6c4ad70 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}
.source-stack,
.output-stack {
  width: 119px;
  flex-shrink: 0;
  display: flex;
  gap: 11px;
  flex-direction: column;
  position: relative;
}
.diagram-label {
  position: absolute;
  top: -28px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b9584;
  white-space: nowrap;
}
.source-node {
  background: #fafbf7;
  border: 1px solid #d4dbcd;
  font-size: 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 9px;
  white-space: nowrap;
  position: relative;
  height: 39px;
}
.node-icon {
  font-size: 16px;
  color: #7a8770;
}
.node-port {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9cb985;
  position: absolute;
  right: -3px;
}
.flow-connector {
  width: 100%;
  height: 188px;
  min-width: 20px;
  position: relative;
}
.flow-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flow-connector path {
  fill: none;
  stroke: #a0b393;
  stroke-width: 1;
}
.flow-connector span {
  position: absolute;
  height: 3px;
  width: 18px;
  background: #5d8653;
  left: 0;
  top: 50%;
  animation: dataflow 5s ease-in-out infinite;
}
.ai-node {
  width: 132px;
  min-width: 132px;
  min-height: 155px;
  border: 1px solid #67845c;
  background: #e2ebd6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px 7px;
  border-radius: 5px;
  box-shadow: 0 6px 18px #586b4410;
  z-index: 1;
}
.ai-mark {
  font-size: 40px;
  font-weight: 700;
  color: #355931;
  line-height: 1.1;
}
.ai-node strong {
  font-size: 11px;
  font-weight: 650;
  margin-top: 9px;
}
.ai-node > span:last-of-type {
  font-size: 9px;
  color: #748369;
  margin-top: 3px;
}
.ai-lines {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 25px;
  margin-top: 12px;
}
.ai-lines i {
  height: 8px;
  width: 2px;
  background: #66865b;
  animation: pulse 2.8s ease-in-out infinite;
}
.ai-lines i:nth-child(2n) {
  height: 18px;
  animation-delay: 0.3s;
}
.ai-lines i:nth-child(3n) {
  height: 12px;
  animation-delay: 0.6s;
}
.output-node {
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cbd4c2;
  font-size: 10px;
  padding: 8px;
  white-space: nowrap;
}
.output-node span {
  color: var(--green);
  font-size: 15px;
}
.diagram-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #89947f;
  border-top: 1px solid #d7ddd3;
  padding: 13px 20px;
}
.tiny-square {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #6d865b;
  margin-right: 4px;
}
.hero-caption {
  display: flex;
  gap: 26px;
  font-size: 10px;
  padding: 18px 0 0;
  align-items: start;
}
.hero-caption > span {
  color: #96a08e;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding-top: 2px;
}
.hero-caption p {
  font-size: 11px;
  max-width: 330px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  font-size: 11px;
  color: #85897f;
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
}
.outcome-band {
  border-block: 1px solid var(--line);
  background: #eceee7;
}
.outcome-band-inner {
  display: flex;
  justify-content: space-between;
  padding-block: 23px;
  gap: 25px;
}
.outcome-band span {
  font-size: 13px;
  color: #6a7462;
  display: flex;
  align-items: center;
  gap: 20px;
}
.outcome-band span:before {
  content: "+";
  font-size: 18px;
  color: #819a6e;
}
.benefit-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.benefit-preview h3 {
  max-width: 390px;
  margin-bottom: 22px;
}
.benefit-preview p {
  max-width: 400px;
}
.time-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.time-comparison > div > span {
  font-size: 12px;
  color: var(--muted);
}
.time-comparison strong {
  display: block;
  font-size: 62px;
  font-weight: 450;
  letter-spacing: -0.07em;
  line-height: 1.5;
}
.time-comparison strong small {
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--muted);
}
.time-comparison > div:nth-child(2) strong {
  color: var(--green);
}
.time-bar {
  height: 6px;
  background: #b9c0b3;
}
.time-bar.new {
  background: #8fa56d;
  width: 10%;
}
.time-comparison > p {
  grid-column: 1/-1;
  font-size: 11px;
  margin-top: -17px;
}
@keyframes dataflow {
  0%,
  100% {
    opacity: 0;
    left: 0;
  }
  50% {
    opacity: 0.8;
    left: 70%;
  }
}
@keyframes pulse {
  50% {
    transform: scaleY(0.45);
    opacity: 0.5;
  }
}
@media (min-width: 1500px) {
  .diagram-body {
    padding: 60px 30px;
  }
  .source-stack,
  .output-stack {
    width: 132px;
  }
  .source-node,
  .output-node {
    font-size: 11px;
  }
  .ai-node {
    min-width: 148px;
    min-height: 169px;
  }
  .micro-label,
  .diagram-tag,
  .diagram-label {
    font-size: 10px;
  }
  .hero-grid {
    gap: 75px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-copy > p {
    font-size: 18px;
  }
}
@media (max-width: 1100px) {
  .hero-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .source-stack,
  .output-stack {
    width: 95px;
  }
  .source-node,
  .output-node {
    font-size: 9px;
    padding-inline: 6px;
  }
  .ai-node {
    min-width: 100px;
    width: 100px;
  }
  .diagram-body {
    padding-inline: 14px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .diagram-tag {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 33px;
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(52px, 8vw, 76px);
  }
  .hero-copy > p {
    max-width: 580px;
  }
  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }
  .source-stack,
  .output-stack {
    width: 125px;
  }
  .source-node,
  .output-node {
    font-size: 11px;
  }
  .ai-node {
    min-width: 145px;
    min-height: 150px;
  }
  .diagram-body {
    padding: 50px 25px 35px;
  }
  .hero-grid {
    padding-bottom: 35px;
  }
  .hero-actions {
    flex-wrap: nowrap;
  }
  .outcome-band-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 35px;
  }
  .outcome-band span {
    font-size: 12px;
  }
  .benefit-preview {
    gap: 35px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 30px;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 63px);
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-bottom {
    gap: 18px;
    font-size: 10px;
  }
  .hero-bottom > span {
    max-width: 195px;
  }
  .hero-bottom a {
    white-space: nowrap;
  }
  .diagram-body {
    padding: 44px 11px 23px;
    min-height: 270px;
  }
  .source-stack,
  .output-stack {
    width: 85px;
    gap: 8px;
  }
  .source-node,
  .output-node {
    font-size: 8px;
    padding: 5px;
    height: 33px;
  }
  .source-node .node-icon {
    font-size: 12px;
  }
  .ai-node {
    width: 96px;
    min-width: 96px;
    min-height: 136px;
  }
  .ai-node strong {
    font-size: 9px;
  }
  .ai-node > span:last-of-type {
    font-size: 8px;
  }
  .diagram-top {
    padding: 15px 12px;
  }
  .micro-label {
    font-size: 8px;
  }
  .diagram-label {
    font-size: 8px;
  }
  .diagram-bottom {
    font-size: 8px;
    padding-inline: 12px;
  }
  .flow-connector {
    height: 160px;
    min-width: 12px;
  }
  .hero-caption {
    gap: 20px;
  }
  .hero-caption p {
    font-size: 10px;
  }
  .benefit-preview {
    grid-template-columns: 1fr;
  }
  .time-comparison {
    gap: 30px;
  }
  .time-comparison strong {
    font-size: 54px;
  }
  .outcome-band span {
    font-size: 11px;
  }
  .outcome-band-inner {
    justify-content: flex-start;
    gap: 8px 20px;
  }
  .outcome-band span:before {
    font-size: 14px;
  }
  .time-comparison .micro-note {
    font-size: 11px;
  }
}
/* Readable diagram labels and a dedicated compact layout */
.micro-label,
.diagram-tag,
.diagram-label {
  font-size: 12px;
}
.diagram-top {
  padding-inline: 18px;
}
.diagram-tag {
  font-size: 10px;
}
.source-node,
.output-node {
  font-size: 12px;
}
.source-stack,
.output-stack {
  width: 125px;
}
.ai-node strong {
  font-size: 12px;
}
.ai-node > span:last-of-type {
  font-size: 10px;
}
.diagram-bottom {
  font-size: 11px;
}
.hero-caption,
.hero-caption p,
.hero-bottom {
  font-size: 12px;
}
.hero-kicker {
  font-size: 12px;
}
.quiet-link {
  font-size: 14px;
}
.hero-actions .button {
  font-size: 14px;
}
.diagram-label {
  font-size: 10px;
}
.source-node {
  padding-inline: 7px;
}
.hero-caption p {
  max-width: 410px;
}
.hero-bottom {
  padding-block: 22px 28px;
}
.hero h1 {
  letter-spacing: -0.057em;
}
.desktop-nav {
  font-size: 14px;
}
.button-small {
  font-size: 13px;
}
.language-switch {
  font-size: 13px;
}
.is-visible {
  animation: reveal-in 0.7s ease both;
}
@keyframes reveal-in {
  from {
    transform: translateY(14px);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 1280px) and (min-width: 931px) {
  .desktop-nav {
    font-size: 13px;
    gap: 19px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .source-stack,
  .output-stack {
    width: 103px;
  }
  .source-node,
  .output-node {
    font-size: 10px;
  }
  .ai-node {
    min-width: 110px;
    width: 110px;
  }
  .ai-node strong {
    font-size: 11px;
  }
  .diagram-body {
    padding-inline: 14px;
  }
}
@media (max-width: 600px) {
  .hero-kicker {
    font-size: 10px;
  }
  .hero-actions .button {
    font-size: 13px;
  }
  .diagram-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 18px 22px;
  }
  .source-stack,
  .output-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 9px;
  }
  .source-node,
  .output-node {
    font-size: 12px;
    height: 39px;
  }
  .diagram-label {
    top: -22px;
    font-size: 10px;
  }
  .source-node {
    padding-inline: 10px;
  }
  .node-port {
    display: none;
  }
  .flow-connector {
    display: none;
  }
  .ai-node {
    width: 100%;
    min-height: 110px;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: 1fr 1fr;
    text-align: left;
    padding: 15px 20px;
    gap: 3px 14px;
  }
  .ai-mark {
    grid-row: 1/3;
    font-size: 50px;
  }
  .ai-node strong {
    font-size: 15px;
    margin: 0;
    align-self: end;
  }
  .ai-node > span:last-of-type {
    font-size: 12px;
    margin: 0;
    align-self: start;
  }
  .ai-lines {
    display: none;
  }
  .output-stack {
    margin-top: 10px;
  }
  .output-node {
    padding-inline: 10px;
  }
  .diagram-top .micro-label {
    font-size: 10px;
  }
  .diagram-bottom {
    font-size: 9px;
    padding-inline: 14px;
  }
  .hero-caption p {
    font-size: 11px;
  }
  .hero-bottom {
    font-size: 11px;
  }
  .hero-bottom a {
    gap: 8px;
  }
  .hero-bottom > span {
    max-width: 200px;
  }
  .hero-actions {
    gap: 20px;
  }
}
