:root {
  --bg: #0a0b0f;
  --panel: #111318;
  --panel-2: #15181e;
  --line: #23272f;
  --text: #f4f5f8;
  --muted: #a3a8b4;
  --dim: #6b717d;
  --teal: #14f0cb;
  --teal-ink: #05261f;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Larger screens: scale the whole page up so the hero reads at a glance
   (laptops 125%, desktops 144%); phones and tablets keep their own layout. */
@media (min-width: 1280px) { body { zoom: 1.25; } }
@media (min-width: 1600px) { body { zoom: 1.44; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand img { height: 52px; width: auto; margin: -8px 0 -8px -12px; } /* the logo file has a little built-in padding */
.nav { display: flex; gap: 36px; }
.nav a, .site-footer nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color .15s;
}
.nav a:hover, .site-footer nav a:hover { color: var(--text); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px;
  padding: 16px 28px; border-radius: 10px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--teal); color: var(--teal-ink); box-shadow: 0 0 28px rgba(20, 240, 203, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(20, 240, 203, .5); }
.btn-outline { border: 1px solid var(--teal); color: var(--teal); padding: 12px 30px; font-size: 16px; }
.btn-outline:hover { background: rgba(20, 240, 203, .08); }
.btn-ghost { border: 1px solid #3a3f49; color: var(--muted); padding: 12px 22px; font-size: 16px; font-weight: 500; }

/* ---------- hero */
.hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; padding: 28px 0 56px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); font-weight: 700; }
.lead { color: var(--muted); font-size: 19px; margin: 22px 0 36px; }
.canvas { margin: 0; }
.canvas svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.win { fill: #0d0f13; stroke: var(--line); }
.rule { stroke: var(--line); fill: none; }
.node { fill: var(--panel-2); stroke: #2a2f38; }
.node.out { fill: #12151a; }
.t-ui { fill: var(--muted); font-size: 12px; font-family: inherit; }
.t-dim { fill: var(--muted); font-size: 11px; font-family: inherit; }
.t-node { fill: var(--text); font-size: 12px; font-weight: 600; font-family: inherit; }
.t-small { fill: var(--muted); font-size: 9.5px; font-family: inherit; }
.t-run { fill: #06231d; font-size: 12px; font-weight: 600; font-family: inherit; }
.run { fill: var(--teal); }
.ico { fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; }
.ico-lg { fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ring { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.wires path { fill: none; stroke: rgba(20, 240, 203, .35); stroke-width: 1.6; }
.wires.flow path { stroke: var(--teal); stroke-width: 1.8; stroke-dasharray: 14 220; animation: flow 3.2s linear infinite; }
.wires.flow path:nth-child(2) { animation-delay: .5s; }
.wires.flow path:nth-child(3) { animation-delay: 1s; }
.wires.flow path:nth-child(4) { animation-delay: .25s; }
.wires.flow path:nth-child(5) { animation-delay: 1.4s; }
@keyframes flow { from { stroke-dashoffset: 234; } to { stroke-dashoffset: 0; } }
.port circle { fill: var(--teal); }
@media (prefers-reduced-motion: reduce) { .wires.flow path { animation: none; stroke-dasharray: none; opacity: .5; } }

/* ---------- how it works */
.how h2 { font-size: 40px; margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { text-align: center; padding: 0 24px; position: relative; }
.steps li + li::before { content: ''; position: absolute; left: 0; top: 4px; height: 100px; width: 1px; background: linear-gradient(transparent, rgba(20, 240, 203, .45), transparent); }
.step-ico { height: 58px; margin: 0 auto 18px; display: block; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(20, 240, 203, .35)); }
.steps h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---------- section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: 36px; }
.apps, .gallery { padding-top: 110px; }

/* ---------- apps */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px; display: flex; flex-direction: column; align-items: flex-start;
}
.card.live { border-color: rgba(20, 240, 203, .7); background: linear-gradient(160deg, rgba(20, 240, 203, .08), var(--panel) 55%); box-shadow: 0 0 40px rgba(20, 240, 203, .08); }
.card h3 { font-size: 22px; font-weight: 600; margin: 18px 0 8px; }
.card p { color: var(--muted); margin-bottom: 26px; }
.card.soon h3, .card.soon p { opacity: .7; }
.card-ico { height: 52px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-ico .fill { fill: var(--teal); }
.card.soon .card-ico { stroke: #7c828e; stroke-width: 1.8; }
.badge { position: absolute; top: 20px; right: 20px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: #1d2027; color: #d9dce3; }
.badge-live { background: rgba(20, 240, 203, .14); color: var(--teal); border: 1px solid rgba(20, 240, 203, .35); }
.card .btn { margin-top: auto; }

/* ---------- gallery */
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.shots li { aspect-ratio: 1 / 1.08; border-radius: 10px; overflow: hidden; border: 1px solid #2a2f38; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shots li:hover img { transform: scale(1.05); }
.caption { color: var(--dim); font-size: 14px; margin-top: 14px; }

/* ---------- quote */
.quote { text-align: center; padding: 90px 0 70px; }
.quote blockquote { margin: 0; font-style: italic; font-size: clamp(20px, 2.4vw, 25px); color: #c7cbd4; }
.quote-rule { display: block; width: 28px; height: 1px; background: var(--teal); margin: 16px auto; opacity: .7; }
.quote p { color: var(--muted); }

/* ---------- call to action */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 36px 40px 46px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(90deg, #121519, #0f1115); position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--teal); box-shadow: 0 0 22px var(--teal); }
.cta-box h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.cta-box p { color: var(--muted); }

/* ---------- footer */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #2a2f38; margin-top: 56px; padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; gap: 32px; }
.copy { color: var(--dim); font-size: 13px; }

/* ---------- smaller screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .cards { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 20px 0; }
  .brand img { height: 26px; }
  .nav { gap: 16px; }
  .nav a:nth-child(-n+2) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li + li::before { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 30px 22px 30px 30px; }
  .btn { padding: 14px 22px; }
}
