/* ============================================================
   FALCON MD — Crystal Glass theme (v5)
   Sapphire / violet / aqua base (no black anywhere), light frosted-glass
   panels. Lightweight: static background, self-hosted Sora + Manrope
   fonts, inline SVG icons.
   ============================================================ */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('/assets/fonts/sora.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'); }

:root {
  --bg: #3040b0;
  --ink: #ffffff;
  --dim: rgba(240, 244, 255, 0.9);
  --faint: rgba(232, 238, 255, 0.74);
  --cyan: #7defff;
  --blue: #5b9bff;
  --violet: #9a7bff;
  --magenta: #f06bff;
  --ok: #5cf0a0;
  --danger: #ffa0b8;
  --indigo-shadow: 18, 20, 96;
  --glass-bg:
    linear-gradient(118deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 45%, rgba(255,255,255,.05) 100%);
  --glass-line: rgba(255, 255, 255, 0.20);
  --glass-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 14px 34px -26px rgba(var(--indigo-shadow), .55);
  --blur: blur(8px) saturate(120%);
  --grad: linear-gradient(100deg, #7defff, #9bb3ff 42%, #d49bff 72%, #ff9be8);
  --btn-grad: linear-gradient(100deg, #1fb7ff, #5b7bff 52%, #a55bff);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(34px, 5vw, 64px);
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg);
  scrollbar-color: rgba(255,255,255,.33) #3a4ab8;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #3a4ab8; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.30); border-radius: 99px; border: 2px solid #3a4ab8; }
::selection { background: rgba(125, 239, 255, .35); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
b, strong { font-weight: 700; }

/* inline svg icons */
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.17em; }
.i.ib { fill: currentColor; stroke: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #1c2a7c; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1160px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- crystal background (static = fast) ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 8% -8%, rgba(125, 239, 255, .42), transparent 60%),
    radial-gradient(55vmax 48vmax at 100% 14%, rgba(176, 120, 255, .46), transparent 62%),
    radial-gradient(60vmax 50vmax at 30% 112%, rgba(255, 130, 230, .34), transparent 62%),
    linear-gradient(162deg, #2258c4 0%, #3b3cb8 40%, #5d3cc0 72%, #2a70cc 100%);
}
/* faceted crystal shards */
.aurora i {
  position: absolute; display: block; border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 55%, rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.16);
}
.aurora i { opacity: .55; }
.aurora i:nth-child(1) { width: 46vmax; height: 46vmax; left: -14vmax; top: 8vmax; transform: rotate(24deg); }
.aurora i:nth-child(2) { width: 34vmax; height: 34vmax; right: -10vmax; top: 44vmax; transform: rotate(-18deg); }
.aurora i:nth-child(3) { width: 26vmax; height: 26vmax; left: 36vmax; top: 112vmax; transform: rotate(40deg); }

/* ---------- glass surface ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-radius: var(--r-md);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(118deg, rgba(88, 104, 214, .94), rgba(70, 70, 190, .94)); }
}

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding-top: max(10px, env(safe-area-inset-top)); }
.nav-shell { position: relative; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: linear-gradient(118deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 28px -20px rgba(var(--indigo-shadow), .7);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 0 16px rgba(125,239,255,.55); }
.brand .wordmark { font-size: 1.02rem; font-weight: 700; letter-spacing: 0.06em; }
.brand .wordmark em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; font-weight: 600; color: var(--dim); padding: 9px 15px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.10); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.27); }
.nav-links a.nav-cta { background: var(--btn-grad); color: #fff; margin-left: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,.27), 0 8px 22px -8px rgba(90,110,255,.9); }
.nav-links a.nav-cta:hover { filter: brightness(1.1); }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.11); border: 1px solid var(--glass-line); color: #fff; font-size: 1.15rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.97rem; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  color: #fff; background: var(--btn-grad); border-color: rgba(255,255,255,.21);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -8px 16px rgba(255,255,255,.08), 0 14px 30px -10px rgba(80,90,255,.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 18px 36px -10px rgba(165,91,255,.9); }
.btn-ghost {
  color: #fff; background: rgba(255,255,255,.10); border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.36); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section-y) 0; }
.section-head { text-align: center; max-width: 620px; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.section-head p { color: var(--dim); margin-top: 8px; font-size: .96rem; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(22px, 4vw, 52px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(26px, 5vw, 60px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--dim); background: rgba(255,255,255,.10); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.27);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 {
  margin-top: 16px; font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.14; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 35%, #dfe6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(var(--indigo-shadow), .35));
}
.hero .lead { margin-top: 14px; color: var(--dim); font-size: clamp(.98rem, 1.5vw, 1.06rem); max-width: 500px; }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.frame { position: relative; padding: 9px; border-radius: 30px; }
.frame picture, .frame img { display: block; width: 100%; }
.frame img { border-radius: 22px; aspect-ratio: 16 / 9; object-fit: cover; }
/* lifts the dark artwork into the crystal blue so no black edges show */
.frame::after {
  content: ""; position: absolute; inset: 9px; border-radius: 22px; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(150deg, rgba(86, 130, 255, .55), rgba(150, 100, 255, .5) 55%, rgba(240, 110, 255, .4));
}
.float-card {
  position: absolute; z-index: 2; left: -14px; bottom: -22px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; animation: bob 6s ease-in-out infinite;
  background: linear-gradient(118deg, rgba(255,255,255,.25), rgba(255,255,255,.12));
}
.float-card .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; background: var(--btn-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.30); }
.float-card small { display: block; font-size: .74rem; color: var(--dim); line-height: 1.3; }
.float-card strong { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .12em; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.stats { margin-top: clamp(34px, 5vw, 54px); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 20px 10px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--glass-line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.stat span { font-size: .86rem; color: var(--dim); }

/* ---------- cards / features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card { padding: 22px 20px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(255,255,255,.7); transform: translateY(-3px); }
.card .ic {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 12px;
  font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, #3fa9ff, #7d6bff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.33), 0 8px 20px -8px rgba(70,120,255,.9);
}
.card:nth-child(3n+2) .ic { background: linear-gradient(135deg, #9a7bff, #f06bff); box-shadow: inset 0 1px 0 rgba(255,255,255,.33), 0 8px 20px -8px rgba(220,100,255,.85); }
.card:nth-child(3n) .ic { background: linear-gradient(135deg, #1fd2e8, #4f8bff); box-shadow: inset 0 1px 0 rgba(255,255,255,.33), 0 8px 20px -8px rgba(30,200,232,.85); }
.card h3 { font-size: 1.06rem; margin-bottom: 5px; }
.card p { color: var(--dim); font-size: .92rem; line-height: 1.55; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; list-style: none; counter-reset: step; }
.step { padding: 20px 18px; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #fff; background: var(--btn-grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
}
.step h3 { font-size: 1rem; margin-bottom: 5px; }
.step p { color: var(--dim); font-size: .9rem; line-height: 1.5; }

/* ---------- category cloud + chips ---------- */
.cat-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.cat-cloud a {
  padding: 9px 18px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--dim);
  background: rgba(255,255,255,.10); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.27); transition: all .2s;
}
.cat-cloud a:hover { color: #fff; background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.65); transform: translateY(-2px); }

.chip {
  display: inline-flex; align-items: center; padding: 6px 14px; margin: 0 6px 8px 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: .86rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24); transition: background .15s, border-color .15s;
}
.chip:hover { background: rgba(125,239,255,.28); border-color: rgba(200,250,255,.8); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 26px auto 0; display: grid; gap: 10px; }
.faq details { padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--cyan); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); font-size: .94rem; padding-bottom: 16px; }
.faq details p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: var(--section-y); padding: clamp(28px, 4.5vw, 46px) 20px; text-align: center; border-radius: var(--r-lg);
  background:
    linear-gradient(118deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.08) 34%, rgba(255,255,255,.08) 64%, rgba(255,255,255,.13) 100%),
    linear-gradient(120deg, rgba(60, 170, 255, .32), rgba(140, 100, 255, .32), rgba(240, 110, 255, .32));
}
.cta-band h2 { font-size: clamp(1.4rem, 2.8vw, 1.85rem); }
.cta-band p { color: var(--dim); margin: 8px auto 20px; max-width: 480px; }

