:root {
  --wo-accent: #f59e0b;
  --wo-accent-2: #d97706;
  --wo-bg: #0c0a09;
  --wo-bg-2: #1c1917;
  --wo-surface: #fafaf9;
  --wo-text: #fafaf9;
  --wo-text-2: #a8a29e;
  --wo-text-inv: #fafaf9;
  --wo-border: rgba(250, 250, 249, 0.12);
  --wo-radius: 12px;
  --wo-font-display: "Fraunces", Georgia, serif;
  --wo-font-body: "Manrope", system-ui, sans-serif;
  --wo-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wo-site {
  margin: 0; min-height: 100vh;
  font-family: var(--wo-font-body); font-size: 16px; line-height: 1.55;
  color: var(--wo-text-inv); background: var(--wo-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wo-wrap { width: min(1120px, 92vw); margin: 0 auto; }

.wo-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 9, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--wo-border);
}
.wo-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wo-brand { display: flex; align-items: center; gap: 12px; font-family: var(--wo-font-display); }
.wo-brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fbbf24, #b45309);
  color: #0c0a09; font-family: var(--wo-font-body); font-weight: 800; font-size: 0.8rem;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.4);
}
.wo-brand-text strong { display: block; font-size: 1.3rem; letter-spacing: -.02em; }
.wo-brand-text span { font-size: 0.72rem; color: var(--wo-text-2); }
.wo-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wo-nav a { padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--wo-text-2); }
.wo-nav a:hover { color: var(--wo-accent); background: rgba(245, 158, 11, 0.08); }
.wo-nav a.wo-nav-cta { background: linear-gradient(135deg, #f59e0b, #b45309); color: #0c0a09; font-weight: 700; }
.wo-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--wo-border); border-radius: 8px; background: transparent; cursor: pointer; }
.wo-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--wo-text-inv); }

