@font-face{
  font-family:"IBM Plex Mono";
  src:url("/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"IBM Plex Mono";
  src:url("/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}


@font-face{
  font-family:"IBM Plex Mono";
  src:url("/assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}


:root{
  --bg:#0b0c10;
  --bg2:#0f1016;
  --text:#e7e7ee;
  --muted:#a7a7b3;
  --line:rgba(255,255,255,.08);
  --pink:#ff3d86;
  --pink2:rgba(255,61,134,.12);
  --shadow: 0 20px 70px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(255,61,134,.16), transparent 60%),
              radial-gradient(900px 600px at 10% 0%, rgba(255,61,134,.08), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  letter-spacing:.1px;
}

.bg-noise{
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.20'/%3E%3C/svg%3E");
  opacity:.08; pointer-events:none; mix-blend-mode:overlay;
}

.bg-horizon{
  position:fixed;
  left:-10%;
  right:-10%;
  top: 20%;
  height:2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,61,134,.35),
    rgba(255,61,134,.8),
    rgba(255,61,134,.35),
    transparent
  );
  filter: blur(.6px);
  opacity:.30;
  pointer-events:none;
}

.container{width:min(1080px, calc(100% - 44px));
  margin:0 auto;}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,10,14,.55);
  border-bottom: 1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand-mark{height:48px;
  width:auto;
  display:block;
}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  color:var(--muted); text-decoration:none; font-size:14px;
  padding:10px 10px; border-radius:10px;
}
.nav a:hover{color:var(--text); background: rgba(255,255,255,.04)}
.nav-cta{border:1px solid var(--line); color:var(--text)!important;
}

.hero{padding-top: clamp(140px, 16vh, 210px);
  padding-bottom: clamp(90px, 12vh, 150px);
  position:relative;
  margin-bottom:18px;
}
.kicker{
  color: rgba(255,61,134,.85);
  letter-spacing:.18em;
  font-size:12px;
  margin:0 0 14px;
}
h1{
  margin:0;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height:1.02;
  letter-spacing:-.02em;
}

.lede{
  margin:16px 0 0;
  font-size:18px;
  line-height:1.55;
  color:var(--muted);
  max-width: 64ch;
}

.hero-actions{display:flex; gap:12px; margin:22px 0 0; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,61,134,.35);
  background: rgba(255,61,134,.14);
  color: var(--text);
  text-decoration:none;
  font-weight:600;
  box-shadow: 0 18px 60px rgba(255,61,134,.10);
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,61,134,.18); border-color: rgba(255,61,134,.55)}
.btn.ghost{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn.ghost:hover{border-color: rgba(255,61,134,.35); background: rgba(255,255,255,.04)}

.hero-proof{display:flex; gap:10px; margin-top:20px; flex-wrap:wrap}
.pill{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:10px 12px;
  border-radius: 999px;
  font-size:13px;
  color: var(--muted);
}

/* 404 palette flip: pink-forward */
.kicker-404{
  color: rgba(255,61,134,.92);
}

.h1-404{
  color: rgba(255,61,134,.92);
  text-shadow: 0 0 28px rgba(255,61,134,.12);
}

.lede-404{
  color: rgba(231,231,238,.72);
}

/* encoded line */
.error-code{
  margin: 8px 0 18px;
  font-size:12px;
  letter-spacing:.14em;
  color: rgba(231,231,238,.38);
}
.error-code span{
  opacity:.6;
}

/* ensure the 404 layout breathes */
.hero-404 .grid{
  align-items:center;
}

/* graph panel */
.graph-wrap{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: calc(var(--radius) + 8px);
  padding:18px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  min-height: 340px;
}
.graph{
  width:100%;
  height:auto;
  display:block;
  opacity:.95;
}
.graph-links line{
  stroke: rgba(255,255,255,.14);
  stroke-width: 1;
}

.graph-links line:nth-child(odd){
  opacity:.8;
}
.graph-links line:nth-child(even){
  opacity:.45;
}

.graph-nodes circle{
  fill: rgba(255,255,255,.22);
  stroke: rgba(255,61,134,.55);
  stroke-width: 1;
  opacity:.9;
  filter: drop-shadow(0 0 8px rgba(255,61,134,.16));
  transform-origin: center;
  animation: nodeGlow 2.8s ease-in-out infinite;
}
.graph-nodes circle:nth-child(2){ animation-delay:.2s; }
.graph-nodes circle:nth-child(4){ animation-delay:.35s; }
.graph-nodes circle:nth-child(7){ animation-delay:.5s; }

.graph-trace path{
  fill:none;
  stroke: rgba(255,61,134,.85);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 14 10;
  opacity:.18;
  animation: traceMove 2.6s linear infinite;
}
.graph-trace path:nth-child(2){ animation-duration: 3.1s; opacity:.14; }
.graph-trace path:nth-child(3){ animation-duration: 2.3s; opacity:.16; }

.graph-labels text{
  fill: rgba(231,231,238,.45);
  font-size: 12px;
  letter-spacing:.06em;
}

.graph-caption{
  margin-top:12px;
  color: rgba(231,231,238,.55);
  font-size: 13px;
  letter-spacing:.02em;
}

.graph-organic{
  transform-origin: 50% 50%;
  animation: graphDrift 9s ease-in-out infinite;
  will-change: transform;
}

@keyframes graphDrift{
  0%   { transform: translate(0px, 0px); }
  20%  { transform: translate(2px, -1px); }
  45%  { transform: translate(-1px, 2px); }
  70%  { transform: translate(1px, 1px); }
  100% { transform: translate(0px, 0px); }
}

@keyframes nodeGlow{
  0%,100%{ opacity:.75; filter: drop-shadow(0 0 6px rgba(255,61,134,.12)); }
  50%{ opacity:1; filter: drop-shadow(0 0 14px rgba(255,61,134,.22)); }
}
@keyframes traceMove{
  0%{ stroke-dashoffset: 0; }
  100%{ stroke-dashoffset: -48; }
}

@media (max-width: 860px){
  .graph-wrap{ margin-top:18px; }
}

.section{padding-top:64px;
  padding-bottom:64px;
  border-top:1px solid var(--line);
}
.section.slim{padding-top:44px;
  padding-bottom:44px;}
.grid{display:grid; grid-template-columns: 1.1fr 1.6fr; gap:28px}
@media (max-width: 860px){ .grid{grid-template-columns:1fr} }

h2{
  margin:0 0 10px;
  font-size: 28px;
  letter-spacing:-.01em;
}
.muted{color:var(--muted); line-height:1.65; margin:0}

.cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 680px){ .cards{grid-template-columns:1fr} }

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:18px 18px 16px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.55; font-size:14px}

