/* Crude Oracle — terminal-noir marketing site */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,900;1,9..144,500&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0c0b09;
  --bg-2: #131109;
  --surface: #17140e;
  --surface-2: #1e1a12;
  --border: #2b2519;
  --border-bright: #3a3120;
  --text: #f0ebe0;
  --muted: #a99d86;
  --faint: #7a7059;
  --amber: #e0a12a;
  --amber-soft: rgba(224, 161, 42, 0.12);
  --bull: #4fb477;
  --bear: #d8654f;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17px; line-height: 1.65; overflow-x: hidden; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(224,161,42,0.08), transparent 60%),
    radial-gradient(100% 60% at 100% 0%, rgba(79,180,119,0.04), transparent 50%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); }

.nav { position: sticky; top: 0; z-index: 20; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--border); }
.nav .row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--amber-soft); border: 1px solid var(--border-bright); font-size: 17px; }
.brand b { font-family: 'IBM Plex Mono', monospace; font-weight: 600; letter-spacing: 0.16em; font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.price-tag { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: var(--amber); border: 1px solid var(--border-bright); border-radius: 999px; padding: 7px 14px; background: var(--amber-soft); }
@media (max-width: 640px){ .nav-links a:not(.price-tag){ display:none; } }

.ticker { border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; white-space: nowrap; position: relative; }
.ticker .track { display: inline-flex; gap: 40px; padding: 10px 0; animation: marquee 38s linear infinite; }
.ticker .q { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }
.ticker .q b { color: var(--text); font-weight: 600; }
.ticker .up { color: var(--bull); } .ticker .down { color: var(--bear); }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

.hero { padding: 92px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; }
@media (max-width: 860px){ .hero-grid{ grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 900; font-optical-sizing: auto; font-size: clamp(40px, 6.2vw, 74px); line-height: 0.98; letter-spacing: -0.02em; margin: 20px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--amber); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 0 30px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--amber); color: #201603; }
.btn-primary:hover { text-decoration: none; background: #f0b03e; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-bright); color: var(--text); }
.btn-ghost:hover { text-decoration: none; border-color: var(--amber); color: var(--amber); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-bright); }
.badge.live { color: var(--bull); border-color: color-mix(in srgb, var(--bull) 40%, var(--border)); background: color-mix(in srgb, var(--bull) 12%, transparent); }
.badge.computed { color: var(--muted); }
.badge.model { color: var(--amber); background: var(--amber-soft); }
.badge.ai { color: #b98bd8; border-color: color-mix(in srgb, #b98bd8 40%, var(--border)); background: color-mix(in srgb, #b98bd8 12%, transparent); }

.mock { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-bright); border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.03); }
.mock .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock .head span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.mock .hero-price .sym { font-family:'IBM Plex Mono',monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mock .hero-price .val { font-family:'IBM Plex Mono',monospace; font-size: 40px; font-weight: 600; line-height: 1.1; }
.mock .hero-price .chg { font-family:'IBM Plex Mono',monospace; font-size: 14px; color: var(--bull); }
.mock .grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.mock .cell { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.mock .cell .k { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }
.mock .cell .v { font-family: 'IBM Plex Mono', monospace; font-size: 16px; margin-top: 3px; }
.mock .cell .v.up { color: var(--bull); } .mock .cell .v.down { color: var(--bear); }

section { padding: 60px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.01em; margin: 12px 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px){ .features{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .features{ grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.card:hover { border-color: var(--border-bright); transform: translateY(-3px); background: var(--surface-2); }
.card .ic { font-size: 22px; margin-bottom: 12px; display: block; }
.card h3 { font-size: 17px; margin: 0 0 7px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.6; }

.prov { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 720px){ .prov{ grid-template-columns: 1fr 1fr; } }
.prov .p { border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: var(--surface); }
.prov .p .lbl { margin-bottom: 10px; }
.prov .p p { font-size: 13.5px; color: var(--muted); margin: 0; }

.pricing { text-align: center; }
.pricing .plan { display: inline-block; padding: 40px 48px; border-radius: 20px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-bright); box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8); }
.pricing .amt { font-family: 'Fraunces', serif; font-size: 64px; font-weight: 900; line-height: 1; }
.pricing .amt span { font-size: 26px; color: var(--muted); font-weight: 400; }
.pricing .subp { color: var(--amber); font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.08em; margin: 8px 0 22px; }
.pricing ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: inline-block; }
.pricing li { color: var(--muted); font-size: 14.5px; padding: 5px 0 5px 26px; position: relative; }
.pricing li::before { content: "\2192"; position: absolute; left: 0; color: var(--amber); }

.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-family: 'IBM Plex Mono', monospace; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }

.foot { border-top: 1px solid var(--border); padding: 40px 0 60px; color: var(--faint); }
.foot .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .links { display: flex; gap: 22px; }
.foot a { color: var(--muted); font-size: 14px; }
.disclaimer { color: var(--faint); font-size: 13px; margin-top: 18px; max-width: 70ch; line-height: 1.6; }

.article { padding: 70px 0; max-width: 720px; }
.article h1 { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.02em; margin: 14px 0 6px; }
.article .date { font-family: 'IBM Plex Mono', monospace; color: var(--faint); font-size: 13px; margin-bottom: 30px; }
.article h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; margin: 34px 0 10px; }
.article p { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1{animation-delay:.08s}.reveal.d2{animation-delay:.16s}.reveal.d3{animation-delay:.24s}.reveal.d4{animation-delay:.32s}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .reveal{ animation: none; opacity: 1; transform: none; } .ticker .track{ animation: none; } }
