:root {
  --dw-purple: #7c3aed;
  --dw-purple-2: #8b5cf6;
  --dw-purple-3: #a78bfa;
  --dw-purple-deep: #6d28d9;
  --dw-purple-dark: #4c1d95;
  --dw-ink: #0a0a0f;
  --dw-muted: #6b7280;
  --dw-muted-2: #9ca3af;
  --dw-border: #e5e7eb;
  --dw-border-soft: #f3f4f6;
  --dw-bg: #ffffff;
  --dw-bg-soft: #fafafa;
  --dw-violet-50: #f5f3ff;
  --dw-violet-100: #ede9fe;
  --dw-violet-200: #ddd6fe;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.06);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dw-ink);
  background: var(--dw-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.dw-view[hidden] { display: none !important; }

/* Nav */
.dw-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 1.5rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dw-border-soft);
}
.dw-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--dw-ink); }
.dw-mark {
  width: 2rem; height: 2rem; border-radius: .5rem;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .875rem;
  background: linear-gradient(135deg, var(--dw-purple), var(--dw-purple-2));
  box-shadow: 0 8px 32px #7c3aed44;
}
.dw-nav-links { display: none; align-items: center; gap: 1.75rem; }
.dw-nav-links a { font-size: .875rem; font-weight: 500; color: var(--dw-muted); transition: color .15s; }
.dw-nav-links a:hover { color: var(--dw-purple); }
.dw-nav-actions { display: flex; align-items: center; gap: .75rem; }
.dw-link-quiet { display: none; font-size: .875rem; font-weight: 500; color: var(--dw-muted); }
.dw-link-quiet:hover { color: var(--dw-purple); }
.dw-menu-btn { display: inline-flex; padding: .5rem; border-radius: .5rem; color: var(--dw-muted); }
.dw-mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  padding: .75rem 1.25rem 1rem; border-bottom: 1px solid var(--dw-border-soft); background: #fff;
}
.dw-mobile-menu.open { display: flex; }
.dw-mobile-menu a, .dw-mobile-menu button {
  text-align: left; padding: .75rem .5rem; font-size: .95rem; font-weight: 500; color: var(--dw-muted);
}

@media (min-width: 768px) {
  .dw-nav { padding: .9rem 3rem; }
  .dw-nav-links { display: flex; }
  .dw-link-quiet { display: inline; }
  .dw-menu-btn { display: none; }
  .dw-mobile-menu { display: none !important; }
}
@media (min-width: 1024px) {
  .dw-nav { padding: .9rem 6rem; }
}

/* Buttons */
.dw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.15rem; border-radius: .75rem; font-size: .875rem; font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .15s, color .15s, border-color .15s;
}
.dw-btn:active { transform: scale(.95); }
.dw-btn-primary {
  background: var(--dw-purple); color: #fff;
  box-shadow: 0 4px 16px #7c3aed44;
}
.dw-btn-primary:hover { transform: translateY(-2px); }
.dw-btn-secondary {
  background: #fff; color: #374151; border: 1px solid var(--dw-border);
}
.dw-btn-secondary:hover { transform: translateY(-2px); }
.dw-btn-lg { padding: .9rem 1.5rem; }
.dw-btn-ghost-light {
  border: 1px solid #ffffff40; color: #fff; background: transparent;
}
.dw-btn-block { width: 100%; }
.dw-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* Sections */
.dw-section { padding: 5rem 1.5rem; }
.dw-section-soft { background: var(--dw-bg-soft); }
.dw-container { width: 100%; max-width: 64rem; margin: 0 auto; }
.dw-container-lg { max-width: 72rem; }
.dw-container-sm { max-width: 42rem; }
.dw-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  border: 1px solid var(--dw-violet-200); background: var(--dw-violet-50); color: var(--dw-purple);
  margin-bottom: 1.25rem;
}
.dw-h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--dw-ink); letter-spacing: -.025em; line-height: 1.2; margin-bottom: .75rem;
}
.dw-lead { color: var(--dw-muted); font-size: 1rem; line-height: 1.65; max-width: 36rem; }

@media (min-width: 768px) {
  .dw-section { padding: 6rem 3rem; }
}
@media (min-width: 1024px) {
  .dw-section { padding: 6rem; }
}

