/* ============================================================
   PRISM — light "paper + spectrum" design system.
   Serif display type, warm cream ground, rainbow accent.
   Bespoke per project: rewrite this file for the next site.
   ============================================================ */

:root {
  --bg:        #faf6ee;
  --bg-soft:   #f2ecdf;
  --panel:     #ffffff;
  --panel-2:   #fbf7ee;
  --border:    rgba(28,23,18,0.10);
  --border-strong: rgba(28,23,18,0.20);
  --text:      #1c1712;
  --text-dim:  #4a4238;
  --muted:     #7c7263;

  --accent:    #ff7a1a;
  --accent-ink:#ffffff;
  --accent-soft: rgba(255,122,26,0.12);
  --accent-glow: rgba(255,122,26,0.22);
  --accent2:   #a24bff;

  --spec: linear-gradient(110deg, #ff4d3d 0%, #ff8a00 20%, #ffce2e 38%, #2ed573 56%, #2f7bff 74%, #a24bff 92%);
  --spec-soft: linear-gradient(110deg, rgba(255,77,61,.12), rgba(255,138,0,.10), rgba(47,123,255,.12));

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --gutter: 24px;
  --section: 112px;
  --nav-h: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: #ffce2e; color: #1c1712; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }

/* ===== loader intro ===== */
#intro { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: transform .9s cubic-bezier(.76,0,.24,1); }
#intro .mark { width: 86px; height: 86px; animation: introPop .8s cubic-bezier(.34,1.56,.64,1); }
#intro .bar { width: 200px; height: 5px; border-radius: 999px; background: var(--border); overflow: hidden; }
#intro .bar i { display: block; height: 100%; width: 0; background: var(--spec); border-radius: 999px; animation: fillbar 1.05s cubic-bezier(.65,0,.35,1) forwards; }
#intro.done { transform: translateY(-100%); }
@keyframes introPop { 0% { transform: scale(.5) rotate(-10deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fillbar { to { width: 100%; } }

/* ===== cursor glow + scroll progress ===== */
.cursor-glow { position: fixed; top: -260px; left: -260px; width: 520px; height: 520px; pointer-events: none; z-index: 4; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.10) 0%, rgba(47,123,255,.05) 40%, transparent 68%); will-change: transform; }
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 200; background: var(--spec); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== background field ===== */
.bgfield { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 26s ease-in-out infinite alternate; }
.aurora.a1 { width: 640px; height: 640px; left: -140px; top: -180px; background: rgba(255,148,92,.38); }
.aurora.a2 { width: 560px; height: 560px; right: -140px; top: 8%; background: rgba(96,148,255,.30); animation-delay: -9s; }
.aurora.a3 { width: 520px; height: 520px; left: 34%; bottom: -260px; background: rgba(190,130,255,.26); animation-delay: -17s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(70px,50px) scale(1.15); } }
.grid { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 100%); mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 100%); opacity: .7; }
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== announcement ===== */
.announce { background: var(--spec-soft); border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; text-align: center; padding: 8px 16px; color: var(--text-dim); }
.announce b { color: var(--accent); font-weight: 700; }
.announce a { color: var(--accent); border-bottom: 1px dashed var(--accent); }