/* ---------- page heading (inner pages) ---------- */
.page-head { padding-block: clamp(28px, 5vw, 52px) 0; text-align: center; max-width: 700px; margin-inline: auto; }
.page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
.page-head p { color: var(--dim); margin-top: 12px; }

/* ---------- commands page ---------- */
.search-box { position: relative; max-width: 560px; margin: 24px auto 0; }
.search-box input {
  width: 100%; min-height: 52px; padding: 14px 20px 14px 50px; border-radius: 999px; font: inherit; font-size: 1rem; color: #fff; outline: none;
  background: linear-gradient(118deg, rgba(255,255,255,.17), rgba(255,255,255,.08)); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(125,239,255,.22); }
.search-box .i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.search-meta { text-align: center; font-size: .86rem; color: var(--dim); margin-top: 10px; min-height: 1.4em; }

.jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 16px; scrollbar-width: thin; }
.jump a { flex: none; padding: 7px 15px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--dim); background: rgba(255,255,255,.10); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.jump a:hover { color: #fff; background: rgba(255,255,255,.17); }

.cmd-list { display: grid; gap: 16px; margin-top: 14px; }
.cmd-section { padding: 22px 22px 14px; scroll-margin-top: 90px; }
.cmd-section h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmd-section h2 .count { font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: #fff; background: rgba(125,239,255,.22); border: 1px solid rgba(200,250,255,.6); padding: 2px 11px; border-radius: 999px; }
.cmd-section p { color: var(--dim); font-size: .9rem; margin: 4px 0 14px; }
.no-results { display: none; text-align: center; color: var(--dim); padding: 40px 0; }

.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 120;
  padding: 11px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #fff;
  background: linear-gradient(118deg, #4a62e0, #7a58e6); border: 1px solid rgba(255,255,255,.33);
  box-shadow: 0 14px 30px -12px rgba(var(--indigo-shadow), .8); transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- pair page ---------- */
.pair-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 28px); align-items: stretch; margin-top: clamp(22px, 4vw, 40px); }
.showcase { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: flex-end; border-radius: var(--r-lg); }
.showcase img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40, 60, 190, 0) 38%, rgba(52, 50, 170, .86) 100%),
    linear-gradient(150deg, rgba(86, 130, 255, .3), rgba(150, 100, 255, .26) 55%, rgba(240, 110, 255, .2));
  mix-blend-mode: normal;
}
.showcase .caption { position: relative; padding: 26px; }
.showcase .caption h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.showcase .caption p { color: var(--dim); margin-top: 8px; font-size: .94rem; max-width: 420px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: #fff; padding: 5px 13px; margin-bottom: 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid var(--glass-line); }

.console { padding: clamp(22px, 3.4vw, 32px); border-radius: var(--r-lg); }
.console h1 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 700; }
.console .sub { color: var(--dim); font-size: .94rem; margin-top: 8px; }
.field-label { display: block; margin-top: 22px; font-size: .88rem; font-weight: 700; color: var(--dim); }
.input-row { display: flex; gap: 10px; margin-top: 8px; }
.input-wrap {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px;
  background: linear-gradient(118deg, rgba(255,255,255,.17), rgba(255,255,255,.08)); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30); transition: border-color .15s, box-shadow .15s;
}
.input-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(125,239,255,.22); }
.input-wrap .i { color: var(--ok); font-size: 1.2rem; }
.input-wrap input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 1rem; padding: 14px 0; letter-spacing: .04em; }
.input-wrap input::placeholder { color: var(--faint); }
.hint { font-size: .82rem; color: var(--dim); margin-top: 8px; }

