:root {
  --bg: #08090b;
  --bg-elevated: #0e1014;
  --card: #111319;
  --card-hover: #151821;
  --line: #252a33;
  --line-soft: #1a1f27;
  --text: #f5f7fa;
  --text-2: #aab2bf;
  --text-3: #727b89;
  --yellow: #f4c430;
  --yellow-soft: rgba(244, 196, 48, .12);
  --red: #ef5b5b;
  --green: #50c878;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .32);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(244,196,48,.055), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(255,255,255,.025), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(8, 9, 11, .86);
  backdrop-filter: blur(16px);
}
.header-row { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 58px; height: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
}
.badge.pro { color: #111; background: var(--yellow); border-color: var(--yellow); }
.badge.live { color: var(--green); border-color: rgba(80,200,120,.35); background: rgba(80,200,120,.08); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 650;
  transition: .18s ease;
}
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255,255,255,.055); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }

.hero { padding: 92px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 54px; align-items: center; }
.eyebrow { color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
h1 { margin: 14px 0 18px; font-size: clamp(48px, 7.2vw, 92px); line-height: .96; letter-spacing: -.055em; max-width: 860px; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.035em; }
h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.lead { max-width: 720px; margin: 0; color: var(--text-2); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 18px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-size: 14px; font-weight: 800; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); background: var(--card-hover); border-color: #343a46; }
.button.primary { background: var(--yellow); border-color: var(--yellow); color: #111; }
.button.primary:hover { background: #ffd33f; }
.button.ghost { background: transparent; }

.hero-panel {
  position: relative; overflow: hidden; min-height: 380px; border: 1px solid var(--line);
  border-radius: var(--radius-xl); background: linear-gradient(150deg, #12151b, #0c0e12 65%); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; padding: 52px;
}
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero-panel::before { width: 330px; height: 330px; background: rgba(244,196,48,.08); filter: blur(70px); right: -180px; top: -140px; }
.hero-panel::after { width: 250px; height: 250px; border: 1px solid rgba(244,196,48,.09); left: -100px; bottom: -110px; }
.logo-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.logo-lockup img { width: min(220px, 56vw); }
.logo-lockup .badge { transform: scale(1.3); transform-origin: left center; }

.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head p { margin: 10px 0 0; max-width: 660px; color: var(--text-2); line-height: 1.65; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent), var(--card);
}
a.card { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
a.card:hover { transform: translateY(-3px); border-color: #363d49; background: var(--card-hover); }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 38px; }
.card-icon { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--yellow); background: rgba(255,255,255,.025); font-weight: 900; }
.card p { color: var(--text-2); line-height: 1.62; margin: 10px 0 0; }
.card-link { margin-top: 26px; display: inline-flex; color: var(--text); font-size: 14px; font-weight: 800; }
.card-link::after { content: "→"; margin-left: 7px; color: var(--yellow); }

.tech-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); }
.tech-cell { background: var(--bg-elevated); padding: 22px; }
.tech-cell strong { display: block; font-size: 22px; letter-spacing: -.025em; }
.tech-cell span { display: block; color: var(--text-3); margin-top: 6px; font-size: 13px; }

.page-hero { padding: 68px 0 34px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); }
.page-hero .lead { max-width: 820px; }
.content-narrow { width: min(100%, 820px); }
.feature-list { display: grid; gap: 12px; margin-top: 28px; }
.feature { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.feature-dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
.feature strong { display: block; }
.feature span { display: block; margin-top: 5px; color: var(--text-2); line-height: 1.55; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.field label { display: block; color: var(--text-3); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.select {
  width: 100%; min-height: 50px; padding: 0 14px; color: var(--text); border: 1px solid var(--line); border-radius: 13px;
  outline: none; background: var(--card); appearance: none;
}
.select:focus { border-color: rgba(244,196,48,.65); box-shadow: 0 0 0 3px rgba(244,196,48,.08); }
.partners-status { color: var(--text-3); font-size: 14px; margin: 18px 0; }
.partner-list { display: grid; gap: 14px; }
.partner-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.partner-top { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; }
.partner-meta { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.partner-desc { color: var(--text-2); line-height: 1.6; margin: 16px 0; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-state { text-align: center; padding: 48px 26px; border: 1px dashed #303744; border-radius: var(--radius-lg); background: rgba(255,255,255,.015); }
.empty-state h3 { font-size: 23px; }
.empty-state p { max-width: 620px; margin: 12px auto 24px; color: var(--text-2); line-height: 1.65; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: var(--card); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 800; }
.faq summary::-webkit-details-marker { display:none; }
.faq details p { color: var(--text-2); line-height: 1.65; margin: 0; padding: 0 0 20px; }

.notice { border-left: 3px solid var(--yellow); padding: 16px 18px; border-radius: 0 12px 12px 0; background: var(--yellow-soft); color: var(--text-2); line-height: 1.6; }
.contact-card { display: flex; flex-direction: column; gap: 8px; }
.contact-card .value { font-size: 20px; font-weight: 800; word-break: break-word; }
.muted { color: var(--text-3); }

.site-footer { margin-top: 64px; border-top: 1px solid var(--line-soft); }
.footer-row { padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text-3); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero { padding-top: 62px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-panel { min-height: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .tech-strip { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; padding: 10px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 15px; background: #0e1014; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-button { display: inline-grid; place-items: center; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 22px), var(--max)); }
  .header-row { min-height: 64px; }
  .brand img { width: 50px; }
  .nav { top: 64px; left: 11px; right: 11px; }
  .hero { padding: 52px 0 34px; }
  h1 { font-size: 49px; }
  .hero-panel { min-height: 230px; padding: 30px; }
  .logo-lockup { gap: 13px; }
  .logo-lockup .badge { transform: scale(1.05); }
  .section { padding: 46px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .tech-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .partner-top { flex-direction: column; }
}
