:root {
  --bg: #050509;
  --bg-2: #090914;
  --panel: #10101c;
  --panel-2: #151526;
  --ink: #f7f4ff;
  --muted: #a7a0bb;
  --line: rgba(247, 244, 255, 0.22);
  --strong-line: rgba(247, 244, 255, 0.55);
  --green: #b6ff00;
  --cyan: #00f5ff;
  --blue: #00f5ff;
  --green-soft: rgba(182, 255, 0, 0.18);
  --blue-soft: rgba(0, 245, 255, 0.18);
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 5%, rgba(0, 245, 255, 0.22), transparent 34%),
    radial-gradient(ellipse at 90% 16%, rgba(182, 255, 0, 0.16), transparent 34%),
    radial-gradient(ellipse at 52% 86%, rgba(0, 245, 255, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(0, 245, 255, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(155deg, #050509 0%, #080816 42%, #030306 100%);
  background-size: auto, auto, auto, 100% 100%, auto;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 16%, rgba(0,245,255,0.09) 16% 16.4%, transparent 16.4% 52%, rgba(182,255,0,0.08) 52% 52.35%, transparent 52.35%),
    radial-gradient(circle at 46% -12%, rgba(0,245,255,0.16), transparent 36%);
  z-index: -1;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--green);
  color: #050509;
  padding: 0.7rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 24px auto 0;
  min-height: 74px;
  border: 1px solid var(--strong-line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: rgba(5, 5, 9, 0.82);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 1000;
  box-shadow: 0 0 0 1px rgba(0,245,255,0.18), 0 0 36px rgba(0,245,255,0.12);
  transition: all 260ms cubic-bezier(.2,.9,.3,1);
  transform-origin: top center;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(var(--max), calc(100% - 32px));
  min-height: 56px;
  padding: 6px 0;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,245,255,0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.06em;
  transition: font-size 260ms ease, padding 260ms ease, gap 260ms ease;
}

.site-header.is-fixed .brand {
  padding: 6px 18px;
  font-size: 1rem;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 245, 255, 0.5));
  transition: width 260ms ease, height 260ms ease, filter 260ms ease;
}

.site-header.is-fixed .brand-icon {
  width: 32px;
  height: 32px;
  filter: none;
}

.site-nav {
  height: 100%;
  display: flex;
  border-left: 1px solid var(--line);
}

.site-nav a {
  min-width: 96px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--line);
  transition: font-size 260ms ease, min-width 260ms ease, padding 260ms ease;
}

.site-header.is-fixed .site-nav a {
  font-size: 0.72rem;
  min-width: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.06em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 245, 255, 0.5));
}

.site-nav {
  height: 100%;
  display: flex;
  border-left: 1px solid var(--line);
}

.site-nav a {
  min-width: 96px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--line);
}

.site-nav a:hover {
  color: #050509;
  background: var(--green);
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-grid,
.audit-board,
.build-map,
.advantage,
.flow-section,
.audience-trust,
.cost-section,
.service-model,
.final-cta {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.opening {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 1fr auto auto;
  border-bottom: 1px solid var(--strong-line);
}

.opening-left {
  padding: clamp(36px, 7vw, 104px) clamp(24px, 6vw, 88px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker,
.mono,
.section-label,
.flow-title span,
.file-top,
.audit-list span,
.tag,
.stamp {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kicker {
  font-size: 0.78rem;
  color: var(--cyan);
  max-width: 48rem;
}

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

h1 {
  font-size: clamp(4rem, 11vw, 10.8rem);
  line-height: 0.86;
  letter-spacing: -0.095em;
  max-width: 11ch;
  margin-bottom: 0;
  text-shadow: 0 0 26px rgba(182,255,0,0.17);
}

h2 {
  font-size: clamp(2.3rem, 5.6vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 0.7rem;
}

.opening-file {
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,16,28,0.94), rgba(21,21,38,0.82));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  box-shadow: inset 0 0 38px rgba(0,245,255,0.11);
}

.file-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--green);
}

.opening-file p {
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.file-actions {
  display: grid;
  gap: 10px;
  justify-content: center; /* center opening-file actions */
  grid-auto-flow: column;
  align-items: center;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--strong-line);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.025em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--cyan), 0 0 24px rgba(0,245,255,0.32);
}

.button-primary {
  background: var(--green);
  color: #050509;
  border-color: var(--green);
}

.button-secondary {
  background: transparent;
  color: var(--cyan);
}

.opening-statement {
  grid-column: 1 / 2;
  padding: 28px clamp(24px, 6vw, 88px);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,245,255,0.18), rgba(0,245,255,0.08)), var(--panel);
  color: var(--ink);
}

.stamp {
  display: inline-flex;
  border: 1px solid currentColor;
  padding: 0.35rem 0.6rem;
  transform: rotate(-1.5deg);
  font-size: 0.75rem;
  margin-bottom: 18px;
  color: var(--green);
  box-shadow: 0 0 18px rgba(182,255,0,0.2);
}