.result { margin-top: 20px; padding: 18px 14px; border-radius: var(--r-md); text-align: center; background: rgba(125,239,255,.16); border: 1px dashed rgba(200,250,255,.7); }
.result[hidden] { display: none; }
.result .msg { font-weight: 600; overflow-wrap: anywhere; }
.result[data-state="error"] { background: rgba(255,140,170,.18); border-color: rgba(255,190,210,.8); }
.result[data-state="error"] .msg { color: #fff; }
.code-btn { width: 100%; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
.code-btn[hidden] { display: none; }
.code-btn .code { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 6vw, 1.9rem); letter-spacing: .22em; color: #fff; text-shadow: 0 0 18px rgba(125,239,255,.9); overflow-wrap: anywhere; }
.code-btn .copy-hint { display: block; margin-top: 6px; font-size: .82rem; color: var(--dim); }

.how { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--glass-line); }
.how h2 { font-size: 1rem; margin-bottom: 8px; }
.how ol { list-style: none; counter-reset: s; }
.how li { counter-increment: s; position: relative; padding: 7px 0 7px 38px; color: var(--dim); font-size: .92rem; line-height: 1.5; }
.how li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(125,239,255,.22); border: 1px solid rgba(200,250,255,.6); }
.how li b { color: #fff; }

/* ---------- owner page ---------- */
.profile { position: relative; overflow: hidden; margin-top: clamp(22px, 4vw, 40px); padding: clamp(30px, 5vw, 46px) clamp(18px, 4vw, 34px) clamp(26px, 4vw, 36px); text-align: center; border-radius: var(--r-lg); }
.profile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: radial-gradient(60% 100% at 50% 0%, rgba(125,239,255,.5), rgba(176,120,255,.25) 60%, transparent 100%); }
.profile > * { position: relative; }
.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 36px rgba(125,239,255,.6), 0 0 70px rgba(240,107,255,.35); }
.profile h1 { margin-top: 16px; font-size: clamp(1.55rem, 3.4vw, 2.1rem); font-weight: 700; }
.profile .aka { color: var(--cyan); font-weight: 700; margin-top: 2px; }
.profile .role { color: var(--dim); margin-top: 6px; }
.profile .bio { color: var(--dim); max-width: 620px; margin: 14px auto 0; font-size: .96rem; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.badges span { padding: 7px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.11); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }

.links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.link-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: rgba(255,255,255,.75); transform: translateY(-3px); }
.link-card .ic { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 1.35rem; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.30); }
.link-card .txt { min-width: 0; }
.link-card h3 { font-size: 1rem; }
.link-card p { color: var(--dim); font-size: .86rem; margin-top: 2px; overflow-wrap: anywhere; }
.link-card .go { margin-left: auto; color: var(--faint); font-size: .95rem; flex: none; }
.ic-wa { background: linear-gradient(135deg, #2fe07a, #12a58a); }
.ic-chan { background: linear-gradient(135deg, #25d0f0, #4a8bff); }
.ic-grp { background: linear-gradient(135deg, #9a7bff, #f06bff); }
.ic-yt { background: linear-gradient(135deg, #ff4d6a, #e02a3a); }
.ic-ig { background: linear-gradient(135deg, #ffb52e, #f0509c 55%, #9a6bff); }
.ic-tg { background: linear-gradient(135deg, #46c8ff, #3b7bf0); }
.ic-tt { background: linear-gradient(135deg, #25f4ee, #6a7bff 50%, #fe2c75); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(56px, 12vw, 130px); }
.notfound .big { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(var(--indigo-shadow), .4)); }
.notfound h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 12px; }
.notfound p { color: var(--dim); margin: 10px auto 24px; max-width: 420px; }

/* ---------- footer ---------- */
.site-footer { overflow: hidden; margin-top: var(--section-y); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
.footer-card, .footer-card * { min-width: 0; }
.footer-card { overflow-wrap: anywhere; padding: 28px clamp(18px, 3vw, 32px); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.f-brand p { color: var(--dim); font-size: .92rem; margin-top: 10px; max-width: 360px; }
.f-cta { display: none; }
.footer-card h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.footer-card ul { list-style: none; display: grid; gap: 7px; }
.footer-card li a { color: var(--dim); font-size: .94rem; font-weight: 500; }
.footer-card li a:hover { color: var(--cyan); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; color: #fff;
  border: 1px solid rgba(255,255,255,.30); box-shadow: inset 0 1px 0 rgba(255,255,255,.33), 0 10px 22px -10px rgba(var(--indigo-shadow), .8);
  transition: transform .2s, filter .2s;
}
.socials a:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.12); }
.copyright { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; text-align: center; color: var(--dim); font-size: .84rem; margin-top: 16px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-weight: 600; background: rgba(255,255,255,.11); border: 1px solid var(--glass-line); color: #fff; }
.to-top:hover { background: rgba(255,255,255,.18); }

/* ---------- responsive ---------- */
@media (min-width: 961px) and (hover: hover) {
  .aurora i:nth-child(1) { animation: shard-a 40s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation: shard-b 46s ease-in-out infinite alternate; }
}
@keyframes shard-a { to { transform: translate3d(5vmax, 4vmax, 0) rotate(30deg); } }
@keyframes shard-b { to { transform: translate3d(-5vmax, -3vmax, 0) rotate(-26deg); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .frame { max-width: 640px; margin-inline: auto; }
  .float-card { left: 10px; bottom: 10px; padding: 8px 14px 8px 8px; }
  .float-card .fc-ic { width: 34px; height: 34px; }
  .pair-grid { grid-template-columns: minmax(0, 1fr); }
  .showcase { min-height: 260px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-card { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .burger { display: grid; place-items: center; }
  .nav { border-radius: 28px; background: linear-gradient(118deg, rgba(120,140,240,.88), rgba(110,100,230,.88)); }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 22px;
    background: linear-gradient(160deg, rgba(86, 104, 224, .97), rgba(100, 78, 214, .97)); border: 1px solid var(--glass-line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 24px 50px -16px rgba(var(--indigo-shadow), .85);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-links a.nav-cta { margin: 4px 0 0; justify-content: center; }
  /* fewer blur layers = smoother scrolling on phones */
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav, .footer-card, .cta-band { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
@media (max-width: 640px) {
  :root { --section-y: 30px; }
  .hero { padding-top: 14px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-cta { margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .aurora i { opacity: .4; }
  .stats { margin-top: 30px; grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 8px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
  .section-head p { font-size: .92rem; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
  .card { padding: 14px 13px; border-radius: 18px; }
  .card .ic { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 8px; font-size: 1rem; }
  .card h3 { font-size: .98rem; }
  .card p { font-size: .82rem; line-height: 1.45; }
  .step { padding: 14px 13px; border-radius: 18px; }
  .step::before { width: 28px; height: 28px; font-size: .85rem; margin-bottom: 8px; }
  .step h3 { font-size: .95rem; }
  .step p { font-size: .8rem; }
  .cat-cloud { gap: 8px; margin-top: 18px; }
  .cat-cloud a { padding: 7px 13px; font-size: .86rem; }
  .faq { margin-top: 20px; gap: 8px; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: .96rem; padding: 14px 0; }
  .faq details p { font-size: .9rem; padding-bottom: 14px; }
  .links-grid { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
  .input-row .btn { width: 100%; }
  .cmd-section { padding: 18px 16px 10px; }
  .cta-band { padding: 26px 18px; }
  .cta-band .btn { width: 100%; }

  /* ----- mobile footer: centered, colorful, tappable ----- */
  .footer-card { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 18px 22px; text-align: center; }
  .f-brand { display: flex; flex-direction: column; align-items: center; }
  .f-brand p { margin-inline: auto; }
  .f-cta { display: inline-flex; width: 100%; margin-top: 18px; }
  .socials { width: 100%; justify-content: center; flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
  .socials a { flex: 1 1 0; min-width: 0; max-width: 46px; width: auto; height: auto; aspect-ratio: 1; border-radius: 15px; font-size: 1.25rem; }
  .f-pages h2 { text-align: center; }
  .f-pages ul { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .f-pages li a {
    display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; font-weight: 600; color: #fff;
    background: linear-gradient(118deg, rgba(255,255,255,.17), rgba(255,255,255,.10)); border: 1px solid var(--glass-line);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
  }
  .f-links { display: none; }
}
@media (max-width: 340px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .socials { gap: 6px; }
}
@media (max-width: 380px) {
  .brand .wordmark { font-size: 1rem; }
  .chip { font-size: .82rem; padding: 5px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .float-card { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
