:root {
  --bg: #0b1220;
  --bg2: #111a2e;
  --card: #152038;
  --text: #eef3ff;
  --muted: #9fb0d0;
  --line: rgba(255,255,255,.08);
  --brand: #5b8cff;
  --brand2: #7c5cff;
  --good: #3dd68c;
  --star: #ffc857;
  --danger: #ff6b7a;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; gap: 1rem;
}
.logo {
  font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
}
.logo-mark {
  width: 2rem; height: 2rem; border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.05rem;
}
.nav-links { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .75rem 1.1rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white; box-shadow: 0 10px 30px rgba(91,140,255,.35);
}
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--text);
}
.btn-soft {
  background: rgba(255,255,255,.06); border-color: var(--line);
}

.hero {
  padding: 2.5rem 0 1rem;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
}
.eyebrow {
  color: var(--brand); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem;
}
h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05;
  letter-spacing: -.04em; margin: 0 0 1rem;
}
.lead { color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.5rem; max-width: 38rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.fine { color: var(--muted); font-size: .9rem; }

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent), var(--card);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel-head {
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.panel-body { padding: 1.1rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(61,214,140,.12); color: var(--good);
  border: 1px solid rgba(61,214,140,.25); border-radius: 999px;
  padding: .25rem .6rem; font-size: .78rem; font-weight: 700;
}
.stars { color: var(--star); letter-spacing: .08em; }
.muted { color: var(--muted); }
.bio {
  background: rgba(0,0,0,.18); border: 1px solid var(--line);
  border-radius: 14px; padding: .9rem 1rem; color: var(--muted); line-height: 1.55;
  margin: .9rem 0;
}
.week {
  border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem;
}
.week h3 { margin: 0 0 .6rem; font-size: .95rem; }
.week ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.week li {
  display: flex; gap: .55rem; align-items: flex-start;
  color: var(--muted); font-size: .92rem;
}
.week li strong { color: var(--text); font-weight: 650; }
.dot-ok, .dot-next {
  width: .7rem; height: .7rem; border-radius: 999px; margin-top: .35rem; flex: 0 0 auto;
}
.dot-ok { background: var(--good); }
.dot-next { background: var(--brand); }

.section { padding: 3rem 0; }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; margin: 0 0 .5rem;
}
.section p.sub { color: var(--muted); margin: 0 0 1.5rem; max-width: 40rem; line-height: 1.55; }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem;
}
.card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.card .tag {
  display: inline-block; margin-bottom: .7rem; font-size: .75rem; font-weight: 800;
  color: var(--brand); letter-spacing: .06em; text-transform: uppercase;
}

.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .8rem;
}
.tier.featured {
  border-color: rgba(91,140,255,.45);
  box-shadow: 0 0 0 1px rgba(91,140,255,.2), var(--shadow);
}
.tier h3 { margin: 0; }
.price { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.tier ul { margin: 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.55; flex: 1; }
.tier li { margin: .25rem 0; }

.examples {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (max-width: 700px) { .examples { grid-template-columns: 1fr; } }
.ex {
  text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem; transition: .15s ease;
}
.ex:hover { border-color: rgba(91,140,255,.5); transform: translateY(-2px); }
.ex h3 { margin: 0 0 .35rem; }
.ex p { margin: 0; color: var(--muted); font-size: .92rem; }

.footer {
  border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem;
}
.footer a { color: var(--text); }

/* Brand page */
.brand-hero {
  padding: 1.5rem 0 1rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
}
.avatar {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
}
.brand-meta h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .25rem; }
.rating-line { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; color: var(--muted); }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 0; }

.review {
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  border-radius: 14px; padding: 1rem; margin-bottom: .75rem;
}
.review-top { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .4rem; }
.review strong { font-size: .95rem; }
.review p { margin: .35rem 0 0; color: var(--muted); line-height: 1.5; }
.reply {
  margin-top: .75rem; padding: .75rem .85rem; border-left: 3px solid var(--brand);
  background: rgba(91,140,255,.08); border-radius: 0 10px 10px 0;
  color: var(--muted); font-size: .92rem;
}

.schema-note {
  margin-top: 1.5rem; padding: 1rem; border: 1px dashed var(--line); border-radius: 14px;
  color: var(--muted); font-size: .88rem; line-height: 1.5;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
