:root {
  --bg: #050407;
  --line: rgba(255, 255, 255, 0.08);
  --purple: #a855f7;
  --purple-soft: #d8b4fe;
  --text: #f8f6fb;
  --muted: #9e98a9;
  --dim: #716b7b;
  --font-display: "Syne", ui-sans-serif, sans-serif;
  --font-body: "Manrope", ui-sans-serif, sans-serif;
  --accent: var(--purple);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.18), transparent),
    #050407;
}

a { color: inherit; }
button, input { font: inherit; }

.island-header {
  position: sticky;
  top: 12px;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}
.island-header.is-compact { top: 10px; }

.island-shell {
  pointer-events: auto;
  display: flex;
  width: min(920px, calc(100% - 8px));
  height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(12, 10, 18, 0.72);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand, .island-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #a855f7, #6d28d9);
  font-weight: 800;
}
.mark.small { width: 27px; height: 27px; border-radius: 8px; font-size: 13px; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.04em;
}
.brand-text em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--purple-soft);
  margin-left: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.desktop-nav a {
  color: #aea6b8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a.is-active,
.desktop-nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.island-menu-btn {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f3eef8;
  cursor: pointer;
}
.island-menu-btn:hover {
  background: rgba(168,85,247,.22);
  border-color: rgba(216,180,254,.35);
}
.burger {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}
.burger i {
  position: absolute;
  left: 0;
  display: block;
  width: 16px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), opacity 200ms ease, top 320ms cubic-bezier(0.22,1,0.36,1), width 280ms ease;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 5px; width: 12px; }
.burger i:nth-child(3) { top: 10px; width: 14px; }
.island-menu-btn.is-open .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); width: 16px; }
.island-menu-btn.is-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.island-menu-btn.is-open .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); width: 16px; }

.island-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  background: rgba(3, 2, 6, 0.58);
  opacity: 0;
  backdrop-filter: blur(6px);
  transition: opacity 280ms ease;
}
.island-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.island-backdrop[hidden],
.island-drawer[hidden] { display: none !important; }