.wo-hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(245, 158, 11, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(180, 83, 9, 0.12), transparent),
    linear-gradient(180deg, #0c0a09 0%, #1c1917 50%, #0c0a09 100%);
}
.wo-hero-visual {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(480px, 50vw); aspect-ratio: 1;
  background: conic-gradient(from 180deg, rgba(245,158,11,.2), transparent, rgba(251,191,36,.15));
  border-radius: 50%; filter: blur(40px);
  animation: wo-drift 20s ease-in-out infinite;
}
.wo-hero-inner { position: relative; z-index: 2; padding: 72px 0 88px; }
.wo-hero-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wo-accent); margin: 0 0 1rem; animation: wo-fade-up .7s ease both; }
.wo-hero h1 { font-family: var(--wo-font-display); font-size: clamp(2.8rem, 8vw, 4.2rem); font-weight: 500; line-height: 1.05; margin: 0 0 1rem; animation: wo-fade-up .8s .1s ease both; }
.wo-hero-lead { font-size: 1.1rem; color: var(--wo-text-2); max-width: 40ch; margin: 0 0 2rem; animation: wo-fade-up .8s .2s ease both; }
.wo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: wo-fade-up .8s .3s ease both; }
.wo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s; }
.wo-btn:hover { transform: translateY(-2px); }
.wo-btn-primary { background: linear-gradient(135deg, #fbbf24, #d97706); color: #0c0a09; box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35); }
.wo-btn-ghost { background: rgba(250,250,249,.06); color: var(--wo-text-inv); border-color: var(--wo-border); }

.wo-features { padding: 56px 0; background: #1c1917; border-top: 1px solid var(--wo-border); }
.wo-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wo-feature { padding: 20px; border-radius: var(--wo-radius); border: 1px solid var(--wo-border); background: rgba(12,10,9,.6); }
.wo-feature strong { display: block; font-family: var(--wo-font-display); font-size: 1.05rem; margin-bottom: 6px; color: var(--wo-accent); }
.wo-feature span { font-size: 0.88rem; color: var(--wo-text-2); }

.wo-section { padding: 56px 0; }
.wo-section h2 { font-family: var(--wo-font-display); font-size: 1.6rem; margin: 0 0 1.25rem; }
.wo-announce { padding: 18px 20px; border-radius: var(--wo-radius); border: 1px solid var(--wo-border); background: #1c1917; margin-bottom: 12px; }
.wo-announce strong { display: block; margin-bottom: 4px; color: var(--wo-accent); }
.wo-announce p { margin: 0; color: var(--wo-text-2); font-size: 0.92rem; }

.wo-page-hero { padding: 48px 0 32px; background: linear-gradient(180deg, #1c1917, var(--wo-bg)); }
.wo-page-hero h1 { font-family: var(--wo-font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .5rem; }
.wo-card { background: #1c1917; border: 1px solid var(--wo-border); border-radius: var(--wo-radius); padding: 24px; margin-bottom: 20px; }
.wo-form label { display: grid; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--wo-text-2); margin-bottom: 14px; }
.wo-form input, .wo-form textarea { border: 1px solid var(--wo-border); border-radius: 8px; padding: 12px 14px; background: #0c0a09; color: var(--wo-text-inv); }
.wo-form input:focus { outline: 2px solid rgba(245,158,11,.3); border-color: var(--wo-accent); }
.wo-alert-err { background: rgba(127,29,29,.3); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); padding: 12px; border-radius: 8px; margin-bottom: 16px; }

.wo-timeline { position: relative; padding-left: 24px; }
.wo-timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--wo-accent), transparent); }
.wo-timeline-item { position: relative; padding: 0 0 24px 20px; animation: wo-fade-up .6s ease both; }
.wo-timeline-item::before { content: ""; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--wo-accent); box-shadow: 0 0 12px rgba(245,158,11,.6); }
.wo-timeline-item time { font-size: 0.8rem; color: var(--wo-text-2); }
.wo-timeline-item h3 { margin: 4px 0 6px; font-family: var(--wo-font-display); font-size: 1.05rem; }
.wo-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgba(245,158,11,.15); color: var(--wo-accent); }

.wo-footer { margin-top: auto; padding: 40px 0; background: #0c0a09; border-top: 1px solid var(--wo-border); }
.wo-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.wo-footer small { color: var(--wo-text-2); font-size: 0.85rem; }

.wo-theme-picker { position: fixed; bottom: 20px; right: 20px; z-index: 60; display: flex; gap: 6px; padding: 8px; background: rgba(12,10,9,.95); border-radius: 999px; border: 1px solid var(--wo-border); }
.wo-theme-picker a { width: 28px; height: 28px; border-radius: 50%; font-size: 0; }
.wo-theme-picker a.wo-t-forge { background: linear-gradient(135deg, #14b8a6, #0b68f7); }
.wo-theme-picker a.wo-t-circuit { background: linear-gradient(135deg, #f59e0b, #78350f); }
.wo-theme-picker a.wo-t-bay { background: linear-gradient(135deg, #10b981, #047857); }
.wo-theme-picker a.active { border: 2px solid #fff; }

body.wo-login-page {
  min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,.12), transparent 60%), #0c0a09;
  font-family: var(--wo-font-body); color: var(--wo-text-inv);
}
.wo-login-shell { width: min(980px, 100%); display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .wo-login-shell { grid-template-columns: 1fr 400px; } }
.wo-login-hero h1 { font-family: var(--wo-font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 0 0 .5rem; font-weight: 500; }
.wo-login-card { background: #1c1917; border: 1px solid var(--wo-border); border-radius: 16px; padding: 28px; }
.wo-login-card label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--wo-text-2); margin-bottom: 12px; }
.wo-login-card input { border: 1px solid var(--wo-border); border-radius: 8px; padding: 11px 12px; background: #0c0a09; color: var(--wo-text-inv); }
.wo-login-demo { margin-top: 16px; padding: 12px; border-radius: 8px; background: rgba(245,158,11,.08); font-size: 12px; color: var(--wo-text-2); line-height: 1.55; }

@keyframes wo-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wo-drift { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-48%) translateX(-10px); } }

@media (max-width: 860px) {
  .wo-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #0c0a09; padding: 12px; border-bottom: 1px solid var(--wo-border); }
  body.wo-nav-open .wo-nav { display: flex; }
  .wo-menu-toggle { display: grid; place-content: center; }
  .wo-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .wo-features-grid { grid-template-columns: 1fr; } }
