:root {
  --bg: #090c0e;
  --bg-soft: #101417;
  --panel: rgba(22, 27, 31, 0.62);
  --panel-strong: rgba(26, 32, 37, 0.76);
  --text: #f3f7f8;
  --muted: #9aa6aa;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --teal: #18c6b5;
  --teal-soft: #5ee8d7;
  --emerald: #2ee68d;
  --petrol: #0e8f88;
  --amber: #ffd166;
  --red: #ff5f57;
  --accent: var(--teal);
  --accent-2: #7ceee0;
  --shadow-dark: rgba(0, 0, 0, 0.72);
  --shadow-light: rgba(255, 255, 255, 0.075);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(circle at 18% 12%, rgba(24,198,181,.16), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(46,230,141,.12), transparent 24rem),
    linear-gradient(145deg, #07090a 0%, #101519 48%, #080b0d 100%);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(24, 198, 181, 0.28);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem .9rem;
  border-radius: 999px;
  background: var(--text);
  color: #080a0d;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 68%, transparent);
  background-image:
    linear-gradient(rgba(24,198,181,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,198,181,.07) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .34;
}

.aurora {
  pointer-events: none;
  position: fixed;
  z-index: -3;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(54px);
  opacity: .22;
  animation: drift 15s var(--ease) infinite alternate;
}

.aurora--one {
  left: -18rem;
  top: -14rem;
  background: var(--petrol);
}

.aurora--two {
  right: -20rem;
  bottom: -18rem;
  background: var(--emerald);
  opacity: .14;
  animation-delay: -5s;
}

.site-header {
  width: min(calc(100% - 1.5rem), var(--max));
  margin: .75rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem;
  position: sticky;
  top: .75rem;
  z-index: 20;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(12, 16, 18, .62);
  box-shadow:
    12px 12px 38px var(--shadow-dark),
    -8px -8px 28px var(--shadow-light),
    inset 1px 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(135%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .25rem .7rem .25rem .25rem;
  border-radius: 999px;
}

.brand__logo {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  filter: drop-shadow(0 0 18px rgba(24,198,181,.20));
}

.brand__text {
  font-size: .9rem;
  font-weight: 820;
  letter-spacing: .02em;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 .9rem;
  border: 1px solid rgba(24,198,181,.18);
  border-radius: 999px;
  color: #b5c4c8;
  font-size: .84rem;
  font-weight: 760;
  background: rgba(24,198,181,.055);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.04);
  transition: transform .2s var(--ease), color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: #f4fffd;
  border-color: rgba(24,198,181,.36);
  background: rgba(24,198,181,.1);
  transform: translateY(-1px);
}

.shell {
  width: min(calc(100% - 1.5rem), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 6.5rem) 0 2rem;
}

.hero__copy {
  max-width: 740px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: .5rem .75rem;
  border: 1px solid rgba(24,198,181,.22);
  border-radius: 999px;
  color: #c0f8f1;
  background: rgba(24,198,181,.065);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.055),
    9px 9px 24px rgba(0,0,0,.35),
    0 0 28px rgba(24,198,181,.08);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow:
    0 0 16px rgba(46, 230, 141, .92),
    0 0 36px rgba(24, 198, 181, .55);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -.48rem;
  border: 1px solid rgba(46, 230, 141, .34);
  border-radius: inherit;
  animation: ping 2.4s var(--ease) infinite;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.15rem, 12.8vw, 7.15rem);
  line-height: .86;
  letter-spacing: -.085em;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(126, 238, 224, .82);
  text-shadow: 0 0 36px rgba(24,198,181,.16);
}

