/* Hero */

.hero {
  position: relative;
  min-height: 940px;
  padding: calc(var(--header-height) + 80px) 0 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.62;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 32, 22, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 22, 0.055) 1px, transparent 1px);
  background-size: calc((100vw - max(48px, (100vw - 1240px))) / 16) 100%, 100% 64px;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 94%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  top: 112px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: rgba(223, 240, 100, 0.22);
}

.hero-glow-two {
  top: 30px;
  right: -130px;
  width: 610px;
  height: 610px;
  background: rgba(223, 113, 73, 0.11);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 715px;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 46fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
}

.hero-copy {
  padding-bottom: 48px;
}

.status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 246, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.status-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(50, 86, 43, 0.12);
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--forest);
  border-radius: inherit;
  animation: statusPulse 2.4s ease-out infinite;
}

.status-separator {
  color: rgba(20, 32, 22, 0.3);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(66px, 7.5vw, 112px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.075em;
}

.headline-sprout svg {
  position: absolute;
  width: 42%;
  min-width: 110px;
  right: -8px;
  bottom: -32px;
  overflow: visible;
}

.headline-sprout svg path {
  fill: none;
  stroke: var(--potato);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.headline-sprout svg path:not(:first-child) {
  fill: var(--acid);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.hero-lede {
  max-width: 640px;
  margin: 45px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.47;
  letter-spacing: -0.025em;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 570px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.hero-proof div {
  display: grid;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.hero-proof div + div {
  padding-left: 20px;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  font-family: var(--mono);
  font-size: 17px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero system diagram */

.hero-system {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 253, 246, 0.14);
  border-radius: 42px;
  color: var(--paper);
  background:
    radial-gradient(circle at 70% 20%, rgba(223, 240, 100, 0.13), transparent 24%),
    radial-gradient(circle at 20% 78%, rgba(223, 113, 73, 0.12), transparent 24%),
    var(--ink);
  box-shadow:
    0 50px 100px rgba(20, 32, 22, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(0.8deg);
  transition: transform 100ms linear;
  overflow: hidden;
}

.hero-system::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.system-topbar {
  position: relative;
  z-index: 4;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--white-line);
  color: rgba(255, 253, 246, 0.53);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-window-dots {
  display: flex;
  gap: 6px;
}

.system-window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.22);
}

.system-window-dots i:first-child {
  background: var(--potato);
}

.system-window-dots i:nth-child(2) {
  background: #e0bb5b;
}

.system-window-dots i:last-child {
  background: var(--moss);
}

.system-live {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.system-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(223, 240, 100, 0.8);
}

.system-canvas {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.root-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.root-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.root-line-muted {
  stroke: rgba(255, 253, 246, 0.15);
}

.root-line-live {
  stroke: var(--acid);
  stroke-width: 2.2;
  stroke-dasharray: 2 18;
  filter: url("#rootGlow");
  animation: rootFlow 3.2s linear infinite;
}

.root-delay-two {
  animation-delay: -0.8s;
}

.root-delay-three {
  animation-delay: -1.6s;
}

.root-delay-four {
  animation-delay: -2.4s;
}

.root-filament {
  fill: none;
  stroke: rgba(223, 113, 73, 0.55);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.root-filament-thin {
  stroke: rgba(223, 240, 100, 0.22);
  stroke-width: 0.8;
}

.input-node,
.output-node {
  position: absolute;
  z-index: 2;
  min-width: 142px;
  height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 253, 246, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 246, 0.055);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.input-node small,
.output-node small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 253, 246, 0.42);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-node strong,
.output-node strong {
  display: block;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.node-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--acid);
  background: rgba(223, 240, 100, 0.08);
}

.node-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(223, 240, 100, 0.6);
}

.node-auth {
  top: 68px;
  left: 20px;
}

.node-wallet {
  top: 222px;
  left: 11px;
}

.node-stripe {
  top: 388px;
  left: 23px;
}

.output-node {
  min-width: 154px;
}

.node-app-one {
  top: 65px;
  right: 17px;
}

.node-app-two {
  top: 225px;
  right: 8px;
}

.node-app-three {
  top: 392px;
  right: 21px;
}

.app-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--potato-light);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.node-app-two .app-avatar {
  background: var(--acid);
}

.node-app-three .app-avatar {
  background: var(--lavender);
}

.node-arrow {
  color: rgba(255, 253, 246, 0.42);
  font-style: normal;
  font-size: 12px;
}

.core-wrap {
  position: absolute;
  z-index: 3;
  top: 161px;
  left: 50%;
  width: 164px;
  height: 190px;
  transform: translateX(-50%);
}

.sprout {
  position: absolute;
  z-index: 1;
  top: -41px;
  left: 50%;
  width: 84px;
  height: 80px;
  transform: translateX(-50%);
}

.sprout-stem {
  position: absolute;
  top: 25px;
  left: 42px;
  width: 3px;
  height: 45px;
  border-radius: 2px;
  background: var(--acid);
  transform: rotate(4deg);
  transform-origin: bottom;
}

.sprout-leaf {
  position: absolute;
  width: 40px;
  height: 25px;
  border: 1px solid rgba(20, 32, 22, 0.55);
  background: var(--acid);
  box-shadow: 0 8px 22px rgba(223, 240, 100, 0.18);
}

.sprout-leaf-left {
  top: 20px;
  left: 4px;
  border-radius: 80% 10% 80% 10%;
  transform: rotate(22deg);
  animation: leafSwayLeft 4s ease-in-out infinite;
}

.sprout-leaf-right {
  top: 3px;
  right: 0;
  border-radius: 10% 80% 10% 80%;
  background: var(--moss);
  transform: rotate(-18deg);
  animation: leafSwayRight 4.6s ease-in-out infinite;
}

.tuber-core {
  position: absolute;
  inset: 21px 3px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1.5px solid rgba(20, 32, 22, 0.72);
  border-radius: 46% 54% 47% 53% / 56% 43% 57% 44%;
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.23), transparent 24%),
    var(--potato);
  box-shadow:
    0 0 0 7px rgba(223, 113, 73, 0.09),
    0 20px 48px rgba(0, 0, 0, 0.28);
  transform: rotate(-4deg);
  animation: tuberFloat 5.8s ease-in-out infinite;
}

