﻿:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-inverse: #16181d;
  --text: #0a0a0a;
  --text-2: #555c66;
  --border: #e6e8eb;
  --muted: #8a8f98;
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h2, h3 { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: #e0e2e5; color: var(--text); }

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar.scrolled { border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  line-height: 1.4;
}
a.btn { text-decoration: none; }
.btn-primary { background: var(--text); color: #ffffff; }
.btn-primary:hover { background: #2a2a2a; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: #0a0a0a; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

.hero { padding: 96px 0 80px; text-align: center; }
.hero-inner { max-width: 880px; margin: 0 auto; }

.hero-title {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 660px;
  margin: 20px auto 0;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.hero-panel {
  margin: 60px auto 0;
  max-width: 780px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.09);
}

.hero-panel-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
}
.hdot { width: 10px; height: 10px; border-radius: 50%; background: #d3d7db; }

.hero-panel-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.page-head { padding: 84px 0 56px; text-align: center; }

.page-head h1 {
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
}

.page-head p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 640px;
  margin: 18px auto 0;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.section-sub {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); }
.card-title { font-size: 17px; font-weight: 650; margin: 0 0 10px; }

.card-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-2);
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffffff;
  margin: 4px 6px 4px 0;
}

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  margin-top: 8px;
}

.strip p {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.strip-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 52px;
  font-size: 15px;
  font-weight: 600;
  color: #9aa1a9;
  letter-spacing: 0.03em;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-number { font-size: clamp(36px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--text-2); }

.flywheel { display: grid; gap: 14px; }

.flywheel-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step-title { font-size: 15.5px; font-weight: 650; margin: 0; }

.step-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin-top: 5px;
}

.code-block {
  background: var(--bg-inverse);
  color: #e8eaed;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.75;
  padding: 24px 28px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0;
}

.code-block-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.data-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 13px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  font-weight: 650;
}

.data-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}
.data-table td:first-child { color: var(--text); font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 0; }

.checklist li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 15px;
  color: var(--text-2);
}

.checklist li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--muted);
}

.timeline { border-left: 1px solid var(--border); margin: 0; padding: 0 0 0 26px; }
.timeline .step { position: relative; margin-bottom: 34px; }

.timeline .step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--border);
}

.timeline .step h3 {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 8px;
}

.timeline .step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex: none;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

.faq-a p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.faq-item.open .faq-a { max-height: 320px; }

.cta-section {
  background: var(--bg-inverse);
  color: #ffffff;
  text-align: center;
  padding: 96px 0;
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

.cta-sub {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #b7bcc4;
}
.cta-section .hero-actions { margin-top: 34px; }
.cta-section .btn-primary { background: #ffffff; color: #0a0a0a; }
.cta-section .btn-primary:hover { background: #d9d9d9; }
.cta-section .btn-secondary { border: 1px solid #3d4146; color: #ffffff; }
.cta-section .btn-secondary:hover { border-color: #ffffff; }

.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .footer-logo { height: 40px; width: auto; }

.footer-brand p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 300px;
}
.footer-social { margin-top: 20px; display: flex; gap: 12px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.18s ease;
}
.footer-social a:hover { border-color: #0a0a0a; }

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.form-card label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  margin-bottom: 18px;
  box-sizing: border-box;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { outline: none; border-color: #0a0a0a; }
.form-card textarea { min-height: 120px; resize: vertical; }
.logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }

a:focus-visible,
.btn:focus-visible,
.faq-q:focus-visible,
.menu-toggle:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 2px; }

@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 14px 24px 22px;
    display: none;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 72px 0 60px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