.lead {
  max-width: 560px;
  margin: 1.18rem 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 2.05vw, 1.18rem);
  text-wrap: pretty;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
  max-width: 560px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: .42rem .62rem;
  border: 1px solid rgba(24,198,181,.18);
  border-radius: 999px;
  color: #c8fff8;
  background:
    linear-gradient(145deg, rgba(24,198,181,.09), rgba(255,255,255,.025));
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.055),
    0 0 20px rgba(24,198,181,.05);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.45rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: -.01em;
  transition:
    transform .2s var(--ease),
    border-color .2s var(--ease),
    background .2s var(--ease),
    box-shadow .2s var(--ease);
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.button--primary {
  color: #031211;
  border-color: rgba(126,238,224,.48);
  background: linear-gradient(145deg, #7ff9eb 0%, var(--teal) 47%, var(--emerald) 100%);
  box-shadow:
    14px 14px 34px rgba(0,0,0,.5),
    -7px -7px 25px rgba(255,255,255,.055),
    0 0 34px rgba(24,198,181,.22),
    inset 1px 1px 0 rgba(255,255,255,.55);
}

.button--ghost {
  color: #d9fffb;
  border-color: rgba(24,198,181,.2);
  background:
    linear-gradient(145deg, rgba(24,198,181,.11), rgba(255,255,255,.025));
  box-shadow:
    11px 11px 30px rgba(0,0,0,.45),
    -7px -7px 22px rgba(255,255,255,.045),
    inset 1px 1px 0 rgba(255,255,255,.065);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126,238,224,.62);
}

.hero__visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.device-card {
  width: min(100%, 420px);
  border: 1px solid rgba(24,198,181,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(24,198,181,.10), rgba(255,255,255,.032));
  box-shadow:
    34px 34px 80px rgba(0,0,0,.58),
    -18px -18px 55px rgba(255,255,255,.055),
    0 0 42px rgba(24,198,181,.10),
    inset 1px 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(22px) saturate(150%);
  transform: rotate(-1.2deg);
}

.device-card__top {
  display: flex;
  gap: .4rem;
  padding: 1rem 1rem .7rem;
  border-bottom: 1px solid var(--line-soft);
}

.device-card__top span {
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
}

.win-dot--red { background: var(--red) !important; box-shadow: 0 0 14px rgba(255,95,87,.35); }
.win-dot--yellow { background: var(--amber) !important; box-shadow: 0 0 14px rgba(255,209,102,.32); }
.win-dot--green { background: var(--emerald) !important; box-shadow: 0 0 14px rgba(46,230,141,.42); }

.terminal {
  padding: 1.05rem;
  color: #dfe6ee;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: clamp(.76rem, 2.2vw, .9rem);
}

.terminal p {
  margin: 0 0 .72rem;
}

.terminal p:last-child {
  margin-bottom: 0;
}

.muted {
  color: #708085;
}

.accent {
  color: #7ff9eb;
  text-shadow: 0 0 22px rgba(24,198,181,.45);
}

.ok {
  color: var(--emerald);
  text-shadow: 0 0 18px rgba(46,230,141,.5);
}

.orb {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(126,238,224,.24);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.42), transparent 22%),
    linear-gradient(145deg, rgba(24,198,181,.26), rgba(255,255,255,.02));
  box-shadow:
    16px 16px 44px rgba(0,0,0,.5),
    -9px -9px 30px rgba(255,255,255,.045),
    0 0 34px rgba(24,198,181,.16),
    inset 1px 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}

.orb--a {
  width: 5.2rem;
  height: 5.2rem;
  right: 0;
  top: 1.5rem;
  animation: float 5s var(--ease) infinite alternate;
}

.orb--b {
  width: 2.5rem;
  height: 2.5rem;
  left: .2rem;
  bottom: 3rem;
  opacity: .78;
  animation: float 6.5s var(--ease) infinite alternate-reverse;
}

.signal {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  padding: 1rem 0 clamp(3.5rem, 9vw, 6.5rem);
}

