/* Vizrift — editorial dark analytics */
:root {
  --violet: #581C87;
  --cyan: #22D3EE;
  --bg: #1E1033;
  --text: #F3E8FF;
  --muted: #C4B5FD;
  --surface: #261540;
  --font-head: "Newsreader", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

a { color: var(--cyan); text-decoration: none; }

.container { width: min(100% - 2rem, 1080px); margin-inline: auto; }

/* Header */
.hdr {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(196, 181, 253, 0.14);
  z-index: 40;
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.logo img { width: 48px; height: 48px; }

.links {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  list-style: none;
}

.links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.cta {
  background: var(--violet);
  color: #fff !important;
  padding: 0.42rem 0.95rem;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem 2.5rem;
  align-items: start;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.15rem, 4.2vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.1rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--cyan);
}

.sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-p {
  display: inline-flex;
  background: var(--violet);
  color: #fff;
  padding: 0.72rem 1.25rem;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.btn-s {
  display: inline-flex;
  border: 1px solid rgba(196, 181, 253, 0.3);
  color: var(--text);
  padding: 0.72rem 1.25rem;
  border-radius: 3px;
  font-weight: 500;
}

/* Summary board */
.summary-board {
  margin: 0;
  background: var(--surface);
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-left: 3px solid var(--cyan);
  padding: 1.35rem 1.4rem 1.5rem;
  margin-top: 0.5rem;
}

.board-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.kpi {
  border-top: 1px solid rgba(196, 181, 253, 0.18);
  padding-top: 0.65rem;
}

.kpi .val {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.15;
}

.kpi .lbl {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(196, 181, 253, 0.12);
}

.sparkline span {
  flex: 1;
  background: rgba(34, 211, 238, 0.35);
  border-radius: 1px;
}

.sparkline span:nth-child(1) { height: 35%; }
.sparkline span:nth-child(2) { height: 55%; }
.sparkline span:nth-child(3) { height: 42%; }
.sparkline span:nth-child(4) { height: 68%; }
.sparkline span:nth-child(5) { height: 52%; }
.sparkline span:nth-child(6) { height: 78%; background: var(--cyan); }

/* Sections */
section { padding: 3.75rem 0; }

.platform-section {
  border-top: 1px solid rgba(196, 181, 253, 0.1);
  padding-top: 3.25rem;
}

.section-head { margin-bottom: 2rem; }

.section-head h2,
.about-section h2,
.contact-panel h2 {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.45rem;
}

.feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.feats article {
  border-top: 2px solid var(--violet);
  padding-top: 0.85rem;
}

.feats article:nth-child(even) {
  border-top-color: var(--cyan);
}

.feats h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feats p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* About */
.about-section {
  background: var(--surface);
  border-block: 1px solid rgba(196, 181, 253, 0.1);
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: start;
}

.split > div:first-child p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.about-aside {
  border-left: 1px solid rgba(196, 181, 253, 0.16);
  padding-left: 2rem;
  padding-top: 1.75rem;
}

.about-aside p {
  color: var(--muted);
}

address {
  font-style: normal;
  margin-top: 1.25rem;
  line-height: 1.7;
}

/* FAQ */
.faq-section .section-head { margin-bottom: 1.25rem; }

.faq-item {
  border-bottom: 1px solid rgba(196, 181, 253, 0.14);
}

.faq-item summary {
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  color: var(--muted);
  padding-bottom: 1rem;
  font-size: 0.94rem;
  max-width: 62ch;
}

/* Contact */
.contact-section { padding-bottom: 4rem; }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--violet);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 2.25rem 2.5rem;
}

.contact-panel h2 { color: var(--text); }

.contact-panel .sub {
  margin: 0.35rem 0 0;
  color: rgba(243, 232, 255, 0.75);
}

.contact-panel .btn-p {
  background: var(--bg);
  border-color: rgba(34, 211, 238, 0.35);
  white-space: nowrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(196, 181, 253, 0.14);
  padding: 2.5rem 0 1.5rem;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.ftr-grid a,
.ftr-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.social-icon-x {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.38rem 0.7rem;
  border-radius: 3px;
  border: 1px solid rgba(196, 181, 253, 0.22);
  color: var(--text) !important;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 181, 253, 0.1);
  font-size: 0.8rem;
  color: var(--muted);
}

.legal-page { padding: 3rem 0; max-width: 720px; }

.legal-page h1 { font-family: var(--font-head); }

.legal-page p,
.legal-page li { color: var(--muted); margin-bottom: 0.75rem; }

@media (max-width: 800px) {
  .hero,
  .feats,
  .split,
  .ftr-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { max-width: none; }

  .summary-board { margin-top: 0; }

  .about-aside {
    border-left: none;
    padding-left: 0;
    padding-top: 0;
    border-top: 1px solid rgba(196, 181, 253, 0.14);
    padding-top: 1.5rem;
  }

  .menu-toggle { display: block; }

  .links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: var(--bg);
    padding: 1rem;
    border: 1px solid rgba(196, 181, 253, 0.14);
  }

  .links.open { display: flex; }

  .hdr { position: relative; }

  .contact-panel { padding: 1.75rem 1.5rem; }
}