/* ===== nav ===== */
header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--muted); position: relative; transition: color .18s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--spec); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s cubic-bezier(.16,.84,.32,1); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a .pill { font-family: var(--mono); font-size: 10px; color: #fff; background: var(--accent); border-radius: 6px; padding: 1px 6px; margin-left: 5px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 12px; cursor: pointer; transition: transform .16s, box-shadow .24s, background .2s, border-color .2s; border: 1px solid transparent; position: relative; overflow: hidden; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--spec); background-size: 200% 100%; color: #fff; box-shadow: 0 8px 26px -10px rgba(255,122,26,.55); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .55s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255,122,26,.6); background-position: 100% 0; }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: color-mix(in srgb, var(--panel) 60%, transparent); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 15px; }

/* ===== type ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--accent-soft); }
.eyebrow .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.h1, .h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.h1 { font-size: clamp(46px, 7.2vw, 82px); line-height: 1.0; }
.h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; }
.h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--text-dim); max-width: 600px; }
.grad { background: var(--spec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-anim { background: linear-gradient(110deg, #ff4d3d, #ff8a00, #ffce2e, #2ed573, #2f7bff, #a24bff, #ff4d3d); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradshift 7s linear infinite; }
@keyframes gradshift { to { background-position: -300% 0; } }
.glow-text { text-shadow: 0 2px 30px rgba(255,122,26,.18); }

/* ===== hero (home) ===== */
.hero { padding: 84px 0 48px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero-copy { min-width: 0; }
.hero .h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; font-size: 19px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; }
.proof { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.proof svg { width: 15px; height: 15px; color: var(--accent); }

/* prism illustration */
.prism-fig { position: relative; }
.prism-fig svg { width: 100%; height: auto; }
.prism-fig .beam { opacity: 0; transform: scaleX(0); transform-origin: 0 50%; transition: opacity .3s ease, transform .9s cubic-bezier(.65,0,.35,1) .05s; }
.prism-fig .prism { opacity: 0; transform: translateY(-16px); transition: opacity .6s ease .2s, transform .8s cubic-bezier(.34,1.56,.64,1) .2s; }
.prism-fig .ray { opacity: 0; transform: translateX(-22px); transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.prism-fig.in .beam, .prism-fig.in .prism, .prism-fig.in .ray { opacity: 1; transform: none; }
.prism-fig .r1 { transition-delay: .4s; } .prism-fig .r2 { transition-delay: .47s; } .prism-fig .r3 { transition-delay: .54s; }
.prism-fig .r4 { transition-delay: .61s; } .prism-fig .r5 { transition-delay: .68s; } .prism-fig .r6 { transition-delay: .75s; }
.float-chip { position: absolute; border: 1px solid var(--border-strong); border-radius: 14px; background: color-mix(in srgb, var(--panel) 90%, transparent); backdrop-filter: blur(8px); padding: 12px 16px; box-shadow: 0 22px 44px -18px rgba(28,23,18,.28); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.float-chip b { display: block; font-family: var(--serif); font-size: 20px; color: var(--text); margin-top: 2px; }
.fc1 { top: 6%; left: -4%; animation: bob 6s ease-in-out infinite; }
.fc2 { bottom: 4%; right: -3%; animation: bob 7s ease-in-out infinite reverse; }
.fc3 { top: 46%; right: 2%; color: #0c7a3d; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ===== marquee ===== */
.marquee-sec { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee .row { display: flex; align-items: center; gap: 60px; padding-right: 60px; }
.logo-item { display: flex; align-items: center; gap: 10px; opacity: .6; filter: grayscale(1); transition: .3s; white-space: nowrap; }
.logo-item:hover { opacity: 1; filter: none; }
.logo-item svg { width: 20px; height: 20px; color: var(--text-dim); }
.logo-item .nm { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--text-dim); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== sections ===== */
section { padding: var(--section) 0; }
.sec-head { max-width: 700px; margin-bottom: 60px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head .lead { margin-top: 18px; }
.statement { padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.statement .h2 { max-width: 940px; }
.statement .dim { color: var(--muted); }

/* feature grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); padding: 30px 26px; transition: transform .22s, box-shadow .22s; overflow: hidden; will-change: transform; transform-style: preserve-3d; }
.card::after { content: ""; position: absolute; inset: 0; background: var(--spec-soft); opacity: 0; transition: .3s; }
.card:hover { box-shadow: 0 30px 64px -30px rgba(255,122,26,.4); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 16px; }
.card .more span { transition: transform .2s; }
.card:hover .more span { transform: translateX(4px); }

/* split / code */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.code { border: 1px solid var(--border); border-radius: var(--radius); background: #14110d; overflow: hidden; font-family: var(--mono); font-size: 13px; line-height: 1.9; box-shadow: 0 30px 70px -30px rgba(28,23,18,.5); }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: #0d0b09; }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; } .code-bar i:nth-child(1){background:#ff5f57}.code-bar i:nth-child(2){background:#febc2e}.code-bar i:nth-child(3){background:#28c840}
.code-bar span { font-size: 12px; color: #8a8a8a; margin-left: 8px; }
.code pre { padding: 18px 20px; overflow-x: auto; }
.c-kw { color: #c792ea; } .c-fn { color: #82aaff; } .c-str { color: #c3e88d; } .c-num { color: #f78c6c; } .c-cm { color: #546e7a; } .c-p { color: #89ddff; }
.checklist { list-style: none; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; padding: 11px 0; font-size: 15px; color: var(--text-dim); }
.checklist li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; background: var(--panel); will-change: transform; }
.step .n { font-family: var(--serif); font-size: 46px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 36px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.stat .v { font-family: var(--serif); font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; background: var(--spec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; background: var(--panel); display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.quote .stars { color: #ffce2e; letter-spacing: 2px; }
.quote p { font-size: 15px; color: var(--text-dim); }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--spec); }
.who .nm { font-size: 14px; font-weight: 600; }
.who .rl { font-size: 12.5px; color: var(--muted); }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; background: var(--panel); display: flex; flex-direction: column; will-change: transform; }
.tier.featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--spec) border-box; box-shadow: 0 30px 70px -30px rgba(255,122,26,.4); }
.ribbon { position: absolute; top: -12px; right: 22px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: var(--spec); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.tier .name { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.tier .price { font-family: var(--serif); font-size: 48px; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 4px; }
.tier .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.tier .desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.tier ul { list-style: none; margin-bottom: 26px; }
.tier li { font-size: 14px; padding: 7px 0; color: var(--text-dim); display: flex; gap: 10px; }
.tier li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--panel); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-weight: 600; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .x { font-family: var(--mono); color: var(--accent); transition: .2s; }
.faq details[open] summary .x { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* cta */
.cta { text-align: center; }
.cta-box { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 76px 32px; overflow: hidden; background: linear-gradient(150deg, var(--spec-soft), transparent 55%), var(--panel); }
.cta-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; background: radial-gradient(circle, rgba(255,122,26,.24), transparent 65%); border-radius: 50%; filter: blur(40px); }
.cta-box .h2 { max-width: 700px; margin: 0 auto 16px; position: relative; }
.cta-box .lead { margin: 0 auto 34px; position: relative; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 52px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.foot-grid a { display: block; font-size: 14px; color: var(--text-dim); padding: 5px 0; transition: color .15s; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { font-size: 14px; color: var(--muted); margin: 14px 0 20px; max-width: 260px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: .2s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 16px; height: 16px; }
.newsletter { margin-top: 24px; display: flex; gap: 10px; max-width: 300px; }
.newsletter input { flex: 1; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; color: var(--text); font-size: 13px; font-family: var(--sans); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button { font-family: var(--mono); font-size: 12px; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 10px; padding: 0 16px; cursor: pointer; font-weight: 700; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.foot-bottom .links { display: flex; gap: 22px; }
.foot-bottom a { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.foot-bottom a:hover { color: var(--accent); }

/* ===================== INNER PAGES ===================== */
.page-hero { padding: 84px 0 24px; }
.page-hero .h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(38px,5.5vw,66px); }
.page-hero .lead { margin: 0; }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 6px; color: var(--border-strong); }
.breadcrumb .cur { color: var(--accent); }

/* prose (docs / blog / legal) */
.prose { font-size: 16px; color: var(--text-dim); }
.prose h2 { font-family: var(--serif); font-size: 27px; margin: 48px 0 16px; letter-spacing: -0.01em; color: var(--text); }
.prose h3 { font-family: var(--serif); font-size: 20px; margin: 32px 0 12px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--panel-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; color: #c2410c; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 8px 0 8px 18px; margin: 20px 0; color: var(--muted); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* docs layout */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.docs-nav { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
.docs-nav .group { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 6px; }
.docs-nav a { font-size: 14px; color: var(--muted); padding: 7px 12px; border-radius: 8px; transition: .15s; }
.docs-nav a:hover { color: var(--text); background: var(--panel); }
.docs-nav a.active { color: var(--accent); background: var(--accent-soft); }
.docs-body { min-width: 0; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); overflow: hidden; transition: .22s; display: flex; flex-direction: column; will-change: transform; }
.post-card:hover { border-color: var(--accent); box-shadow: 0 26px 60px -30px rgba(255,122,26,.4); }
.post-cover { height: 150px; background: var(--spec-soft); position: relative; }
.post-cover .tag { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; color: #fff; background: var(--spec); padding: 3px 10px; border-radius: 6px; font-weight: 700; }
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.post-card p { font-size: 14px; color: var(--muted); }
.post-card .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: auto; }

/* changelog timeline */
.timeline { border-left: 2px solid var(--border); margin-left: 8px; padding-left: 30px; }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before { content: ""; position: absolute; left: -37px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-item .date { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.tl-item h3 { margin: 6px 0 8px; }
.tl-item p { font-size: 14.5px; color: var(--muted); }
.tag-pill { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 6px; margin-left: 8px; border: 1px solid var(--border); color: var(--muted); }
.tag-pill.major { color: var(--accent); border-color: var(--accent); }

/* status */
.status-list { display: flex; flex-direction: column; gap: 10px; }
.status-row { display: grid; grid-template-columns: 200px 1fr 90px; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.status-row .svc { font-weight: 600; font-size: 14px; }
.status-row .bars { display: flex; gap: 4px; }
.status-row .bars i { width: 10px; height: 22px; border-radius: 3px; background: var(--accent); opacity: .85; }
.status-row .bars i.dim { opacity: .18; }
.status-row .ok { font-family: var(--mono); font-size: 12px; color: var(--accent); text-align: right; }
.status-row .ok.warn { color: #febc2e; }

/* careers */
.roles { display: flex; flex-direction: column; gap: 12px; }
.role { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); transition: .2s; }
.role:hover { border-color: var(--accent); }
.role h3 { font-size: 16px; }
.role .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.role .loc { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 14px; font-family: var(--sans); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }

/* utility */
.muted { color: var(--muted); }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.divider { border-top: 1px solid var(--border); }

/* reveal + hero-anim */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.84,.32,1), transform .7s cubic-bezier(.16,.84,.32,1); }
.reveal.in { opacity: 1; transform: none; }
.hero-anim { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,.84,.32,1), transform .8s cubic-bezier(.16,.84,.32,1); }
.hero-anim.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .grid3, .steps, .pricing, .quotes, .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .prism-fig { max-width: 440px; margin: 0 auto; }
  :root { --section: 80px; }
}