.glass-card {
  position: relative;
  overflow: hidden;
  min-height: 165px;
  padding: 1.15rem;
  border: 1px solid rgba(24,198,181,.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(24,198,181,.075), rgba(255,255,255,.024));
  box-shadow:
    18px 18px 46px rgba(0,0,0,.46),
    -10px -10px 32px rgba(255,255,255,.038),
    0 0 30px rgba(24,198,181,.055),
    inset 1px 1px 0 rgba(255,255,255,.085);
  backdrop-filter: blur(20px) saturate(140%);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(126,238,224,.13), transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(46,230,141,.10), transparent 12rem);
  opacity: .9;
}

.glass-card > * {
  position: relative;
}

.card-kicker {
  margin: 0 0 .75rem;
  color: var(--accent-2);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(24,198,181,.32);
}

.glass-card h2,
.glass-card h3 {
  margin: 0;
  letter-spacing: -.045em;
  line-height: .98;
}

.glass-card h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 7.4vw, 4.05rem);
}

.glass-card h3 {
  font-size: clamp(1.35rem, 4.7vw, 2.05rem);
}

.glass-card p:not(.card-kicker) {
  max-width: 58ch;
  margin: .9rem 0 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: .45rem .65rem;
  border: 1px solid rgba(24,198,181,.18);
  border-radius: 999px;
  color: #c8fff8;
  background: rgba(24,198,181,.075);
  font-size: .78rem;
  font-weight: 780;
}

.footer {
  width: min(calc(100% - 1.5rem), var(--max));
  margin: 0 auto;
  padding: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  color: #78888c;
  font-size: .82rem;
}

.footer p {
  margin: 0;
}

.footer a {
  width: fit-content;
  color: #9eece4;
}

.footer a:hover,
.footer a:focus-visible {
  color: #fff;
}

@media (min-width: 760px) {
  .site-header {
    margin-top: 1rem;
  }

  .shell,
  .site-header,
  .footer {
    width: min(calc(100% - 3rem), var(--max));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .62fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .hero__visual {
    min-height: 490px;
  }

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

  .glass-card--wide {
    grid-column: 1 / -1;
    min-height: 250px;
    padding: clamp(1.35rem, 2.7vw, 1.85rem);
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-top: 5.5rem;
  }

  .device-card {
    transform: rotate(-2deg) translateY(1rem);
  }

  .glass-card {
    padding: 1.35rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(2.85rem, 14vw, 3.75rem);
  }

  .hero {
    padding-top: 2.45rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .hero__visual,
  .actions,
  .noise,
  .aurora,
  .grid {
    display: none;
  }

  .shell,
  .footer {
    width: 100%;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header,
  .device-card,
  .glass-card {
    background: rgba(20, 24, 27, .94);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2rem, 1rem, 0) scale(1.08);
  }
}

@keyframes ping {
  0%, 100% {
    transform: scale(.68);
    opacity: .85;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -1rem, 0);
  }
}

/* c0demon custom cursor v4 */
@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url("./cursor-c0demon-default.svg") 6 4,
            url("./cursor-c0demon-default.png") 6 4,
            auto;
  }

  a,
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  label[for],
  summary,
  .brand,
  .nav a,
  .button {
    cursor: url("./cursor-c0demon-pointer.svg") 6 4,
            url("./cursor-c0demon-pointer.png") 6 4,
            pointer;
  }

  input,
  textarea,
  [contenteditable="true"] {
    cursor: text;
  }
}
/* end c0demon custom cursor v4 */


/* v6 readability balance: keeps the v4 flair, but avoids oversized text and cramped overlap zones. */
@media (max-width: 759px) {
  .hero {
    gap: 1.45rem;
    align-items: start;
  }

  .hero__visual {
    min-height: 315px;
    margin-top: .25rem;
  }

  .device-card {
    transform: rotate(-.65deg);
  }

  .orb--a {
    right: .25rem;
    top: .35rem;
  }

  .orb--b {
    left: .1rem;
    bottom: 1.3rem;
  }

  .glass-card--wide {
    min-height: auto;
  }
}
