:root {
  color-scheme: dark;
  --bg: #101827;
  --surface: #172337;
  --surface2: #1d2b41;
  --text: #eef3fa;
  --muted: #9caec4;
  --accent: #76aaff;
  --border: rgba(255,255,255,.09);
  --shadow: 0 24px 65px rgba(0,0,0,.22);
}

body.light {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface2: #eaf0f8;
  --text: #19283d;
  --muted: #61718a;
  --accent: #2868c9;
  --border: rgba(20,40,70,.11);
  --shadow: 0 20px 50px rgba(40,65,100,.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Arial, sans-serif;
  line-height: 1.65;
  transition: background .25s, color .25s;
}

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

button, input {
  font: inherit;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  background: linear-gradient(135deg,#548cf5,#9366ed);
}

.brand-dot {
  color: var(--accent);
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}

.menu a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 21px;
}

.hero {
  padding: 105px 0 95px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 40%,rgba(73,108,194,.18),transparent 38%),
    radial-gradient(ellipse at 0% 100%,rgba(111,75,185,.10),transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 65px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--accent);
}

.status-dot,
.live-indicator {
  color: #52d5a0;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #52d5a0;
  box-shadow: 0 0 12px #52d5a0;
}

h1 {
  max-width: 650px;
  margin: 24px 0;
  font-size: clamp(42px,5vw,68px);
  line-height: 1.12;
  letter-spacing: -2.8px;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-description,
.section-heading > div > p,
.section-intro {
  color: var(--muted);
  font-size: 15px;
  max-width: 570px;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  transition: transform .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(120deg,#4789ed,#7669e7);
  color: white;
}

.secondary {
  background: var(--surface2);
  border: 1px solid var(--border);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.hero-meta span {
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--muted);
  font-size: 11px;
}

.visual-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: linear-gradient(145deg,var(--surface2),var(--surface));
  box-shadow: var(--shadow);
}

.visual-top,
.visual-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
}

.visual-top {
  color: var(--muted);
}

.visual-orbit {
  height: 290px;
  display: grid;
  place-items: center;
  position: relative;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(118,170,255,.3);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one {
  width: 210px;
  height: 210px;
}

.orbit-two {
  width: 285px;
  height: 115px;
}

.orbit-center {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(140deg,#548cf5,#9366ed);
  box-shadow: 0 0 55px rgba(100,130,255,.35);
  font-size: 43px;
  color: white;
}

.orbit-node {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 11px;
  color: var(--accent);
}

.node-one { top: 30px; left: 13%; }
.node-two { right: 5%; top: 110px; }
.node-three { bottom: 25px; left: 38%; }

.visual-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.visual-bottom div {
  display: grid;
  gap: 3px;
}

.visual-bottom strong {
  font-size: 19px;
  color: var(--accent);
}

.visual-bottom span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0;
}

.ticker {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.ticker-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}

.ticker-inner span:nth-child(even) {
  color: var(--accent);
}

.section {
  padding: 100px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(30px,4vw,43px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 13px 0;
}

.section-heading > div > p {
  margin: 0;
}

.search-box {
  width: min(290px,100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
}

.search-box span {
  color: var(--accent);
  font-size: 22px;
}

.search-box input {
  width: 100%;
  outline: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.article-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  transition: transform .2s,border-color .2s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118,170,255,.45);
}

.article-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.purple { background: #7258c82c; color: #a998ff; }
.blue { background: #398be72c; color: #83bcff; }
.green { background: #29ae7a2c; color: #65dbaa; }
.orange { background: #ea9a402c; color: #ffc27b; }

.article-category {
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

.article-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 12px 0;
}

.article-card p {
  color: var(--muted);
  font-size: 13px;
}

.article-card details {
  margin-top: 15px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.article-card summary {
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
}

.article-footer {
  margin-top: 24px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}

.no-results {
  padding: 35px;
  text-align: center;
  color: var(--muted);
}

.technology-section {
  padding: 95px 0;
  background: var(--surface);
}

.section-intro {
  margin-bottom: 35px;
}

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

.tech-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--bg);
}

.tech-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.tech-card h3 {
  margin: 22px 0 9px;
  font-size: 19px;
}

.tech-card p,
.about-text p {
  color: var(--muted);
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-text p {
  margin-top: 0;
  margin-bottom: 18px;
}

.privacy-section {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.privacy-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.privacy-icon {
  display: grid;
  place-items: center;
  min-width: 47px;
  height: 47px;
  border-radius: 14px;
  background: #398be72c;
  color: var(--accent);
  font-size: 25px;
}

.privacy-inner h3 {
  margin: 0;
  font-size: 15px;
}

.privacy-inner p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 27px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner > p {
  color: var(--muted);
  font-size: 10px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-visual {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }

  .about-grid {
    gap: 35px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 30px,1160px);
  }

  .nav {
    height: 65px;
  }

  .menu {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .visual-orbit {
    height: 240px;
  }

  .orbit-two {
    width: 240px;
  }

  .section {
    padding: 68px 0;
  }

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

  .article-grid,
  .tech-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 15px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticker-inner {
    justify-content: center;
  }
}
