:root {
  --bg: #07090b;
  --bg-2: #0d1114;
  --ink: #f4f7f8;
  --muted: #9aa7ad;
  --line: rgba(94, 234, 212, 0.16);
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --cyan: #a5f3fc;
  --metal: linear-gradient(135deg, #0f766e 0%, #2dd4bf 42%, #ccfbf1 72%, #67e8f9 100%);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(45, 212, 191, .16), transparent 55%),
    radial-gradient(700px 420px at 0% 20%, rgba(14, 116, 144, .18), transparent 50%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--teal);
  color: #042f2e;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: .18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.nav.is-scrolled {
  margin-top: 10px;
  padding: 10px 16px;
  background: rgba(7, 9, 11, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.brand span em {
  font-style: normal;
  color: #fff;
}

.brand span b {
  font-weight: 700;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
}

.nav-cta,
.btn-primary {
  background: var(--metal);
  color: #042f2e;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: #fff;
}

.nav-drawer {
  display: none;
}

.hero {
  position: relative;
  padding: 28px 0 80px;
}

.hero .wrap {
  margin-bottom: 40px;
}

.hero .stats {
  max-width: 640px;
}

.hero-grid {
  display: block;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 650;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--teal);
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.045em; margin: 0; }

h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.1rem);
  line-height: .95;
  margin: 18px 0 18px;
}

h1 em {
  font-style: normal;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

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

.stat {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stat span { color: var(--muted); font-size: .85rem; }

.hero-visual {
  position: relative;
  isolation: isolate;
  width: min(1040px, calc(100% - 80px));
  margin-inline: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(circle, rgba(45, 212, 191, .28), transparent 64%);
  filter: blur(18px);
  z-index: -1;
}

.hero-frame {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #05080c;
}

.hero-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

section { padding: 92px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p { color: var(--muted); }

h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.05; margin-bottom: 14px; }

.problem-grid,
.cards,
.ip-grid {
  display: grid;
  gap: 18px;
}

.problem-grid { grid-template-columns: 1.2fr .8fr; }

.panel, .card, .ip-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.problem-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.problem-list strong { color: var(--ink); display: block; margin-bottom: 4px; }

.quote {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.cards { grid-template-columns: repeat(3, 1fr); }

.card h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.card p { color: var(--muted); margin: 0; }

.icon-orb {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, .12);
  color: var(--teal-2);
}

.arch {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line);
  padding: 48px 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(45,212,191,.12), transparent 42%),
    linear-gradient(180deg, #0b1013, #07090b);
}

.arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.node {
  text-align: center;
  padding: 28px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(7,9,11,.7);
}

.node strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.node span { color: var(--muted); font-size: .92rem; }

.bridge {
  min-width: 160px;
  text-align: center;
}

.bits {
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: -0.06em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bridge small {
  display: block;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
}

.pulse {
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, var(--teal), var(--cyan), var(--teal), transparent);
  background-size: 200% 100%;
  animation: flow 2.4s linear infinite;
}

@keyframes flow {
  to { background-position: 200% 0; }
}

.arch p.note,
.results .note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}

.results {
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 20% 0%, rgba(45,212,191,.14), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}

.results h2 { max-width: 16ch; }

.results-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 36px;
}

.results-row b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.07em;
  line-height: .9;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.results-row span { color: var(--muted); }

.results-arrow {
  font-size: 2.4rem;
  color: var(--teal);
  padding-bottom: 18px;
}

.ip-grid { grid-template-columns: 1.1fr 1fr 1fr; }

.ip-card .seal {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 18px;
}

.ip-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.ip-card p { color: var(--muted); margin: 0; }
.ip-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

input, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 13px 14px;
  outline: none;
}

input:focus, textarea:focus { border-color: var(--teal); }

textarea { min-height: 140px; resize: vertical; }

.form-status {
  margin-top: 12px;
  font-size: .92rem;
}
.form-status.is-ok { color: var(--teal-2); }
.form-status.is-err { color: #fda4af; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-drawer {
    display: grid;
    gap: 18px;
    position: fixed;
    inset: 0;
    background: rgba(7,9,11,.96);
    padding: 90px 28px;
    transform: translateY(-110%);
    transition: transform .35s ease;
    z-index: 20;
  }
  .nav-drawer.is-open { transform: none; }
  .hero-grid,
  .problem-grid,
  .cards,
  .arch-flow,
  .ip-grid,
  .contact-grid,
  .stats,
  .results-row {
    grid-template-columns: 1fr;
  }
  .results-arrow { display: none; }
  .hero-visual {
    width: 100vw;
    max-width: 100%;
    margin-inline: 0;
  }
  .hero-frame {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .pulse, [data-reveal] { animation: none; transition: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
