@font-face {
  font-family: 'Montserrat';
  src: url('/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  --sidebar: #050b17;
  --bg: #04070e;
  --panel: #0b1422;
  --muted-panel: #121b2c;
  --text: #eff6ff;
  --muted: #8fa3bb;
  --accent: #ffc71e;
  --teal: #20c3c7;
  --blue: #2562fa;
  --border: rgba(255,255,255,0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wordmark { font-family: 'Montserrat', sans-serif; font-weight: 600; }
.wordmark .gold { color: var(--accent); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,7,14,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
@media (max-width: 720px) { .nav-links a.hide-m { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #141002;
  font-weight: 700; font-size: 15px;
  padding: 11px 22px; border-radius: 10px; text-decoration: none;
  border: 0; cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,199,30,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255,199,30,0.38); }
.btn.small { padding: 8px 16px; font-size: 13.5px; }
.btn.soon { cursor: default; background: rgba(255,199,30,0.16); color: var(--accent); border: 1px solid rgba(255,199,30,0.35); box-shadow: none; }
.btn.soon:hover { transform: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); color: var(--text); background: transparent;
  font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 10px; text-decoration: none; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.hero { text-align: center; padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -20% auto;
  height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,98,250,0.16), transparent 62%),
              radial-gradient(ellipse at 72% 18%, rgba(255,199,30,0.07), transparent 55%);
}
.hero > * { position: relative; }
.hero img.mark { width: 92px; height: 92px; border-radius: 21px; box-shadow: 0 18px 50px rgba(0,0,0,0.5); margin-bottom: 26px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 .gold { color: var(--accent); }
.hero p.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 660px; margin: 20px auto 0; }
.hero .cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.fineprint { color: var(--muted); font-size: 13px; margin-top: 16px; }
.fineprint strong { color: var(--text); }

.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.badge {
  border: 1px solid var(--border); background: rgba(255,255,255,0.035);
  color: var(--muted); border-radius: 999px;
  font-size: 13px; font-weight: 600; padding: 7px 15px;
}
.badge b { color: var(--teal); font-weight: 700; }

section { padding: 68px 0; }
section.alt { background: var(--sidebar); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.015em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card {
  background: var(--muted-panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.card .icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 14px;
  background: rgba(255,199,30,0.12); border: 1px solid rgba(255,199,30,0.22);
}
.card h3 { font-size: 16.5px; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 26px 22px; }
.step .num {
  display: inline-flex; width: 32px; height: 32px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--accent); color: #141002; font-weight: 800; font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14px; }

.privacy-band {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, rgba(37,98,250,0.10), rgba(37,98,250,0.02));
  border: 1px solid rgba(37,98,250,0.25); border-radius: 16px; padding: 44px 32px;
}
.privacy-band h2 { font-size: clamp(22px, 3vw, 30px); }
.privacy-band p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  background: var(--muted-panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: rgba(255,199,30,0.45); background: linear-gradient(180deg, rgba(255,199,30,0.07), rgba(255,199,30,0.015)), var(--muted-panel); }
.price-card .plan { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.price-card .price { font-size: 42px; font-weight: 800; margin: 10px 0 2px; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-card .terms { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; flex: 1; }
.price-card li { color: var(--muted); font-size: 14px; padding: 5px 0; display: flex; gap: 10px; }
.price-card li::before { content: '✓'; color: var(--teal); font-weight: 800; }
.pill { display: inline-block; background: rgba(255,199,30,0.14); color: var(--accent); border: 1px solid rgba(255,199,30,0.3); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 3px 12px; margin-bottom: 12px; align-self: flex-start; }

.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare td.us { color: var(--accent); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 8px 6px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

.signup { max-width: 520px; margin: 28px auto 0; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.signup input[type=email] {
  flex: 1; min-width: 240px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 15px; padding: 12px 16px; outline: none;
}
.signup input[type=email]:focus { border-color: rgba(255,199,30,0.5); }
.signup .msg { font-size: 13.5px; margin-top: 12px; color: var(--teal); min-height: 20px; }
.signup .msg.err { color: #f08a8a; }

.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.prose h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 32px; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); }
.prose code { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 1px 7px; font-size: 13.5px; }
.prose .note { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 18px 0; }

.changelog-item { border-left: 2px solid var(--border); padding: 0 0 32px 24px; position: relative; }
.changelog-item::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.changelog-item .ver { font-weight: 800; font-size: 18px; }
.changelog-item .date { color: var(--muted); font-size: 13px; margin-left: 10px; }

.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--muted-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  display: block;
  min-height: 220px;
}
.blog-card:hover { border-color: rgba(255,199,30,0.36); background: #141f32; }
.blog-card .level, .article-meta .level {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-card h2 { font-size: 21px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.01em; }
.blog-card p { color: var(--muted); font-size: 14.5px; }
.blog-card .intent { margin-top: 16px; font-size: 13px; color: var(--teal); font-weight: 700; }
.article-meta { color: var(--muted); font-size: 13.5px; margin: 10px 0 28px; }
.article-callout {
  background: linear-gradient(180deg, rgba(255,199,30,0.10), rgba(255,199,30,0.03));
  border: 1px solid rgba(255,199,30,0.24);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.article-callout p { margin: 0; color: var(--text); }
.prose .answer-box {
  background: var(--muted-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0 28px;
}
.prose .answer-box p { margin: 0; color: var(--text); }
.hero .answer-box {
  max-width: 720px;
  margin: 24px auto 0;
  background: var(--muted-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: left;
}
.hero .answer-box p { margin: 0; color: var(--text); font-size: 15px; }

footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--sidebar); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-inner .brand { font-size: 16px; }
.foot-inner .brand img { width: 26px; height: 26px; }
footer p { color: var(--muted); font-size: 13px; }
footer .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .foot-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
footer .foot-links a:hover { color: var(--text); }
