:root {
  --bg: #070A15;
  --bg-2: #0B0F1F;
  --card: #10162B;
  --line: rgba(143, 163, 199, 0.16);
  --text: #F5F7FF;
  --muted: #8FA3C7;
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --grad: linear-gradient(135deg, var(--cyan), var(--violet));
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 10, 21, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 110px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 720px;
  background:
    radial-gradient(closest-side, rgba(34, 211, 238, 0.18), transparent 70%) 30% 50% / 60% 100% no-repeat,
    radial-gradient(closest-side, rgba(139, 92, 246, 0.20), transparent 70%) 70% 40% / 60% 100% no-repeat;
  pointer-events: none;
}
.hero .rings {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; transform: translate(-50%, -50%);
  opacity: 0.08; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 55%);
  mask-image: radial-gradient(circle, #000 25%, transparent 55%);
}
.hero > .wrap { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 28px;
}
h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  margin: 0 0 22px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.btn {
  display: inline-block;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 600; font-size: 16px;
  background: var(--grad); color: #06101E;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); margin-left: 10px; }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-sub { color: var(--muted); margin: 0 0 40px; max-width: 620px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin: 14px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cta {
  text-align: center;
  border: 1px solid var(--line); border-radius: 24px;
  padding: 56px 24px;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15), transparent 60%), var(--bg-2);
}
.cta h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -0.02em; }
.cta p { color: var(--muted); margin: 0 0 26px; }

/* Text pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.page .meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: #C9D3EA; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin: 8px 0 48px;
}
.contact-card .label { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.contact-card .email { font-size: clamp(18px, 4.8vw, 22px); font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 18px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer img { height: 28px; width: auto; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: var(--muted); }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 80px; }
}
@media (max-width: 560px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .brand img { height: 34px; }
  .cta .btn { font-size: 14px; padding: 13px 16px; word-break: break-all; }
  section { padding: 48px 0; }
  .btn.ghost { margin: 12px 0 0; }
  .lede { font-size: 18px; }
}
