/* SomeonesBot? site. Same design system as someonesson.xyz (aurora, liquid glass, Instrument fonts),
   tinted with the bot's blue and cyan brand colors. */
:root {
  --bg: #05060b;
  --navy: #0B1530;
  --ink: #eef1f8;
  --ink-2: rgba(238, 241, 248, .66);
  --ink-3: rgba(238, 241, 248, .40);
  --blue: #1E6BFF;
  --deep: #0A3FF0;
  --cyan: #22D3EE;
  --cyan-2: #3FE3FF;
  --accent: #3FE3FF;
  --accent-2: #5b8cff;
  --accent-3: #22D3EE;
  --danger: #ED4245;
  --success: #57F287;
  --gold: #ffd36b;
  --radius: 28px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code, kbd { font-family: var(--mono); font-size: .86em; padding: .12em .45em; border-radius: 7px; background: rgba(63,227,255,.08); color: var(--cyan-2); box-shadow: inset 0 0 0 1px rgba(63,227,255,.16); overflow-wrap: anywhere; }
.mono { font-family: var(--mono); letter-spacing: .08em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.grad { background: linear-gradient(90deg, var(--cyan-2), var(--accent-2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
em { font-style: normal; background: linear-gradient(90deg, var(--cyan-2), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -20vmax; background: radial-gradient(circle, #0A3FF0 0%, transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 45vmax; height: 45vmax; right: -12vmax; top: 10vh; background: radial-gradient(circle, #1E6BFF 0%, transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -20vmax; background: radial-gradient(circle, #22D3EE 0%, transparent 65%); animation: drift3 28s ease-in-out infinite alternate; opacity: .32; }
.b4 { width: 25vmax; height: 25vmax; left: 55vw; top: 45vh; background: radial-gradient(circle, #7c5cff 0%, transparent 65%); animation: drift1 36s ease-in-out infinite alternate-reverse; opacity: .22; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, 30vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-15vw, -25vh) scale(1.2); } }
.grain { position: absolute; inset: -50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .07; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

/* ---------- Liquid glass ---------- */
.glass {
  --mx: 50%; --my: 0%;
  position: relative;
  background: radial-gradient(120% 80% at var(--mx) var(--my), rgba(255,255,255,.10), transparent 55%), linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,.04));
  backdrop-filter: blur(22px) saturate(180%) brightness(1.08); -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.08);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.06), inset 1px 0 0 rgba(255,255,255,.08), inset -1px 0 0 rgba(255,255,255,.05), 0 20px 60px -20px rgba(0,0,0,.65), 0 2px 10px rgba(0,0,0,.25);
  isolation: isolate;
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.05) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(120, 220, 255, .16), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); z-index: 0; }
.glass:hover::after { opacity: 1; }
.glass > * { position: relative; z-index: 2; }

/* ---------- Coming soon ribbon ---------- */
.soon-bar { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 16px; font-size: 13px; text-align: center; color: var(--ink); background: linear-gradient(90deg, rgba(10,63,240,.55), rgba(30,107,255,.5), rgba(34,211,238,.45)); border-bottom: 1px solid rgba(255,255,255,.12); }
.soon-bar b { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 54px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; transition: top .4s var(--ease); }
.nav-wrap.stuck { top: 16px; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 18px; border-radius: 999px; transition: transform .5s var(--ease); max-width: 100%; }
.nav.hidden { transform: translateY(-160%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand-logo { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(34,160,255,.6)); transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .25s, background .25s; white-space: nowrap; }
.nav ul a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.nav ul a.active { color: var(--ink); background: rgba(255,255,255,.1); }
.nav-cta { color: var(--bg) !important; background: var(--ink) !important; font-weight: 600; }

/* ---------- Layout bits ---------- */
section { position: relative; padding: 130px max(24px, 6vw); }
.eyebrow { font-size: 12px; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(36px, 5.6vw, 80px); line-height: 1; letter-spacing: -.035em; font-weight: 600; max-width: 16ch; }
h2 .serif { letter-spacing: -.01em; }
h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; line-height: 1.2; }
.section-head { margin-bottom: 60px; }
.section-head p.lead { color: var(--ink-2); max-width: 56ch; margin-top: 20px; font-size: 18px; }
.link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); transition: transform .3s var(--ease), color .3s; }
.link:hover { transform: translateX(4px); color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; color: var(--ink); font-family: inherit; cursor: pointer; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn img, .btn svg { width: 20px; height: 20px; }
.btn.ghost { color: var(--ink-2); background: none; }
.btn.ghost:hover { color: var(--ink); }
.btn.primary { background: linear-gradient(135deg, var(--deep), var(--blue) 55%, var(--cyan)); box-shadow: 0 10px 34px -10px rgba(30,107,255,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.soon { cursor: not-allowed; }
.btn.soon:hover { transform: none; }
.btn .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.28); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(255,211,107,.1); color: var(--gold); border: 1px solid rgba(255,211,107,.3); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 5vw; padding-top: 150px; }
.hero .badge { margin-bottom: 26px; }
.hero-title { font-size: clamp(56px, 9vw, 160px); line-height: .9; letter-spacing: -.055em; font-weight: 700; display: flex; flex-direction: column; margin-bottom: 30px; }
.hero-title .serif { font-weight: 400; letter-spacing: -.03em; padding-left: .5em; background: linear-gradient(90deg, var(--cyan-2), var(--accent-2) 60%, #8fa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split { white-space: nowrap; display: block; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(80%) rotate(8deg); filter: blur(12px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); }
.split .ch.in { opacity: 1; transform: none; filter: none; }
.line-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .55s; padding-right: .1em; }
.line-reveal.in { clip-path: inset(0 -10% 0 0); }
.hero-sub { font-size: clamp(18px, 1.8vw, 23px); color: var(--ink-2); max-width: 34ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* bot profile card in the hero */
.bot-card { width: min(440px, 100%); justify-self: center; padding: 14px; border-radius: 36px; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -12px; } }
.bot-banner { height: 116px; border-radius: 24px; position: relative; overflow: hidden; background: radial-gradient(70% 120% at 85% 120%, rgba(255,255,255,.35), transparent 60%), radial-gradient(60% 100% at 10% -20%, rgba(255,255,255,.22), transparent 60%), linear-gradient(120deg, #0A3FF0, #1E6BFF 50%, #22D3EE); }
.bot-banner::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 90px; border-radius: 50%; border-top: 1.5px solid rgba(255,255,255,.35); }
.bot-id { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 12px; margin-top: -46px; }
.bot-status { font-size: 10px; color: var(--gold); padding: 5px 10px; border-radius: 999px; background: rgba(255,211,107,.1); box-shadow: inset 0 0 0 1px rgba(255,211,107,.3); margin-bottom: 8px; }
.bot-card > .bot-name { padding: 12px 14px 0; }
.bot-avatar { width: 92px; height: 92px; border-radius: 50%; padding: 14px; flex: none; background: radial-gradient(circle at 30% 20%, #ffffff, #e8f1ff 60%, #cfe0ff); box-shadow: 0 0 0 6px #10131f, 0 10px 30px rgba(30,107,255,.45); position: relative; }
.bot-avatar img { width: 100%; height: 100%; }
.bot-avatar::after { content: ""; position: absolute; right: 2px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #10131f; }
.bot-name { min-width: 0; display: flex; flex-direction: column; }
.bot-name b { font-size: 22px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.bot-name .app { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: #5865F2; color: #fff; }
.bot-name span { font-size: 13px; color: var(--ink-3); }
.bot-body { padding: 18px 14px 8px; display: grid; gap: 14px; }
.bot-body .k { font-size: 10px; color: var(--ink-3); display: block; margin-bottom: 4px; }
.bot-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-roles span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: inline-flex; align-items: center; gap: 6px; }
.bot-roles i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--cyan)); }
.bot-row { display: flex; justify-content: space-between; border-top: 1px dashed rgba(255,255,255,.15); padding-top: 14px; }
.bot-row div { display: flex; flex-direction: column; }
.bot-row .big { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Stats strip ---------- */
.strip { padding-block: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 26px 34px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.stats span { font-size: 12px; color: var(--ink-3); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease); }
.feat:hover { transform: translateY(-4px); }
.feat .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(145deg, rgba(63,227,255,.2), rgba(30,107,255,.12)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px -8px rgba(30,107,255,.6); margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: 15.5px; }
.feat.wide { grid-column: span 2; background: linear-gradient(150deg, rgba(30,107,255,.22), rgba(34,211,238,.08)); }

/* ---------- Customize ---------- */
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.custom-copy p { color: var(--ink-2); margin-bottom: 14px; max-width: 46ch; }
.custom-copy ul { list-style: none; display: grid; gap: 10px; margin: 24px 0; }
.custom-copy li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.custom-copy li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transform: translateY(-2px); }

/* Discord-style chat mock */
.discord { padding: 14px; border-radius: 28px; }
.dc-win { border-radius: 18px; background: #313338; overflow: hidden; font-family: "gg sans", "Instrument Sans", system-ui, sans-serif; font-size: 14.5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.dc-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.35); color: #f2f3f5; font-weight: 600; font-size: 14px; }
.dc-top span { color: #80848e; font-weight: 400; font-size: 18px; }
.dc-body { padding: 14px 16px 6px; display: grid; gap: 14px; }
.dc-msg { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.dc-av { width: 38px; height: 38px; border-radius: 50%; background: var(--c, #5865F2); display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; overflow: hidden; }
.dc-av.bot { background: #fff; padding: 6px; }
.dc-name { font-weight: 600; color: #f2f3f5; display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.dc-name .app { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #5865F2; color: #fff; font-weight: 600; letter-spacing: .02em; }
.dc-name time { font-weight: 400; font-size: 11.5px; color: #949ba4; }
.dc-text { color: #dbdee1; }
.dc-cmd { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; color: #dbdee1; }
.dc-cmd b { color: #c9cdfb; background: rgba(88,101,242,.3); padding: 0 4px; border-radius: 4px; font-weight: 500; }
.dc-cmd i { font-style: normal; padding: 1px 6px; border-radius: 4px; background: #2b2d31; color: #dbdee1; font-size: 13px; }
.dc-cmd i em { background: none; color: #949ba4; -webkit-text-fill-color: #949ba4; }
.dc-embed { margin-top: 6px; display: grid; gap: 4px; padding: 10px 14px 12px; border-radius: 4px; background: #2b2d31; border-left: 4px solid var(--c, var(--blue)); max-width: 440px; }
.dc-embed b { color: #f2f3f5; font-size: 14.5px; }
.dc-embed p { color: #dbdee1; font-size: 13.5px; }
.dc-embed .row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; }
.dc-embed .row div { display: flex; flex-direction: column; color: #dbdee1; }
.dc-embed .row div b { font-size: 12.5px; }
.dc-input { margin: 10px 16px 16px; padding: 11px 14px; border-radius: 8px; background: #383a40; color: #6d6f78; font-size: 14px; }

/* ---------- Image showcase ---------- */
.cards { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.card-frame { padding: 14px; border-radius: 30px; }
.card-frame figcaption { padding: 16px 8px 4px; display: flex; flex-direction: column; gap: 4px; }
.card-frame figcaption span { color: var(--ink-2); font-size: 15px; }
.welcome-card { aspect-ratio: 1024 / 450; border-radius: 22px; overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, #0A3FF0, #1E6BFF 48%, #22D3EE); container-type: inline-size; }
.welcome-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 110%, rgba(255,255,255,.28), transparent 60%), radial-gradient(50% 70% at 10% -10%, rgba(255,255,255,.18), transparent 60%); }
.welcome-card > * { position: relative; }
.wc-av { width: 15cqw; aspect-ratio: 1; max-width: 140px; border-radius: 50%; box-shadow: 0 0 0 1.1cqw #3FE3FF, 0 0 0 1.8cqw rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.35); background: linear-gradient(135deg, #ffb36b, #ff5fa2); display: grid; place-items: center; font-weight: 700; font-size: 9cqw; color: #fff; margin-bottom: 3cqw; margin-top: 1cqw; }
.wc-title { font-size: 7.4cqw; font-weight: 800; letter-spacing: .02em; color: #fff; line-height: 1; text-shadow: 0 4px 20px rgba(0,0,0,.25); }
.wc-name { font-size: 4.4cqw; font-weight: 700; color: #b7f6ff; margin-top: 1.4cqw; }
.wc-sub { font-size: 3cqw; color: rgba(255,255,255,.85); margin-top: .6cqw; }
.rank-card { aspect-ratio: 934 / 282; border-radius: 22px; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4cqw; padding: 0 5cqw; background: linear-gradient(135deg, #0B1530, #10204A); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); container-type: inline-size; overflow: hidden; }
.rc-av { width: 19cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #5ef0c8, #1E6BFF); display: grid; place-items: center; font-weight: 700; font-size: 7cqw; color: #fff; box-shadow: 0 0 0 .8cqw #22D3EE; }
.rc-main { display: flex; flex-direction: column; gap: 1.6cqw; }
.rc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; }
.rc-top b { font-size: 4.6cqw; color: #fff; }
.rc-top span { font-size: 2.8cqw; color: rgba(255,255,255,.65); font-weight: 600; white-space: nowrap; }
.rc-top span i { font-style: normal; font-size: 5cqw; color: #fff; margin: 0 1.4cqw 0 .4cqw; }
.rc-top span i.lv { color: #22D3EE; }
.rc-bar { height: 4.4cqw; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.rc-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22D3EE, #1E6BFF); transition: width 1.6s var(--ease) .3s; }
.rank-card.in .rc-bar span, .reveal.in .rc-bar span { width: 52.8%; }
.rc-xp { display: flex; justify-content: space-between; font-size: 2.6cqw; color: rgba(255,255,255,.7); font-weight: 600; }
.stack { display: grid; gap: 18px; }
.color-card { display: flex; gap: 14px; align-items: center; }
.swatch { width: 120px; aspect-ratio: 1; border-radius: 20px; background: var(--c); display: grid; place-items: end start; padding: 12px; font: 600 13px var(--mono); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); box-shadow: 0 10px 30px -10px var(--c); transition: background .6s var(--ease), box-shadow .6s; }

/* ship card (700x260): pink to purple to blue, two avatars, heart fills to the match % */
.ship-card { aspect-ratio: 700 / 260; border-radius: 22px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; padding: 0 6cqw; background: linear-gradient(110deg, #ff5fa2, #a855f7 50%, #1E6BFF); container-type: inline-size; }
.ship-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 120%, rgba(255,255,255,.25), transparent 60%); }
.ship-card > * { position: relative; }
.sc-av { width: 22cqw; aspect-ratio: 1; border-radius: 50%; background: var(--g); display: grid; place-items: center; font-weight: 700; font-size: 8cqw; color: #fff; box-shadow: 0 0 0 1.2cqw #fff, 0 10px 30px rgba(0,0,0,.25); }
.sc-mid { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.sc-heart { position: relative; width: 22cqw; aspect-ratio: 1; }
.sc-heart svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.sc-heart .h-bg { fill: rgba(255,255,255,.28); }
.sc-heart .h-fill { fill: #ff2d6f; transform: translateY(100%); transition: transform 1.6s var(--ease) .3s; }
.reveal.in .sc-heart .h-fill { transform: translateY(2.8px); }
.sc-heart b { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 2cqw; font-size: 5cqw; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.sc-text { font-size: 3.6cqw; font-weight: 800; letter-spacing: .06em; color: #fff; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* ---------- CTA ---------- */
.cta { display: grid; place-items: center; min-height: 70vh; }
.cta-card { padding: clamp(36px, 6vw, 80px); width: min(980px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-card img.mark { width: 92px; margin-bottom: 26px; filter: drop-shadow(0 10px 30px rgba(30,107,255,.6)); animation: floaty 6s ease-in-out infinite; }
.cta-card h2 { margin: 0 auto 16px; max-width: 18ch; }
.cta-card > p { color: var(--ink-2); margin-bottom: 34px; max-width: 52ch; }
.cta-card .hero-actions { justify-content: center; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px max(24px, 6vw) 40px; color: var(--ink-3); font-size: 13px; border-top: 1px solid rgba(255,255,255,.06); }
.footer a:hover { color: var(--ink); }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Inner pages (commands, docs) ---------- */
.page-hero { padding-top: 170px; padding-bottom: 50px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 110px); line-height: .95; letter-spacing: -.05em; font-weight: 700; margin-bottom: 22px; }
.page-hero h1 .serif { font-weight: 400; letter-spacing: -.02em; background: linear-gradient(90deg, var(--cyan-2), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.page-hero p { color: var(--ink-2); max-width: 58ch; font-size: 18px; }
.crumb { display: inline-block; font-size: 11px; color: var(--ink-3); margin-bottom: 24px; transition: color .3s, transform .3s var(--ease); }
.crumb:hover { color: var(--ink); transform: translateX(-3px); }

/* commands */
.cmd-tools { position: sticky; top: 96px; z-index: 20; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px; border-radius: 28px; margin-bottom: 28px; }
.cmd-tools .search { flex: 1 1 100%; }
.cmd-tools .chips { flex: 1 1 auto; min-width: 0; }
.search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 15px var(--sans); padding: 12px 0; }
.search svg { width: 16px; height: 16px; fill: var(--ink-3); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 0; cursor: pointer; font: 600 13px var(--sans); color: var(--ink-2); padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.05); transition: background .25s, color .25s; }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--bg); background: var(--ink); }
.cmd-count { font-size: 11px; color: var(--ink-3); padding: 0 12px; }
.cmd-group { margin-bottom: 44px; }
.cmd-group > h2 { font-size: clamp(26px, 3vw, 38px); max-width: none; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.cmd-group > h2 small { font: 400 12px var(--mono); color: var(--ink-3); letter-spacing: .08em; }
.cmd-list { display: grid; gap: 8px; }
.cmd { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr) 190px; gap: 18px; align-items: center; padding: 16px 22px; border-radius: 20px; }
.cmd code { background: none; box-shadow: none; padding: 0; font-size: 14px; color: var(--ink); }
.cmd code .opt { color: var(--ink-3); }
.cmd code .req { color: var(--cyan-2); }
.cmd p { color: var(--ink-2); font-size: 15px; }
.perm { justify-self: end; font: 600 11px var(--mono); letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: rgba(237,66,69,.1); color: #ff8f91; box-shadow: inset 0 0 0 1px rgba(237,66,69,.28); }
.perm.everyone { background: rgba(87,242,135,.08); color: var(--success); box-shadow: inset 0 0 0 1px rgba(87,242,135,.25); }
.perm.owner { background: rgba(255,211,107,.1); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,211,107,.3); }
.empty { padding: 40px; text-align: center; color: var(--ink-3); }
.cmd-note { padding: 22px 26px; color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.cmd-note b { color: var(--ink); }

/* docs */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 50px; align-items: start; padding-top: 20px; }
.toc { position: sticky; top: 110px; padding: 18px; border-radius: 22px; max-height: calc(100vh - 140px); overflow: auto; }
.toc p { font-size: 10px; color: var(--ink-3); margin: 6px 10px 10px; }
.toc a { display: block; font-size: 13.5px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); transition: background .25s, color .25s; }
.toc a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.toc a.active { color: var(--ink); background: rgba(63,227,255,.1); box-shadow: inset 2px 0 0 var(--cyan); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 80px; min-width: 0; }
.doc section { padding: 0; }
.doc h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: none; margin-bottom: 18px; }
.doc h3 { margin: 30px 0 12px; font-size: 20px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc p b, .doc li b { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.doc a:not(.btn) { color: var(--accent); }
.doc a:not(.btn):hover { color: var(--ink); }
pre { position: relative; font: 13.5px/1.75 var(--mono); padding: 20px 22px; border-radius: 20px; overflow-x: auto; margin: 16px 0; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: #d7e3ff; }
pre .c { color: var(--ink-3); }
pre .k { color: var(--cyan-2); }
.copy { position: absolute; top: 10px; right: 10px; border: 0; cursor: pointer; font: 600 11px var(--mono); padding: 6px 10px; border-radius: 999px; color: var(--ink-2); background: rgba(255,255,255,.08); }
.copy:hover { color: var(--ink); }
.callout { padding: 18px 22px; border-radius: 20px; margin: 16px 0; color: var(--ink-2); font-size: 15.5px; background: linear-gradient(150deg, rgba(30,107,255,.16), rgba(34,211,238,.06)); box-shadow: inset 0 0 0 1px rgba(63,227,255,.2); }
.callout.warn { background: rgba(255,211,107,.07); box-shadow: inset 0 0 0 1px rgba(255,211,107,.25); }
.callout b { color: var(--ink); }
.tbl { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.tbl-wrap { overflow-x: auto; border-radius: 20px; padding: 6px 18px; margin: 14px 0; }
.tbl th { text-align: left; font: 600 10.5px var(--mono); letter-spacing: .1em; color: var(--ink-3); padding: 12px 10px 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--ink-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); white-space: nowrap; }
.settings { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 16px 0; }
.set-group { padding: 20px 22px; border-radius: 22px; }
.set-group h4 { font-size: 15px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.set-group h4 small { font: 400 11px var(--mono); color: var(--ink-3); }
.set-group div { display: flex; flex-wrap: wrap; gap: 6px; }
.set-group code { font-size: 12px; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--bg); background: linear-gradient(135deg, var(--cyan-2), var(--blue)); }
.order { list-style: none; padding: 0 !important; display: grid; gap: 8px; counter-reset: o; }
.order li { counter-increment: o; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.order li::before { content: counter(o); font: 700 22px var(--mono); color: var(--cyan-2); text-align: center; }
.faq details { padding: 18px 22px; border-radius: 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; }
.faq summary::-webkit-details-marker { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat.wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 160px; gap: 50px; }
  .nav ul li:not(:last-child) { display: none; }
  .nav { gap: 14px; }
  .stats { gap: 6px; padding: 20px; }
  .stats span { font-size: 10px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feat.wide { grid-column: auto; }
  .custom-grid, .cards { grid-template-columns: 1fr; }
  .cmd { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .perm { justify-self: start; }
  .cmd-tools { position: static; border-radius: 24px; padding: 12px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px; }
  .toc p { width: 100%; }
  .toc a { padding: 6px 10px; background: rgba(255,255,255,.04); }
  section { padding-block: 90px; }
  .page-hero { padding-top: 160px; }
  .soon-bar { font-size: 12px; }
  .nav-wrap { top: 64px; }
  .color-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .soon-bar span { display: none; }
  .soon-bar b::after { content: " · not open to new servers yet"; }
  .nav-wrap { top: 50px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 15vw; }
  .tbl td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .ch, .line-reveal { clip-path: none; opacity: 1; transform: none; filter: none; }
  .rc-bar span { width: 52.8%; }
  .sc-heart .h-fill { transform: translateY(2.8px); }
}
