:root {
  --ink: #f5f1e8;
  --muted: #a9afa8;
  --paper: #10161a;
  --panel: #151e20;
  --panel-2: #1f2a2d;
  --line: rgba(245, 241, 232, 0.14);
  --accent: #c8ff68;
  --accent-2: #75d6ff;
  --clay: #f06f42;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(117, 214, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(200, 255, 104, 0.14), transparent 26rem),
    linear-gradient(145deg, #0a0f12 0%, #10161a 45%, #0e1212 100%);
  font-family: "Aptos", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

button,
input,
textarea {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px);
  mix-blend-mode: overlay;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-cta {
  border: 1px solid var(--line);
  background: rgba(16, 22, 26, 0.72);
  box-shadow: 0 18px 60px var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 14px 7px 7px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #0d1518;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 4px;
  border-radius: 8px;
}

.nav-links a,
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.08);
}

.header-cta {
  color: var(--paper);
  background: var(--accent);
  border-color: transparent;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: clamp(44px, 8vw, 112px) 0 clamp(28px, 6vw, 72px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(4.5rem, 14vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.2vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  color: #d9ded5;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #0d1518;
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.05);
}

.signal-board {
  position: relative;
  min-height: 510px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(31, 42, 45, 0.82), rgba(14, 19, 20, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(245, 241, 232, 0.06) 42px 43px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(245, 241, 232, 0.05) 42px 43px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.4);
}

.signal-board::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(200, 255, 104, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

.board-top {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbe7d2;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(200, 255, 104, 0.12);
}

.flow-node,
.metric-panel {
  position: absolute;
  z-index: 2;
  width: 210px;
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(10, 15, 18, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.flow-node span,
.metric-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-node strong,
.metric-panel strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.15;
}

.node-a {
  left: 40px;
  top: 112px;
}

.node-b {
  right: 46px;
  top: 204px;
  border-color: rgba(117, 214, 255, 0.34);
}

.node-c {
  left: 76px;
  bottom: 78px;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
  transform-origin: left center;
}

.line-one {
  left: 224px;
  top: 190px;
  width: 180px;
  transform: rotate(18deg);
}

.line-two {
  right: 210px;
  top: 306px;
  width: 170px;
  transform: rotate(135deg);
}

.metric-panel {
  right: 36px;
  bottom: 48px;
  width: 176px;
  min-height: 116px;
  background: var(--accent);
  color: #0c1116;
}

.metric-panel span {
  color: rgba(12, 17, 22, 0.65);
}

.metric-panel strong {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2.55rem;
  line-height: 0.92;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  border-block: 1px solid var(--line);
}

.intro-band div {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band span {
  color: var(--accent-2);
  font-weight: 900;
}

.intro-band strong {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.2;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.pricing-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.035);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:nth-child(3n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.service-card:hover {
  background: rgba(200, 255, 104, 0.08);
}

.service-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-card p,
.timeline p {
  color: var(--muted);
}

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

.timeline article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 22, 26, 0.64);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 54px;
  border-radius: 6px;
  color: #0d1518;
  background: var(--accent-2);
  font-weight: 900;
}

.pricing-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.pricing-list {
  border-top: 1px solid var(--line);
}

.pricing-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.pricing-list span {
  color: var(--muted);
}

.pricing-list strong {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  text-align: right;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 68px);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 42px;
  padding: clamp(42px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 104, 0.13), transparent 34%),
    rgba(16, 22, 26, 0.82);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(10, 15, 18, 0.72);
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .site-header {
    width: min(100% - 24px, 680px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .pricing-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 24px, 680px);
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(4.1rem, 23vw, 7.6rem);
  }

  .signal-board {
    min-height: 440px;
  }

  .flow-node {
    width: min(210px, calc(100% - 64px));
  }

  .node-a {
    left: 26px;
    top: 86px;
  }

  .node-b {
    right: 26px;
    top: 185px;
  }

  .node-c {
    left: 26px;
    bottom: 54px;
  }

  .metric-panel {
    right: 22px;
    bottom: 42px;
    width: 148px;
    min-height: 100px;
  }

  .metric-panel strong {
    font-size: 2.1rem;
  }

  .intro-band,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .intro-band {
    width: min(100% - 24px, 680px);
  }

  .intro-band div,
  .service-card,
  .service-card:nth-child(3n),
  .service-card:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band div:last-child,
  .service-card:last-child {
    border-bottom: 0;
  }

  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 24px, 680px);
  }

  .contact-section {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .hero-actions,
  .button,
  .pricing-list div,
  .site-footer {
    width: 100%;
  }

  .hero-actions,
  .pricing-list div,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-list div {
    justify-content: center;
    padding: 18px 0;
  }

  .pricing-list strong {
    text-align: left;
  }

  .line-one,
  .line-two {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .signal-board,
  .intro-band,
  .service-card,
  .timeline article,
  .pricing-list div,
  .contact-section {
    animation: rise 700ms ease both;
  }

  .signal-board {
    animation-delay: 100ms;
  }

  .intro-band {
    animation-delay: 180ms;
  }

  .flow-node {
    animation: pulse-node 3.8s ease-in-out infinite;
  }

  .node-b {
    animation-delay: 600ms;
  }

  .node-c {
    animation-delay: 1200ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-node {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
