/* Synoraq — violet/lavender release notes aesthetic */
:root {
  --violet: #7c3aed;
  --violet-dark: #5b21b6;
  --violet-light: #a78bfa;
  --lavender: #f5f3ff;
  --lavender-mid: #ede9fe;
  --blue: #2563eb;
  --ink: #1e1b4b;
  --ink-muted: #4c4687;
  --slate: #64748b;
  --border: #ddd6fe;
  --white: #ffffff;
  --warn: #d97706;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(91, 33, 182, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --doc-content-width: min(960px, 92vw);
  --container: min(1140px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--lavender);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-dark); }
img { max-width: 100%; display: block; }
code, .mono { font-family: var(--mono); font-size: 0.88em; background: var(--lavender-mid); padding: 0.15em 0.4em; border-radius: 4px; }
.container { width: var(--container); margin: 0 auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-shell main { flex: 1; }

/* Header — release bar + main nav (Synoraq violet, distinct from CRHQ rose & AuditVA teal) */
.header-stack { position: sticky; top: 0; z-index: 100; }

.header-release-bar {
  background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 55%, #f5f3ff 100%);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.header-release-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 9px 0;
  text-align: center;
}
.header-release-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--violet);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.header-release-text { color: var(--ink-muted); }
.header-release-cta {
  font-weight: 700;
  color: var(--violet);
  white-space: nowrap;
}
.header-release-cta:hover { color: var(--violet-dark); }
.header-release-secondary {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  padding-left: 12px;
  border-left: 1px solid #c4b5fd;
  white-space: nowrap;
}
.header-release-secondary:hover { color: var(--violet); }

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--ink); flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.logo-mark svg { width: 36px; height: 36px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text span { font-size: 0.72rem; color: var(--ink-muted); font-weight: 500; }
.nav-main { display: flex; gap: 1.25rem; flex: 1; }
.nav-link { color: var(--ink-muted); font-size: 0.9rem; font-weight: 500; }
.nav-link:hover { color: var(--violet); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 2px 12px rgba(124,58,237,0.35); }
.btn-primary:hover { background: var(--violet-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--violet); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--lavender-mid); color: var(--violet-dark); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--lavender-mid), var(--lavender));
}
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
}
.hero-paste {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: left;
  margin-bottom: 1.25rem;
}
.hero-paste textarea {
  width: 100%;
  min-height: 140px;
  border: none;
  resize: vertical;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--lavender);
  border-radius: var(--radius-sm);
  padding: 1rem;
  outline: none;
}
.hero-paste textarea:focus { box-shadow: 0 0 0 2px var(--violet-light); }
.hero-paste-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 1rem; align-items: center;
}
.hero-note { font-size: 0.85rem; color: var(--slate); }
.hero-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; }
.section-head h2 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 0.5rem; }
.section-head p { color: var(--ink-muted); }

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.workflow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}
.workflow-step span {
  display: inline-flex;
  width: 28px; height: 28px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  margin-bottom: 0.75rem;
}
.workflow-step h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.workflow-step p { font-size: 0.85rem; color: var(--ink-muted); }

/* Sources */
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.source-chip {
  background: var(--lavender-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Demo split */
.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) { .demo-split { grid-template-columns: 1fr; } }
.demo-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-panel-head {
  background: var(--lavender-mid);
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}
.demo-panel-body { padding: 1rem; }
.demo-input {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--slate);
}
.demo-output .changelog-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.demo-output .changelog-item:last-child { border-bottom: none; }
.demo-output strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.demo-output p { font-size: 0.85rem; color: var(--ink-muted); }

/* Bento dashboard (homepage) */
.release-bento {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.bento-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dash-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--violet); display: block; }
.dash-title { font-size: 1.1rem; }
.dash-meta { font-size: 0.8rem; color: var(--slate); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } }
.bento-card {
  background: var(--lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}
.bento-score { grid-row: span 1; }
.bento-wide { grid-column: span 2; }
@media (max-width: 768px) { .bento-wide { grid-column: span 1; } }
.dash-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); margin-bottom: 0.65rem; }
.dash-score { font-size: 2.25rem; font-weight: 700; color: var(--violet); line-height: 1; }
.dash-score span { font-size: 1rem; color: var(--slate); font-weight: 500; }
.dash-progress { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; margin: 0.75rem 0 0.5rem; }
.dash-progress-bar { height: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-light)); border-radius: 999px; }
.dash-hint { font-size: 0.8rem; color: var(--ink-muted); }

