:root {
  --brand-bg-1: #a855f7;
  --brand-bg-2: #7e22ce;
  --brand-accent: #fbbf24;
  --brand-text: #ffffff;
  --brand-muted: rgba(255, 255, 255, 0.88);
  --surface: #ffffff;
  --page: #faf5ff;
  --ink: #1f2937;
  --ink-muted: #52606d;
  --border: #e5e7eb;
  --border-soft: #f3e8ff;
  --purple-soft: #f3e8ff;
  --purple-mid: #7e22ce;
  --font: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--purple-soft);
  color: var(--purple-mid);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

/* ---- Header ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  max-width: 1120px;
  margin: 0 auto;
}
.site-header a { text-decoration: none; color: var(--brand-text); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.28);
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}
.lang-switch a {
  opacity: 0.85;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}
.lang-switch a:hover,
.lang-switch a.active {
  opacity: 1;
  font-weight: 700;
}
.lang-switch a.active {
  background: rgba(255, 255, 255, 0.18);
}
.nav-login {
  margin-left: 0.35rem;
  padding: 0.45rem 0.9rem !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  font-weight: 600;
}
.nav-login:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  background: linear-gradient(145deg, var(--brand-bg-1) 0%, var(--brand-bg-2) 55%, #5b21b6 100%);
  color: var(--brand-text);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  top: -25%;
  right: -15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22), transparent 65%);
  pointer-events: none;
  animation: glow-drift 12s ease-in-out infinite alternate;
}
.hero-band {
  position: absolute;
  inset: 22% -10% auto;
  height: 38%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewY(-8deg);
  pointer-events: none;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.hero::before {
  width: 50vw;
  height: 50vw;
  top: -18%;
  left: -18%;
}
.hero::after {
  width: 36vw;
  height: 36vw;
  bottom: -22%;
  right: -8%;
  background: rgba(255, 255, 255, 0.05);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 7rem 1.75rem 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { animation: rise 0.7s ease-out both; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--brand-accent);
  display: inline;
}
.hero .lede {
  font-size: 1.12rem;
  color: var(--brand-muted);
  max-width: 32rem;
  margin: 0 0 1.6rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.fineprint {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.fineprint span { margin: 0 0.35rem; opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--brand-accent);
  color: #3b0764;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
}
.btn-accent:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--brand-text);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-disabled,
.btn-disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
  pointer-events: none;
  box-shadow: none;
}
.nav-login-disabled,
.nav-login-disabled:hover {
  opacity: 0.55;
  cursor: default;
  background: transparent;
  pointer-events: none;
}
.btn-dark {
  background: var(--brand-bg-2);
  color: #fff;
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

/* ---- WYSIWYG editor mockup ---- */
.editor-mock {
  animation: float-in 0.85s ease-out 0.15s both;
}
.editor-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--brand-bg-1), var(--brand-bg-2));
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.editor-dots {
  display: flex;
  gap: 0.35rem;
}
.editor-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.editor-dots span:nth-child(1) { background: #f87171; }
.editor-dots span:nth-child(2) { background: #fbbf24; }
.editor-dots span:nth-child(3) { background: #34d399; }
.editor-chrome-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.editor-body {
  background: #fff;
  color: var(--ink);
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 0 0 14px 14px;
  box-shadow:
    0 28px 60px rgba(55, 0, 90, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}
.editor-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.editor-title-input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  background: #faf5ff;
}
.editor-wysiwyg {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.45rem 0.55rem;
  background: #f3e8ff;
  border-bottom: 1px solid var(--border-soft);
}
.editor-toolbar .tb {
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-mid);
  font-family: var(--mono);
}
.editor-toolbar .tb.i { font-style: italic; }
.editor-toolbar .tb.u { text-decoration: underline; }
.editor-toolbar .tb-sep {
  width: 1px;
  height: 1.4rem;
  background: #d8b4fe;
  margin: 0 0.15rem;
  align-self: center;
}
.editor-canvas {
  position: relative;
  padding: 0.85rem 1rem 1.1rem;
  min-height: 150px;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}
.editor-canvas h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.editor-canvas p {
  margin: 0 0 0.55rem;
  color: var(--ink-muted);
}
.editor-canvas ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink);
}
.editor-canvas li { margin-bottom: 0.2rem; }
.editor-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--brand-bg-2);
  animation: caret-blink 1s steps(1) infinite;
}
.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.editor-btn-ghost,
.editor-btn-save {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
}
.editor-btn-ghost {
  color: var(--ink-muted);
  border: 1px solid var(--border);
  background: #fff;
}
.editor-btn-save {
  background: var(--brand-accent);
  color: #3b0764;
}
.editor-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
}