.list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list li{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding:14px 14px;
  color: var(--text);
}
.list li::before{
  content:"";
  display:inline-block;
  width:8px; height:8px;
  margin-right:10px;
  border-radius: 99px;
  background: rgba(255,61,134,.7);
  box-shadow: 0 0 0 4px rgba(255,61,134,.12);
  transform: translateY(-1px);
}

.steps{display:grid; gap:14px}
.step{
  display:grid;
  grid-template-columns: 52px 1fr;
  gap:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:16px;
}
.step-num{
  color: rgba(255,61,134,.9);
  letter-spacing:.06em;
  font-weight:500;
  font-size:14px;
}
.step h3{margin:0 0 4px; font-size:16px}
.step p{margin:0; color:var(--muted); line-height:1.55; font-size:14px}

.lede,
.muted,
.card p,
.step p{
  letter-spacing:.02em;
}

.panel{
  border:1px solid rgba(255,61,134,.22);
  background: linear-gradient(180deg, rgba(255,61,134,.08), rgba(255,255,255,.02));
  border-radius: calc(var(--radius) + 6px);
  padding:22px;
  box-shadow: var(--shadow);
}

.contact{padding-bottom:82px}
.contact-inner{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; flex-wrap:wrap;
}
.contact-actions{display:flex; gap:12px; flex-wrap:wrap}

.footer{
  border-top: 1px solid var(--line);
  padding:22px 0 34px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.fine{
  font-size:13px;
  color: rgba(231,231,238,.65);
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }

  .graph-organic,
  .graph-trace path,
  .graph-nodes circle{
    animation: none !important;
  }
}
