/* OddWizard public site: shared styles. Calm navy, crystal-ball violet, green→violet odds ring, gold for highlights. Friendly type (Plus Jakarta Sans). */
:root {
  color-scheme: dark;
  --ink: #0f1528; --ink-2: #141c33; --ink-3: #1a2340; --line: #2a3556; --line-2: #3a4770;
  --text: #eef2fb; --text-2: #c4cde3; --muted: #93a0c0;
  --teal: #2fc48f; --indigo: #8b85e8; --indigo-d: #6f68d8; --gold: #f5b83d; --up: #3fd29b; --down: #f47c8c;
  --grad: linear-gradient(90deg, #2fc48f, #8b85e8);
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.65 "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--indigo); }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(15, 21, 40, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 24px; letter-spacing: -.035em; }
.brand span { background: linear-gradient(90deg, #2fc48f, #8b85e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img { width: 40px; height: 44px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--line-2); background: var(--ink-3); color: var(--text); transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn-primary { border: 0; background: linear-gradient(90deg, #22a878, #6f68d8); color: #fff; box-shadow: 0 6px 24px -8px rgba(111, 104, 216, .7); }
.btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(47, 196, 143, .6); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-lg { padding: 14px 26px; font-size: 17px; border-radius: 12px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Sections */
section.block { padding: 84px 0; }
section.block.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--text-2); max-width: 680px; }
.page-head { padding: 72px 0 32px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { margin-top: 48px; font-size: 28px; }
.prose h3 { margin-top: 28px; }
.prose code, .formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; font-size: 14px; color: var(--gold); }
.formula { display: block; padding: 14px 18px; margin: 14px 0; font-size: 15px; }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--text-2); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 196, 143, .12); color: var(--teal); margin-bottom: 16px; font-weight: 800; }
.stat .v { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.stat .k { color: var(--muted); font-size: 14px; }
.pos { color: var(--up); } .neg { color: var(--down); }

/* Notices */
.notice { border: 1px solid rgba(245, 184, 61, .35); background: rgba(245, 184, 61, .07); border-radius: var(--radius); padding: 18px 22px; color: var(--text-2); }
.notice b { color: var(--gold); }
.notice.calm { border-color: var(--line-2); background: var(--ink-3); }

/* Pricing */
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border-color: transparent; background: linear-gradient(var(--ink-3), var(--ink-3)) padding-box, linear-gradient(135deg, #2fc48f, #8b85e8, #f5b83d) border-box; border: 1.5px solid transparent; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--text-2); }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: #1a1205; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; background: var(--ink-2); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }

/* Forms */
label { display: block; font-size: 14px; color: var(--text-2); margin: 16px 0 6px; font-weight: 500; }
input, select { width: 100%; font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus { outline: 2px solid var(--indigo-d); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 14px 0; }
.check input { width: auto; margin-top: 4px; }
.err { color: var(--down); font-size: 14px; min-height: 20px; margin-top: 8px; }
.ok { color: var(--up); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #0f1528; font-weight: 800; margin-bottom: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, rgba(111, 104, 216, .28), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(47, 196, 143, .18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-mark { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 30px 60px rgba(111, 104, 216, .35)); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-mark { max-width: 220px; order: -1; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 22px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 26px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }
.fine { font-size: 13px; color: var(--muted); max-width: 900px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