/* Donut chart */
.donut-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.donut-chart {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    var(--violet) 0 calc(var(--p1) * 1%),
    var(--blue) calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
    #818cf8 calc((var(--p1) + var(--p2)) * 1%) calc((var(--p1) + var(--p2) + var(--p3)) * 1%),
    var(--slate) calc((var(--p1) + var(--p2) + var(--p3)) * 1%) calc((var(--p1) + var(--p2) + var(--p3) + var(--p4)) * 1%),
    var(--warn) calc((var(--p1) + var(--p2) + var(--p3) + var(--p4)) * 1%) 100%
  );
  position: relative; flex-shrink: 0;
}
.donut-hole {
  position: absolute; inset: 22%;
  background: var(--lavender);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--slate);
}
.donut-hole strong { font-size: 1rem; color: var(--ink); }
.donut-legend { list-style: none; font-size: 0.78rem; }
.donut-legend li { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.25rem; }
.donut-legend .leg { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.leg.feat { background: var(--violet); }
.leg.bug { background: var(--blue); }
.leg.imp { background: #818cf8; }
.leg.maint { background: var(--slate); }
.leg.sec { background: var(--warn); }

/* Bar charts */
.bar-chart { display: flex; flex-direction: column; gap: 0.45rem; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 0.5rem; font-size: 0.78rem; }
.bar-row span:first-child { color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.bar-fill.violet { background: var(--violet); }
.bar-fill.blue { background: var(--blue); }
.bar-fill.indigo { background: #6366f1; }
.bar-fill.slate { background: var(--slate); }
.bar-fill.warn { background: var(--warn); }
.bar-fill.feat { background: var(--violet); }
.bar-fill.bug { background: var(--blue); }
.bar-fill.imp { background: #818cf8; }
.bar-fill.maint { background: var(--slate); }
.bar-fill.sec { background: var(--warn); }

/* Integrations strip */
.integrations { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.integration-badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--violet); }
.cta-band .btn-primary:hover { background: var(--lavender-mid); color: var(--violet-dark); }

/* Page mast */
.page-mast {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.page-mast-inner {
  max-width: var(--doc-content-width);
  margin: 0 auto;
  text-align: center;
}
.page-mast-meta { margin-bottom: 0.75rem; }
.breadcrumb { font-size: 0.8rem; color: var(--slate); margin-bottom: 0.5rem; }
.breadcrumb a { color: var(--slate); }
.page-chip {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--violet);
  background: var(--lavender-mid);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.page-title { font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 0.75rem; }
.lead { color: var(--ink-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.page-mast-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

/* Doc body */
.doc-body { padding: 2.5rem 0 4rem; }
.doc-single, .doc-frame { max-width: var(--doc-content-width); margin: 0 auto; }
.doc-frame { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .doc-frame { grid-template-columns: 1fr; } }
.content-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.content-panel h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.rail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  margin-bottom: 1rem;
}
.rail-card h4 { font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--violet); }
.rail-card p { font-size: 0.85rem; color: var(--ink-muted); }

/* Forms */
.form-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: none; margin-bottom: 0; }
.form-section h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--white);
  outline: none;
}
.form-group textarea { font-family: var(--mono); font-size: 0.82rem; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.check-grid, .tone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}
.check-card, .tone-card {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--lavender);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.check-card:has(input:checked), .tone-card:has(input:checked) {
  border-color: var(--violet);
  background: var(--lavender-mid);
}
.check-card input, .tone-card input { accent-color: var(--violet); }

/* Custom file upload — English labels only, no native browser UI */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--lavender);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload-zone:hover, .upload-zone.drag {
  border-color: var(--violet-light);
  background: var(--lavender-mid);
}
.upload-zone strong { font-size: 0.88rem; color: var(--ink); }
.upload-zone span { font-size: 0.78rem; color: var(--slate); }
.upload-filename { margin-top: 0.5rem; font-size: 0.82rem; }
.text-link { color: var(--violet); font-weight: 600; }
.text-link:hover { color: var(--violet-dark); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.price-card.featured { border-color: var(--violet); box-shadow: var(--shadow); }
.price-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--violet); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.65rem; border-radius: 999px;
}
.price-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--violet); margin-bottom: 1rem; }
.price span { font-size: 0.9rem; color: var(--slate); font-weight: 500; }
.price-card ul { list-style: none; margin-bottom: 1.25rem; }
.price-card li { font-size: 0.85rem; color: var(--ink-muted); padding: 0.3rem 0; padding-left: 1.1rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }

/* Report */
.report-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.report-summary h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.report-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.report-summary-grid span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); margin-bottom: 0.25rem; }
.report-summary-grid strong { font-size: 1.05rem; }
.report-summary-grid .warn { color: var(--warn); }
.chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .chart-grid { grid-template-columns: 1fr; } }
.chart-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.chart-card-wide { grid-column: span 2; }
@media (max-width: 768px) { .chart-card-wide { grid-column: span 1; } }
.chart-card h3 { font-size: 0.9rem; margin-bottom: 1rem; }
.bar-chart.compact .bar-row { grid-template-columns: 90px 1fr 24px; }
.change-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 1rem 0; }
.change-table th, .change-table td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.change-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); background: var(--lavender); }
.changelog-preview { background: var(--lavender); border-radius: var(--radius-sm); padding: 1.25rem; margin: 1rem 0; }
.changelog-preview h4 { font-family: var(--serif); margin-bottom: 0.75rem; }
.changelog-item { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.changelog-item:last-child { border-bottom: none; }
.brief-box { background: var(--lavender-mid); border-left: 3px solid var(--violet); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1rem 0; font-size: 0.9rem; }

/* Tabs & issues */
.tab-bar { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab { padding: 0.45rem 0.85rem; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius-sm); font-size: 0.82rem; cursor: pointer; font-family: var(--font); }
.tab.active { background: var(--violet); color: var(--white); border-color: var(--violet); }
.issue-list { list-style: none; }
.issue-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; display: flex; gap: 0.65rem; align-items: flex-start; }
.sev { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 4px; flex-shrink: 0; }
.sev.warn { background: #fef3c7; color: var(--warn); }
.risk-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-top: 1.5rem; }

/* Use cases, features, flow timeline */
.use-grid, .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.use-card, .feature-grid article {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: inherit;
}
.use-card:hover { border-color: var(--violet-light); box-shadow: var(--shadow); color: inherit; }
.use-card h3, .feature-grid h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--violet); }
.use-card p, .feature-grid p { font-size: 0.88rem; color: var(--ink-muted); }

.flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  box-shadow: var(--shadow);
}
.flow-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
  position: relative;
  align-items: start;
}
.flow-step:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 72px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--violet-light), var(--border));
}
.flow-marker {
  width: 56px;
  height: 56px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white);
}
.flow-content { min-width: 0; }
.flow-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.flow-content p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  max-width: 640px;
}
.flow-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.flow-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--violet-dark);
  background: var(--lavender-mid);
  border: 1px solid var(--border);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.flow-ai-panel {
  margin-top: 1.5rem;
  background: var(--lavender-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.flow-ai-panel h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.flow-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.flow-ai-grid div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.flow-ai-grid strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--violet);
}
.flow-ai-grid p {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 0;
}
.flow-footnote {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--slate);
}

/* Legacy step cards (homepage workflow grid) */
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step > span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step > h3,
.step > p {
  grid-column: 2;
}
.step > h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.step > p { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }
.plain-list { padding-left: 1.25rem; }
.plain-list li { margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--ink-muted); }
.muted { color: var(--slate); font-size: 0.88rem; }
.center { text-align: center; }
.legal-doc h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }

/* Page end CTA */
.page-end-cta {
  max-width: var(--doc-content-width);
  margin: 2rem auto 0;
  background: var(--lavender-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.page-end-checklist { list-style: none; }
.page-end-checklist li { font-size: 0.85rem; color: var(--ink-muted); padding: 0.2rem 0; padding-left: 1.1rem; position: relative; }
.page-end-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); }
.page-end-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 0.75rem; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--ink-muted); padding: 0.25rem 0; }
.footer-col a:hover { color: var(--violet); }
.footer-note {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-note p { font-size: 0.85rem; color: var(--ink-muted); max-width: 560px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: 0.78rem; color: var(--slate);
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: var(--slate); }

/* Auth */
.auth-page {
  background:
    radial-gradient(circle at 15% 20%, rgba(167, 139, 250, 0.15), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 58, 237, 0.1), transparent 40%),
    var(--lavender);
  min-height: 100vh;
}
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.auth-minibar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
.auth-back { font-size: 0.86rem; font-weight: 600; color: var(--slate); }
.auth-back:hover { color: var(--violet); }
.brand-compact .brand-text span { display: none; }
.auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 24px 56px;
}
.auth-card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card-head { margin-bottom: 24px; }
.auth-card-head h1 {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
.auth-card-head p { color: var(--ink-muted); font-size: 0.92rem; }
.auth-foot { text-align: center; margin: 16px 0 0; font-size: 0.86rem; color: var(--slate); }
.auth-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.auth-trust-row span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--lavender-mid);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive nav */
@media (max-width: 960px) {
  .nav-main { display: none; }
  .header-actions .nav-link { display: none; }
  .header-release-secondary {
    border-left: none;
    padding-left: 0;
    width: 100%;
  }
}
