:root {
  --bg: #0b1020;
  --surface: #121933;
  --surface-2: #182142;
  --text: #edf2ff;
  --muted: #b7c3e1;
  --line: rgba(255,255,255,0.1);
  --accent: #46d7ac;
  --accent-2: #8fb4ff;
  --accent-dark: #0f7c61;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,0.28);
}

html { background: #0a0f1d; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0a0f1d 0%, #10182f 100%) no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-left: 32px;
  padding-right: 32px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.hero .container,
.page-hero .container,
section .container {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  body { padding-left: 20px; padding-right: 20px; }
  .container { max-width: 100%; }
}

@media (max-width: 640px) {
  body { padding-left: 14px; padding-right: 14px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 29, 0.82);
  border-bottom: 1px solid var(--line);
  overflow-x: clip;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: 0;
  max-width: 100%;
}

.brand-mark {
  width: 42px; height: 42px; min-width: 42px; flex: 0 0 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08111f; font-weight: 900;
}

.brand-text { display: block; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-short { display: none; }
.brand-full { display: inline; }

.nav-links {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; max-width: 100%;
}
.nav-links a { color: var(--muted); font-size: 0.96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.button, button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem; min-height: 48px; padding: 0.8rem 1.15rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #08111f; font-weight: 700; cursor: pointer;
}
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: rgba(255,255,255,0.08); }

.hero { padding: 5rem 0 3.5rem; }

.hero-grid, .two-col {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.8rem; border-radius: 999px;
  background: rgba(143, 180, 255, 0.12); color: #c7d8ff;
  border: 1px solid rgba(143, 180, 255, 0.18); font-size: 0.9rem;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.25rem; }

p.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

.card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.panel { padding: 1.4rem; }
.card { padding: 1.5rem; }

.stack { display: grid; gap: 1rem; }

.metric-grid, .grid-3, .grid-2 { display: grid; gap: 1.25rem; }
.metric-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.metric strong { display: block; font-size: 1.75rem; margin-bottom: 0.15rem; }

section { padding: 3.5rem 0; }
.section-head { max-width: 760px; margin-bottom: 1.75rem; }

.list, .check-list { display: grid; gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.check-list li, .list li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.check-list li::before, .list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Pricing tiers */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1rem;
}
.pricing-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.pricing-card.featured {
  border-color: var(--accent); background: linear-gradient(180deg, rgba(70,215,172,0.08), rgba(70,215,172,0.03));
}
.pricing-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(70,215,172,0.15); color: var(--accent);
  border: 1px solid rgba(70,215,172,0.25); margin-bottom: 0.25rem;
}
.pricing-tier { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-name { font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 0.2rem 0; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.pricing-divider { height: 1px; background: var(--line); margin: 0.5rem 0; }
.pricing-card .check-list { margin-bottom: 1rem; }
.pricing-card .check-list li { font-size: 0.9rem; }
.pricing-card .button { width: 100%; justify-content: center; margin-top: auto; }
.pricing-card.featured .button { background: var(--accent); }

.price { font-size: 2.35rem; font-weight: 800; margin: 0.2rem 0 0.7rem; }
.price-note { color: var(--muted); font-size: 0.95rem; margin-top: -0.2rem; }

.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line); border-radius: 16px; padding: 1rem;
}
.preview-sheet {
  min-height: 220px; border-radius: 14px; padding: 1rem;
  background: linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
  color: #1c2748; box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.preview-sheet.dark {
  background: linear-gradient(180deg, #182142 0%, #10182f 100%);
  color: #edf2ff; border: 1px solid rgba(255,255,255,0.08);
}
.preview-kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; opacity: 0.75; margin-bottom: 0.65rem; font-weight: 700; }
.preview-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.75rem; }
.preview-lines { display: grid; gap: 0.5rem; }
.preview-lines span { display: block; height: 10px; border-radius: 999px; background: rgba(28,39,72,0.12); }
.preview-sheet.dark .preview-lines span { background: rgba(237,242,255,0.16); }
.preview-lines span.short { width: 52%; }
.preview-lines span.mid { width: 74%; }
.preview-lines span.long { width: 100%; }
.preview-chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }
.preview-chip { padding: 0.32rem 0.58rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: rgba(70,215,172,0.18); color: #0f7c61; }
.preview-sheet.dark .preview-chip { background: rgba(143,180,255,0.16); color: #dce7ff; }

/* Success page */
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.download-box {
  background: rgba(70,215,172,0.06); border: 1px solid rgba(70,215,172,0.2);
  border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem;
}
.download-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.download-item:last-child { border-bottom: none; }
.download-name { font-weight: 600; color: var(--text); }
.download-desc { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

.article { max-width: 760px; }
.article p, .article li { color: var(--muted); }
.article h2 { margin-top: 2rem; }
.article h3 { margin-top: 1.4rem; }
.article ul, .article ol { padding-left: 1.2rem; }
.article .cta-box { margin-top: 2rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.badge { border-radius: 999px; padding: 0.4rem 0.75rem; background: rgba(70,215,172,0.12); color: #d6fff2; border: 1px solid rgba(70,215,172,0.18); font-size: 0.9rem; }

.note { color: var(--muted); font-size: 0.95rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.hero-art { padding: 1.4rem; }
.hero-art .mini-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1rem; }

.callout { padding: 1rem 1.1rem; border-left: 3px solid var(--accent); background: rgba(70,215,172,0.08); color: #dcfff5; border-radius: 10px; }

.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

.page-hero { padding: 3.8rem 0 2.4rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; color: #9bb5ff; font-size: 0.8rem; font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .metric-grid, .grid-3, .grid-2, .preview-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 1rem 0; flex-direction: column; }
  .brand, .nav-links { width: 100%; }
  .hero { padding-top: 3.5rem; }
}
@media (max-width: 520px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .nav-links { gap: 0.75rem; }
}
@media (max-width: 380px) {
  .brand-mark { width: 38px; height: 38px; min-width: 38px; flex-basis: 38px; }
}
