:root {
  color-scheme: light;
  --ink: #16201c;
  --muted: #65716d;
  --line: #dde7e1;
  --paper: #fbfcfa;
  --soft: #eef5f1;
  --green: #1d8a61;
  --teal: #0a6f82;
  --gold: #c88a22;
  --coral: #c95642;
  --shadow: 0 24px 80px rgba(16, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(29, 138, 97, 0.18), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(200, 138, 34, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(29, 138, 97, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(201, 86, 66, 0.08), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(22, 32, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 28, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.42) 48%, transparent 58% 100%);
  background-size: 240% 100%;
  animation: pageSheen 13s ease-in-out infinite;
  pointer-events: none;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 231, 225, 0.78);
  background: rgba(251, 252, 250, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
footer {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green), var(--teal)),
    var(--green);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.32);
  animation: markPulse 4s ease-in-out infinite;
}

.nav a,
footer span {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.icon-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  min-height: calc(100vh - 74px);
  padding: 78px clamp(20px, 5vw, 72px) 46px;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: clamp(20px, 8vw, 120px);
  top: 72px;
  width: clamp(170px, 24vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 138, 97, 0.22);
  border-radius: 50%;
  animation: orbitSpin 24s linear infinite;
}

.hero::after {
  right: clamp(60px, 16vw, 240px);
  top: 134px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    110px 42px 0 rgba(29, 138, 97, 0.72),
    32px 178px 0 rgba(10, 111, 130, 0.58);
  animation: nodeFloat 7s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.92;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.pricing a,
.contact-band button,
.dashboard-title button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button::after,
.pricing a::after,
.contact-band button::after,
.dashboard-title button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42), transparent 70%);
  transform: translateX(-120%);
  transition: transform 480ms ease;
}

.button:hover,
.pricing a:hover,
.contact-band button:hover,
.dashboard-title button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 32, 28, 0.12);
}

.button:hover::after,
.pricing a:hover::after,
.contact-band button:hover::after,
.dashboard-title button:hover::after {
  transform: translateX(120%);
}

.primary,
.pricing .featured a,
.contact-band button {
  background: var(--ink);
  color: white;
}

.ghost,
.pricing a,
.dashboard-title button {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.terminal-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(22, 32, 28, 0.12);
  border-radius: 8px;
  background: #101916;
  color: #edf6f2;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.terminal-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at var(--mx, 65%) var(--my, 28%), rgba(98, 215, 158, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%);
}

.terminal-panel:hover {
  box-shadow: 0 34px 100px rgba(16, 32, 28, 0.2);
}

.panel-sheen {
  position: absolute;
  inset: -60% -40%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, 0.12), transparent 56%);
  transform: translateX(-35%) rotate(8deg);
  animation: panelSheen 6s ease-in-out infinite;
  pointer-events: none;
}

.panel-head {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-head span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.panel-head span:nth-child(2) {
  background: var(--gold);
}

.panel-head span:nth-child(3) {
  background: #53c691;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 0;
  color: #b8cbc3;
}

.metric-row strong {
  color: white;
}

.chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  height: 260px;
  padding: 26px 28px;
}

.chart i {
  display: block;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #62d79e, #0a6f82);
  transform-origin: bottom;
  animation: barRise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both, barPulse 3s ease-in-out infinite;
}

.chart i:nth-child(2) {
  animation-delay: 80ms, 1s;
}

.chart i:nth-child(3) {
  animation-delay: 140ms, 1.5s;
}

.chart i:nth-child(4) {
  animation-delay: 210ms, 0.5s;
}

.chart i:nth-child(5) {
  animation-delay: 280ms, 1.2s;
}

.chart i:nth-child(6) {
  animation-delay: 340ms, 0.2s;
}

.chart i:nth-child(7) {
  animation-delay: 420ms, 1.7s;
}

.data-list {
  display: grid;
  gap: 10px;
  padding: 0 28px 28px;
}

.data-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #b8cbc3;
}

.data-list b {
  color: white;
}

.stats,
.split-section,
.workspace,
.pricing,
.contact-band,
footer {
  padding-inline: clamp(20px, 5vw, 72px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: white;
}

.stats article {
  position: relative;
  overflow: hidden;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
}

.stats article::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(29, 138, 97, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.stats article:hover::before {
  opacity: 1;
}

.stats article:last-child {
  border-right: 0;
}

.stats span,
.dashboard-title span,
.dashboard-sidebar span,
.pricing p,
.contact-band label span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.stats strong,
.dashboard-title strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 40px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 76px);
  padding-block: 96px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-card,
.pricing article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 48px rgba(22, 32, 28, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-card::after,
.pricing article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--mx, 70%) var(--my, 20%), rgba(29, 138, 97, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.feature-card:hover,
.pricing article:hover {
  border-color: rgba(29, 138, 97, 0.36);
  box-shadow: 0 24px 70px rgba(22, 32, 28, 0.12);
  transform: translateY(-5px);
}

.feature-card:hover::after,
.pricing article:hover::after {
  opacity: 1;
}

.feature-card {
  padding: 26px;
}

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

.feature-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.56) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.56) 46% 54%, transparent 54%),
    var(--green);
  animation: iconTurn 7s ease-in-out infinite;
}