/* Hero */
.dw-hero {
  position: relative; text-align: center;
  padding: 5rem 1.5rem 3rem; overflow: hidden;
}
.dw-hero-glow {
  position: absolute; inset: -8rem 0 auto; height: 28rem; pointer-events: none;
  background: radial-gradient(ellipse at center, #8b5cf610 0%, transparent 70%);
}
.dw-hero-inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; }
.dw-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 1.25rem; color: var(--dw-ink);
}
.dw-grad {
  background: linear-gradient(135deg, var(--dw-purple), var(--dw-purple-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dw-hero-sub {
  color: var(--dw-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65;
  max-width: 42rem; margin: 0 auto 2.25rem;
}
.dw-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.dw-hero-note { margin-top: 1rem; font-size: .75rem; color: var(--dw-muted-2); }

/* Product preview */
.dw-preview-wrap { padding: 1rem 1.5rem 3rem; display: flex; justify-content: center; }
.dw-preview {
  width: 100%; max-width: 42rem; border: 1px solid var(--dw-border); border-radius: 1rem;
  overflow: hidden; background: #fff; box-shadow: var(--shadow-2xl);
  animation: dw-float-in .7s ease both;
}
.dw-preview-bar {
  display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem;
  border-bottom: 1px solid var(--dw-border-soft); background: var(--dw-bg-soft);
}
.dw-dot { width: .75rem; height: .75rem; border-radius: 999px; }
.dw-dot-r { background: #f87171; } .dw-dot-y { background: #facc15; } .dw-dot-g { background: #4ade80; }
.dw-url {
  flex: 1; margin-left: .75rem; height: 1.5rem; border-radius: .375rem;
  display: flex; align-items: center; padding: 0 .75rem;
  background: #f3f4f6; color: var(--dw-muted-2); font-family: var(--font-mono); font-size: .75rem;
}
.dw-avatars { display: flex; align-items: center; gap: .25rem; margin-left: .75rem; }
.dw-av {
  width: 1.5rem; height: 1.5rem; border-radius: 999px; display: grid; place-items: center;
  color: #fff; font-size: .55rem; font-weight: 700;
}
.dw-preview-body { padding: 1.15rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dw-score-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.dw-score {
  text-align: center; padding: .55rem; border-radius: .75rem; background: #fafafa;
}
.dw-score strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.dw-score span { font-size: .7rem; color: var(--dw-muted-2); }
.dw-score-bar { margin-top: .4rem; height: .2rem; border-radius: 999px; background: #f3f4f6; overflow: hidden; }
.dw-score-bar i { display: block; height: 100%; border-radius: inherit; }
.dw-card-mini {
  border: 1px solid var(--dw-border-soft); border-radius: .75rem; padding: .75rem; background: #fafafa;
}
.dw-card-mini h4 { font-size: .75rem; font-weight: 600; color: #374151; margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem; }
.dw-card-mini ul { list-style: none; display: grid; gap: .4rem; }
.dw-card-mini li { display: flex; gap: .45rem; align-items: flex-start; font-size: .75rem; color: var(--dw-muted); line-height: 1.35; }
.dw-card-mini li::before { content: ""; width: .35rem; height: .35rem; margin-top: .35rem; border-radius: 999px; background: var(--dw-purple); flex-shrink: 0; }
.dw-ready { border-color: #dcfce7; background: #f0fdf4; display: flex; flex-direction: column; justify-content: space-between; }
.dw-ready .ok { color: #15803d; font-size: .75rem; font-weight: 600; }
.dw-ready .sub { color: #4ade80; font-size: .75rem; margin-top: .25rem; }
.dw-ready .go {
  margin-top: .75rem; text-align: center; padding: .4rem; border-radius: .5rem;
  background: #22c55e; color: #fff; font-size: .75rem; font-weight: 600;
}
.dw-activity { grid-column: 1 / -1; border: 1px solid var(--dw-border-soft); border-radius: .75rem; padding: .75rem; background: #fafafa; }
.dw-activity h4 { font-size: .75rem; font-weight: 600; margin-bottom: .65rem; color: #374151; }
.dw-act { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.dw-act p { font-size: .75rem; color: var(--dw-muted); line-height: 1.35; }
.dw-act strong { color: #374151; }

@keyframes dw-float-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Logos */
.dw-logos { text-align: center; padding: 1rem 1.5rem 3.5rem; }
.dw-logos p { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dw-muted-2); font-weight: 600; margin-bottom: 1rem; }
.dw-logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.dw-chip {
  font-size: .75rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px;
  border: 1px solid var(--dw-border); color: #374151; background: #fff;
}

/* Steps / features / cards */
.dw-steps { display: grid; gap: 1rem; margin-top: 2rem; }
.dw-step {
  border: 1px solid var(--dw-border); border-radius: 1rem; padding: 1.25rem; background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.dw-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.dw-step-n { font-family: var(--font-display); font-weight: 800; color: var(--dw-purple); font-size: 1.1rem; margin-bottom: .5rem; }
.dw-step h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .4rem; }
.dw-step p { color: var(--dw-muted); font-size: .9rem; line-height: 1.55; }
@media (min-width: 768px) {
  .dw-steps { grid-template-columns: repeat(2, 1fr); }
  .dw-preview-wrap { padding-bottom: 4rem; }
}
@media (min-width: 1024px) {
  .dw-steps { grid-template-columns: repeat(4, 1fr); }
}

.dw-feat-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.dw-feat {
  border: 1px solid var(--dw-border); border-radius: 1rem; padding: 1.35rem; background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.dw-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.dw-feat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.dw-feat-ico { font-size: 1.35rem; }
.dw-tag {
  font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .45rem; border-radius: 999px; background: var(--dw-violet-50); color: var(--dw-purple);
}
.dw-feat h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .4rem; }
.dw-feat p { color: var(--dw-muted); font-size: .9rem; line-height: 1.55; }
@media (min-width: 768px) { .dw-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dw-feat-grid { grid-template-columns: repeat(3, 1fr); } }

/* Health */
.dw-health-grid { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.dw-health-panel {
  border: 1px solid var(--dw-border); border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-xl);
}
.dw-health-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--dw-border-soft); background: #fafafa;
}
.dw-health-brand { display: flex; align-items: center; gap: .65rem; }
.dw-health-brand h3 { font-size: .9rem; }
.dw-health-brand p { font-size: .75rem; color: var(--dw-muted-2); }
.dw-pill-live {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600;
  color: #15803d; background: #f0fdf4; border: 1px solid #dcfce7; padding: .25rem .55rem; border-radius: 999px;
}
.dw-pill-live i { width: .4rem; height: .4rem; border-radius: 999px; background: #22c55e; animation: dw-pulse 1.5s infinite; }
@keyframes dw-pulse { 50% { opacity: .4; } }
.dw-health-body { padding: 1.15rem; }
.dw-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
.dw-metric { padding: .85rem; border-radius: .75rem; }
.dw-metric .lbl { font-size: .75rem; color: var(--dw-muted); display: flex; justify-content: space-between; }
.dw-metric .val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-top: .15rem; }
.dw-metric .den { font-size: .8rem; color: var(--dw-muted-2); font-weight: 500; }
.dw-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-bottom: 1rem; }
.dw-issue { border: 1px solid var(--dw-border-soft); border-radius: .65rem; padding: .65rem; background: #fafafa; }
.dw-issue strong { display: block; font-size: 1.1rem; }
.dw-issue span { font-size: .7rem; color: var(--dw-muted); }
.dw-timeline { display: grid; gap: .65rem; }
.dw-tl { display: grid; grid-template-columns: .55rem 1fr auto; gap: .65rem; align-items: start; }
.dw-tl i { width: .45rem; height: .45rem; border-radius: 999px; margin-top: .35rem; }
.dw-tl p { font-size: .8rem; color: #374151; }
.dw-tl small { color: var(--dw-muted-2); font-size: .7rem; white-space: nowrap; }
@media (min-width: 900px) {
  .dw-health-grid { grid-template-columns: .9fr 1.1fr; }
  .dw-metrics { grid-template-columns: repeat(4, 1fr); }
}

/* Compare */
.dw-table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--dw-border); border-radius: 1rem; background: #fff; }
.dw-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.dw-table th, .dw-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--dw-border-soft); font-size: .875rem; }
.dw-table th { color: var(--dw-muted); font-weight: 600; background: #fafafa; }
.dw-table td:first-child { font-weight: 500; color: #374151; }
.dw-yes { color: var(--dw-purple); font-weight: 700; }
.dw-no { color: #d1d5db; }
.dw-note { color: var(--dw-muted); font-size: .75rem; }

/* Testimonials */
.dw-quotes { display: grid; gap: 1rem; margin-top: 2rem; }
.dw-quote {
  border: 1px solid var(--dw-border); border-radius: 1rem; padding: 1.35rem; background: #fff;
}
.dw-stars { color: #f59e0b; letter-spacing: .1em; margin-bottom: .75rem; font-size: .85rem; }
.dw-quote blockquote { color: #374151; font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; }
.dw-person { display: flex; align-items: center; gap: .65rem; }
.dw-person strong { display: block; font-size: .85rem; }
.dw-person span { font-size: .75rem; color: var(--dw-muted); }
@media (min-width: 768px) { .dw-quotes { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.dw-price-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.dw-billing {
  display: inline-flex; align-items: center; padding: .2rem; border-radius: .75rem;
  border: 1px solid var(--dw-border); background: #fff; align-self: flex-start;
}
.dw-billing button {
  padding: .4rem 1rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; color: var(--dw-muted); text-transform: capitalize;
}
.dw-billing button.active { background: var(--dw-purple); color: #fff; }
.dw-save {
  margin-left: .35rem; font-size: .7rem; padding: .1rem .35rem; border-radius: 999px;
  background: #dcfce7; color: #15803d;
}
.dw-billing button.active .dw-save { background: #ffffff33; color: #fff; }
.dw-plans { display: grid; gap: 1.1rem; }
.dw-plan {
  position: relative; border: 1px solid var(--dw-border); border-radius: 1rem; padding: 1.5rem; background: #fff;
}
.dw-plan.highlight {
  border-color: var(--dw-purple); box-shadow: 0 12px 40px #7c3aed22;
}
.dw-popular {
  position: absolute; top: -.7rem; right: 1rem; font-size: .7rem; font-weight: 700;
  background: var(--dw-purple); color: #fff; padding: .25rem .55rem; border-radius: 999px;
}
.dw-plan h3 { font-family: var(--font-display); font-size: 1.25rem; }
.dw-plan .desc { color: var(--dw-muted); font-size: .875rem; margin: .35rem 0 1rem; }
.dw-plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; }
.dw-plan .price span { font-size: .9rem; font-weight: 500; color: var(--dw-muted); }
.dw-plan ul { list-style: none; display: grid; gap: .55rem; margin: 1.15rem 0 1.35rem; }
.dw-plan li { font-size: .875rem; color: #374151; display: flex; gap: .45rem; }
.dw-plan li::before { content: "✓"; color: var(--dw-purple); font-weight: 700; }
@media (min-width: 768px) {
  .dw-price-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .dw-plans { grid-template-columns: repeat(3, 1fr); }
}

/* Changelog */
.dw-changes { display: grid; gap: 1rem; margin-top: 2rem; }
.dw-change {
  display: grid; gap: .75rem; border: 1px solid var(--dw-border); border-radius: 1rem; padding: 1.15rem; background: #fff;
}
.dw-change time { font-size: .75rem; color: var(--dw-muted-2); font-weight: 600; }
.dw-change h3 { font-family: var(--font-display); font-size: 1.05rem; }
.dw-change p { color: var(--dw-muted); font-size: .9rem; line-height: 1.55; }
.dw-badge {
  display: inline-flex; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .45rem; border-radius: 999px; background: var(--dw-violet-50); color: var(--dw-purple); width: fit-content;
}
@media (min-width: 768px) {
  .dw-change { grid-template-columns: 7rem 1fr; }
}

/* Final CTA */
.dw-final {
  border-radius: 1.5rem; padding: 3rem 1.5rem; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #4c1d95 100%); color: #fff;
}
.dw-final::before, .dw-final::after {
  content: ""; position: absolute; width: 16rem; height: 16rem; border-radius: 999px; opacity: .1;
  background: radial-gradient(circle, #fff, transparent);
}
.dw-final::before { top: 0; right: 0; transform: translate(30%, -30%); }
.dw-final::after { bottom: 0; left: 0; transform: translate(-30%, 30%); }
.dw-final > * { position: relative; z-index: 1; }
.dw-final .dw-eyebrow { border-color: #ffffff30; background: #ffffff18; color: #e9d5ff; }
.dw-final h2 { color: #fff; max-width: 28rem; margin: 0 auto 1rem; font-size: clamp(1.75rem, 4vw, 3rem); }
.dw-final p { color: #e9d5ff; max-width: 34rem; margin: 0 auto 1.5rem; }
.dw-final .dw-btn-primary { background: #fff; color: var(--dw-purple-deep); box-shadow: 0 4px 24px #00000033; }
@media (min-width: 768px) { .dw-final { padding: 4rem; } }

/* Footer */
.dw-footer { padding: 4rem 1.5rem 2rem; border-top: 1px solid var(--dw-border-soft); }
.dw-footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.dw-footer-brand p { color: var(--dw-muted); font-size: .875rem; line-height: 1.55; margin-top: .85rem; max-width: 18rem; }
.dw-footer h4 { font-size: .8rem; font-weight: 700; margin-bottom: .75rem; color: var(--dw-ink); }
.dw-footer ul { list-style: none; display: grid; gap: .45rem; }
.dw-footer a { font-size: .875rem; color: var(--dw-muted); }
.dw-footer a:hover { color: var(--dw-purple); }
.dw-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--dw-border-soft);
  font-size: .75rem; color: var(--dw-muted-2);
}
@media (min-width: 768px) {
  .dw-footer { padding-left: 3rem; padding-right: 3rem; }
  .dw-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .dw-footer { padding-left: 6rem; padding-right: 6rem; }
}

/* Auth shell */
.dw-auth {
  min-height: 100vh; display: flex; background: #fff;
}
.dw-auth-main { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.dw-auth-top {
  display: flex; align-items: center; gap: .55rem; padding: 1.35rem 2rem;
  border-bottom: 1px solid var(--dw-border-soft);
}
.dw-auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.dw-auth-card { width: 100%; max-width: 24rem; }
.dw-auth-card h1 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; margin-bottom: .35rem; }
.dw-auth-card .sub { color: var(--dw-muted); font-size: .875rem; margin-bottom: 1.5rem; }
.dw-auth-card .sub button { color: var(--dw-purple); font-weight: 600; }
.dw-auth-card .sub button:hover { text-decoration: underline; }
.dw-oauth { display: grid; gap: .6rem; margin-bottom: 1rem; }
.dw-oauth button {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; padding: .75rem 1rem; border-radius: .75rem; border: 1px solid var(--dw-border);
  font-size: .875rem; font-weight: 600; color: #374151; background: #fff;
}
.dw-oauth button:hover { background: #f9fafb; }
.dw-divider {
  display: flex; align-items: center; gap: .75rem; margin: 1rem 0 1.15rem;
  color: var(--dw-muted-2); font-size: .75rem;
}
.dw-divider::before, .dw-divider::after { content: ""; flex: 1; height: 1px; background: var(--dw-border-soft); }
.dw-field { margin-bottom: 1rem; }
.dw-field label {
  display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: #374151; margin-bottom: .4rem;
}
.dw-input {
  display: flex; align-items: center; border: 1px solid var(--dw-border); border-radius: .75rem;
  padding: 0 1rem; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.dw-input:focus-within { border-color: var(--dw-purple); box-shadow: 0 0 0 3px #7c3aed18; }
.dw-input.error { border-color: #ef4444; box-shadow: 0 0 0 3px #ef444418; }
.dw-input input {
  width: 100%; border: 0; outline: 0; background: transparent; padding: .85rem 0; font-size: .95rem; color: var(--dw-ink);
}
.dw-field-err { color: #ef4444; font-size: .75rem; margin-top: .35rem; }
.dw-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; color: var(--dw-muted); margin: .25rem 0 1rem; }
.dw-check input { margin-top: .15rem; }
.dw-auth-msg {
  display: none; padding: .75rem; border-radius: .75rem; font-size: .875rem; margin-bottom: 1rem;
}
.dw-auth-msg.show { display: block; }
.dw-auth-msg.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.dw-auth-msg.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.dw-auth-foot {
  padding: 0 2rem 1.5rem; text-align: center; font-size: .75rem; color: #d1d5db;
}
.dw-auth-foot a:hover { color: var(--dw-purple-2); }
.dw-auth-aside {
  display: none; width: 30rem; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 60%, #ddd6fe 100%);
  align-items: center; justify-content: center; padding: 3rem;
}
.dw-auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(#7c3aed0a 1px, transparent 1px), linear-gradient(90deg, #7c3aed0a 1px, transparent 1px);
  background-size: 32px 32px;
}
.dw-auth-aside-card {
  position: relative; z-index: 1; width: 100%; max-width: 22rem;
  border: 1px solid var(--dw-violet-200); border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-2xl);
}
.dw-auth-aside-quote { padding: 1.25rem; text-align: left; }
.dw-auth-aside-quote p { font-size: .9rem; color: #4c1d95; line-height: 1.55; margin-bottom: .85rem; }
@media (min-width: 1024px) {
  .dw-auth-aside { display: flex; }
}

/* Legal modal */
.dw-modal[hidden] { display: none !important; }
.dw-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,15,.45);
  display: grid; place-items: center; padding: 1rem;
}
.dw-modal-card {
  width: min(36rem, 100%); max-height: 80vh; overflow: auto; background: #fff;
  border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-2xl);
}
.dw-modal-card h2 { font-family: var(--font-display); margin-bottom: .75rem; }
.dw-modal-card p { color: var(--dw-muted); font-size: .9rem; line-height: 1.6; margin-bottom: .75rem; }
.dw-modal-card .close { margin-top: .5rem; }
