:root {
  color-scheme: dark;
  --bg: #0f1117;
  --panel: #1b1f2a;
  --panel-2: #222735;
  --text: #f4f6fb;
  --muted: #aeb6c7;
  --line: #32394a;
  --blue: #76c7ff;
  --green: #70e09b;
  --gold: #f4c96b;
  --red: #ff6b78;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(118, 199, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #10131d, var(--bg));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
  max-width: 1120px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.hero-copy p:not(.eyebrow),
.section p,
.doc p,
.doc li {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: var(--blue);
  color: #07111d;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 31, 42, 0.86);
  padding: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.panel-top {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 1rem;
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.bot-card {
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 1rem;
  margin-top: 0.85rem;
}

.bot-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.bot-card p {
  margin: 0;
  color: var(--muted);
}

.bot-card.success {
  border-left-color: var(--green);
}

.bot-card.warn {
  border-left-color: var(--red);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.policy-list div,
.link-grid a {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 31, 42, 0.72);
  padding: 1.1rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  background: rgba(118, 199, 255, 0.16);
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.policy-list {
  display: grid;
  gap: 1rem;
}

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

.link-grid a {
  min-height: 88px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}

.doc h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.doc h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}