.feature-icon.alternate {
  background-color: var(--teal);
}

.feature-icon.warm {
  background-color: var(--gold);
}

.workspace {
  padding-block: 34px 106px;
}

.dashboard {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dashboard:hover {
  box-shadow: 0 34px 100px rgba(16, 32, 28, 0.18);
}

.dashboard-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(29, 138, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 138, 97, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  animation: gridDrift 9s linear infinite;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #f2f7f4;
}

.dashboard-sidebar p {
  margin-bottom: 14px;
  font-weight: 850;
}

.dashboard-sidebar span {
  padding: 13px 14px;
  border-radius: 8px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dashboard-sidebar span:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(16, 32, 28, 0.08);
}

.dashboard-main {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  align-content: center;
  gap: 20px;
  padding-block: 28px;
}

.timeline p {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.timeline p::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(29, 138, 97, 0.08), transparent);
  transform: translateX(-100%);
  animation: timelineScan 4.5s ease-in-out infinite;
}

.timeline p:nth-child(2)::after {
  animation-delay: 600ms;
}

.timeline p:nth-child(3)::after {
  animation-delay: 1.2s;
}

.timeline p:nth-child(4)::after {
  animation-delay: 1.8s;
}

.timeline p:hover {
  border-color: rgba(29, 138, 97, 0.32);
  background: rgba(29, 138, 97, 0.04);
  transform: translateX(4px);
}

.timeline span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(29, 138, 97, 0.26);
  animation: dotPulse 2.8s ease-out infinite;
}

.pricing {
  position: relative;
  padding-block: 96px;
  background: #18231f;
  color: white;
}

.pricing::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(105, 215, 165, 0.08), transparent 60%),
    radial-gradient(circle at 72% 20%, rgba(10, 111, 130, 0.26), transparent 28%);
  background-size: 220% 100%, auto;
  animation: darkSweep 11s ease-in-out infinite;
  pointer-events: none;
}

.pricing > * {
  position: relative;
}

.pricing .eyebrow {
  color: #69d7a5;
}

.pricing h2 {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.pricing article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing .featured {
  background: white;
  color: var(--ink);
}

.pricing strong {
  display: block;
  margin: 30px 0 20px;
  font-size: 42px;
}

.pricing p {
  color: rgba(255, 255, 255, 0.68);
}

.pricing .featured p {
  color: var(--muted);
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  padding-block: 90px;
  background: white;
}

.contact-band::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), transparent);
  animation: lineTravel 5s ease-in-out infinite;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr) auto;
  align-items: end;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(29, 138, 97, 0.16);
}

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

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

@keyframes pageSheen {
  0%,
  64% {
    background-position: 160% 0;
    opacity: 0.24;
  }

  100% {
    background-position: -70% 0;
    opacity: 0.48;
  }
}

@keyframes markPulse {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.32), 0 0 0 0 rgba(29, 138, 97, 0);
  }

  50% {
    transform: translateY(-1px) rotate(6deg);
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.32), 0 0 0 9px rgba(29, 138, 97, 0.12);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(10px, -16px, 0);
  }
}

@keyframes panelSheen {
  0%,
  52% {
    transform: translateX(-55%) rotate(8deg);
  }

  100% {
    transform: translateX(55%) rotate(8deg);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes barPulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.35) brightness(1.08);
  }
}

@keyframes iconTurn {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(8deg) scale(1.04);
  }
}

@keyframes gridDrift {
  to {
    background-position: 28px 28px;
  }
}

@keyframes timelineScan {
  0%,
  45% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 138, 97, 0.26);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(29, 138, 97, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(29, 138, 97, 0);
  }
}

@keyframes darkSweep {
  0%,
  55% {
    background-position: 160% 0, center;
  }

  100% {
    background-position: -80% 0, center;
  }
}

@keyframes lineTravel {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.4);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

footer {
  justify-content: space-between;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    position: absolute;
    top: 67px;
    right: 20px;
    display: grid;
    min-width: 180px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .split-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

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

  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  form {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 560px) {
  .topbar {
    padding-block: 14px;
  }

  h1 {
    font-size: 48px;
  }

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

  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child {
    border-bottom: 0;
  }

  .chart {
    height: 190px;
  }

  .dashboard-title,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