.island-drawer {
  position: fixed;
  top: 74px;
  right: 12px;
  left: 12px;
  z-index: 130;
  pointer-events: auto;
  display: flex;
  width: auto;
  max-width: 360px;
  margin-left: auto;
  max-height: calc(100dvh - 96px);
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(12, 10, 18, 0.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  backdrop-filter: blur(28px);
  opacity: 0;
  transform: translateY(-12px) scale(0.94);
  transform-origin: top right;
  transition: opacity 280ms cubic-bezier(0.22,1,0.36,1), transform 340ms cubic-bezier(0.22,1,0.36,1);
}
.island-drawer.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.island-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.island-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfc4dc;
  font-size: 13px;
  font-weight: 700;
}
.island-close-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f0e8f8;
  cursor: pointer;
}
.island-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.island-drawer-nav a {
  padding: 14px;
  border-radius: 16px;
  color: #ddd4e8;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.island-drawer-nav a:hover { background: rgba(168,85,247,.16); color: #fff; }
.island-drawer-cta {
  margin-top: 10px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

main { position: relative; z-index: 1; padding-top: 12px; }

.hub, .article {
  width: min(780px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.hub-intro { margin-bottom: 36px; }
.kicker {
  margin: 0 0 12px;
  color: var(--purple-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hub-intro h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-weight: 750;
}
.hub-intro h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff 20%, var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hub-lede {
  margin: 0 0 22px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.seg-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 16px;
  padding: 0;
  border: 0;
  background: none;
}
.seg {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.seg.is-active { color: #fff; }
.seg:hover { color: #e8e0f2; }
.seg + .seg::before {
  content: "·";
  margin-right: 16px;
  color: #3f3a46;
  pointer-events: none;
}

.hero-feature {
  position: relative;
  display: grid;
  gap: 18px;
  margin-bottom: 40px;
  padding: 28px 0 32px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.hero-feature-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(168,85,247,.14), transparent 55%);
  pointer-events: none;
}
.hero-feature-img {
  display: block;
  width: 100%;
  max-height: clamp(180px, 32vw, 320px);
  object-fit: cover;
  border-radius: 18px;
  background: #14101c;
}
.hero-feature-copy {
  position: relative;
  display: grid;
  gap: 12px;
}
.hero-feature-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.hero-feature-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.type-line {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.read-link {
  color: var(--purple-soft);
  font-size: 14px;
  font-weight: 700;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 4px;
}
.clear-filter {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.clear-filter:hover { color: #fff; }

.post-feed { display: grid; }
.post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity .18s ease;
}
@media (min-width: 720px) {
  .post-row:has(.post-row-thumb) {
    grid-template-columns: 168px minmax(0, 1fr);
  }
}
.post-row:hover { opacity: 0.82; }
.post-row-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #14101c;
}
.post-row-copy { display: grid; gap: 8px; min-width: 0; }
.post-row-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
}
.post-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.post-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
}

.article { width: min(720px, calc(100% - 32px)); }
.article-hero { margin-bottom: 28px; }
.article-cover,
.article-cover-figure {
  margin: 0 0 22px;
}
.article-cover {
  min-height: clamp(160px, 28vw, 280px);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #14101c;
}
.article-cover-img {
  display: block;
  width: 100%;
  max-height: clamp(180px, 34vw, 360px);
  object-fit: cover;
  border-radius: 20px;
  background: #14101c;
}
.hero-minimal .article-cover,
.hero-minimal .article-cover-figure { display: none; }
.post-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  background: #14101c;
}
.article-hero-copy { display: grid; gap: 12px; }
.article-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.back {
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #ddd5e8;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.article-layout { display: block; }
.toc {
  display: none;
}
@media (min-width: 1100px) {
  .article { width: min(980px, calc(100% - 32px)); }
  .article-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .toc {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
  }
  .toc a {
    color: var(--dim);
    text-decoration: none;
    line-height: 1.35;
  }
  .toc a:hover { color: #fff; }
  .toc-l3 { padding-left: 10px; font-size: 12px; }
}

.article-content { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.md {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #e8e2f0;
}
.md h2, .md h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 1.7em 0 .55em;
}
.md p { margin: 0 0 1.05em; }
.md a { color: var(--purple-soft); }
.md ul, .md ol { padding-left: 1.2em; }
.md code {
  padding: .1em .35em;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  font-size: .92em;
}
.md pre {
  overflow: auto;
  padding: 14px;
  border-radius: 14px;
  background: #120e18;
  border: 1px solid var(--line);
}
.md img { max-width: 100%; border-radius: 14px; height: auto; display: block; margin: 1.1em 0; }
.md figure,
.md-figure { margin: 1.4em 0; }
.md-figure img { margin: 0; width: 100%; }
.md figcaption,
.md-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.md table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  margin: 1.3em 0;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.md th, .md td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  min-width: 88px;
  vertical-align: top;
}
.md th {
  background: rgba(168, 85, 247, 0.12);
  color: #f3e8ff;
  font-weight: 700;
}
.md tr:last-child td { border-bottom: 0; }
.md blockquote {
  margin: 1.2em 0;
  padding: 0.2em 0 0.2em 16px;
  border-left: 3px solid var(--purple);
  color: #ddd5e8;
}

.pulse-chart {
  margin: 1.5em 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(255, 255, 255, 0.02));
}
.pulse-chart figcaption {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  text-align: left;
}
.pulse-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.pulse-callout {
  margin: 1.3em 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.pulse-callout strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--purple-soft);
}
.pulse-callout-tip { border-color: rgba(52, 211, 153, 0.35); }
.pulse-callout-warn,
.pulse-callout-warning { border-color: rgba(251, 191, 36, 0.4); }
.pulse-callout-info { border-color: rgba(96, 165, 250, 0.4); }
.chart-error { color: #ff8aa3; }

.pull-quote {
  margin: 0 0 1.5rem;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--purple);
  color: #f0e8fa;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 1.6rem;
}
.compare-card {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
}
.compare-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}
.score {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--purple-soft);
}
.score span { font-size: .85rem; color: var(--muted); }
.verdict {
  grid-column: 1 / -1;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.verdict p { margin: 8px 0 0; color: #e4dced; }

.article-cta {
  display: inline-flex;
  margin: 1.5rem 0;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8rem;
}
.tag-cloud a {
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.tag-cloud a:hover { color: var(--purple-soft); }

.related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.post-grid.compact { display: grid; }
.post-grid.compact .post-card {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.post-grid.compact .post-card-body { display: grid; gap: 6px; }
.post-grid.compact h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.post-grid.compact p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.type-pill {
  color: var(--dim);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.pulse-footer-inner {
  display: flex;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pulse-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.pulse-footer a {
  color: #a8a0b4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pulse-footer a:hover { color: #fff; }
.footer-copy {
  color: var(--dim);
  font-size: 12px;
}

.muted { color: var(--muted); }
.empty-state {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .island-shell { width: min(100%, calc(100vw - 24px)); }
}

@media (max-width: 640px) {
  .hub, .article { width: calc(100% - 22px); margin-top: 22px; }
  .compare-grid { grid-template-columns: 1fr; }
  .pulse-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Shared liquid-glass shell — kept visually identical to the public product site. */
.island-header {
  position: fixed;
  top: 16px;
  right: 0;
  left: 0;
  padding: 0 16px;
  transition: top 280ms cubic-bezier(.22, 1, .36, 1);
}

.island-shell {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  height: 64px;
  padding: 0 10px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 34%), rgba(13, 9, 20, .62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .2), inset 0 -1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(30px) saturate(1.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
  transition: width 380ms cubic-bezier(.22, 1, .36, 1), height 380ms cubic-bezier(.22, 1, .36, 1), transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.island-shell::before {
  position: absolute;
  inset: 1px 8% auto;
  z-index: 2;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  content: "";
  pointer-events: none;
}

.island-shell::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, .07), transparent 38%, rgba(168, 85, 247, .08));
  content: "";
  pointer-events: none;
}

.island-header.is-compact .island-shell {
  width: min(1080px, calc(100vw - 32px));
  height: 58px;
  transform: scale(.985);
}

.liquid-glass-flow {
  position: absolute;
  inset: -80%;
  z-index: 0;
  pointer-events: none;
  filter: blur(30px);
  opacity: .7;
}

.liquid-glass-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.liquid-glass-blob.blob-a {
  top: 24%; left: 6%; width: 38%; height: 46%;
  background: rgba(168, 85, 247, .36);
  animation: liquid-a 10s ease-in-out infinite;
}

.liquid-glass-blob.blob-b {
  right: 5%; bottom: 22%; width: 34%; height: 48%;
  background: rgba(59, 130, 246, .22);
  animation: liquid-b 12s ease-in-out infinite;
}

.liquid-glass-blob.blob-c {
  top: 32%; left: 44%; width: 24%; height: 38%;
  background: rgba(236, 72, 153, .14);
  animation: liquid-c 8s ease-in-out infinite;
}

@keyframes liquid-a { 50% { transform: translate(18%, 12%) scale(1.15); } }
@keyframes liquid-b { 50% { transform: translate(-16%, -10%) scale(1.2); } }
@keyframes liquid-c { 33% { transform: translate(10%, -14%) scale(1.1); } 66% { transform: translate(-12%, 8%) scale(.95); } }

.island-brand,
.desktop-nav,
.header-actions {
  z-index: 3;
}

.mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 9px;
  background: #170e31;
  box-shadow: 0 0 20px rgba(139, 92, 246, .28);
}

.mark.small {
  width: 27px;
  height: 27px;
  border-radius: 8px;
}

.desktop-nav {
  gap: clamp(18px, 2.4vw, 32px);
}

.desktop-nav a {
  position: relative;
  padding: 11px 2px;
  font-size: 13px;
}

.desktop-nav a::after {
  position: absolute;
  right: 15%;
  bottom: 4px;
  left: 15%;
  height: 2px;
  border-radius: 999px;
  background: var(--purple-soft);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity 180ms ease, transform 220ms ease;
}

.desktop-nav a.is-active::after,
.desktop-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-login {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(233, 213, 255, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, .95), rgba(124, 58, 237, .92));
  box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 8px 24px rgba(126, 34, 206, .28);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.island-menu-btn {
  display: none;
}

main {
  padding-top: 88px;
}

.pulse-footer {
  margin-top: 34px;
  padding: 16px;
  border: 0;
}

.pulse-footer-inner {
  position: relative;
  isolation: isolate;
  width: min(1180px, 100%);
  min-height: 94px;
  padding: 20px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 42%), rgba(14, 10, 21, .66);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(30px) saturate(1.45);
  -webkit-backdrop-filter: blur(30px) saturate(1.45);
}

.pulse-footer-inner::after {
  position: absolute;
  inset: 1px 9% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  content: "";
}

.footer-liquid-flow {
  position: absolute;
  inset: -100% -20%;
  z-index: -1;
  background: radial-gradient(circle at 14% 50%, rgba(168, 85, 247, .23), transparent 24%), radial-gradient(circle at 78% 45%, rgba(59, 130, 246, .13), transparent 27%);
  filter: blur(18px);
}

.pulse-footer-inner > :not(.footer-liquid-flow) {
  position: relative;
  z-index: 1;
}

.footer-chat-link {
  padding: 9px 14px;
  border: 1px solid rgba(216, 180, 254, .2);
  border-radius: 999px;
  background: rgba(168, 85, 247, .1);
  color: #e9d5ff !important;
}

@media (max-width: 900px) {
  .island-shell,
  .island-header.is-compact .island-shell {
    width: min(100%, calc(100vw - 24px));
    height: 58px;
    padding: 0 8px 0 12px;
  }

  .header-login-desktop { display: none; }
  .island-menu-btn { display: grid; }
  main { padding-top: 80px; }
}

@media (max-width: 640px) {
  .pulse-footer { padding: 12px; }
  .pulse-footer-inner {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 28px;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-glass-blob { animation: none !important; }
}
