/* Claw Lords - coming soon */

@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/syne.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('/assets/fonts/jetbrainsmono.woff2') format('woff2'); }

:root {
  --ink: #07070A;
  --ink-2: #0E0E14;
  --ink-3: #15151D;
  --bone: #F3EFE7;
  --bone-70: rgba(243, 239, 231, .7);
  --bone-50: rgba(243, 239, 231, .5);
  --bone-30: rgba(243, 239, 231, .3);
  --line: rgba(243, 239, 231, .10);
  --line-2: rgba(243, 239, 231, .18);
  --ember: #FF5A36;
  --ember-hi: #FFC46B;
  --ember-lo: #B92A17;
  --ember-grad: linear-gradient(135deg, #FFC46B 0%, #FF5A36 55%, #D8371F 100%);
  --display: 'Syne', 'Avenir Next', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--bone); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; min-height: 100svh; overflow-x: hidden; }
.defs { position: absolute; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .01em; }
.dim { color: var(--bone-50); }
::selection { background: var(--ember); color: var(--ink); }

/* brand */
.mark { width: 36px; height: 36px; display: block; flex: none; }
.mark.big { width: 64px; height: 64px; margin: 0 auto 20px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--bone); line-height: 1; }

/* header mark: "ignite" on page load (the prompt chevron draws itself, fills, then the cursor lands) */
.mark.ignite { overflow: visible; }
.mark.ignite .chev { fill: var(--bone); }
.mark.ignite .cur { fill: var(--ember); }
.js .mark.ignite .chev { fill-opacity: 0; stroke: var(--bone); stroke-width: 1.6; stroke-dasharray: 160; stroke-dashoffset: 160; animation: mk-draw .8s ease-out forwards, mk-fill .4s ease-out .7s forwards; }
.js .mark.ignite .cur { transform-origin: 36px 51px; transform: scaleX(0); animation: mk-base .35s cubic-bezier(.2, .8, .2, 1) .95s forwards; }
@keyframes mk-draw { to { stroke-dashoffset: 0; } }
@keyframes mk-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes mk-base { to { transform: scaleX(1); } }
.js #wordmark .w1 { visibility: hidden; }
.js #wordmark .w1.on { visibility: visible; }
.wordmark .cur::after { height: .85em; width: .09em; }

/* header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.soon { font-family: var(--mono); font-size: .78rem; color: var(--bone-70); letter-spacing: .04em; text-transform: uppercase; position: relative; padding-bottom: 6px; }
.soon::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--ember), transparent); }
.prompt { color: var(--ember); }
.pulse, .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 90, 54, .6); animation: pulse 2.2s ease-out infinite; display: inline-block; }
.live { background: #5CE07A; box-shadow: 0 0 0 0 rgba(92, 224, 122, .6); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 54, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px var(--pad) 56px; overflow: hidden; isolation: isolate; }
.glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% 0%, rgba(255, 90, 54, .16), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(255, 196, 107, .07), transparent 60%);
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 72%); }
.hero-grid { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: .98; }
h1 .l { display: block; min-height: 1em; text-wrap: balance; }
h1 .l + .l { color: var(--bone-70); }
.tag { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2.3vw, 1.6rem); letter-spacing: -.01em; margin: 20px 0 16px; min-height: 1.4em; color: var(--bone); }
.tag > span { display: inline-block; margin-right: .45em; }
.tag i, .pillars .w i { font-style: normal; color: var(--ember); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--bone-70); max-width: 560px; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.005em; color: var(--ink); text-decoration: none; background: var(--ember-grad); padding: 16px 28px; border-radius: 12px; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; box-shadow: 0 10px 30px -12px rgba(255, 90, 54, .6); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 90, 54, .75); filter: saturate(1.08); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: default; transform: none; }
.quiet { color: var(--bone-70); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.quiet:hover { color: var(--bone); border-color: var(--ember); }

/* text that will be typed stays hidden until its turn */
.js h1 .l, .js .tag > span { visibility: hidden; }
.js h1 .l.on, .js .tag > span.on { visibility: visible; }
.wordmark .sized { display: inline-block; }
/* typed text sits on top of an invisible copy of itself, so the layout never moves while it types */
.sized { position: relative; }
.sized .ghost { visibility: hidden; }
.sized .typed { position: absolute; left: 0; top: 0; right: 0; }
.wordmark .typed, .tag .typed { right: auto; white-space: nowrap; }

/* typing cursor */
.cur::after { content: ''; display: inline-block; width: .11em; height: .95em; background: var(--ember); margin-left: .06em; vertical-align: -.08em; animation: blink 1s steps(2, start) infinite; border-radius: 1px; }
.cur.done::after { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* reveal */
/* hidden instantly when JS takes over (no fade-out flash), then eased in */
.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .fade { opacity: 0; transform: translateY(14px); }
.js .fade.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }

/* drifting task cards */
.drift { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); }
.drift .t { position: absolute; left: var(--x); top: 100%; display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: .8rem; font-weight: 500; color: var(--bone-50); background: rgba(14, 14, 20, .72); border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; opacity: 0; will-change: transform; animation: rise var(--dur) linear var(--delay) infinite; transform: translateY(0) scale(var(--s)); }
.drift .t b { font-weight: 600; color: var(--ember); margin-right: 2px; }
.drift .t.ok b { color: #5CE07A; }
@keyframes rise { 0% { transform: translateY(0) scale(var(--s)); opacity: 0; } 6% { opacity: .72; } 90% { opacity: .42; } 100% { transform: translateY(-130vh) scale(var(--s)); opacity: 0; } }

/* console */
.console { position: relative; scroll-margin: 24px; background: rgba(14, 14, 20, .82); border: 1px solid var(--line-2); border-radius: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.console::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--ember), transparent); opacity: .8; }
.console-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console-top .dim { margin-left: auto; }
.console-body { padding: 18px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: .96rem; line-height: 1.5; transition: opacity .35s ease, transform .35s ease; }
.msg.a { align-self: flex-start; background: rgba(243, 239, 231, .06); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--bone); }
.msg.u { align-self: flex-end; background: rgba(255, 90, 54, .16); border: 1px solid rgba(255, 90, 54, .45); border-bottom-right-radius: 5px; color: var(--bone); font-weight: 600; }
.msg.out { opacity: 0; transform: translateY(-6px); }
.msg.wait { min-width: 34px; padding: 10px 14px; }
.msg.wait i { display: inline-block; width: .45em; height: 1em; background: var(--ember); vertical-align: -.15em; animation: blink 1s steps(2, start) infinite; border-radius: 1px; }

/* what */
.what { padding: clamp(80px, 10vw, 140px) 0 clamp(50px, 6vw, 90px); border-top: 1px solid var(--line); }
.big { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--bone-70); max-width: 760px; margin-bottom: 56px; }
.pillars { list-style: none; margin: 0; padding: 0; }
.pillars li { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 20px 40px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars .w { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.02em; line-height: 1; }
.pillars .d { color: var(--bone-70); max-width: 640px; font-size: 1.02rem; }

/* server */
.server { padding: clamp(50px, 6vw, 90px) 0 clamp(80px, 10vw, 140px); }
.server-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.server-copy p { color: var(--bone-70); font-size: 1.05rem; max-width: 560px; }
.status { background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.status-top { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--bone-50); }
.status pre { margin: 0; padding: 20px 22px; font-size: .86rem; line-height: 1.75; color: var(--bone); white-space: pre; overflow-x: auto; min-height: 190px; }

/* waitlist */
.waitlist { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); position: relative; }
.waitlist::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 500px at 90% 20%, rgba(255, 90, 54, .10), transparent 60%); }
.wl-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.wl-copy p { color: var(--bone-70); font-size: 1.05rem; max-width: 480px; }
.wl-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span:first-child { font-size: .9rem; font-weight: 600; color: var(--bone-70); }
.field em { font-style: normal; font-weight: 500; color: var(--bone-30); margin-left: 6px; }
.field input, .field select { font: inherit; font-size: 1rem; color: var(--bone); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; width: 100%; outline: 0; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--bone-30); }
.field input:focus, .field select:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 90, 54, .15); }
.field.bad input { border-color: var(--ember); }
.select { position: relative; display: block; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--bone-50); border-bottom: 2px solid var(--bone-50); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid, .select select option[value=""] { color: var(--bone-30); }
.select select option { color: var(--bone); background: var(--ink-2); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.verify { min-height: 65px; width: fit-content; max-width: 100%; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.verify iframe { display: block; }
.verify:empty { background: transparent; border-color: transparent; }
.err { color: #FFB1A1; font-size: .95rem; margin: 0; }
.fine { font-size: .85rem; color: var(--bone-50); margin: 4px 0 0; }
.wl-form .btn { align-self: flex-start; margin-top: 6px; }
.wl-done { text-align: center; padding: 40px 28px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 18px; }
.done-text { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -.01em; line-height: 1.25; min-height: 2.4em; overflow-wrap: anywhere; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-brand .copy { width: 100%; margin: 10px 0 0; color: var(--bone-50); font-size: .9rem; }
.foot-contact p { margin: 0 0 8px; color: var(--bone-50); font-size: .92rem; }
.foot-contact a { color: var(--bone); text-decoration: none; margin-left: 8px; border-bottom: 1px solid var(--line-2); }
.foot-contact a:hover { border-color: var(--ember); }
.legal { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.7; text-transform: none; letter-spacing: 0; color: var(--bone-30); max-width: 900px; }
.legal a { color: var(--bone-50); text-decoration: none; }
.legal a:hover { color: var(--bone); }

/* no-JS fallback page */
body.plain { display: grid; place-items: center; padding: 40px; }
.plain-wrap { text-align: center; max-width: 520px; }
.plain-msg { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .server-grid, .wl-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; padding-bottom: 56px; }
  .console-body { min-height: 240px; }
  .pillars li { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding: 18px 20px; }
  .soon { font-size: .7rem; }
  h1 { font-size: clamp(2.35rem, 11.5vw, 3.2rem); }
  .tag { font-size: 1.1rem; }
  .tag > span { margin-right: .35em; }
  .cta { gap: 18px; }
  .btn { width: 100%; text-align: center; }
  .quiet { margin: 0 auto; }
  .console-body { padding: 14px; min-height: 230px; }
  .msg { max-width: 94%; font-size: .93rem; }
  .drift .t { font-size: .74rem; padding: 8px 11px; }
  .status pre { font-size: .78rem; }
  .wl-form .btn { align-self: stretch; }
  .foot-contact a { display: block; margin: 2px 0 0; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift .t { animation: none; opacity: .5; top: auto; bottom: calc(var(--y) * 1%); }
  .pulse, .live { animation: none; }
  .js .mark.ignite .chev, .js .mark.ignite .cur { animation: none; fill-opacity: 1; stroke-opacity: 0; transform: none; }
  .js #wordmark .w1 { visibility: visible; }
  .js .reveal, .js .fade { opacity: 1; transform: none; transition: none; }
  .cur::after { animation: none; }
}