.opening-statement p {
  font-size: clamp(1.6rem, 3.3vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin-bottom: 0;
  max-width: 18ch;
}

.opening-index {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  display: grid;
  align-content: end;
}

.opening-index span {
  min-height: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.opening-index span:nth-child(1) {
  color: var(--green);
}

.opening-index span:nth-child(2) {
  color: var(--cyan);
}

.opening-index span:nth-child(3) {
  color: var(--cyan);
}

.audit-board,
.build-map,
.advantage,
.flow-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--strong-line);
  background: rgba(9, 9, 20, 0.72);
}

.section-label {
  padding: 26px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.section-label span {
  color: var(--green);
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-label.compact {
  padding: 0 0 28px;
  border: 0;
}

.audit-intro,
.build-heading,
.flow-header {
  padding: clamp(32px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.audit-intro p,
.flow-header p,
.build-note p,
.service-columns p,
.final-cta p {
  color: var(--muted);
}

.audit-intro p {
  max-width: 760px;
  font-size: 1.15rem;
  margin: 22px 0 0 auto;
}

.audit-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.audit-list article {
  padding: clamp(22px, 4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  background: rgba(16,16,28,0.58);
}

.audit-list article:nth-child(odd) {
  box-shadow: inset 4px 0 0 var(--cyan);
}

.audit-list article:nth-child(even) {
  box-shadow: inset 4px 0 0 var(--cyan);
}

.audit-list span {
  display: block;
  font-size: 0.72rem;
  color: var(--green);
  margin-bottom: 42px;
}

.audit-list p {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 0;
}

.build-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 0.58fr;
}

.build-large {
  padding: clamp(28px, 5vw, 66px);
  border-right: 1px solid var(--line);
}

.mono {
  color: var(--cyan);
}

.build-large ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 42px;
}

.build-large li {
  break-inside: avoid;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 820;
  letter-spacing: -0.055em;
}

.build-large li:nth-child(3n+1) {
  color: var(--green);
}

.build-large li:nth-child(3n+2) {
  color: var(--cyan);
}

.build-large li:nth-child(3n+3) {
  color: var(--cyan);
}

.build-note {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(0,245,255,0.35) 48% 48.3%, transparent 48.3%),
    linear-gradient(180deg, rgba(0,245,255,0.14), rgba(182,255,0,0.07)),
    var(--panel-2);
}

.tag {
  width: max-content;
  background: var(--cyan);
  color: #050509;
  border: 1px solid var(--cyan);
  padding: 0.45rem 0.7rem;
  margin-bottom: auto;
  font-size: 0.72rem;
  box-shadow: 0 0 20px rgba(0,245,255,0.42);
}

.cost-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  border-bottom: 1px solid var(--strong-line);
  background: linear-gradient(120deg, rgba(0,245,255,0.08), rgba(0,245,255,0.08)), #030306;
}

.cost-copy {
  padding: clamp(32px, 6vw, 82px);
  border-right: 1px solid var(--line);
}

.cost-copy p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin-top: 28px;
  margin-bottom: 0;
}

.calculation-card {
  margin: clamp(20px, 4vw, 54px);
  padding: clamp(24px, 5vw, 54px);
  background: var(--green);
  color: #050509;
  border: 1px solid var(--green);
  box-shadow: 12px 12px 0 var(--cyan), 0 0 46px rgba(182,255,0,0.28);
  display: grid;
  align-content: center;
  transform: rotate(1.2deg);
}

.calculation-card span {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 30px;
}

