:root {
  --bg: #0b0d12;
  --panel: #11151d;
  --panel-soft: #171d27;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.72);
  --dim: rgba(247, 248, 251, 0.52);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --green: #7dd3fc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 880px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(14px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 21, 29, 0.72);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #061018;
}

.btn-primary:hover {
  background: var(--green);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-lg {
  min-height: 52px;
  padding: 0 24px;
}

.hero {
  padding: 104px 0 86px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.16), transparent 32%),
    linear-gradient(180deg, #0f141d 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.system-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 21, 29, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.flow-node {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.flow-core {
  margin: 14px 0;
  padding: 28px;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  text-align: center;
}

.flow-core span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.flow-core strong {
  display: block;
  font-size: 20px;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  max-width: 860px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.split-section,
.contact-section,
.private-section {
  background: var(--panel);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-top: 22px;
  text-decoration: none;
}

.text-link:hover {
  color: var(--green);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.capability-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 24px;
}

.capability-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
}

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

.mine-section {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), transparent 46%),
    var(--bg);
}

.principles-section {
  background: var(--panel);
}

.principles-section p + p,
.pricing-section p + p {
  margin-top: 18px;
}

.founder-label {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 13, 18, 0.36);
}

.founder-label strong {
  font-size: 18px;
}

.founder-label span {
  color: var(--dim);
  font-size: 14px;
  font-weight: 700;
}

.schedule-section {
  background: var(--bg);
}

.pricing-section {
  background: var(--bg);
}

.pricing-section .btn {
  margin-top: 28px;
}

.section-note {
  color: var(--dim);
  font-size: 15px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.contact-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 13, 18, 0.42);
  padding: 24px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-card a,
.footer-bottom a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.footer-bottom a:hover {
  color: var(--green);
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
}

.social-follow {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.founder-social {
  max-width: 620px;
  margin-top: 28px;
}

.social-follow h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.social-follow p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--accent);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.social-links.compact {
  display: grid;
  gap: 8px;
}

.social-links.compact a {
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--dim);
}

.social-links.compact a:hover {
  color: var(--text);
}

.schedule-section .btn,
.private-section .btn {
  margin-top: 28px;
}

.footer {
  background: #080a0e;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  grid-column: span 2;
}

.footer-brand p {
  max-width: 360px;
  color: var(--dim);
  margin-top: 12px;
}

.footer-links h4 {
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--dim);
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  color: var(--dim);
  font-size: 14px;
}

.footer-bottom p + p {
  margin-top: 8px;
}

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

  .capability-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navbar .container {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 64px;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 6px 0 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .nav-links .btn {
    align-self: stretch;
    margin-top: 8px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .system-panel {
    display: none;
  }

  .hero-subtitle,
  .section p {
    font-size: 16px;
  }

  .capability-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}
