:root {
  --bg: #041218;
  --bg2: #072430;
  --ink: #e8f8fa;
  --muted: #8eb8c2;
  --cyan: #3ad8ea;
  --cyan-bright: #7aeffa;
  --cyan-deep: #1295a8;
  --line: rgba(58, 216, 234, 0.42);
  --line-soft: rgba(58, 216, 234, 0.2);
  --glass: rgba(12, 48, 58, 0.42);
  --glass-strong: rgba(10, 40, 50, 0.55);
  --glass-edge: rgba(122, 239, 250, 0.35);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --font: "Roboto", system-ui, sans-serif;
  --blur: blur(18px) saturate(1.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-weight: 400;
}

.fx-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(160deg, #03141c 0%, #0a2a36 45%, #041820 100%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(58,216,234,0.06) 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(58,216,234,0.045) 40px);
}
.fx-glow {
  position: fixed; inset: -30% -20% auto; height: 90vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(58,216,234,0.48), transparent 50%),
    radial-gradient(ellipse at 78% 8%, rgba(18,149,168,0.4), transparent 46%),
    radial-gradient(ellipse at 55% 55%, rgba(122,239,250,0.14), transparent 58%);
  animation: pulse 12s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { transform: translateY(0) scale(1); opacity: 0.95; }
  to { transform: translateY(3%) scale(1.05); opacity: 1; }
}

.top {
  display: flex; align-items: center; gap: 1.25rem;
  margin: 0.85rem clamp(0.75rem, 3vw, 1.75rem) 0;
  padding: 0.85rem 1.15rem;
  position: sticky; top: 0.75rem; z-index: 20;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-edge);
  background: rgba(8, 36, 46, 0.45);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow:
    0 8px 40px rgba(18, 149, 168, 0.18),
    inset 0 1px 0 rgba(122, 239, 250, 0.22);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--cyan-bright);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(58,216,234,0.55);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 16px rgba(58,216,234,0.35);
}
.foot .logo-mark { width: 28px; height: 28px; }
.nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-left: auto; }
.nav a, .foot a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover, .foot a:hover { color: var(--cyan-bright); }
.nav-cta {
  font-size: 0.88rem; font-weight: 600;
  color: #031016;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 22px rgba(58,216,234,0.4);
}

.hero {
  min-height: min(82vh, 860px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.5rem clamp(0.75rem, 3vw, 1.75rem) 0;
  padding: 0;
  max-width: 72rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-edge);
  background: rgba(10, 42, 52, 0.38);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(122, 239, 250, 0.25);
  overflow: hidden;
  animation: rise 0.7s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wordmark {
  width: min(100%, 420px);
  height: auto;
  border-radius: calc(var(--radius) - 0.15rem);
  border: 1px solid var(--line-soft);
  margin: 0 0 1rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  object-fit: cover;
}
.brand-kicker {
  margin: 0 0 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cyan-bright);
}
.hero-visual {
  min-height: 280px;
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}
.hero-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 28ch;
  padding-left: 0.9rem;
  border-left: 3px solid var(--cyan);
}
.hero-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn-primary, .btn-ghost, .composer button, .desk-actions .btn-primary {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  color: #031016;
  box-shadow: 0 0 28px rgba(58,216,234,0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(58,216,234,0.55);
}
.btn-ghost {
  background: rgba(58,216,234,0.1);
  color: var(--cyan-bright);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cyan-bright);
  background: rgba(58,216,234,0.18);
  box-shadow: 0 0 20px rgba(58,216,234,0.28);
}

.band {
  padding: 3.25rem clamp(1rem, 4vw, 2.5rem);
  max-width: 58rem;
  margin: 1.25rem clamp(0.75rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow:
    inset 0 1px 0 rgba(122, 239, 250, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.18);
  position: relative;
}
.band::before {
  content: "";
  position: absolute; left: 1.5rem; top: 0;
  width: 5rem; height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan-bright), transparent);
}
.band h2 {
  font-family: var(--font);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  color: var(--cyan-bright);
  text-shadow: 0 0 18px rgba(58,216,234,0.35);
}
.section-lede { color: var(--muted); margin: 0 0 1.5rem; max-width: 48ch; }

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.split article {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(8, 36, 46, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(122, 239, 250, 0.15);
}
.split h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--cyan-bright);
}
.split p, .cap-list span, .how-grid p, .fine, .contact { color: var(--muted); margin: 0; }

.cap-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.85rem;
}
.cap-list li {
  display: grid; gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan);
  background: rgba(8, 40, 50, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cap-list strong {
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--cyan-bright);
}
.cap-list a { color: var(--cyan-bright); text-decoration: underline; text-underline-offset: 3px; }

.steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.steps li {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--cyan-bright);
  background: rgba(10, 42, 52, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 28px rgba(58,216,234,0.1);
}
.steps li strong { color: var(--cyan-bright); }
.fine { font-size: 0.9rem; }

.how-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.how-grid > div {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(58,216,234,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.how-grid .n {
  font-family: var(--font);
  font-size: 1.6rem;
  color: var(--cyan-bright);
  display: block;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 14px rgba(58,216,234,0.5);
}
.how-grid a { color: var(--cyan-bright); }

.desk-shell {
  background: rgba(8, 36, 46, 0.4);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(58,216,234,0.1),
    0 0 48px rgba(58,216,234,0.2),
    inset 0 1px 0 rgba(122,239,250,0.22);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  min-height: 22rem;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: rise 0.5s ease both;
}
.desk-meta {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--cyan-bright);
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(58,216,234,0.1);
}
.log { flex: 1; padding: 1.1rem; overflow-y: auto; max-height: 320px; }
.bubble { margin: 0 0 0.85rem; }
.bubble .who {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--cyan-deep);
  margin-bottom: 0.15rem;
}
.bubble.agent { color: var(--cyan-bright); }
.desk-actions {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(58,216,234,0.06);
}
.composer {
  display: flex; gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line-soft);
  align-items: center;
}
.composer input {
  flex: 1; border: 0; background: rgba(58,216,234,0.08);
  color: var(--ink); font: inherit; outline: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  border: 1px solid var(--line-soft);
}
.composer input::placeholder { color: rgba(142,184,194,0.7); }
.composer button {
  border: 1px solid var(--cyan-bright);
  background: rgba(58,216,234,0.18);
  color: var(--cyan-bright);
  padding: 0.55rem 1rem;
  box-shadow: 0 0 14px rgba(58,216,234,0.25);
}

.foot {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center;
  margin: 1.25rem clamp(0.75rem, 3vw, 1.75rem) 2.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  background: rgba(8, 36, 46, 0.4);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.foot .logo { text-shadow: 0 0 16px rgba(58,216,234,0.45); }
.muted { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 780px) {
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual { min-height: 200px; max-height: 240px; }
  .top, .foot { border-radius: var(--radius); }
}