.calculation-card strong {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.calculation-card em {
  font-style: normal;
  font-size: 4rem;
  line-height: 1;
}

.calculation-card p {
  margin: 18px 0 0;
  font-weight: 850;
}

.advantage-grid {
  padding: clamp(32px, 6vw, 82px);
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(28px, 5vw, 72px);
}

.advantage-points {
  border-top: 1px solid var(--strong-line);
}

.advantage-points p {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.advantage-points span {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.service-model {
  padding: clamp(22px, 5vw, 58px);
  border-bottom: 1px solid var(--strong-line);
  background: rgba(5,5,9,0.8);
}

.service-paper {
  background: linear-gradient(180deg, rgba(16,16,28,0.98), rgba(9,9,20,0.98));
  border: 1px solid var(--strong-line);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 14px 14px 0 rgba(0,245,255,0.18), 0 0 38px rgba(0,245,255,0.22);
}

.service-columns {
  margin-top: clamp(30px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--strong-line);
  border-left: 1px solid var(--strong-line);
}

.service-columns div {
  padding: 24px;
  border-right: 1px solid var(--strong-line);
  border-bottom: 1px solid var(--strong-line);
}

.flow-stack {
  grid-column: 2;
  padding: clamp(24px, 5vw, 58px);
  display: grid;
  gap: 22px;
}

.flow-card {
  border: 1px solid var(--strong-line);
  background: rgba(16,16,28,0.9);
  display: grid;
  grid-template-columns: 230px 1fr;
  box-shadow: 8px 8px 0 rgba(0,245,255,0.26), 0 0 32px rgba(0,245,255,0.12);
}

.flow-card.offset {
  margin-left: clamp(0px, 8vw, 120px);
  box-shadow: 8px 8px 0 rgba(182,255,0,0.22), 0 0 32px rgba(0,245,255,0.12);
}

.flow-title {
  border-right: 1px solid var(--line);
  padding: 22px;
}

.flow-title span {
  font-size: 0.72rem;
  color: var(--green);
}

.flow-line {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
}

.flow-line span {
  min-width: 160px;
  min-height: 122px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-weight: 820;
  letter-spacing: -0.045em;
  position: relative;
  border-right: 1px solid var(--line);
}

.flow-line span::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cyan);
  color: #050509;
  border: 1px solid var(--cyan);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  z-index: 1;
  box-shadow: 0 0 18px rgba(0,245,255,0.45);
}

.flow-line span:last-child::after {
  display: none;
}

.audience-trust {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-bottom: 1px solid var(--strong-line);
  background: rgba(9,9,20,0.72);
}

.audience,
.trust {
  padding: clamp(32px, 6vw, 82px);
}

.audience {
  border-right: 1px solid var(--line);
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.audience-tags span {
  border: 1px solid var(--strong-line);
  background: rgba(16,16,28,0.86);
  padding: 0.75rem 0.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.audience-tags span:nth-child(3n+1) {
  color: var(--green);
}

.audience-tags span:nth-child(3n+2) {
  color: var(--cyan);
}

.audience-tags span:nth-child(3n+3) {
  color: var(--cyan);
}

.trust ul {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--strong-line);
}

.trust li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  color: var(--muted);
}

.final-cta {
  padding: clamp(38px, 8vw, 120px);
  border-bottom: 1px solid var(--strong-line);
  background:
    linear-gradient(90deg, rgba(182, 255, 0, 0.16) 0 28%, transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(182,255,0,0.18), transparent 36%),
    var(--bg-2);
}

.final-cta h2 {
  max-width: 11ch;
}

.final-cta p {
  max-width: 620px;
  font-size: 1.1rem;
  margin: 28px 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 28px;
  border: 1px solid var(--strong-line);
  border-top: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  background: #030306;
  color: var(--ink);
}

.site-footer p {
  color: var(--muted);
  margin: 8px 0 0;
}

.site-footer a {
  font-weight: 850;
  color: var(--cyan);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    position: static;
  }

  /* prevent fixed header behaviour on small screens */
  .site-header.is-fixed {
    position: static;
    transform: none;
    width: auto;
    margin: 24px auto 0;
    border-radius: 0;
    min-height: 74px;
  }

  .site-nav {
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow-x: auto;
  }

  .site-nav a {
    flex: 1;
    min-width: 84px;
    min-height: 48px;
  }

  .opening,
  .audit-board,
  .build-map,
  .advantage,
  .flow-section,
  .audience-trust,
  .cost-section {
    grid-template-columns: 1fr;
  }

  .opening-left,
  .opening-statement,
  .section-label,
  .build-large,
  .cost-copy,
  .audience {
    border-right: 0;
  }

  .opening-index,
  .audit-list,
  .build-grid,
  .advantage-grid,
  .flow-stack {
    grid-column: auto;
  }

  .opening-index {
    grid-row: auto;
  }

  .audit-list,
  .build-grid,
  .advantage-grid,
  .audience-trust,
  .cost-section {
    grid-template-columns: 1fr;
  }

  .section-label {
    border-bottom: 1px solid var(--line);
  }

  .build-large {
    border-bottom: 1px solid var(--line);
  }

  .build-large ul {
    columns: 1;
  }

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

  .flow-card,
  .flow-card.offset {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  main,
  .site-header,
  .site-footer {
    width: calc(100% - 18px);
  }

  .brand {
    padding: 18px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 13vw, 3.6rem);
  }

  .opening-left,
  .opening-file,
  .opening-statement,
  .audit-intro,
  .build-heading,
  .advantage-grid,
  .flow-header,
  .audience,
  .trust,
  .final-cta {
    padding: 24px;
  }

  .audit-list {
    grid-template-columns: 1fr;
  }

  .audit-list article {
    min-height: auto;
  }

  .audit-list span {
    margin-bottom: 24px;
  }

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

  .calculation-card {
    transform: none;
  }

  .flow-line span {
    min-width: 148px;
  }
}

.section-cta {
  padding: clamp(20px, 4vw, 36px);
  text-align: center;
  grid-column: 1 / -1; /* span full section width so button centers on page */
  display: block;
}

.section-cta .button,
.opening-file .file-actions .cta-open-lead,
.final-cta .cta-open-lead,
.section-cta .cta-open-lead {
  min-height: 92px;
  padding: 20px 60px;
  font-size: 1.15rem;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .section-cta .button,
  .opening-file .file-actions .cta-open-lead,
  .final-cta .cta-open-lead,
  .section-cta .cta-open-lead {
    min-height: 72px;
    padding: 14px 40px;
    font-size: 1.05rem;
  }
}

@media (max-width: 620px) {
  .section-cta .button,
  .opening-file .file-actions .cta-open-lead,
  .final-cta .cta-open-lead,
  .section-cta .cta-open-lead {
    width: 92%;
    min-width: auto;
    padding: 12px 22px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