.core-kicker {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.tuber-core strong {
  margin: 5px 0 7px;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.core-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(20, 32, 22, 0.2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.core-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--forest);
}

.tuber-eye {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(20, 32, 22, 0.32);
}

.eye-one {
  top: 35px;
  left: 26px;
}

.eye-two {
  right: 24px;
  bottom: 39px;
}

.eye-three {
  left: 42px;
  bottom: 24px;
  width: 3px;
  height: 3px;
}

.system-log {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 246, 0.12);
  border-radius: 12px;
  background: rgba(3, 8, 4, 0.4);
  backdrop-filter: blur(10px);
}

.system-log div {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  border-bottom: 1px solid rgba(255, 253, 246, 0.055);
  color: rgba(255, 253, 246, 0.5);
  font-family: var(--mono);
  font-size: 7px;
}

.system-log div:last-child {
  border-bottom: 0;
}

.system-log code {
  color: rgba(255, 253, 246, 0.76);
}

.system-log b {
  color: var(--acid);
  font-weight: 600;
}

.seed-stamp {
  position: absolute;
  z-index: 5;
  right: -20px;
  top: 82px;
  display: grid;
  gap: 2px;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 6px 6px 0 var(--potato);
  transform: rotate(5deg);
}

.seed-stamp span {
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.seed-stamp strong {
  font-family: var(--mono);
  font-size: 13px;
}

.hero-ribbon {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: 26px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
  overflow: hidden;
  transform: rotate(-1deg) scale(1.02);
}

.ribbon-track {
  width: max-content;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 24px;
  animation: ribbonMove 28s linear infinite;
}

.ribbon-track span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ribbon-track i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--potato);
}

