:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef1f8;
  --text: #10254b;
  --muted: #5f6b85;
  --accent: #7c5cfc;
  --accent-dark: #6545ee;
  --border: #dfe4ef;
  --shadow: 0 18px 60px rgba(16, 37, 75, 0.10);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 247, 251, 0.88);
  border-bottom: 1px solid rgba(223, 228, 239, 0.85);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #f4f6fb;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(16, 37, 75, 0.08);
  position: relative;
  overflow: hidden;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 999px;
  background: var(--text);
}

.logo-mark::before {
  left: 11px;
}

.logo-mark::after {
  right: 11px;
}

.logo-diagonal {
  position: absolute;
  left: 18px;
  top: 9px;
  width: 4px;
  height: 25px;
  border-radius: 999px;
  background: var(--text);
  transform: rotate(-32deg);
  transform-origin: center;
}

.logo-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
}

.logo-dot.one { left: 9px; top: 7px; }
.logo-dot.two { right: 9px; bottom: 7px; }
.logo-dot.three { right: 9px; top: 7px; background: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 252, 0.10);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  margin: 20px 0 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.lead {
  max-width: 670px;
  font-size: 1.2rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 750;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 28px rgba(124, 92, 252, 0.25);
}

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

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.hero-card {
  background: linear-gradient(145deg, #ffffff, #eef1f8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 34px;
  padding: 26px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}

.canvas {
  position: absolute;
  inset: 26px;
  background:
    radial-gradient(circle at 1px 1px, rgba(16, 37, 75, 0.12) 1px, transparent 0);
  background-size: 22px 22px;
  border-radius: 20px;
  border: 1px solid rgba(223, 228, 239, 0.95);
}

.node {
  position: absolute;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 37, 75, 0.08);
}

.node.main {
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  padding: 14px 18px;
}

.node.a { left: 8%; top: 18%; }
.node.b { right: 8%; top: 18%; }
.node.c { left: 10%; bottom: 16%; }
.node.d { right: 10%; bottom: 16%; }

.line {
  position: absolute;
  height: 2px;
  background: rgba(16, 37, 75, 0.26);
  transform-origin: left center;
}

.line.l1 { width: 150px; left: 26%; top: 36%; transform: rotate(24deg); }
.line.l2 { width: 150px; left: 52%; top: 45%; transform: rotate(-28deg); }
.line.l3 { width: 150px; left: 26%; top: 61%; transform: rotate(-25deg); }
.line.l4 { width: 150px; left: 52%; top: 55%; transform: rotate(28deg); }

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(16, 37, 75, 0.05);
}

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

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(124, 92, 252, 0.12);
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 20px;
}

.page-hero {
  padding: 72px 0 36px;
}

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #36415b;
}

.notice {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--muted);
}

.contact-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(124, 92, 252, 0.18);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

  .hero-card {
    min-height: 390px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }
}
