:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #ffffff;
  --card-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --secondary: #1d4ed8;
  --accent: #f59e0b;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f1f5f9;
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; color: white;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: white; font-weight: 900;
}
.brand small { display: block; color: #cbd5e1; font-weight: 500; font-size: 0.72rem; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 0.94rem; color: #e2e8f0; }
.nav-links a:hover { color: white; }
.menu-button {
  display: none; border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: white; border-radius: 12px; padding: 10px 12px; cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.35), transparent 32%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.35), transparent 34%),
    var(--bg);
  color: white; padding: 78px 0 62px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  color: #d1fae5; background: rgba(15, 118, 110, 0.18);
  font-size: 0.88rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.055em; margin-bottom: 20px; }
.hero p { color: #dbeafe; font-size: 1.12rem; max-width: 720px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; padding: 12px 18px; font-weight: 750;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s ease;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 24px rgba(15, 118, 110, 0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: white; background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-light { background: white; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); }

.hero-card {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px; padding: 24px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.flow { display: grid; gap: 12px; }
.flow-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1);
}
.flow-number {
  width: 32px; height: 32px; border-radius: 10px; background: rgba(20, 184, 166, 0.2);
  color: #99f6e4; display: grid; place-items: center; font-weight: 900; flex: 0 0 auto;
}
.flow-item strong { display: block; color: white; margin-bottom: 2px; }
.flow-item span { color: #cbd5e1; font-size: 0.92rem; }

section { padding: 72px 0; }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section-kicker {
  color: var(--primary); font-weight: 850; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.04rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 0.96rem; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px;
  background: #ecfeff; color: #155e75; font-size: 0.78rem; font-weight: 750; margin-bottom: 12px;
}

.axis-section { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.search {
  flex: 1 1 280px; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-size: 1rem; outline: none;
}
.search:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1); }
.filter-button {
  border: 1px solid var(--line); background: white; border-radius: 999px;
  padding: 10px 13px; cursor: pointer; color: var(--muted); font-weight: 750;
}
.filter-button.active, .filter-button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.axis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.axis-card {
  position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow);
}
.axis-top { padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.axis-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: #ecfdf5; color: var(--primary); font-size: 1.25rem; font-weight: 900; margin-bottom: 14px;
}
.axis-card h3 { font-size: 1.35rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.axis-card p { color: var(--muted); font-size: 0.98rem; }
.axis-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 0.76rem; padding: 5px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; font-weight: 700; }
.axis-body { padding: 18px 22px 22px; }
.axis-body h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.unit-list { display: grid; gap: 8px; margin-bottom: 16px; }
.unit-list li { list-style: none; padding: 9px 10px; border-radius: 12px; background: var(--card-soft); color: #334155; font-size: 0.92rem; }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chip {
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px;
  font-weight: 750; color: var(--secondary); font-size: 0.88rem; background: white;
}
.link-chip:hover { border-color: var(--secondary); background: #eff6ff; }

.method-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: start; }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step; position: relative; padding: 18px 18px 18px 58px;
  border-radius: 18px; background: white; border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.step::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px;
  border-radius: 10px; background: var(--primary); color: white; display: grid; place-items: center;
  font-weight: 900; font-size: 0.86rem;
}
.step strong { display: block; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 0.94rem; }

.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resource-list { display: grid; gap: 10px; margin-top: 12px; }
.resource-list a {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px;
  border-radius: 14px; background: var(--card-soft); border: 1px solid transparent;
  color: #334155; font-weight: 650;
}
.resource-list a:hover { border-color: var(--primary); background: #f0fdfa; }
.resource-list small { color: var(--muted); font-weight: 700; white-space: nowrap; }

.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; border-radius: 30px; padding: 38px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px;
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; margin-bottom: 8px; }
.cta p { color: #dbeafe; max-width: 760px; }

.page-hero {
  background: linear-gradient(135deg, var(--bg), #164e63);
  color: white;
  padding: 58px 0;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.05em; margin-bottom: 14px; }
.page-hero p { color: #dbeafe; max-width: 800px; font-size: 1.08rem; }
.breadcrumb { color: #cbd5e1; font-weight: 700; margin-bottom: 16px; font-size: 0.9rem; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.content-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.content-card h2 { margin: 22px 0 10px; letter-spacing: -0.03em; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: #475569; }
.content-card ul { margin-left: 20px; margin-top: 10px; display: grid; gap: 8px; }
.side-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 20px; position: sticky; top: 92px; }
.side-card h3 { margin-bottom: 10px; }
.side-card a { display: block; padding: 9px 0; color: var(--secondary); font-weight: 700; border-bottom: 1px solid var(--line); }
.side-card a:last-child { border-bottom: 0; }

footer { background: var(--bg); color: #cbd5e1; padding: 42px 0; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-grid strong { color: white; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: white; }

@media (max-width: 920px) {
  .hero-grid, .method-grid, .cta, .footer-grid, .content-grid { grid-template-columns: 1fr; }
  .grid-3, .axis-grid, .resources { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .nav-links {
    position: fixed; inset: 72px 16px auto 16px; background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px;
    padding: 14px; flex-direction: column; align-items: stretch; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.08); }
  .menu-button { display: inline-flex; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 44px; }
  section { padding: 52px 0; }
  .cta { padding: 26px; border-radius: 24px; }
  .axis-card { border-radius: 20px; }
}
