:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #111827;
  --ink-soft: #4b5563;
  --ink-muted: #667085;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --primary-soft: #eef2ff;
  --green: #15803d;
  --green-soft: #ecfdf3;
  --amber: #a16207;
  --amber-soft: #fffbeb;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --violet: #6d28d9;
  --violet-soft: #f5f3ff;
  --red: #c2414b;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 24px rgba(16, 24, 40, .045);
  --shadow-md: 0 22px 60px rgba(16, 24, 40, .12);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.faq-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(229, 231, 235, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}
.faq-brand { display: inline-flex; align-items: center; gap: 11px; }
.faq-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  font-size: 16px;
  font-weight: 800;
}
.faq-brand > span:last-child { display: grid; gap: 2px; }
.faq-brand strong { font-size: 16px; letter-spacing: -.02em; }
.faq-brand small { color: var(--ink-muted); font-size: 10px; font-weight: 600; }
.faq-header-actions { display: flex; align-items: center; gap: 20px; }
.faq-header-actions > a { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.faq-header-actions > a:hover { color: var(--ink); }
.faq-cabinet-button {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  color: #fff !important;
  background: var(--primary);
}

main { max-width: 1500px; margin: 0 auto; }
.faq-hero {
  margin: 28px 32px 0;
  padding: clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 42px;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 8%, rgba(99, 102, 241, .42), transparent 31%),
    radial-gradient(circle at 7% 92%, rgba(21, 128, 61, .22), transparent 34%),
    #111827;
  box-shadow: var(--shadow-md);
}
.faq-hero-copy { max-width: 820px; }
.faq-kicker {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.faq-hero .faq-kicker { color: #c7d2fe; }
.faq-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.faq-hero-copy > p:not(.faq-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
}
.faq-hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.faq-primary-button,
.faq-secondary-button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.faq-primary-button { color: #fff; background: var(--primary); }
.faq-primary-button:hover { background: var(--primary-strong); transform: translateY(-1px); }
.faq-secondary-button { color: #fff; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.faq-trust-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px 18px; }
.faq-trust-row span { color: #aeb8c7; font-size: 11px; }
.faq-trust-row span::before { content: "✓"; margin-right: 7px; color: #6ee7b7; font-weight: 800; }

.faq-hero-panel {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}
.faq-panel-label { color: #94a3b8; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faq-hero-panel ol { margin: 18px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.faq-hero-panel li { padding: 12px; display: flex; align-items: center; gap: 12px; border-radius: 12px; background: rgba(255, 255, 255, .055); }
.faq-hero-panel li > b { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #c7d2fe; background: rgba(99, 102, 241, .2); font-size: 11px; }
.faq-hero-panel li > span { display: grid; gap: 3px; }
.faq-hero-panel strong { font-size: 12px; }
.faq-hero-panel small { color: #94a3b8; font-size: 10px; }

.faq-section { padding: 86px 32px; }
.faq-section-soft { margin: 0 16px; border-radius: 24px; background: #fff; }
.faq-section-heading { max-width: 760px; margin-bottom: 30px; }
.faq-section-heading h2,
.faq-cta h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.12; letter-spacing: -.045em; }
.faq-section-heading > p:last-child,
.faq-cta > div > p:last-child { margin: 13px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.faq-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.faq-steps article { min-height: 230px; padding: 21px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq-steps article > span { display: inline-grid; place-items: center; width: 35px; height: 28px; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: 10px; font-weight: 800; }
.faq-steps h3 { margin: 35px 0 9px; font-size: 16px; letter-spacing: -.02em; }
.faq-steps p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.faq-token-note { margin-top: 14px; padding: 19px 21px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #c7d2fe; border-radius: 14px; background: var(--primary-soft); }
.faq-token-note strong { font-size: 13px; }
.faq-token-note p { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.faq-token-note a { flex: 0 0 auto; color: var(--primary); font-size: 12px; font-weight: 700; }

.faq-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.faq-feature-grid article { min-height: 180px; padding: 19px; display: flex; gap: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.faq-feature-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-size: 17px; font-weight: 800; }
.faq-feature-grid h3 { margin: 1px 0 8px; font-size: 15px; }
.faq-feature-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.faq-feature-grid small { display: inline-flex; margin-top: 14px; padding: 4px 7px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 700; }
.faq-feature-grid .faq-beta { color: var(--amber); background: var(--amber-soft); }

.faq-workflow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.faq-workflow > div { min-height: 150px; padding: 20px; display: flex; gap: 12px; border-right: 1px solid var(--border); }
.faq-workflow > div:last-child { border-right: 0; }
.faq-workflow b { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--primary); font-size: 10px; }
.faq-workflow span { display: grid; align-content: start; gap: 7px; }
.faq-workflow strong { font-size: 13px; }
.faq-workflow small { color: var(--ink-soft); font-size: 11px; line-height: 1.55; }

.faq-search-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.faq-search { width: min(390px, 100%); height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; }
.faq-search span { color: var(--ink-muted); }
.faq-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.faq-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .1); }
.faq-category-tabs { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.faq-category-tabs button { min-height: 37px; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink-soft); background: #fff; font-size: 11px; font-weight: 650; cursor: pointer; }
.faq-category-tabs button.active { color: #fff; border-color: var(--primary); background: var(--primary); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 13px; background: var(--surface); overflow: hidden; }
.faq-list summary { min-height: 58px; padding: 15px 47px 15px 17px; display: flex; align-items: center; position: relative; list-style: none; color: var(--ink); font-size: 13px; font-weight: 650; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] { border-color: #c7d2fe; box-shadow: var(--shadow-sm); }
.faq-list details > div { padding: 0 17px 17px; }
.faq-list details p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.faq-list details[hidden] { display: none; }
.faq-empty { padding: 30px; border: 1px dashed var(--border-strong); border-radius: 13px; color: var(--ink-muted); text-align: center; font-size: 12px; }

.faq-roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.faq-roadmap-grid article { min-height: 215px; padding: 21px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq-roadmap-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 750; }
.faq-roadmap-status.building { color: var(--green); background: var(--green-soft); }
.faq-roadmap-status.planned { color: var(--blue); background: var(--blue-soft); }
.faq-roadmap-status.research { color: var(--violet); background: var(--violet-soft); }
.faq-roadmap-grid h3 { margin: 28px 0 9px; font-size: 18px; letter-spacing: -.025em; }
.faq-roadmap-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }

.faq-cta { margin: 20px 32px 80px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); }
.faq-cta .faq-primary-button { flex: 0 0 auto; }
.faq-footer { min-height: 76px; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); color: var(--ink-muted); font-size: 10px; }
.faq-footer a { color: var(--primary); font-weight: 700; }

@media (max-width: 1100px) {
  .faq-header-actions > a:not(.faq-cabinet-button) { display: none; }
  .faq-hero { grid-template-columns: 1fr; }
  .faq-hero-panel { max-width: 680px; }
  .faq-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-workflow { grid-template-columns: 1fr 1fr; }
  .faq-workflow > div { border-bottom: 1px solid var(--border); }
  .faq-workflow > div:nth-child(2n) { border-right: 0; }
  .faq-workflow > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

@media (max-width: 760px) {
  .faq-header { min-height: 64px; padding: 0 14px; }
  .faq-brand small { display: none; }
  .faq-cabinet-button { min-height: 38px; padding: 0 12px; }
  .faq-hero { margin: 12px 10px 0; padding: 31px 21px; gap: 28px; border-radius: 18px; }
  .faq-hero h1 { font-size: 39px; }
  .faq-hero-copy > p:not(.faq-kicker) { font-size: 14px; }
  .faq-hero-actions { display: grid; }
  .faq-primary-button, .faq-secondary-button { width: 100%; }
  .faq-section { padding: 62px 14px; }
  .faq-section-soft { margin: 0 6px; border-radius: 18px; }
  .faq-steps, .faq-feature-grid, .faq-list, .faq-roadmap-grid { grid-template-columns: 1fr; }
  .faq-steps article { min-height: 185px; }
  .faq-token-note { align-items: flex-start; flex-direction: column; }
  .faq-workflow { grid-template-columns: 1fr; }
  .faq-workflow > div, .faq-workflow > div:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--border); }
  .faq-workflow > div:last-child { grid-column: auto; }
  .faq-search-heading { align-items: stretch; flex-direction: column; }
  .faq-search { width: 100%; }
  .faq-category-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .faq-category-tabs button { flex: 0 0 auto; }
  .faq-cta { margin: 8px 10px 50px; padding: 28px 20px; align-items: stretch; flex-direction: column; border-radius: 17px; }
  .faq-footer { padding: 24px 14px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-primary-button:hover { transform: none; }
}