@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ---- Sections ---- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.25rem 1.5rem;
}
.section-tint {
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 50%, #faf5ff 100%);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section-tint > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-tint .fieldset-grid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-head { margin-bottom: 2rem; }
.eyebrow-ink {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.section h2 {
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.section .sub {
  color: var(--ink-muted);
  margin: 0;
  max-width: 34rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}
.steps { display: grid; gap: 1.35rem; }
.step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-bg-1), var(--brand-bg-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(126, 34, 206, 0.28);
}
.step-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.terminal {
  background: linear-gradient(160deg, #2e1065, #1e1b4b);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(76, 29, 149, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.terminal-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
}
.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
}
.terminal-bar span:nth-child(1) { background: #f87171; }
.terminal-bar span:nth-child(2) { background: #fbbf24; }
.terminal-bar span:nth-child(3) { background: #34d399; }
.terminal-body {
  padding: 1.15rem 1.25rem 1.35rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #e9d5ff;
  line-height: 1.7;
}
.terminal-body .prompt { color: var(--brand-accent); margin-right: 0.35rem; }
.terminal-body .comment { color: #a78bfa; opacity: 0.85; }

/* ---- OSS vs Premium ---- */
.fieldset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.fieldset {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(126, 34, 206, 0.06);
}
.fieldset .legend {
  padding: 0.85rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
}
.fieldset .body {
  padding: 1.25rem 1.2rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.fieldset.premium {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-bg-1), var(--brand-bg-2));
  color: #fff;
  box-shadow: 0 14px 36px rgba(126, 34, 206, 0.28);
}
.fieldset.premium .legend {
  background: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: var(--brand-accent);
}
.fieldset.premium .body { color: var(--brand-muted); }

.trust-band {
  max-width: 1120px;
  margin: 1.75rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(126, 34, 206, 0.05);
}
.trust-item strong {
  display: block;
  color: var(--purple-mid);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.trust-item span {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ---- Pricing ---- */
.pricing-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(126, 34, 206, 0.1);
}
.pricing-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-bg-1), var(--brand-bg-2));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-legend .price {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: 0;
  text-transform: none;
}
.pricing-legend .price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}
.pricing-legend .price-vat {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}
.pricing-body {
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.75rem;
  align-items: center;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 0.98rem;
  border-bottom: 1px solid #f3e8ff;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  color: var(--purple-mid);
  font-weight: 800;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.15rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-weight: 700;
  color: var(--purple-mid);
  font-size: 1.15rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0 0 1.1rem;
  padding-right: 1.5rem;
  color: var(--ink-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.faq-item code {
  font-family: var(--mono);
  font-size: 0.88em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  background: #fff;
}
.site-footer--links .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-nav a {
  color: var(--purple-mid);
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover { text-decoration: underline; }

/* ---- Legal pages ---- */
.legal-shell {
  min-height: 100vh;
  background: linear-gradient(160deg, #faf5ff, #fff 40%);
}
.legal-header {
  position: static;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.legal-header .brand-mark,
.legal-header .lang-switch a { color: var(--ink); }
.legal-header .brand-dot {
  background: var(--brand-bg-2);
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.18);
}
.legal-header .nav-login {
  border-color: var(--border);
  color: var(--ink);
}
.legal-doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}
.legal-doc h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.legal-lede {
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 40rem;
}
.legal-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}
.legal-toc a {
  color: var(--purple-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.legal-toc a:hover { text-decoration: underline; }
.legal-doc h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}
.legal-doc h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}
.legal-doc p,
.legal-doc li {
  color: var(--ink-muted);
  line-height: 1.6;
}
.legal-doc ul { padding-left: 1.25rem; }
.legal-doc a { color: var(--purple-mid); }
.legal-doc code {
  font-size: 0.9em;
}
.legal-seealso {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.legal-table th {
  background: #faf5ff;
  color: var(--ink);
  font-weight: 700;
}
.legal-table tr:last-child td { border-bottom: none; }

/* ---- Auth / dashboard (unchanged surfaces) ---- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, #faf5ff, #fff);
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(126, 34, 206, 0.08);
}
.auth-card h1 { margin-top: 0; font-size: 1.45rem; }
.auth-card label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.auth-card input {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.auth-card .error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}
.auth-card .ok {
  background: #ecfdf5;
  color: #047857;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}
.auth-card .meta { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-muted); }

.dash {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.panel h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.key-box {
  font-family: var(--mono);
  background: #102a43;
  color: #f0f4f8;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  word-break: break-all;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
}
.badge.past_due, .badge.canceled { background: #fef2f2; color: #b91c1c; }
.badge.trialing { background: #eff6ff; color: #1d4ed8; }

/* Auth pages without hero: dark header links need ink color */
.auth-shell .site-header,
.dash .site-header {
  position: static;
  max-width: 800px;
  padding: 1.25rem 0;
}
.auth-shell .site-header a,
.dash .site-header a { color: var(--ink); }
.auth-shell .brand-dot,
.dash .brand-dot {
  background: var(--brand-bg-2);
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.18);
}
.auth-shell .nav-login,
.dash .nav-login {
  border-color: var(--border);
  color: var(--ink);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes glow-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-4%, 6%); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    gap: 2rem;
  }
  .admin-module,
  .editor-mock { order: -1; }
  .steps-grid,
  .fieldset-grid,
  .pricing-body,
  .trust-band { grid-template-columns: 1fr; }
  .pricing-body .btn { width: 100%; }
}
