﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;650;750;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --space: #050816;
  --card: #08111f;
  --ink: #f8fafc;
  --muted: #aab8c8;
  --line: rgba(56, 189, 248, .22);
  --paper: #050816;
  --soft: #08111f;
  --night: #08111f;
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --violet: #8b5cf6;
  --green: #38d996;
  --gold: #f6c453;
  --rose: #a78bfa;
  --shadow: 0 18px 60px rgba(0, 0, 0, .34);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lift: 0 22px 54px rgba(34, 211, 238, .12);
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .24), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(34, 211, 238, .18), transparent 28rem),
    linear-gradient(180deg, var(--space) 0%, #071021 48%, var(--space) 100%);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, .84);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: auto;
  min-height: 72px;
  font-weight: 800;
  color: var(--ink);
}

.brand-logo {
  width: 108px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, .34));
}

.brand-text {
  display: grid;
  gap: 1px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
}

.brand-text span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--space);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 28px rgba(34, 211, 238, .24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d9e7f7;
  font-size: 15px;
  font-weight: 650;
}

.site-nav a:hover { color: var(--cyan); }

.nav-modal-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  padding: 0 12px;
  color: #d9e7f7;
  background: rgba(8, 17, 31, .72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(34, 211, 238, .16);
}

.nav-modal-button:hover,
.account-trigger:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.category-menu {
  position: relative;
  display: inline-flex;
}

.category-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  width: 220px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background: rgba(5, 8, 22, .98);
  box-shadow: var(--shadow);
}

.category-menu-panel a {
  padding: 12px 14px;
  color: #d9e7f7;
  font-weight: 850;
}

.category-menu-panel a + a {
  border-top: 1px solid rgba(56, 189, 248, .14);
}

.category-menu-panel a:hover {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

body.modal-open {
  overflow: hidden;
}

.category-modal[hidden] {
  display: none;
}

.account-modal[hidden] {
  display: none;
}

.category-modal,
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 22, .82);
  backdrop-filter: blur(10px);
}

.category-modal-dialog,
.account-dialog {
  position: relative;
  width: min(980px, 96vw);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at 86% 0%, rgba(139, 92, 246, .2), transparent 22rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.account-dialog {
  width: min(520px, 94vw);
  display: grid;
  gap: 16px;
}

.account-dialog h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.account-dialog p {
  margin: 0;
}

.account-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .72);
}

.account-panel strong {
  font-size: 18px;
}

.account-panel span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.account-page main {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 70px 0 82px;
}

.account-page-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
  gap: 24px;
  align-items: start;
}

.account-card,
.account-aside {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(139, 92, 246, .16), transparent 16rem),
    rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
}

.account-card {
  display: grid;
  gap: 20px;
  padding: 30px;
}

.account-card h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.account-card > p {
  max-width: 62ch;
  overflow-wrap: anywhere;
}

.account-card .auth-tabs {
  margin-top: 4px;
}

.account-aside {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.account-aside h2 {
  font-size: 26px;
}

.account-aside ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.account-page .account-panel {
  padding: 20px;
}

.profile-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.profile-card h2 {
  margin: 0 0 4px;
  font-size: clamp(26px, 3vw, 38px);
}

.profile-card strong,
.comment-card strong,
.comment-user strong {
  color: var(--cyan);
}

.profile-card small,
.comment-card small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.profile-avatar,
.comment-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 50%;
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 900;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.profile-avatar.large {
  width: 88px;
  height: 88px;
  font-size: 26px;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  font-size: 14px;
}

.profile-form textarea {
  min-height: 110px;
  resize: vertical;
}

.profile-form input[type="file"] {
  padding: 10px;
}

.member-card,
.post-like-bar {
  margin-top: 18px;
}

.member-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(139, 92, 246, .08);
}

.member-card h2,
.member-card p {
  margin: 0;
}

.account-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.category-modal-head h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.modal-close {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 8, 22, .72);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.modal-close:hover {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.modal-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.modal-category-card {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .58);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.modal-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.modal-category-card strong {
  color: var(--ink);
  font-size: 20px;
}

.modal-category-card span {
  color: var(--muted);
  line-height: 1.55;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 110px 6vw 72px;
  overflow: hidden;
  background: var(--space);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(139, 92, 246, .24), transparent 26rem),
    linear-gradient(90deg, rgba(5, 8, 22, .98) 0%, rgba(8, 17, 31, .82) 48%, rgba(5, 8, 22, .42) 100%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.nebula-enterprise-hero {
  min-height: 660px;
  align-items: center;
  padding-bottom: 74px;
  border-bottom: 1px solid var(--line);
}

.nebula-enterprise-hero .hero-media {
  background:
    radial-gradient(circle at 72% 16%, rgba(34, 211, 238, .16), transparent 25rem),
    radial-gradient(circle at 88% 44%, rgba(139, 92, 246, .2), transparent 25rem),
    linear-gradient(90deg, rgba(5, 8, 22, .98) 0%, rgba(5, 8, 22, .9) 46%, rgba(8, 17, 31, .54) 100%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1900&q=82") center/cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  min-width: 0;
}

.enterprise-home .hero-content,
.enterprise-home .hero-copy,
.enterprise-home h1 {
  overflow-wrap: anywhere;
}

.kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
  font-family: "Space Grotesk", Manrope, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  color: white;
  font-size: clamp(42px, 7vw, 82px);
  max-width: 920px;
}

h2 { font-size: clamp(30px, 4vw, 52px); }

h3 { font-size: 23px; }

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e4e7ec;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-quicklinks a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  padding: 0 12px;
  color: #d9e7f7;
  background: rgba(8, 17, 31, .72);
  font-size: 13px;
  font-weight: 850;
}

.hero-quicklinks a:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 181, 203, .24);
}

.button.primary {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 1px rgba(248, 250, 252, .08), 0 12px 30px rgba(34, 211, 238, .18);
}

.button.secondary {
  color: white;
  border-color: rgba(34, 211, 238, .36);
  background: rgba(8, 17, 31, .74);
}

.section,
.newsletter {
  padding: 76px 6vw;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.text-link::after {
  content: "->";
  font-size: 20px;
  line-height: 1;
}

.home-news {
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
  border-bottom: 1px solid var(--line);
}

.home-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .82fr));
  gap: 18px;
}

.home-news-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(5, 8, 22, .72);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-news-media {
  width: calc(100% + 48px);
  max-width: none;
  height: 166px;
  margin: -24px -24px 4px;
  object-fit: cover;
  border-bottom: 1px solid rgba(34, 211, 238, .18);
  opacity: .92;
  filter: saturate(1.08) contrast(1.04);
  transition: transform .35s ease, opacity .35s ease;
}

.home-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .52);
  box-shadow: var(--shadow-lift);
}

.home-news-card:hover .home-news-media {
  transform: scale(1.035);
  opacity: 1;
}

.home-news-card-large {
  grid-row: span 2;
  padding: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, .18), transparent 16rem),
    linear-gradient(180deg, rgba(8, 17, 31, .96), rgba(5, 8, 22, .98));
}

.home-news-card-large .home-news-media {
  width: calc(100% + 60px);
  height: 272px;
  margin: -30px -30px 8px;
}

.home-news-card h3 {
  font-size: clamp(24px, 3vw, 42px);
}

.home-news-card:not(.home-news-card-large) h3 {
  font-size: clamp(21px, 2vw, 28px);
}

.home-news-card p {
  margin: 0;
}

.home-news-card .button {
  width: fit-content;
  position: relative;
  z-index: 2;
  justify-self: start;
  align-self: end;
}

.home-news-card a:not(.button)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portal-areas {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, .1), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(139, 92, 246, .14), transparent 26rem),
    rgba(5, 8, 22, .8);
}

.portal-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portal-area-card {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.portal-area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .56);
  box-shadow: var(--shadow-lift);
}

.portal-area-card img {
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid rgba(34, 211, 238, .16);
  transition: transform .35s ease, filter .35s ease;
}

.portal-area-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.portal-area-card span {
  padding: 0 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-area-card h3 {
  padding: 0 22px;
  font-size: clamp(22px, 2vw, 28px);
}

.portal-area-card p {
  margin: 0 0 22px;
  padding: 0 22px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  width: min(560px, 100%);
  padding: 10px;
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: 8px;
  background: rgba(5, 8, 22, .72);
}

.site-search input {
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(8, 17, 31, .92);
  font: inherit;
}

.site-search input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
}

.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .8);
  font-weight: 750;
  cursor: pointer;
}

.filter.active {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(8, 17, 31, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .56);
  box-shadow: var(--shadow-lift);
}

.article-card img {
  height: 230px;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.article-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.article-body {
  padding: 24px;
}

.article-body h3 a:hover { color: var(--cyan); }

.article-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tag {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.categories {
  background: radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .22), transparent 28rem), var(--card);
  color: white;
}

.categories p { color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(56, 189, 248, .18);
  border: 1px solid var(--line);
}

.category-tile {
  min-height: 260px;
  padding: 28px;
  background: var(--card);
}

.category-tile:hover { background: #0b1830; }

.category-tile span {
  color: var(--cyan);
  font-weight: 900;
}

.category-tile h3 {
  margin: 28px 0 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 520px);
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .2), transparent 24rem),
    var(--card);
}

.signup {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .74);
}

.signup label {
  display: block;
  margin-bottom: 12px;
  font-weight: 850;
}

.signup div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #050816;
}

.commerce-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(12, 22, 44, .98)),
    radial-gradient(circle at 78% 0%, rgba(34, 211, 238, .16), transparent 20rem);
}

.commerce-strip h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.commerce-strip p:last-child {
  margin-bottom: 0;
}

.commerce-hero {
  display: grid;
  min-height: 430px;
  align-items: end;
  padding: 96px 6vw 64px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(139, 92, 246, .24), transparent 26rem),
    linear-gradient(90deg, rgba(5, 8, 22, .96), rgba(8, 17, 31, .64)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.commerce-hero div {
  width: min(850px, 100%);
}

.commerce-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.commerce-hero p {
  max-width: 720px;
  color: #e4e7ec;
  font-size: 19px;
}

.affiliate-notice {
  margin: 28px 6vw 0;
  padding: 18px 20px;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  color: #d9e7f7;
  background: rgba(8, 17, 31, .88);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.catalog-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .78);
  font-weight: 800;
}

.catalog-nav a:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.catalog-group + .catalog-group {
  margin-top: 56px;
}

.catalog-group > p {
  width: min(860px, 100%);
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(8, 17, 31, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .56);
  box-shadow: var(--shadow-lift);
}

.product-card img {
  height: 240px;
  object-fit: cover;
  background: #f8fafc;
  transition: transform .35s ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.product-body p,
.product-body ul {
  margin: 0;
}

.product-body ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.product-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  padding: 0 9px;
  color: #d9e7f7;
  background: rgba(5, 8, 22, .64);
  font-size: 13px;
  font-weight: 800;
}

.affiliate-link {
  width: 100%;
  margin-top: 6px;
}

.product-card .affiliate-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card .affiliate-link {
  position: static;
}

.product-card .product-body,
.product-card img {
  position: relative;
  z-index: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 6vw;
  color: #cbd5e1;
  border-top: 1px solid var(--line);
  background: #050816;
}

.site-footer p { margin-bottom: 0; color: var(--muted); }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover { color: white; }

.article-page main {
  display: block;
  width: min(88vw, 980px);
  margin: 0 auto;
  padding: 56px 0 76px;
}

.article-hero {
  margin-bottom: 34px;
  padding: 0;
  min-width: 0;
}

.article-hero img {
  height: min(46vw, 430px);
  object-fit: cover;
  border-radius: 8px;
}

.article-content,
.sidebar {
  min-width: 0;
}

.article-content h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  overflow-wrap: anywhere;
}

.article-content h2 {
  margin-top: 42px;
  font-size: 30px;
  line-height: 1.14;
}

.article-content p,
.article-content li {
  color: #c5d2e0;
  font-size: 18px;
  line-height: 1.8;
}

.article-content a {
  color: var(--cyan);
  font-weight: 800;
}

.article-note,
.affiliate-panel,
.article-gallery,
.answer-box,
.mini-toc,
.faq-list,
.related-links,
.comparison-table {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
}

.article-note,
.affiliate-panel,
.answer-box,
.mini-toc,
.faq-list,
.related-links {
  padding: 24px;
}

.article-note h2,
.affiliate-panel h2,
.answer-box h2,
.mini-toc h2,
.faq-list h2,
.related-links h2 {
  margin-top: 0;
}

.answer-box {
  background:
    radial-gradient(circle at 92% 0%, rgba(34, 211, 238, .16), transparent 14rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
}

.answer-box p:last-child,
.faq-list p:last-child,
.related-links p:last-child {
  margin-bottom: 0;
}

.mini-toc ol,
.faq-list ol,
.related-links ul {
  margin: 0;
  padding-left: 22px;
}

.mini-toc li + li,
.faq-list li + li,
.related-links li + li {
  margin-top: 10px;
}

.community-cta {
  display: grid;
  gap: 18px;
  margin: 38px 0;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, .18), transparent 16rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .94));
  box-shadow: var(--shadow-soft);
}

.community-cta h2 {
  margin-top: 0;
}

.community-actions,
.tool-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-page {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 70px 0;
}

.community-hero-box h1 {
  max-width: 820px;
}

.community-submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: start;
  margin: 34px 0;
}

.community-form,
.community-guidelines {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
}

.community-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.community-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 850;
}

.community-form input,
.community-form select,
.community-form textarea {
  width: 100%;
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(5, 8, 22, .74);
  font: inherit;
  outline: none;
}

.community-form textarea {
  resize: vertical;
}

.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .13);
}

.community-guidelines {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.community-guidelines h2 {
  margin-top: 0;
}

.community-guidelines ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.community-guidelines li + li {
  margin-top: 10px;
}

.tool-link-grid a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .78);
  font-weight: 850;
}

.tool-link-grid a:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.stat-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card,
.step-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .86);
}

.stat-card strong,
.step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 18px;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: #c5d2e0;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  background: rgba(34, 211, 238, .08);
  font-weight: 900;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.article-gallery figure {
  margin: 0;
}

.article-gallery img {
  height: 260px;
  object-fit: cover;
}

.article-gallery figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.affiliate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.affiliate-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  overflow: hidden;
  padding: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .78);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.affiliate-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .58);
  box-shadow: var(--shadow-lift);
}

.affiliate-thumb {
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.affiliate-item strong {
  display: block;
  padding: 0 12px;
  font-size: 15px;
  line-height: 1.25;
}

.affiliate-item p {
  padding: 0 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.affiliate-item .button {
  position: static;
  z-index: 2;
  width: calc(100% - 24px);
  min-height: 38px;
  margin: 4px 12px 0;
  font-size: 13px;
}

.affiliate-item .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.commerce-note {
  display: grid;
  gap: 12px;
}

.commerce-note .button {
  justify-self: start;
  width: auto;
}

.product-context-panel {
  display: none !important;
}

.nebula-comments {
  margin: 48px 0 0;
  padding: 26px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(139, 92, 246, .16), transparent 14rem),
    rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
}

.comments-head h2 {
  margin-top: 0;
}

.comments-status {
  margin: 14px 0;
  color: var(--muted);
  font-weight: 800;
}

.comments-status[data-tone="ok"] { color: var(--green); }
.comments-status[data-tone="warn"] { color: var(--gold); }
.comments-status[data-tone="error"] { color: #fb7185; }

.comments-auth,
.comment-composer {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.nebula-comments [hidden] {
  display: none !important;
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-form,
.comment-form {
  display: grid;
  gap: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.auth-form label,
.comment-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.auth-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(5, 8, 22, .88);
  font: inherit;
}

.captcha-field span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.captcha-field strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--cyan);
  background: rgba(5, 8, 22, .68);
  font-family: "Space Grotesk", Manrope, sans-serif;
}

.comment-form textarea {
  min-height: 56px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.comment-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .7);
}

.comment-input-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.comment-form-inline .button {
  justify-self: end;
  width: auto;
  min-width: 132px;
}

.text-button {
  border: 0;
  color: var(--cyan);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.comments-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.comment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .74);
}

.comment-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-card span,
.empty-comments {
  color: var(--muted);
}

.comment-card p {
  margin: 8px 0 0;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  margin-top: 12px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  padding: 0 12px;
  color: #d9e7f7;
  background: rgba(5, 8, 22, .72);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.like-button span {
  color: var(--cyan);
}

.like-button:hover,
.like-button.active {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.like-button:hover span,
.like-button.active span {
  color: #03111a;
}

.nebula-offer-rotator {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  margin: 28px 0;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, .2), transparent 16rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nebula-offer-rotator:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .58);
  box-shadow: var(--shadow-lift);
}

.nebula-offer-rotator img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.nebula-offer-rotator h2 {
  margin-top: 0;
  font-size: clamp(18px, 2.1vw, 24px);
}

.nebula-offer-rotator p:not(.kicker) {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.nebula-offer-rotator span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.nebula-offer-rotator a {
  position: absolute;
  inset: 0;
  z-index: 2;
}


.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 30px;
  color: var(--muted);
}

.sidebar {
  display: none;
}

.side-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .86);
}

.side-box + .side-box { margin-top: 18px; }

.side-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.side-box ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.side-offer {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 0%, rgba(139, 92, 246, .18), transparent 12rem),
    rgba(8, 17, 31, .9);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.side-offer + .side-offer {
  margin-top: 18px;
}

.side-offer:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.side-offer img {
  height: 170px;
  object-fit: contain;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.side-offer h2 {
  margin: 0;
  font-size: 21px;
}

.side-offer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.side-offer .button {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  font-size: 14px;
}

.side-offer .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.side-offer img,
.side-offer h2,
.side-offer p,
.side-offer .button {
  position: relative;
  z-index: 0;
}

.side-product-rail {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.side-product-rail > h2 {
  margin: 0;
  font-size: 22px;
}

.side-product-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .18), transparent 12rem),
    rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.side-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.side-product-card img {
  height: 108px;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.side-product-card h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.side-product-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.side-product-card strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--cyan);
  font-size: 14px;
}

.side-product-card .button {
  width: 100%;
  min-height: 36px;
  font-size: 13px;
}

.side-product-card .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.side-product-card img,
.side-product-card h2,
.side-product-card p,
.side-product-card strong,
.side-product-card .button {
  position: relative;
  z-index: 0;
}

.legal-page main {
  width: min(860px, 88vw);
  margin: 0 auto;
  padding: 70px 0;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 62px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: #c5d2e0;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .portal-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6vw 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 8, 22, .98);
  }

  .site-nav.open { display: flex; }

  .category-menu {
    width: 100%;
  }

  .category-menu-button {
    width: 100%;
    justify-content: flex-start;
  }

  .category-menu-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .newsletter,
  .commerce-strip,
  .article-page main,
  .account-page-shell {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .article-grid,
  .product-grid,
  .category-grid,
  .modal-category-grid,
  .community-submit-grid,
  .article-gallery,
  .affiliate-list,
  .stat-grid,
  .step-grid,
  .nebula-offer-rotator,
  .home-news-grid,
  .portal-area-grid {
    grid-template-columns: 1fr;
  }

  .home-news-card-large {
    grid-row: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar { position: static; }

  .account-aside {
    position: static;
  }

  .profile-card,
  .comment-card,
  .comment-input-row {
    grid-template-columns: 1fr;
  }

  .comment-form-inline .button {
    width: 100%;
  }

  .product-context-panel {
    padding: 16px;
  }

  .product-context-panel .kicker {
    font-size: 11px;
  }

  .product-context-panel h2 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .product-context-panel > p:not(.kicker) {
    font-size: 14px;
    line-height: 1.55;
  }

  .product-context-panel .affiliate-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-context-panel .affiliate-item:nth-child(n+3) {
    display: none;
  }

  .product-context-panel .affiliate-thumb {
    height: 104px;
    padding: 9px;
  }

  .product-context-panel .affiliate-item strong {
    font-size: 13px;
  }

  .product-context-panel .affiliate-item p {
    display: none;
  }

  .product-context-panel .affiliate-item .button {
    min-height: 36px;
    font-size: 12px;
  }

  .nebula-offer-rotator img {
    height: 96px;
  }
}

@media (max-width: 560px) {
  .section,
  .newsletter {
    overflow: hidden;
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .section h2,
  .section-head h2 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .brand {
    min-height: 58px;
    gap: 9px;
  }

  .brand-logo {
    width: 86px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text span {
    font-size: 9px;
  }

  .hero {
    min-height: 590px;
    padding-top: 86px;
  }

  .nebula-enterprise-hero {
    min-height: auto;
    padding: 92px 7vw 66px;
  }

  .enterprise-home .hero-content {
    width: 100%;
  }

  .enterprise-home .hero h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.04;
    max-width: 9.8ch;
  }

  .enterprise-home .hero-copy {
    max-width: 29ch;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions,
  .hero-quicklinks,
  .signup div,
  .site-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .account-page main {
    width: min(92vw, 1120px);
    padding-top: 44px;
  }

  .account-card,
  .account-aside {
    padding: 20px;
  }

  .account-card h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .account-card > p {
    max-width: 27ch;
  }

  .site-footer {
    flex-direction: column;
  }
}


.blog-hero {
  padding: 78px 6vw 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 0%, rgba(139, 92, 246, .2), transparent 22rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
}

.blog-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.blog-hero p:not(.kicker) {
  max-width: 780px;
  font-size: 18px;
}

.blog-empty {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .86);
  font-weight: 800;
}

.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .18), transparent 14rem),
    rgba(5, 8, 22, .98);
  box-shadow: var(--shadow);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 5px;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: 850;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.account-enhanced .account-panel {
  display: grid;
  gap: 16px;
}

.profile-form {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.account-panel .resend-verification,
.account-panel .account-logout {
  justify-self: start;
}

@media (max-width: 720px) {
  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-actions,
  .cookie-actions .button {
    width: 100%;
  }
}

/* SEO hubs and commercial pages */
.site-nav {
  gap: clamp(12px, 2vw, 22px);
}

.site-nav a,
.site-nav button {
  white-space: nowrap;
}

.cluster-grid,
.service-grid,
.sponsor-wall,
.coupon-grid,
.topic-link-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cluster-card,
.service-card,
.sponsor-card,
.coupon-card,
.topic-link-card,
.offer-card,
.pricing-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .94), rgba(5, 8, 22, .96));
  box-shadow: var(--shadow-soft);
}

.cluster-card:hover,
.service-card:hover,
.sponsor-card:hover,
.coupon-card:hover,
.topic-link-card:hover,
.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .48);
  box-shadow: var(--shadow-lift);
}

.cluster-card strong,
.service-card h2,
.sponsor-card h2,
.coupon-card h2,
.topic-link-card strong,
.offer-card h2,
.pricing-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
}

.cluster-card p,
.service-card p,
.sponsor-card p,
.coupon-card p,
.topic-link-card p,
.offer-card p,
.pricing-card p {
  margin: 0;
}

.cluster-card span,
.topic-link-card span,
.offer-card .label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commercial-hero,
.topic-hero {
  display: grid;
  gap: 22px;
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0 clamp(34px, 6vw, 70px);
}

.commercial-hero h1,
.topic-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(38px, 7vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.commercial-hero p,
.topic-hero p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
}

.commercial-actions,
.topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-layout,
.commercial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}

.topic-main,
.commercial-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.topic-sidebar,
.commercial-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.sidebar-card,
.contact-card,
.disclosure-card {
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 8px;
  padding: 20px;
  background: rgba(8, 17, 31, .82);
}

.sidebar-card h2,
.contact-card h2,
.disclosure-card h2 {
  margin-top: 0;
  font-size: 20px;
}

.check-list,
.link-list,
.service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.link-list li,
.service-list li {
  color: #d9e7f7;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  vertical-align: .12em;
}

.service-card .button,
.coupon-card .button,
.sponsor-card .button,
.offer-card .button,
.contact-card .button {
  width: fit-content;
}

.logo-slot {
  display: grid;
  min-height: 136px;
  place-items: center;
  border: 1px dashed rgba(56, 189, 248, .32);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, .16), transparent 8rem), rgba(5, 8, 22, .72);
  color: var(--cyan);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.sponsor-card img {
  width: auto;
  max-width: 190px;
  max-height: 110px;
  object-fit: contain;
}

.coupon-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, .08);
  font-weight: 900;
  letter-spacing: .04em;
}

.editorial-method {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  padding: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, .18), transparent 18rem), rgba(8, 17, 31, .84);
}

.editorial-method h2 {
  margin: 0;
}

.pixel-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(74px, 1fr));
  grid-auto-rows: 74px;
  gap: 8px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 8px;
  padding: 12px;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, .14), transparent 18rem), rgba(5, 8, 22, .72);
}

.pixel-cell {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(56, 189, 248, .26);
  border-radius: 8px;
  padding: 8px;
  color: #c7d7ea;
  background: rgba(8, 17, 31, .92);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pixel-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .72);
  color: var(--ink);
  background: rgba(34, 211, 238, .14);
}

.pixel-cell.sold {
  color: #050816;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 12px 28px rgba(34, 211, 238, .16);
}

.pixel-cell.wide {
  grid-column: span 2;
}

.pixel-cell.tall {
  grid-row: span 2;
}

.pricing-card.featured {
  border-color: rgba(139, 92, 246, .58);
  background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, .22), transparent 16rem), rgba(8, 17, 31, .96);
}

.pricing-card .button {
  width: fit-content;
}

@media (max-width: 980px) {
  .cluster-grid,
  .service-grid,
  .sponsor-wall,
  .coupon-grid,
  .topic-link-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-layout,
  .commercial-layout {
    grid-template-columns: 1fr;
  }

  .topic-sidebar,
  .commercial-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .cluster-grid,
  .service-grid,
  .sponsor-wall,
  .coupon-grid,
  .topic-link-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .commercial-hero,
  .topic-hero {
    width: min(92vw, 1120px);
    padding-top: 44px;
  }

  .pixel-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pixel-cell.wide,
  .pixel-cell.tall {
    grid-column: auto;
    grid-row: auto;
  }
}


.community-page-shell .answer-box {
  overflow: hidden;
}

.community-page .service-grid {
  margin-top: 18px;
}

.community-page .category-grid {
  border-radius: 8px;
  overflow: hidden;
}

.community-page .community-actions {
  margin-top: 18px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(500px, 38vw);
  justify-self: end;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-visual-main,
.hero-visual-strip img,
.visual-tile img {
  object-fit: cover;
  filter: grayscale(.12) saturate(.9) contrast(1.04);
}

.hero-visual-main {
  height: 330px;
  border-radius: 6px;
}

.hero-visual-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-visual-strip img {
  height: 132px;
  border-radius: 6px;
}

.visual-radar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(229, 231, 235, .86));
  border-bottom: 1px solid rgba(15, 23, 42, .12);
}

.visual-radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .8fr));
  gap: 18px;
}

.visual-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}

.visual-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.visual-tile-wide {
  grid-row: span 2;
  min-height: 658px;
}

.visual-tile img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: .78;
  transition: transform .4s ease, opacity .4s ease;
}

.visual-tile:hover img {
  transform: scale(1.04);
  opacity: .9;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .76));
}

.visual-tile span,
.visual-tile strong {
  position: relative;
  z-index: 1;
  margin: 0 22px;
  color: #ffffff;
}

.visual-tile span {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visual-tile strong {
  margin-bottom: 22px;
  max-width: 12ch;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.06;
}

.visual-tile:not(.visual-tile-wide) strong {
  font-size: clamp(20px, 2vw, 28px);
}

.commercial-hero.media-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
}

.commercial-hero-copy {
  display: grid;
  gap: 22px;
}

.commercial-hero-media {
  display: grid;
  grid-template-columns: 1.2fr 0.82fr;
  gap: 10px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .1);
}

.commercial-hero-media img,
.image-feature-card img,
.coupon-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #eef2f7;
}

.commercial-hero-media img {
  min-height: 360px;
  border-radius: 7px;
  aspect-ratio: 4 / 5;
}

.commercial-hero-media div {
  display: grid;
  gap: 10px;
}

.commercial-hero-media div img {
  min-height: 175px;
  aspect-ratio: 1 / 1;
}

.image-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-feature-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.image-feature-card img {
  height: 230px;
  transition: transform .35s ease;
}

.image-feature-card:hover img {
  transform: scale(1.035);
}

.image-feature-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.image-feature-card h2,
.image-feature-card p {
  margin: 0;
}

.image-feature-card h2 {
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
}

.coupon-card img {
  height: 170px;
  border-radius: 7px;
}

/* Portal Nebula monochrome theme */
:root {
  --space: #f8fafc;
  --card: #ffffff;
  --ink: #0b0f14;
  --muted: #52606d;
  --line: rgba(15, 23, 42, .14);
  --paper: #f8fafc;
  --soft: #f1f5f9;
  --night: #111827;
  --cyan: #111827;
  --blue: #6b7280;
  --violet: #0f172a;
  --green: #15803d;
  --gold: #a16207;
  --rose: #475569;
  --shadow: 0 22px 60px rgba(15, 23, 42, .14);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, .1);
  --shadow-lift: 0 18px 42px rgba(15, 23, 42, .16);
}

body {
  color: var(--ink);
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f6f8 34%, #d7dce2 66%, #111827 138%);
}

p,
.commercial-hero p,
.topic-hero p,
.article-content p,
.article-content li,
.legal-page p,
.legal-page li,
.check-list li,
.link-list li,
.service-list li {
  color: var(--muted);
}

h1,
h2,
h3,
.commercial-hero h1,
.topic-hero h1,
.legal-page h1,
.article-content h1,
.article-content h2,
.cluster-card strong,
.service-card h2,
.sponsor-card h2,
.coupon-card h2,
.topic-link-card strong,
.offer-card h2,
.pricing-card h2 {
  color: var(--ink);
}

.site-header {
  border-bottom-color: rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.brand,
.brand-text strong,
.site-nav {
  color: var(--ink);
}

.brand-logo {
  filter: grayscale(.38) saturate(.78) contrast(1.06) drop-shadow(0 8px 16px rgba(15, 23, 42, .14));
}

.brand-text span,
.kicker,
.tag,
.text-link,
.cluster-card span,
.topic-link-card span,
.offer-card .label,
.profile-card strong,
.comment-card strong,
.comment-user strong,
.coupon-code {
  color: #111827;
}

.nav-modal-button,
.category-menu-button,
.filter,
.hero-quicklinks a,
.like-button,
.text-button {
  color: var(--ink);
  border-color: rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .72);
}

.nav-modal-button:hover,
.account-trigger,
.account-trigger:hover,
.button.primary,
.filter.active,
.like-button:hover,
.like-button.active,
.pixel-cell.sold {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #0b0f14, #4b5563);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
}

.button.secondary,
.site-search,
.signup,
.category-menu-panel,
.account-panel,
.comment-user,
.auth-form input,
.comment-form textarea,
.site-search input,
.signup input {
  color: var(--ink);
  border-color: rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .82);
}

.button.secondary:hover,
.hero-quicklinks a:hover,
.category-menu-panel a:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #111827, #6b7280);
}

.hero,
.nebula-enterprise-hero {
  background: #f8fafc;
}

.nebula-enterprise-hero {
  grid-template-columns: minmax(0, .95fr) minmax(340px, .72fr);
  gap: clamp(24px, 5vw, 72px);
}

.hero-media,
.nebula-enterprise-hero .hero-media {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, .72), transparent 20rem),
    radial-gradient(circle at 12% 18%, rgba(15, 23, 42, .08), transparent 22rem),
    linear-gradient(118deg, rgba(255, 255, 255, .98) 0%, rgba(241, 245, 249, .96) 42%, rgba(156, 163, 175, .86) 76%, rgba(17, 24, 39, .92) 128%);
}

.hero h1,
.enterprise-home .hero h1 {
  color: #0b0f14;
}

.hero-copy {
  color: #334155;
}

.home-news,
.portal-areas,
.categories,
.newsletter,
.commercial-strip,
.blog-hero,
.commerce-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(241, 245, 249, .92));
  border-color: rgba(15, 23, 42, .12);
}

.home-news-card,
.home-news-card-large,
.portal-area-card,
.article-card,
.cluster-card,
.service-card,
.sponsor-card,
.coupon-card,
.topic-link-card,
.offer-card,
.pricing-card,
.account-card,
.account-aside,
.side-box,
.side-offer,
.side-product-card,
.sidebar-card,
.contact-card,
.disclosure-card,
.editorial-method,
.pixel-board,
.community-cta,
.nebula-comments,
.comment-card,
.member-card,
.product-context-panel,
.nebula-offer-rotator,
.blog-empty {
  border-color: rgba(15, 23, 42, .14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
  box-shadow: var(--shadow-soft);
}

.home-news-card:hover,
.portal-area-card:hover,
.article-card:hover,
.cluster-card:hover,
.service-card:hover,
.sponsor-card:hover,
.coupon-card:hover,
.topic-link-card:hover,
.offer-card:hover,
.side-offer:hover,
.side-product-card:hover {
  border-color: rgba(15, 23, 42, .28);
  box-shadow: var(--shadow-lift);
}

.home-news-media,
.portal-area-card img,
.article-card img {
  border-color: rgba(15, 23, 42, .12);
  filter: grayscale(.08) saturate(.92) contrast(1.02);
}

.category-tile {
  background: #ffffff;
}

.category-tile:hover {
  background: #f1f5f9;
}

.category-grid {
  background: rgba(15, 23, 42, .12);
  border-color: rgba(15, 23, 42, .14);
}

.category-menu-panel {
  background: rgba(255, 255, 255, .98);
}

.category-menu-panel a {
  color: var(--ink);
}

.category-menu-panel a + a {
  border-top-color: rgba(15, 23, 42, .1);
}

.article-content a {
  color: #111827;
}

.article-gallery figure,
.stat-card,
.answer-box,
.product-context-panel .affiliate-item {
  border-color: rgba(15, 23, 42, .14);
  background: rgba(255, 255, 255, .92);
}

.side-offer img,
.side-product-card img,
.product-context-panel .affiliate-thumb,
.nebula-offer-rotator img {
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
}

.logo-slot,
.pixel-cell,
.coupon-code,
.captcha-field strong {
  color: var(--ink);
  border-color: rgba(15, 23, 42, .2);
  background: rgba(248, 250, 252, .9);
}

.pricing-card.featured {
  border-color: rgba(15, 23, 42, .28);
  background: linear-gradient(180deg, #ffffff, #eef2f7);
}

.site-footer {
  color: #f8fafc;
  background: linear-gradient(135deg, #0b0f14, #1f2937);
}

.site-footer p {
  color: #cbd5e1;
}

.cookie-consent {
  color: var(--ink);
  border-color: rgba(15, 23, 42, .18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(241, 245, 249, .98));
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
}

.cookie-consent p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-nav {
    background: rgba(255, 255, 255, .98);
  }

  .nav-toggle {
    background: #ffffff;
  }

  .nav-toggle span {
    background: var(--ink);
  }

  .nebula-enterprise-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  .visual-radar-grid {
    grid-template-columns: 1fr;
  }

  .visual-tile,
  .visual-tile-wide {
    grid-row: auto;
    min-height: 320px;
  }

  .media-hero,
  .image-feature-grid {
    grid-template-columns: 1fr;
  }

  .commercial-hero-media {
    grid-template-columns: 1fr;
  }

  .commercial-hero-media img,
  .commercial-hero-media div img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
}

.site-header {
  min-height: 76px;
  padding-inline: clamp(18px, 5vw, 72px);
}

.site-nav {
  gap: 12px;
}

.site-nav > a:not(.account-trigger),
.nav-modal-button,
.category-menu-button,
.notification-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 13px;
}

.category-menu-panel {
  width: min(420px, calc(100vw - 32px));
  padding: 10px;
  gap: 4px;
  border-radius: 12px;
}

.category-menu-head {
  display: grid;
  gap: 3px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}

.category-menu-head strong {
  color: var(--ink);
  font-weight: 900;
}

.category-menu-head span,
.category-menu-panel a span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.category-menu-panel a {
  display: grid;
  gap: 3px;
  border-radius: 8px;
  padding: 12px;
}

.category-menu-panel a strong {
  color: inherit;
}

.category-menu-panel a + a {
  border-top: 0;
}

.category-menu-panel a:hover span {
  color: rgba(255, 255, 255, .82);
}

.notification-center {
  position: relative;
  display: inline-flex;
}

.notification-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, .16);
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.notification-button:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #111827, #6b7280);
}

.notification-button strong {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  padding: 0 6px;
  color: #ffffff;
  background: #111827;
  font-size: 12px;
  line-height: 1;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 35;
  width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .18);
}

.notification-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}

.notification-panel header strong {
  color: var(--ink);
}

.notification-list {
  display: grid;
  max-height: min(460px, 70vh);
  overflow: auto;
}

.notification-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 4px solid transparent;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.notification-item.unread {
  border-left-color: #111827;
  background: rgba(15, 23, 42, .045);
}

.notification-item span {
  color: var(--ink);
  font-weight: 900;
}

.notification-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.notification-item small,
.notification-empty {
  color: var(--muted);
}

.notification-empty {
  margin: 0;
  padding: 18px 16px;
}

.captcha-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
  width: fit-content;
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .72);
}

.captcha-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #111827;
}

.reply-target {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 800;
}

.reply-target strong {
  color: var(--ink);
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.reply-button {
  margin-top: 12px;
  min-height: 34px;
}

.comment-replies {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid rgba(15, 23, 42, .12);
}

.comment-card.comment-reply {
  background: rgba(248, 250, 252, .9);
  box-shadow: none;
}

@media (max-width: 900px) {
  .notification-center,
  .notification-button,
  .account-trigger {
    width: 100%;
  }

  .notification-button,
  .account-trigger {
    justify-content: flex-start;
  }

  .notification-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .category-menu-panel {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: none;
    margin-top: 8px;
    transform: none;
    box-shadow: none;
  }

  .comment-replies {
    padding-left: 10px;
  }
}

/* Header polish: quieter navigation, compact actions, cleaner dropdowns. */
.site-header {
  min-height: 74px;
  padding-inline: clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(15, 23, 42, .1);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .075);
}

.brand {
  min-height: 74px;
}

.site-nav {
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: rgba(248, 250, 252, .72);
}

.site-nav > a:not(.account-trigger),
.category-menu-button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #1f2937;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 850;
}

.site-nav > a:not(.account-trigger):hover,
.category-menu-button:hover {
  color: #0b0f14;
  background: rgba(15, 23, 42, .06);
}

.category-menu-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .62;
}

.notification-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: #111827;
  background: transparent;
  box-shadow: none;
}

.notification-button:hover {
  color: #0b0f14;
  background: rgba(15, 23, 42, .06);
}

.notification-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-button strong {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  color: #ffffff;
  background: #111827;
  border: 2px solid #ffffff;
  font-size: 10px;
}

.account-trigger {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #374151);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
  font-size: 14px;
  font-weight: 900;
}

.account-trigger:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #020617, #4b5563);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
}

.notification-panel {
  top: calc(100% + 14px);
  border-radius: 14px;
  border-color: rgba(15, 23, 42, .12);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.category-menu-panel {
  position: fixed;
  top: 82px;
  left: 50%;
  right: auto;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(640px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 104px));
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
  transform: translateX(-50%);
}

.category-menu-head {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(248, 250, 252, .96), rgba(241, 245, 249, .92));
}

.category-menu-panel a {
  min-height: 82px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, .92);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.category-menu-panel a:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #111827, #4b5563);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .brand {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
    gap: 8px;
    border-radius: 0;
    border-inline: 0;
    background: rgba(255, 255, 255, .98);
  }

  .site-nav > a:not(.account-trigger),
  .category-menu-button,
  .notification-button,
  .account-trigger {
    width: 100%;
    justify-content: flex-start;
  }

  .notification-button {
    padding: 0 14px;
  }

  .notification-button .sr-only {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .category-menu-panel {
    left: auto;
    transform: none;
  }
}

/* Header alignment fix */
.site-nav {
  align-items: center;
}

.category-menu,
.notification-center {
  align-items: center;
  height: 38px;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.notification-button,
.account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  line-height: 1;
}

.category-menu-button {
  gap: 7px;
}

.category-menu-button::after {
  flex: 0 0 auto;
  margin: 0;
  transform: translateY(-1px) rotate(45deg);
}

@media (max-width: 900px) {
  .category-menu,
  .notification-center {
    height: auto;
  }

  .site-nav > a:not(.account-trigger),
  .category-menu-button,
  .notification-button,
  .account-trigger {
    justify-content: flex-start;
  }
}


/* Platform commercial structure */
.platform-nav { gap: 4px; }
.platform-nav .nav-plan-link { color: #fff !important; background: linear-gradient(135deg, #0b0f14, #374151) !important; box-shadow: 0 10px 22px rgba(15,23,42,.14) !important; }
.platform-nav .nav-plan-link:hover { background: linear-gradient(135deg, #020617, #4b5563) !important; }
.platform-footer nav { max-width: 900px; }
.platform-home .section, .commercial-page .section { padding-inline: clamp(18px, 6vw, 88px); }
.platform-hero { min-height: 650px; grid-template-columns: minmax(0,.95fr) minmax(340px,.78fr); align-items: center; gap: clamp(24px,5vw,72px); padding-top: 100px; }
.platform-hero .hero-content { max-width: 760px; }
.platform-hero h1 { max-width: 780px; color: #0b0f14; font-size: clamp(42px,6vw,82px); line-height: .98; }
.platform-hero .hero-copy { max-width: 680px; color: #334155; }
.platform-hero-visual, .commercial-hero-media { position: relative; z-index: 1; }
.front-grid, .plan-grid, .ebook-category-grid, .media-kit-grid, .status-grid, .scope-grid, .sponsor-grid { display: grid; gap: 18px; }
.front-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.plan-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.scope-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ebook-category-grid, .media-kit-grid, .status-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.front-card, .plan-card, .ebook-category-grid article, .media-kit-grid article, .status-grid article, .scope-grid > div { display: grid; gap: 14px; min-height: 100%; border: 1px solid rgba(15,23,42,.14); border-radius: 10px; padding: clamp(20px,3vw,30px); background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94)); box-shadow: var(--shadow-soft); }
.front-card:hover, .plan-card:hover, .ebook-category-grid article:hover, .media-kit-grid article:hover, .sponsor-card:hover { transform: translateY(-2px); border-color: rgba(15,23,42,.28); box-shadow: var(--shadow-lift); }
.front-card span, .plan-label, .status-pill { width: fit-content; border: 1px solid rgba(15,23,42,.16); border-radius: 999px; padding: 6px 10px; color: #111827; background: rgba(248,250,252,.92); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.front-card h3, .plan-card h3, .ebook-category-grid h3, .media-kit-grid h3 { margin: 0; color: var(--ink); font-family: "Space Grotesk", Manrope, sans-serif; font-size: clamp(22px,2.2vw,30px); line-height: 1.08; }
.front-card p, .plan-card p, .ebook-category-grid p, .media-kit-grid p, .status-grid p, .scope-grid p { margin: 0; }
.plan-grid.compact .plan-card { min-height: 320px; }
.plan-card { align-content: start; }
.plan-card.featured { border-color: rgba(15,23,42,.32); background: linear-gradient(180deg,#fff,#eef2f7); }
.price { display: block; color: var(--ink); font-family: "Space Grotesk", Manrope, sans-serif; font-size: clamp(28px,3vw,42px); line-height: 1; }
.plan-card small { color: var(--muted); font-weight: 750; }
.feature-list { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.plan-note { border-left: 4px solid #111827; padding: 10px 12px; border-radius: 0 8px 8px 0; background: rgba(15,23,42,.055); font-weight: 800; }
.discount-table, .commercial-table { display: grid; overflow: hidden; border: 1px solid rgba(15,23,42,.14); border-radius: 10px; background: #fff; box-shadow: var(--shadow-soft); }
.discount-table { grid-template-columns: repeat(4,minmax(0,1fr)); }
.commercial-table { grid-template-columns: repeat(2,minmax(0,1fr)); }
.discount-table div, .commercial-table div { display: grid; gap: 6px; padding: 22px; border-right: 1px solid rgba(15,23,42,.1); border-bottom: 1px solid rgba(15,23,42,.1); }
.discount-table strong, .commercial-table strong, .service-card strong { color: var(--ink); font-size: 20px; }
.discount-table span, .commercial-table span { color: var(--muted); font-weight: 800; }
.commercial-services .service-card { gap: 14px; }
.commercial-services .service-card strong { margin-top: auto; }
.logo-card { min-height: 280px; }
.logo-slot { display: grid; width: min(100%,220px); min-height: 92px; place-items: center; border-radius: 10px; font-size: 22px; font-weight: 900; text-transform: uppercase; }
.policy-page section { max-width: 980px; }
.policy-page h1 { max-width: 900px; }
.policy-page h2 { color: var(--ink); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; background: #fff; }
  .nav-toggle span { background: var(--ink); }
  .site-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 6vw 24px; border-inline: 0; border-radius: 0; background: rgba(255,255,255,.98); box-shadow: 0 18px 44px rgba(15,23,42,.12); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.account-trigger), .notification-button, .account-trigger { width: 100%; justify-content: flex-start; }
  .notification-center { width: 100%; height: auto; }
  .notification-button { padding: 0 14px; }
  .notification-panel { position: static; width: 100%; margin-top: 8px; }
}
@media (max-width: 980px) {
  .platform-hero, .commercial-hero, .commercial-hero.media-hero, .scope-grid { grid-template-columns: 1fr; }
  .front-grid, .plan-grid, .ebook-category-grid, .media-kit-grid, .status-grid, .discount-table, .commercial-table { grid-template-columns: 1fr; }
  .platform-hero h1 { font-size: clamp(38px,12vw,58px); }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding-inline: 14px 66px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    width: 84px;
    height: 54px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text span {
    max-width: 150px;
    font-size: 9px;
    white-space: nowrap;
  }

  .nav-toggle {
    position: fixed;
    top: 15px;
    right: 14px;
    z-index: 12;
    display: grid !important;
    flex: 0 0 42px;
    place-items: center;
    border-color: rgba(15, 23, 42, .16);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .1);
  }

  .nav-toggle span {
    width: 18px;
    margin: 2px auto;
    background: #0b0f14;
  }

  .platform-hero {
    min-height: auto;
    padding: 92px 18px 54px;
  }

  .platform-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 8.6vw, 36px);
    overflow-wrap: break-word;
  }

  .platform-hero .hero-copy {
    font-size: 18px;
  }
}

/* Admin, checkout and plan identity */
.admin-trigger {
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #111827) !important;
}

.plan-start {
  border-top: 6px solid #10b981;
}

.plan-builder {
  border-top: 6px solid #3b82f6;
}

.plan-prime {
  border-top: 6px solid #8b5cf6;
}

.plan-card.selected {
  outline: 3px solid rgba(15, 23, 42, .22);
  transform: translateY(-2px);
}

.checkout-box,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: 22px;
  align-items: start;
}

.checkout-box {
  border-top: 1px solid rgba(15, 23, 42, .1);
}

[data-plan-summary] {
  display: grid;
  gap: 5px;
}

[data-plan-summary] span {
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
}

.admin-shell {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.admin-hero {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #eef2f7);
  box-shadow: var(--shadow-soft);
}

.admin-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.admin-panel {
  display: grid;
  gap: 20px;
}

.admin-counts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.admin-counts article,
.admin-empty {
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-counts strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 38px;
}

.admin-counts span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table {
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-table table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--ink);
  background: #f8fafc;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-table select,
.admin-settings-form input,
.admin-post-form input,
.admin-post-form textarea,
.admin-post-form select,
.commercial-contact-form input,
.commercial-contact-form textarea {
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 8px;
  background: #fff;
}

.admin-post-editor {
  grid-template-columns: minmax(320px, .58fr) minmax(0, 1fr);
  align-items: start;
}

@media (max-width: 980px) {
  .checkout-box,
  .contact-layout,
  .admin-post-editor,
  .admin-counts {
    grid-template-columns: 1fr;
  }
}

/* 2026-05-22 admin and drawer navigation refinement */
body.nav-open {
  overflow: hidden;
}

.site-header {
  z-index: 60;
  gap: 18px;
  overflow: visible;
}

.site-header::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(4px);
}

body.nav-open .site-header::after {
  display: block;
}

.nav-toggle {
  position: relative;
  z-index: 72;
  display: grid !important;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  margin: 2px auto;
  border-radius: 999px;
  background: #111827;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed !important;
  top: 14px !important;
  right: max(14px, calc((100vw - 1320px) / 2));
  left: auto !important;
  z-index: 70;
  display: none !important;
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  flex-direction: column;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 78px 16px 18px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .26) !important;
  transform: translateX(calc(100% + 34px));
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .18s ease;
}

.site-nav::before {
  content: "Menu";
  position: absolute;
  top: 22px;
  left: 20px;
  color: #0f172a;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.site-nav.open {
  display: flex !important;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.notification-button,
.account-trigger {
  width: 100% !important;
  justify-content: flex-start !important;
  min-height: 48px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 14px !important;
  padding: 0 14px !important;
  color: #172033 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.site-nav > a:hover,
.category-menu-button:hover,
.notification-button:hover,
.account-trigger:hover {
  color: #0b0f14 !important;
  border-color: rgba(15, 23, 42, .18) !important;
  background: #f1f5f9 !important;
}

.platform-nav .nav-plan-link,
.admin-trigger {
  color: #ffffff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #111827, #4b5563) !important;
}

.category-menu,
.notification-center {
  width: 100%;
  height: auto;
}

.category-menu-panel,
.notification-panel {
  position: static;
  width: 100%;
  max-height: none;
  margin-top: 8px;
  transform: none;
  box-shadow: none;
}

.category-menu-panel {
  grid-template-columns: 1fr;
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-toggle {
    position: relative;
    top: auto;
    right: auto;
  }

  .brand-logo {
    width: 74px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 18px;
  }
}

.admin-body {
  background: linear-gradient(180deg, #f8fafc, #e5e7eb);
}

.admin-shell {
  width: min(1360px, calc(100% - 36px));
}

.admin-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-hero-actions,
.admin-form-actions,
.admin-quick-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-tabs {
  position: sticky;
  top: 82px;
  z-index: 8;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

.admin-dashboard-grid,
.admin-role-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 18px;
}

.admin-card,
.admin-list-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 26px);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.admin-card h2,
.admin-list-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
}

.admin-list-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.admin-table th {
  white-space: nowrap;
}

.admin-table td {
  color: #334155;
}

.role-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  min-width: 320px;
}

.role-checks label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 2px 4px 2px 0;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge.is-active,
.status-badge.is-approved,
.status-badge.is-published,
.status-badge.is-authorized {
  background: #dcfce7;
  color: #166534;
}

.status-badge.is-pending,
.status-badge.is-new,
.status-badge.is-draft {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.is-hidden,
.status-badge.is-blocked,
.status-badge.is-failed {
  background: #fee2e2;
  color: #991b1b;
}

.admin-post-editor {
  grid-template-columns: minmax(360px, .58fr) minmax(0, 1fr);
}

.admin-post-form {
  position: sticky;
  top: 170px;
}

.admin-table .button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .admin-hero,
  .admin-dashboard-grid,
  .admin-role-layout,
  .admin-post-editor {
    grid-template-columns: 1fr;
  }

  .admin-post-form {
    position: static;
  }
}

/* 2026-05-22 simplified platform navigation and member features */
.site-nav a[href$="cupons.html"],
.site-nav a[href$="servicos.html"],
.site-nav a[href$="patrocinar.html"],
.site-nav a[href$="patrocinadores.html"] {
  display: none !important;
}

a[href$="cupons.html"],
a[href*="legal/cupons-ofertas"] {
  display: none !important;
}

.site-nav {
  padding: 92px 18px 18px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .16), transparent 13rem),
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96)) !important;
}

.site-nav::before {
  content: "Portal Nebula" !important;
  top: 22px !important;
  left: 22px !important;
}

.site-nav::after {
  content: "Artigos, membros e conta";
  position: absolute;
  top: 52px;
  left: 22px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.notification-button,
.account-trigger {
  border-color: rgba(15, 23, 42, .1) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
  font-weight: 900 !important;
}

.site-nav > a:not(.account-trigger)::before,
.category-menu-button::before,
.account-trigger::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #38bdf8);
}

.platform-nav .nav-plan-link,
.admin-trigger {
  background: linear-gradient(135deg, #0f172a, #334155) !important;
}

.category-menu-panel {
  border-radius: 18px;
  background: #ffffff !important;
}

.category-menu-head {
  padding: 12px 14px 8px;
  color: #0f172a;
}

.category-menu-head span,
.category-menu-panel a span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.plan-starter {
  border-color: rgba(13, 148, 136, .32) !important;
  background: linear-gradient(180deg, #ffffff, #ecfeff) !important;
}

.plan-prime {
  border-color: rgba(124, 58, 237, .28) !important;
}

.plan-pro {
  border-color: rgba(249, 115, 22, .34) !important;
  background: linear-gradient(180deg, #ffffff, #fff7ed) !important;
}

.plan-starter .plan-label { color: #0f766e; border-color: rgba(13, 148, 136, .25); }
.plan-prime .plan-label { color: #6d28d9; border-color: rgba(124, 58, 237, .25); }
.plan-pro .plan-label { color: #c2410c; border-color: rgba(249, 115, 22, .28); }

.nebula-web-strip {
  border-color: rgba(15, 23, 42, .12) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,245,249,.92)),
    radial-gradient(circle at 100% 0%, rgba(56,189,248,.18), transparent 20rem) !important;
}

.member-gate {
  padding-top: 28px;
}

.member-gate-card {
  display: grid;
  gap: 14px;
  max-width: 860px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.member-gate-card.compact {
  padding: 16px;
  border-radius: 14px;
  box-shadow: none;
}

.member-gate-card h2,
.member-gate-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Manrope, sans-serif;
}

.member-material-grid small {
  color: #64748b;
  font-weight: 850;
}

.cookie-consent {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 90 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-bottom: 0 !important;
  border-radius: 18px 18px 0 0 !important;
  padding: 16px clamp(18px, 6vw, 84px) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 -18px 48px rgba(15, 23, 42, .14) !important;
  backdrop-filter: blur(16px);
}

.cookie-consent p {
  max-width: 760px;
  margin: 4px 0 0 !important;
}

.cookie-actions {
  justify-content: end;
}

.support-widget {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 84;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

.support-toggle {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #334155);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .26);
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 110px));
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 26px 80px rgba(15, 23, 42, .28);
}

.support-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0f172a;
}

.support-messages {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  padding-right: 4px;
}

.support-message {
  display: grid;
  gap: 4px;
  max-width: 88%;
  border-radius: 14px;
  padding: 10px 12px;
  background: #f1f5f9;
  color: #0f172a;
}

.support-message.is-staff {
  justify-self: end;
  background: #e0f2fe;
}

.support-message p,
.support-empty {
  margin: 0;
  color: #334155;
  line-height: 1.45;
}

.support-message small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.support-form {
  display: grid;
  gap: 10px;
}

.support-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 14px;
  padding: 12px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.support-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 18px;
}

.support-thread-list {
  display: grid;
  gap: 10px;
}

.support-thread-card {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  padding: 14px;
  color: #0f172a;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.support-thread-card:hover {
  border-color: rgba(14, 165, 233, .34);
  box-shadow: 0 12px 28px rgba(14, 165, 233, .12);
}

.support-thread-card p {
  margin: 0;
  color: #475569;
}

.admin-support-messages {
  max-height: 420px;
}

@media (max-width: 760px) {
  .cookie-consent {
    grid-template-columns: 1fr !important;
    padding: 14px 16px !important;
  }

  .cookie-actions,
  .cookie-actions .button {
    width: 100%;
  }

  .support-admin-layout {
    grid-template-columns: 1fr;
  }

  .support-panel {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 72px;
    width: auto;
  }
}

/* Keep the main plan CTA readable inside the drawer menu. */
.site-nav .nav-plan-link,
.site-nav .nav-plan-link:visited,
.site-nav .nav-plan-link:hover,
.site-nav .nav-plan-link:focus-visible,
.site-nav .nav-plan-link:active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f172a, #334155) !important;
  border-color: transparent !important;
}

/* Header actions stay outside the drawer: Blog, notifications, account and menu. */
.site-nav a[href$="blog.html"] {
  display: none !important;
}

.header-actions {
  position: relative;
  z-index: 72;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.header-blog-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  padding: 0 16px;
  color: #172033;
  background: rgba(255, 255, 255, .82);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.header-blog-link:hover {
  color: #0f172a;
  background: #ffffff;
}

.header-actions .notification-center {
  position: relative;
  display: inline-flex !important;
  width: auto !important;
}

.header-actions .notification-button {
  display: inline-grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-radius: 999px !important;
  padding: 0 !important;
  color: #172033 !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
}

.header-actions .notification-button:hover {
  color: #0f172a !important;
  background: #ffffff !important;
}

.header-actions .notification-panel {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  width: min(390px, calc(100vw - 28px)) !important;
  max-height: min(560px, calc(100vh - 92px)) !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22) !important;
}

.header-actions .account-trigger {
  display: inline-flex !important;
  width: auto !important;
  min-height: 42px !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f172a, #334155) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16) !important;
}

.header-actions .account-trigger::before {
  display: none !important;
}

.header-actions .account-trigger:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #020617, #475569) !important;
}

.header-actions .nav-toggle {
  flex: 0 0 46px;
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-blog-link {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }

  .header-actions .account-trigger {
    min-height: 38px !important;
    max-width: 106px;
    overflow: hidden;
    padding: 0 12px !important;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions .notification-button {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
}

/* 2026-05-23: hardened header drawer placement.
   The drawer must open below the header while Blog, notifications, account and
   the menu button remain in the header action area. */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  min-height: 86px !important;
  overflow: visible !important;
}

.site-header::after {
  inset: 86px 0 0 0 !important;
  z-index: 88 !important;
}

.brand {
  position: relative !important;
  z-index: 122 !important;
}

.header-actions {
  position: relative !important;
  z-index: 124 !important;
  flex: 0 0 auto !important;
}

.header-actions .nav-toggle {
  position: relative !important;
  z-index: 126 !important;
}

.header-actions .nav-toggle span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.header-actions .nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px)) !important;
}

.header-actions .nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px)) !important;
}

.header-actions .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.header-actions .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}

.header-actions .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.nav-open .header-actions .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body.nav-open .header-actions .nav-toggle span:nth-child(2) {
  opacity: 0 !important;
}

body.nav-open .header-actions .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.site-nav .nav-plan-link,
.site-nav .nav-plan-link:visited,
.platform-nav .nav-plan-link,
.platform-nav .nav-plan-link:visited {
  position: relative !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  overflow: hidden !important;
  border: 1px solid rgba(180, 119, 18, .42) !important;
  color: #221300 !important;
  background:
    linear-gradient(135deg, #fff7cc 0%, #facc15 34%, #d97706 67%, #fff2a8 100%) !important;
  box-shadow: 0 16px 34px rgba(180, 83, 9, .24), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35) !important;
}

.site-nav .nav-plan-link::before,
.platform-nav .nav-plan-link::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23783f04' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 4.5 3.5L12 4l4.5 7.5L21 8l-2 11H5L3 8Z' fill='%23fde68a'/%3E%3Cpath d='M5 19h14'/%3E%3Ccircle cx='12' cy='4' r='1.4' fill='%23fff7cc'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.site-nav .nav-plan-link::after,
.platform-nav .nav-plan-link::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .38) 46%, transparent 62%) !important;
  transform: translateX(-120%) !important;
  transition: transform .45s ease !important;
}

.site-nav .nav-plan-link:hover,
.site-nav .nav-plan-link:focus-visible,
.platform-nav .nav-plan-link:hover,
.platform-nav .nav-plan-link:focus-visible {
  color: #160b00 !important;
  border-color: rgba(146, 64, 14, .55) !important;
  background:
    linear-gradient(135deg, #fff3b0 0%, #fbbf24 32%, #b45309 68%, #fde68a 100%) !important;
  box-shadow: 0 20px 42px rgba(180, 83, 9, .3), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
}

.site-nav .nav-plan-link:hover::after,
.site-nav .nav-plan-link:focus-visible::after,
.platform-nav .nav-plan-link:hover::after,
.platform-nav .nav-plan-link:focus-visible::after {
  transform: translateX(120%) !important;
}

.site-nav {
  position: fixed !important;
  top: 98px !important;
  right: clamp(14px, 4vw, 56px) !important;
  left: auto !important;
  z-index: 118 !important;
  width: min(360px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 116px) !important;
  padding: 14px !important;
  gap: 9px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 30px 72px rgba(15, 23, 42, .22) !important;
}

.site-nav::before,
.site-nav::after {
  display: none !important;
  content: none !important;
}

.site-nav > a:not(.account-trigger) {
  min-height: 48px !important;
  width: 100% !important;
  justify-content: flex-start !important;
  border: 1px solid rgba(15, 23, 42, .1) !important;
  border-radius: 15px !important;
  padding: 0 16px !important;
  color: #172033 !important;
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

.site-nav > a:not(.account-trigger)::before {
  display: none !important;
  content: none !important;
}

.site-nav .nav-plan-link {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f172a, #334155) !important;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 78px !important;
    padding-inline: 12px !important;
  }

  .site-header::after {
    inset: 78px 0 0 0 !important;
  }

  .brand-logo {
    width: 70px !important;
    height: 48px !important;
  }

  .brand-text strong {
    font-size: 18px !important;
  }

  .brand-text span {
    font-size: 9px !important;
  }

  .header-actions {
    gap: 7px !important;
  }

  .site-nav {
    top: 88px !important;
    right: 12px !important;
    width: min(340px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 104px) !important;
  }
}

/* 2026-05-23: paleta carbono Nebula Web */
:root {
  --space: #0b1018;
  --card: #121a26;
  --ink: #f8fafc;
  --muted: #b9c4d2;
  --line: rgba(125, 211, 252, .18);
  --paper: #0d131d;
  --soft: #151f2d;
  --night: #070b12;
  --cyan: #38bdf8;
  --blue: #60a5fa;
  --violet: #7c3aed;
  --green: #34d399;
  --gold: #f6c453;
  --rose: #fb7185;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, .26);
  --shadow-lift: 0 28px 70px rgba(56, 189, 248, .16);
}

body {
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 13% 6%, rgba(56, 189, 248, .14), transparent 25rem),
    radial-gradient(circle at 88% 10%, rgba(246, 196, 83, .1), transparent 28rem),
    linear-gradient(180deg, #070b12 0%, #0d131d 42%, #101826 100%) !important;
}

body::before {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .04) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  opacity: .8 !important;
}

.site-header {
  border-bottom: 1px solid rgba(125, 211, 252, .14) !important;
  background: rgba(9, 13, 20, .86) !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .28) !important;
}

.brand,
.brand:visited,
.brand-text strong,
.section-head h2,
.commercial-hero h1,
.platform-hero h1,
.home-news-card h3,
.front-card h3,
.plan-card h3,
.image-feature-card h2,
.commercial-strip h2,
.price {
  color: #f8fafc !important;
}

.brand-text span,
.kicker,
.tag,
.front-card span {
  color: #38bdf8 !important;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.header-blog-link,
.notification-button,
.nav-toggle {
  border-color: rgba(125, 211, 252, .16) !important;
  color: #e5edf8 !important;
  background: linear-gradient(180deg, rgba(21, 31, 45, .96), rgba(13, 19, 29, .96)) !important;
}

.site-nav > a:not(.account-trigger):hover,
.category-menu-button:hover,
.header-blog-link:hover,
.notification-button:hover,
.nav-toggle:hover {
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, .42) !important;
  background: rgba(21, 31, 45, .98) !important;
  box-shadow: 0 14px 34px rgba(56, 189, 248, .12) !important;
}

.header-actions .account-trigger {
  color: #07111e !important;
  background: linear-gradient(135deg, #f8fafc, #cbd5e1) !important;
}

.header-actions .account-trigger:hover {
  color: #07111e !important;
  background: #ffffff !important;
}

.platform-hero,
.commercial-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .16), transparent 24rem),
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .13), transparent 22rem),
    linear-gradient(135deg, rgba(10, 15, 24, .98), rgba(17, 24, 39, .95)) !important;
}

.platform-hero .hero-copy,
.commercial-hero p,
.section-head p,
.front-card p,
.plan-card p,
.image-feature-card p,
.commercial-strip p,
.home-news-card p,
.feature-list {
  color: #c7d2e2 !important;
}

.hero-visual-main,
.commercial-hero-media > img,
.image-feature-card img,
.home-news-media {
  border-color: rgba(125, 211, 252, .14) !important;
  box-shadow: 0 30px 82px rgba(0, 0, 0, .36) !important;
}

.front-card,
.plan-card,
.ebook-category-grid article,
.media-kit-grid article,
.status-grid article,
.scope-grid > div,
.home-news-card,
.image-feature-card,
.commercial-strip {
  border: 1px solid rgba(125, 211, 252, .15) !important;
  background:
    linear-gradient(180deg, rgba(21, 31, 45, .98), rgba(13, 19, 29, .98)) !important;
  box-shadow: var(--shadow-soft) !important;
}

.front-card:hover,
.plan-card:hover,
.home-news-card:hover,
.image-feature-card:hover {
  border-color: rgba(56, 189, 248, .38) !important;
  box-shadow: var(--shadow-lift) !important;
}

.front-card span,
.plan-label,
.status-pill {
  color: #dff6ff !important;
  border-color: rgba(56, 189, 248, .24) !important;
  background: rgba(56, 189, 248, .09) !important;
}

.button.primary,
.button.primary:visited {
  color: #06111f !important;
  border-color: rgba(56, 189, 248, .34) !important;
  background: linear-gradient(135deg, #67e8f9, #38bdf8 52%, #60a5fa) !important;
  box-shadow: 0 18px 38px rgba(56, 189, 248, .2) !important;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, #a5f3fc, #38bdf8 52%, #3b82f6) !important;
}

.button.secondary,
.button.secondary:visited {
  color: #eef6ff !important;
  border-color: rgba(125, 211, 252, .2) !important;
  background: rgba(21, 31, 45, .96) !important;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, .42) !important;
  background: rgba(30, 41, 59, .98) !important;
}

.plan-starter {
  border-top-color: #34d399 !important;
}

.plan-prime,
.plan-card.featured {
  border-top-color: #38bdf8 !important;
  background:
    linear-gradient(180deg, rgba(15, 37, 59, .98), rgba(13, 19, 29, .98)) !important;
}

.plan-pro {
  border-top-color: #f6c453 !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 196, 83, .12), transparent 16rem),
    linear-gradient(180deg, rgba(27, 24, 17, .98), rgba(13, 19, 29, .98)) !important;
}

.plan-starter .plan-label {
  color: #a7f3d0 !important;
  border-color: rgba(52, 211, 153, .28) !important;
  background: rgba(52, 211, 153, .1) !important;
}

.plan-prime .plan-label {
  color: #bae6fd !important;
  border-color: rgba(56, 189, 248, .3) !important;
  background: rgba(56, 189, 248, .11) !important;
}

.plan-pro .plan-label {
  color: #fde68a !important;
  border-color: rgba(246, 196, 83, .32) !important;
  background: rgba(246, 196, 83, .12) !important;
}

.nebula-web-strip {
  border-color: rgba(56, 189, 248, .2) !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 196, 83, .11), transparent 18rem),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(12, 19, 31, .98)) !important;
}

.site-footer {
  background: linear-gradient(135deg, #05070d, #0b1018 62%, #070b12) !important;
}

.cookie-banner,
.cookie-consent {
  color: #172033 !important;
  background: rgba(255, 255, 255, .98) !important;
}

.cookie-banner p,
.cookie-consent p {
  color: #526173 !important;
}

/* Final blog/topic hero contrast fix. */
.blog-hero,
.topic-hero,
.policy-page .blog-hero,
.commercial-page .blog-hero {
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 84% 12%, rgba(56, 189, 248, .16), transparent 26rem),
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, .14), transparent 24rem),
    linear-gradient(135deg, #070b12 0%, #0d131d 62%, #101826 100%) !important;
}

.blog-hero h1,
.blog-hero h2,
.topic-hero h1,
.topic-hero h2,
.policy-page .blog-hero h1 {
  color: #f8fafc !important;
}

.blog-hero p,
.topic-hero p,
.policy-page .blog-hero p {
  color: #d8e4f3 !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"],
.site-nav a.nav-plan-link[href$="assinatura.html"]:visited {
  color: #221300 !important;
  background: linear-gradient(135deg, #fff7cc 0%, #facc15 34%, #d97706 68%, #fff2a8 100%) !important;
}
/* Final hero contrast fix after all theme layers. */
.platform-hero .hero-media,
.commercial-hero .hero-media,
.hero-media {
  background:
    radial-gradient(circle at 78% 16%, rgba(56, 189, 248, .22), transparent 24rem),
    radial-gradient(circle at 12% 5%, rgba(124, 58, 237, .16), transparent 22rem),
    linear-gradient(90deg, rgba(7, 11, 18, .98) 0%, rgba(13, 19, 29, .94) 52%, rgba(17, 24, 39, .78) 100%) !important;
  opacity: 1 !important;
}

.nav-toggle span,
.header-actions .nav-toggle span {
  background: #e6f7ff !important;
}

.platform-hero .hero-copy,
.commercial-hero p {
  color: #d8e4f3 !important;
}
/* End-of-file guard: comments use login only; account creation stays on conta.html. */
.nebula-comments .auth-tabs,
.nebula-comments .register-form,
.nebula-comments [data-auth-tab="register"] {
  display: none !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card strong {
  color: #67e8f9 !important;
}

/* 2026-05-25c: first fold breathing room. */
.nebula-home-v2 .nebula-hero-v2 {
  width: min(1240px, calc(100% - 96px)) !important;
  min-height: min(610px, calc(100svh - 56px)) !important;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr) !important;
  gap: clamp(46px, 6vw, 92px) !important;
  align-items: start !important;
  padding: clamp(38px, 4.4vw, 62px) 0 clamp(72px, 8vw, 104px) !important;
}

.nebula-home-v2 .nebula-hero-v2::before {
  inset: 44px auto auto -4vw !important;
  width: min(500px, 35vw) !important;
  height: min(500px, 35vw) !important;
  opacity: .7 !important;
}

.nebula-home-v2 .nebula-hero-v2 .hero-content {
  display: grid !important;
  gap: 24px !important;
  max-width: 650px !important;
  align-content: start !important;
}

.nebula-home-v2 .nebula-hero-v2 .kicker {
  margin: 0 !important;
}

.nebula-home-v2 .nebula-hero-v2 h1 {
  max-width: 640px !important;
  font-size: clamp(44px, 4.9vw, 64px) !important;
  line-height: 1.06 !important;
}

.nebula-home-v2 .nebula-hero-v2 .hero-copy {
  max-width: 590px !important;
  margin: 0 !important;
  font-size: clamp(18px, 1.35vw, 21px) !important;
  line-height: 1.62 !important;
}

.nebula-home-v2 .hero-actions {
  gap: 14px !important;
  margin-top: 2px !important;
}

.nebula-home-v2 .hero-actions .button {
  min-height: 50px !important;
  padding-inline: 22px !important;
}

.nebula-home-v2 .hero-trust-row {
  gap: 12px !important;
  margin-top: 2px !important;
}

.nebula-home-v2 .hero-trust-row span {
  min-height: 38px !important;
  padding-inline: 14px !important;
}

.nebula-home-v2 .hero-product-card {
  min-height: 460px !important;
  align-self: start !important;
  border-radius: 20px !important;
}

.nebula-home-v2 .hero-product-card img {
  min-height: 460px !important;
  object-position: 50% 46% !important;
}

.nebula-home-v2 .hero-product-card figcaption {
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  padding: 20px !important;
}

@media (min-width: 1400px) {
  .nebula-home-v2 .nebula-hero-v2 {
    width: min(1280px, calc(100% - 128px)) !important;
  }
}

@media (max-width: 1080px) {
  .nebula-home-v2 .nebula-hero-v2 {
    width: min(100% - 56px, 880px) !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .nebula-home-v2 .nebula-hero-v2 .hero-content {
    max-width: 760px !important;
  }

  .nebula-home-v2 .hero-product-card,
  .nebula-home-v2 .hero-product-card img {
    min-height: 380px !important;
  }
}

@media (max-width: 620px) {
  .nebula-home-v2 .nebula-hero-v2 {
    width: min(100% - 28px, 560px) !important;
    min-height: auto !important;
    gap: 28px !important;
    padding: 72px 0 46px !important;
  }

  .nebula-home-v2 .nebula-hero-v2 .hero-content {
    gap: 18px !important;
  }

  .nebula-home-v2 .nebula-hero-v2 h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.08 !important;
  }

  .nebula-home-v2 .nebula-hero-v2 .hero-copy {
    font-size: 17px !important;
    line-height: 1.56 !important;
  }

  .nebula-home-v2 .hero-actions {
    grid-template-columns: 1fr !important;
  }

  .nebula-home-v2 .hero-product-card,
  .nebula-home-v2 .hero-product-card img {
    min-height: 320px !important;
  }

.nebula-home-v2 .hero-product-card figcaption {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
  }
}

/* 2026-05-25e: article top polish. */
html.article-page,
html.article-page body {
  min-height: 100% !important;
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .09), transparent 30rem),
    radial-gradient(circle at 92% 6%, rgba(124, 58, 237, .08), transparent 30rem),
    linear-gradient(180deg, #070b12 0%, #0a111c 48%, #070b12 100%) !important;
}

html.article-page body::before {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .035) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}

html.article-page .site-header {
  background: rgba(9, 13, 20, .92) !important;
}

html.article-page main {
  width: min(1060px, calc(100% - 56px)) !important;
  margin: 0 auto !important;
  padding: 34px 0 84px !important;
  color: #f8fafc !important;
  background: transparent !important;
}

html.article-page .article-hero {
  overflow: hidden !important;
  margin: 22px auto 34px !important;
  border: 1px solid rgba(125, 211, 252, .18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .12), transparent 18rem),
    linear-gradient(180deg, rgba(16, 24, 38, .98), rgba(9, 14, 24, .98)) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32) !important;
}

html.article-page .article-hero img {
  display: block !important;
  width: 100% !important;
  height: clamp(280px, 35vw, 390px) !important;
  max-height: 390px !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: saturate(.95) contrast(1.04) brightness(.86) !important;
}

html.article-page .article-content {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 48px) !important;
  border: 1px solid rgba(125, 211, 252, .16) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .08), transparent 20rem),
    linear-gradient(180deg, rgba(16, 24, 38, .96), rgba(9, 14, 24, .96)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24) !important;
}

html.article-page .article-content > .kicker:first-child {
  margin-top: 0 !important;
}

html.article-page .article-content h1 {
  max-width: 860px !important;
  font-size: clamp(36px, 4.6vw, 58px) !important;
  line-height: 1.05 !important;
}

html.article-page .article-meta {
  margin: 18px 0 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(125, 211, 252, .14) !important;
}

html.article-page .answer-box {
  margin-top: 30px !important;
}

@media (max-width: 760px) {
  html.article-page main {
    width: min(100% - 28px, 680px) !important;
    padding-top: 22px !important;
  }

  html.article-page .article-hero {
    margin-top: 14px !important;
    margin-bottom: 22px !important;
    border-radius: 14px !important;
  }

  html.article-page .article-hero img {
    height: clamp(210px, 58vw, 300px) !important;
  }

  html.article-page .article-content {
    padding: 20px !important;
    border-radius: 14px !important;
  }

  html.article-page .article-content h1 {
    font-size: clamp(31px, 8.8vw, 42px) !important;
  }
}

/* 2026-05-25 final hardening: keep article/community surfaces readable after every theme layer. */
.article-page main,
.article-page body,
.article-page .article-layout,
.article-page .article-content {
  background: transparent !important;
}

.article-layout {
  grid-template-columns: minmax(0, 980px) !important;
  justify-content: center !important;
  gap: 0 !important;
}

.article-layout > .article-content {
  width: 100% !important;
  max-width: 980px !important;
}

.article-content,
.nebula-comments,
.article-content .community-cta,
.editorial-disclosure,
.product-context-panel,
.member-gate-card,
.account-card,
.account-aside {
  color: #edf6ff !important;
  border-color: rgba(125, 211, 252, .2) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .08), transparent 18rem),
    linear-gradient(180deg, rgba(16, 24, 38, .98), rgba(9, 14, 24, .98)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.nebula-comments h2,
.article-content .community-cta h2,
.editorial-disclosure strong,
.product-context-panel h2,
.account-card h1,
.account-aside h2 {
  color: #f8fafc !important;
}

.article-content p,
.article-content li,
.article-content small,
.article-content .meta,
.article-content .community-cta p,
.editorial-disclosure,
.editorial-disclosure p,
.product-context-panel p,
.nebula-comments .empty-comments,
.nebula-comments .comment-card p,
.nebula-comments .comment-card small,
.nebula-comments .comment-card header span,
.account-card p,
.account-aside li {
  color: #c9d7e8 !important;
}

.article-content a:not(.button),
.article-content a:not(.button):visited {
  color: #67e8f9 !important;
  text-decoration-color: rgba(103, 232, 249, .45) !important;
}

.article-content a:not(.button):hover {
  color: #f6c453 !important;
  text-decoration-color: rgba(246, 196, 83, .7) !important;
}

.nebula-comments .comments-auth,
.nebula-comments .comment-composer,
.nebula-comments .comment-card {
  color: #edf6ff !important;
  border-color: rgba(125, 211, 252, .18) !important;
  background: rgba(5, 10, 18, .72) !important;
}

.nebula-comments .auth-tabs,
.nebula-comments .register-form,
.nebula-comments [data-auth-tab="register"] {
  display: none !important;
}

.nebula-comments .auth-form {
  max-width: 560px !important;
}

.nebula-comments .auth-form label,
.nebula-comments .comment-form label,
.account-card label {
  color: #edf6ff !important;
  font-weight: 800 !important;
}

.nebula-comments .auth-form input,
.nebula-comments .comment-form textarea,
.account-card input,
.account-card textarea {
  color: #f8fafc !important;
  border-color: rgba(125, 211, 252, .28) !important;
  background: rgba(2, 6, 23, .82) !important;
}

.nebula-comments .auth-form input::placeholder,
.nebula-comments .comment-form textarea::placeholder,
.account-card input::placeholder,
.account-card textarea::placeholder {
  color: #8ea3ba !important;
}

.nebula-comments .comment-user,
.nebula-comments .comment-card header,
.nebula-comments .comment-card > div {
  color: #edf6ff !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card strong {
  color: #67e8f9 !important;
}

.nebula-comments .comments-status[data-tone="error"] {
  color: #fb7185 !important;
}

.nebula-comments .comments-status[data-tone="warn"] {
  color: #f6c453 !important;
}

.nebula-comments .comments-status[data-tone="ok"] {
  color: #34d399 !important;
}

.product-context-panel {
  margin: 34px 0 !important;
  padding: clamp(18px, 3vw, 28px) !important;
}

.product-context-panel .affiliate-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.product-context-panel .affiliate-item:nth-child(n+3) {
  display: none !important;
}

.product-context-panel .affiliate-item {
  min-height: 100% !important;
  background: rgba(255, 255, 255, .045) !important;
}

.product-context-panel .affiliate-thumb {
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: rgba(248, 250, 252, .96) !important;
}

.site-header,
.header-actions,
.site-nav {
  max-width: 100vw !important;
}

@media (max-width: 760px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 14px !important;
  }

  .article-content,
  .nebula-comments {
    padding: 18px !important;
  }

  .product-context-panel .affiliate-list {
    grid-template-columns: 1fr !important;
  }
}

/* AdSense/SEO readiness layer: keep monetization secondary to readable content. */
:root {
  --nebula-bg: #0b111a;
  --nebula-panel: #111a26;
  --nebula-panel-2: #162231;
  --nebula-text: #f6f8fb;
  --nebula-muted: #c3cedb;
  --nebula-border: rgba(148, 163, 184, .24);
  --nebula-cyan: #37d5ee;
  --nebula-gold: #f7c948;
}

body {
  color: var(--nebula-text) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(55, 213, 238, .14), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(247, 201, 72, .08), transparent 24rem),
    linear-gradient(180deg, #070b11 0%, #101821 42%, #0b111a 100%) !important;
}

main,
.platform-home,
.commercial-page,
.legal-page,
.article-page main,
.blog-page main {
  background: transparent !important;
}

.article-content,
.article-body,
.legal-page section,
.nebula-comments,
.article-content .community-cta,
.sidebar-card,
.front-card,
.plan-card,
.ebook-category-grid article,
.media-kit-grid article,
.status-grid article,
.scope-grid > div,
.commercial-table,
.discount-table,
.affiliate-panel,
.product-context-panel {
  color: var(--nebula-text) !important;
  border-color: var(--nebula-border) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(55, 213, 238, .08), transparent 18rem),
    linear-gradient(180deg, rgba(17, 26, 38, .98), rgba(11, 17, 26, .98)) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24) !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.legal-page h1,
.legal-page h2,
.section-head h2,
.nebula-comments h2,
.community-cta h2,
.front-card h3,
.plan-card h3,
.home-news-card h3,
.commercial-hero h1 {
  color: var(--nebula-text) !important;
}

.article-content p,
.article-content li,
.legal-page p,
.legal-page li,
.section-head p,
.front-card p,
.plan-card p,
.home-news-card p,
.community-cta p,
.affiliate-panel p,
.product-context-panel p,
.nebula-comments .empty-comments,
.nebula-comments .comment-card p,
.nebula-comments .comment-card small,
.nebula-comments .comment-card header span {
  color: var(--nebula-muted) !important;
}

.article-content a,
.legal-page a,
.blog-page a {
  color: #7dd3fc;
}

.article-content a:hover,
.legal-page a:hover,
.blog-page a:hover {
  color: #f7c948;
}

.editorial-disclosure {
  margin: clamp(28px, 5vw, 52px) 0;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(55, 213, 238, .22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 96% 0%, rgba(55, 213, 238, .11), transparent 18rem),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(8, 13, 22, .98));
}

.editorial-disclosure h2 {
  margin-top: 8px;
}

.affiliate-panel,
.product-context-panel {
  margin: clamp(28px, 5vw, 46px) 0 !important;
  padding: clamp(18px, 4vw, 26px) !important;
}

.product-context-panel .affiliate-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.product-context-panel .affiliate-item:nth-child(n+3) {
  display: none !important;
}

.affiliate-item,
.product-card,
.affiliate-card,
.side-product-card {
  border-color: rgba(148, 163, 184, .2) !important;
  background: rgba(9, 14, 22, .72) !important;
}

.affiliate-thumb,
.product-card img,
.affiliate-card img {
  object-fit: contain !important;
  background: #f8fafc !important;
}

.nebula-comments {
  max-width: 980px;
  margin-inline: auto !important;
}

.nebula-comments .comments-auth,
.nebula-comments .comment-composer,
.nebula-comments .comment-card {
  border-color: rgba(55, 213, 238, .22) !important;
  background: rgba(8, 13, 22, .84) !important;
}

.nebula-comments .auth-tabs,
.nebula-comments .register-form,
.nebula-comments [data-auth-tab="register"] {
  display: none !important;
}

.nebula-comments .auth-form label,
.nebula-comments .comment-form label {
  color: #eaf6ff !important;
}

.nebula-comments .auth-form input,
.nebula-comments .comment-form textarea,
.commercial-contact-form input,
.commercial-contact-form textarea,
.account-page input,
.account-page textarea {
  color: #f8fafc !important;
  border-color: rgba(55, 213, 238, .28) !important;
  background: #070d16 !important;
}

.nebula-comments .auth-form input::placeholder,
.nebula-comments .comment-form textarea::placeholder {
  color: #8ba1b7 !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card strong {
  color: var(--nebula-cyan) !important;
}

.nebula-comments .comments-status[data-tone="error"],
.comments-status[data-tone="error"] {
  color: #fb7185 !important;
}

.cookie-consent {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  border-inline: 0 !important;
  color: #111827 !important;
  background: rgba(248, 250, 252, .98) !important;
}

.cookie-consent p {
  color: #475569 !important;
}

.site-header {
  overflow: visible !important;
  color: #111827 !important;
  background: rgba(248, 250, 252, .96) !important;
  border-bottom-color: rgba(15, 23, 42, .12) !important;
}

.brand-text strong,
.brand-text span {
  color: #101827 !important;
}

.site-nav {
  max-width: min(100%, 760px);
  color: #172033 !important;
}

.site-nav > a:not(.account-trigger),
.category-menu-button {
  color: #172033 !important;
}

.site-nav > a:not(.account-trigger):hover,
.category-menu-button:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, .08) !important;
}

.category-menu-panel {
  right: 0 !important;
  width: min(340px, calc(100vw - 32px)) !important;
  max-height: min(70vh, 520px) !important;
  overflow: auto !important;
  border-radius: 18px !important;
  border-color: rgba(15, 23, 42, .12) !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .18) !important;
}

.category-menu-panel a {
  color: #111827 !important;
  background: transparent !important;
}

.category-menu-panel a span,
.category-menu-head span {
  color: #64748b !important;
}

.category-menu-panel a:hover {
  color: #0f172a !important;
  background: rgba(14, 165, 233, .09) !important;
}

.site-nav a[href$="cupons.html"],
.site-nav a[href$="servicos.html"],
.site-nav a[href$="patrocinar.html"],
.site-nav a[href$="patrocinadores.html"] {
  display: none !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"],
.site-nav a.nav-plan-link[href$="assinatura.html"]:visited {
  color: #211400 !important;
  border: 1px solid rgba(146, 64, 14, .2) !important;
  background: linear-gradient(135deg, #fff7cc 0%, #facc15 40%, #d97706 76%, #fff1a6 100%) !important;
}

@media (max-width: 760px) {
  .site-nav {
    max-width: none;
    background: rgba(255, 255, 255, .98) !important;
  }

  .site-nav > a:not(.account-trigger),
  .category-menu-button,
  .notification-button,
  .account-trigger {
    width: 100% !important;
  }

  .product-context-panel .affiliate-list {
    grid-template-columns: 1fr !important;
  }
}

.article-layout {
  grid-template-columns: minmax(0, 980px) !important;
  justify-content: center !important;
}

.article-layout > .article-content {
  width: 100% !important;
}

/* Trava final: comentÃ¡rios nunca exibem cadastro; cadastro fica em conta.html. */
.nebula-comments .auth-tabs,
.nebula-comments .register-form,
.nebula-comments [data-auth-tab="register"] {
  display: none !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card strong {
  color: #67e8f9 !important;
}

/* ComentÃ¡rios: acesso apenas por login e contraste corrigido. */
.nebula-comments .comments-auth {
  max-width: 760px !important;
  margin-inline: 0 !important;
}

.nebula-comments .login-form {
  max-width: 620px !important;
}

.nebula-comments .comment-user,
.nebula-comments .comment-card header,
.nebula-comments .comment-card > div {
  color: #f8fafc !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card [data-comment-name],
.nebula-comments .comment-card strong {
  color: #67e8f9 !important;
  text-shadow: none !important;
}

.nebula-comments .comment-card header span,
.nebula-comments .comment-card small {
  color: #aebed0 !important;
}

.nebula-comments .comment-card p,
.nebula-comments .empty-comments {
  color: #dbeafe !important;
}

.nebula-comments .auth-tabs,
.nebula-comments .register-form {
  display: none !important;
}

/* CTA de comunidade nos artigos: nada de card branco com texto invisÃ­vel. */
.article-content .community-cta {
  border: 1px solid rgba(125, 211, 252, .18) !important;
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(56, 189, 248, .14), transparent 18rem),
    linear-gradient(135deg, rgba(12, 19, 31, .98), rgba(7, 11, 18, .98)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

.article-content .community-cta .kicker {
  color: #67e8f9 !important;
}

.article-content .community-cta h2 {
  color: #f8fafc !important;
}

.article-content .community-cta p {
  color: #cbd5e1 !important;
}

.article-content .community-cta .button.secondary {
  color: #eef6ff !important;
  border-color: rgba(125, 211, 252, .24) !important;
  background: rgba(15, 23, 42, .92) !important;
}

/* 2026-05-24: comments/community visual repair */
.nebula-comments {
  width: min(100%, 960px) !important;
  margin: clamp(32px, 5vw, 56px) auto 0 !important;
  padding: clamp(20px, 3vw, 34px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(125, 211, 252, .22) !important;
  border-radius: 18px !important;
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(56, 189, 248, .15), transparent 18rem),
    linear-gradient(180deg, rgba(16, 24, 40, .98), rgba(9, 14, 24, .98)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34) !important;
}

.nebula-comments .comments-head {
  display: grid !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
}

.nebula-comments .comments-head .kicker {
  margin: 0 !important;
  color: #7dd3fc !important;
}

.nebula-comments .comments-head h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.12 !important;
}

.nebula-comments .post-like-bar {
  margin-top: 16px !important;
}

.nebula-comments .like-button {
  min-height: 38px !important;
  margin-top: 0 !important;
  border-color: rgba(125, 211, 252, .22) !important;
  color: #eaf6ff !important;
  background: rgba(15, 23, 42, .92) !important;
  box-shadow: none !important;
}

.nebula-comments .like-button span {
  color: #67e8f9 !important;
}

.nebula-comments .like-button:hover,
.nebula-comments .like-button.active {
  color: #06111f !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #67e8f9, #38bdf8 55%, #60a5fa) !important;
}

.nebula-comments .like-button:hover span,
.nebula-comments .like-button.active span {
  color: #06111f !important;
}

.nebula-comments .comments-status {
  margin: 14px 0 18px !important;
  color: #cbd5e1 !important;
  font-weight: 800 !important;
}

.nebula-comments .comments-status[data-tone="error"] {
  color: #fb7185 !important;
}

.nebula-comments .comments-status[data-tone="warn"] {
  color: #f6c453 !important;
}

.nebula-comments .comments-status[data-tone="ok"] {
  color: #34d399 !important;
}

.nebula-comments .comments-auth,
.nebula-comments .comment-composer {
  width: 100% !important;
  margin-top: 18px !important;
  padding: clamp(16px, 2.4vw, 22px) !important;
  border: 1px solid rgba(125, 211, 252, .16) !important;
  border-radius: 16px !important;
  color: #f8fafc !important;
  background: rgba(7, 11, 18, .72) !important;
}

.nebula-comments .auth-tabs {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 14px !important;
}

.nebula-comments .filter {
  min-height: 38px !important;
  border-radius: 10px !important;
  color: #dbeafe !important;
  border-color: rgba(125, 211, 252, .2) !important;
  background: rgba(15, 23, 42, .92) !important;
}

.nebula-comments .filter.active {
  color: #06111f !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #67e8f9, #38bdf8 55%, #60a5fa) !important;
}

.nebula-comments .auth-form,
.nebula-comments .comment-form {
  display: grid !important;
  gap: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.nebula-comments .auth-form label,
.nebula-comments .comment-form label {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #eaf6ff !important;
  font-weight: 850 !important;
}

.nebula-comments .auth-form input,
.nebula-comments .comment-form textarea {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid rgba(125, 211, 252, .22) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: #f8fafc !important;
  background: rgba(2, 6, 23, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.nebula-comments .auth-form input:focus,
.nebula-comments .comment-form textarea:focus {
  outline: 2px solid rgba(56, 189, 248, .34) !important;
  outline-offset: 2px !important;
  border-color: rgba(56, 189, 248, .56) !important;
}

.nebula-comments .comment-input-row {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

.nebula-comments .comment-form-inline .button {
  justify-self: end !important;
  width: auto !important;
  min-width: 132px !important;
}

.nebula-comments .comment-card {
  border-radius: 14px !important;
  background: rgba(15, 23, 42, .82) !important;
}

.nebula-comments .empty-comments {
  margin: 0 !important;
  padding: 16px !important;
  border: 1px dashed rgba(125, 211, 252, .22) !important;
  border-radius: 14px !important;
  color: #cbd5e1 !important;
}

@media (max-width: 760px) {
  .nebula-comments {
    width: 100% !important;
    border-radius: 16px !important;
  }

  .nebula-comments .auth-tabs,
  .nebula-comments .comment-form-inline .button {
    width: 100% !important;
  }

  .nebula-comments .filter,
  .nebula-comments .comment-form-inline .button {
    flex: 1 1 0 !important;
  }
}

/* Subscription packages: monthly, quarterly and annual. */
.billing-option-grid,
.checkout-cycle-grid {
  display: grid;
  gap: 10px;
}

.billing-option-grid {
  margin-top: 4px;
}

.billing-option,
.cycle-option {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 88px;
  padding: 14px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 12px;
  color: #f8fbff !important;
  background: linear-gradient(180deg, rgba(7, 13, 22, .86), rgba(12, 19, 31, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.billing-option:hover,
.billing-option:focus-visible,
.cycle-option:hover,
.cycle-option:focus-visible,
.cycle-option.selected {
  border-color: rgba(246, 196, 83, .7);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.billing-option.best,
.cycle-option.selected {
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 196, 83, .18), transparent 12rem),
    linear-gradient(180deg, rgba(31, 27, 16, .95), rgba(13, 19, 29, .96));
}

.billing-option span,
.cycle-option span {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.billing-option strong,
.cycle-option strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
}

.billing-option small,
.cycle-option small {
  color: #b7c6d9;
  font-weight: 800;
}

.plan-card .billing-option-grid {
  margin-top: auto;
}

.checkout-cycle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.checkout-cycle-grid .cycle-option {
  cursor: pointer;
  font: inherit;
}

[data-cycle-summary] {
  margin-top: 6px;
  color: #b7c6d9 !important;
  font-weight: 800;
}

@media (max-width: 760px) {
  .checkout-cycle-grid {
    grid-template-columns: 1fr;
  }
}

/* Home v2: clearer commercial positioning and calmer image system. */
.nebula-home-v2 {
  background:
    radial-gradient(circle at 80% 0%, rgba(56, 189, 248, .12), transparent 28rem),
    radial-gradient(circle at 4% 10%, rgba(246, 196, 83, .08), transparent 24rem),
    linear-gradient(180deg, #060a12 0%, #0a111c 44%, #070b12 100%) !important;
}

.nebula-hero-v2 {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 40px));
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, .82fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 10vw, 138px) 0 clamp(54px, 7vw, 84px) !important;
}

.nebula-hero-v2::before {
  content: "";
  position: absolute;
  inset: 72px auto auto -7vw;
  width: min(520px, 42vw);
  height: min(520px, 42vw);
  border: 1px solid rgba(125, 211, 252, .12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .14), transparent 62%);
  filter: blur(1px);
  z-index: -1;
}

.nebula-hero-v2 .hero-content {
  max-width: 740px;
}

.nebula-hero-v2 h1 {
  max-width: 780px;
  margin: 0;
  color: #f8fafc !important;
  font-size: clamp(42px, 5.4vw, 70px) !important;
  line-height: 1.02 !important;
}

.nebula-hero-v2 .hero-copy {
  max-width: 660px;
  color: #cbd8e8 !important;
  font-size: clamp(17px, 1.55vw, 22px);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-trust-row span {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(15, 23, 42, .66);
  font-size: 13px;
  font-weight: 850;
}

.hero-product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 520px;
  margin: 0;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 18px;
  background: #101827;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .45);
}

.hero-product-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05) brightness(.82);
}

.hero-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(3, 8, 16, .88));
  pointer-events: none;
}

.hero-product-card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  color: #f8fafc;
  background: rgba(5, 10, 18, .78);
  backdrop-filter: blur(14px);
}

.hero-product-card figcaption strong {
  font-size: 24px;
}

.hero-product-card figcaption span {
  color: #c9d7e8;
}

.objective-band,
.nebula-web-showcase,
.resource-strip,
.plan-section-v2,
.home-news-v2 {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0 !important;
}

.objective-band {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding-top: 34px !important;
}

.objective-copy,
.objective-steps article,
.nebula-web-showcase,
.resource-strip article {
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 26, 39, .96), rgba(10, 17, 28, .98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .26);
}

.objective-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}

.objective-copy h2,
.showcase-copy h2,
.resource-strip h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.objective-copy p,
.showcase-copy p,
.resource-strip p {
  color: #c7d5e6 !important;
}

.objective-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.objective-steps article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 245px;
  padding: 24px;
}

.objective-steps span {
  color: #67e8f9;
  font-weight: 950;
}

.objective-steps h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 28px;
}

.nebula-web-showcase {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px) !important;
}

.showcase-media {
  overflow: hidden;
  min-height: 440px;
  border-radius: 14px;
  background: #0f172a;
}

.showcase-media img,
.resource-strip img,
.home-news-v2 .home-news-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-media img {
  min-height: 440px;
  filter: saturate(.9) contrast(1.05) brightness(.86);
}

.showcase-copy {
  display: grid;
  gap: 16px;
  padding: clamp(8px, 2vw, 18px);
}

.showcase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.showcase-list span {
  min-height: 48px;
  display: grid;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 12px;
  color: #eef7ff;
  background: rgba(8, 17, 31, .78);
  font-weight: 850;
}

.plan-section-v2 {
  padding-top: 72px !important;
}

.resource-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-strip article {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, .78fr) minmax(0, 1fr);
  min-height: 330px;
}

.resource-strip img {
  min-height: 330px;
  filter: saturate(.9) contrast(1.04) brightness(.9);
}

.resource-strip article > div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
}

.home-news-v2 {
  padding-top: 72px !important;
}

.home-news-v2 .home-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-news-v2 .home-news-card {
  min-height: 100%;
  border-radius: 14px;
}

.home-news-v2 .home-news-media {
  aspect-ratio: 16 / 9;
  height: auto !important;
  max-height: none !important;
}

.home-news-v2 .home-news-card h3 {
  font-size: clamp(22px, 2.2vw, 31px) !important;
}

@media (max-width: 980px) {
  .nebula-hero-v2,
  .objective-band,
  .nebula-web-showcase,
  .resource-strip article {
    grid-template-columns: 1fr;
  }

  .hero-product-card,
  .hero-product-card img,
  .showcase-media,
  .showcase-media img {
    min-height: 360px;
  }

  .objective-steps,
  .home-news-v2 .home-news-grid,
  .resource-strip {
    grid-template-columns: 1fr !important;
  }

  .resource-strip img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .nebula-hero-v2,
  .objective-band,
  .nebula-web-showcase,
  .resource-strip,
  .plan-section-v2,
  .home-news-v2 {
    width: min(100% - 28px, 1180px);
  }

  .nebula-hero-v2 h1 {
    font-size: clamp(36px, 10.5vw, 52px) !important;
  }

  .showcase-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .header-blog-link {
    display: none !important;
  }

  .site-header {
    grid-template-columns: 74px minmax(0, 1fr) !important;
  }

  .brand {
    width: 74px !important;
  }

  .brand-logo {
    width: 66px !important;
    height: 48px !important;
  }

  .header-actions {
    max-width: calc(100vw - 104px) !important;
  }
}

@media (max-width: 760px) {
  .header-blog-link {
    display: none !important;
  }
}

.cookie-banner,
.cookie-consent {
  padding: 16px clamp(18px, 6vw, 82px) !important;
}

.cookie-banner h2,
.cookie-consent h2,
.cookie-banner strong,
.cookie-consent strong {
  margin-bottom: 4px !important;
}

.cookie-banner p,
.cookie-consent p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

/* 2026-05-23: revisÃ£o global de contraste em todas as pÃ¡ginas. */
main,
.platform-home,
.commercial-page,
.blog-page main,
.article-page main,
.topic-page main,
.account-page main,
.community-page main,
.section,
.home-news,
.categories,
.seo-clusters,
.newsletter,
.portal-areas,
.commercial-services,
.commercial-scope {
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(56, 189, 248, .08), transparent 24rem),
    linear-gradient(180deg, #070b12 0%, #0d131d 100%) !important;
}

.section:nth-of-type(even),
.home-news,
.seo-clusters,
.categories {
  background:
    radial-gradient(circle at 92% 0%, rgba(124, 58, 237, .1), transparent 24rem),
    linear-gradient(180deg, #0a0f18 0%, #101826 100%) !important;
}

h1,
h2,
h3,
h4,
.section-head h2,
.blog-hero h1,
.topic-hero h1,
.article-content h1,
.article-content h2,
.article-content h3,
.article-body h3,
.cluster-card strong,
.topic-link-card strong,
.sidebar-card h2,
.article-note h2,
.answer-box h2,
.related-links h2,
.admin-hero h1,
.account-card h1,
.account-aside h2 {
  color: #f8fafc !important;
}

p,
li,
.section-head p,
.blog-hero p,
.topic-hero p,
.article-content p,
.article-content li,
.article-body p,
.cluster-card p,
.topic-link-card p,
.sidebar-card p,
.article-note p,
.answer-box p,
.related-links p,
.comparison-table td,
.commercial-table span,
.discount-table span,
.admin-empty,
.account-aside li {
  color: #cbd7e6 !important;
}

.article-card,
.home-news-card,
.cluster-card,
.topic-link-card,
.sidebar-card,
.article-content,
.sidebar,
.article-note,
.answer-box,
.related-links,
.comparison-table,
.article-product-panel,
.affiliate-card,
.product-card,
.account-card,
.account-aside,
.admin-hero,
.admin-counts article,
.admin-list-card,
.support-panel,
.support-thread-card,
.comment-card,
.comment-composer,
.member-card,
.discount-table,
.commercial-table,
.portal-area-card,
.category-tile,
.service-card,
.logo-card {
  border-color: rgba(125, 211, 252, .16) !important;
  color: #f8fafc !important;
  background:
    linear-gradient(180deg, rgba(21, 31, 45, .98), rgba(13, 19, 29, .98)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

.article-card:hover,
.home-news-card:hover,
.cluster-card:hover,
.topic-link-card:hover,
.portal-area-card:hover,
.product-card:hover,
.affiliate-card:hover {
  border-color: rgba(56, 189, 248, .42) !important;
  box-shadow: 0 26px 66px rgba(56, 189, 248, .14) !important;
}

.article-hero {
  background: #070b12 !important;
}

.article-hero img,
.article-card img,
.home-news-media,
.portal-area-card img,
.commercial-hero-media img,
.image-feature-card img,
.affiliate-card img,
.product-card img {
  border-color: rgba(125, 211, 252, .16) !important;
}

.article-body,
.article-card .article-body,
.home-news-card,
.article-content {
  background: transparent !important;
}

.article-content {
  border-radius: 16px !important;
  padding: clamp(24px, 4vw, 52px) !important;
}

.article-content a,
.related-links a,
.text-link,
.site-footer a {
  color: #67e8f9 !important;
}

.comparison-table table,
.commercial-table,
.discount-table {
  background: rgba(13, 19, 29, .98) !important;
}

.comparison-table th,
.comparison-table td,
.discount-table div,
.commercial-table div {
  border-color: rgba(125, 211, 252, .14) !important;
}

.comparison-table th {
  color: #eff6ff !important;
  background: rgba(56, 189, 248, .12) !important;
}

.site-search,
.auth-form,
.profile-form,
.support-form,
.admin-form,
.comment-form {
  border-color: rgba(125, 211, 252, .16) !important;
  background: rgba(13, 19, 29, .76) !important;
}

input,
textarea,
select {
  color: #f8fafc !important;
  border-color: rgba(125, 211, 252, .18) !important;
  background: rgba(7, 11, 18, .86) !important;
}

input::placeholder,
textarea::placeholder {
  color: #8291a5 !important;
}

.filter,
.category-menu-panel a,
.site-nav > a:not(.account-trigger) {
  color: #eef6ff !important;
}

.cookie-banner,
.cookie-consent {
  color: #172033 !important;
  background: rgba(255, 255, 255, .98) !important;
}

.cookie-banner h2,
.cookie-consent h2,
.cookie-banner strong,
.cookie-consent strong {
  color: #172033 !important;
}

.cookie-banner p,
.cookie-consent p {
  color: #526173 !important;
}

.platform-hero .hero-media,
.commercial-hero .hero-media,
.hero-media {
  background:
    radial-gradient(circle at 78% 16%, rgba(56, 189, 248, .2), transparent 24rem),
    radial-gradient(circle at 12% 5%, rgba(124, 58, 237, .16), transparent 22rem),
    linear-gradient(90deg, rgba(7, 11, 18, .98) 0%, rgba(13, 19, 29, .92) 52%, rgba(17, 24, 39, .74) 100%) !important;
  opacity: 1 !important;
}

.nav-toggle span,
.header-actions .nav-toggle span {
  background: #e6f7ff !important;
}

.platform-hero .hero-copy,
.commercial-hero p {
  color: #d8e4f3 !important;
}

@media (max-width: 430px) {
  .brand-text {
    display: none !important;
  }

  .header-blog-link {
    min-width: 0 !important;
    padding-inline: 10px !important;
  }

  .header-actions .account-trigger {
    max-width: 92px !important;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header-actions .notification-center[hidden],
.header-actions .notification-panel[hidden] {
  display: none !important;
}

/* Final CTA override: gold plan button with crown. */
.site-nav a.nav-plan-link[href$="assinatura.html"],
.site-nav a.nav-plan-link[href$="assinatura.html"]:visited {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid rgba(180, 119, 18, .48) !important;
  border-radius: 16px !important;
  padding: 0 16px !important;
  color: #221300 !important;
  background: linear-gradient(135deg, #fff7cc 0%, #facc15 34%, #d97706 68%, #fff2a8 100%) !important;
  box-shadow: 0 16px 34px rgba(180, 83, 9, .24), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35) !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"]::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23783f04' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 4.5 3.5L12 4l4.5 7.5L21 8l-2 11H5L3 8Z' fill='%23fde68a'/%3E%3Cpath d='M5 19h14'/%3E%3Ccircle cx='12' cy='4' r='1.4' fill='%23fff7cc'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"]:hover,
.site-nav a.nav-plan-link[href$="assinatura.html"]:focus-visible {
  color: #160b00 !important;
  border-color: rgba(146, 64, 14, .6) !important;
  background: linear-gradient(135deg, #fff3b0 0%, #fbbf24 32%, #b45309 68%, #fde68a 100%) !important;
  box-shadow: 0 20px 42px rgba(180, 83, 9, .32), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
}

/* 2026-05-23: identidade comercial Nebula Web */
:root {
  --space: #172033;
  --card: #ffffff;
  --ink: #101828;
  --muted: #566174;
  --line: rgba(16, 24, 40, .12);
  --paper: #f5f7fb;
  --soft: #ffffff;
  --night: #111827;
  --cyan: #0ea5e9;
  --blue: #2563eb;
  --violet: #6d5bd0;
  --green: #10b981;
  --gold: #d4a017;
  --rose: #ef7d45;
  --shadow: 0 30px 90px rgba(16, 24, 40, .16);
  --shadow-soft: 0 18px 44px rgba(16, 24, 40, .09);
  --shadow-lift: 0 26px 64px rgba(37, 99, 235, .13);
}

body {
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 165, 233, .14), transparent 28%),
    radial-gradient(circle at 88% 3%, rgba(212, 160, 23, .16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 42%, #eef2f7 100%) !important;
}

body::before {
  background:
    linear-gradient(90deg, rgba(16, 24, 40, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 40, .025) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  opacity: .7 !important;
}

.site-header {
  border-bottom: 1px solid rgba(16, 24, 40, .08) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 12px 40px rgba(16, 24, 40, .08) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
}

.brand,
.brand:visited,
.brand-text strong,
.section-head h2,
.commercial-hero h1,
.platform-hero h1,
.home-news-card h3,
.front-card h3,
.plan-card h3,
.image-feature-card h2,
.commercial-strip h2 {
  color: #101828 !important;
}

.brand-logo {
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, .16)) !important;
}

.brand-text span,
.kicker,
.tag,
.plan-label,
.front-card span {
  color: #075985 !important;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.header-blog-link,
.notification-button,
.account-trigger,
.nav-toggle {
  border-color: rgba(16, 24, 40, .12) !important;
  color: #172033 !important;
  background: linear-gradient(180deg, #ffffff, #f7f9fc) !important;
}

.site-nav > a:not(.account-trigger):hover,
.category-menu-button:hover,
.header-blog-link:hover,
.notification-button:hover,
.account-trigger:hover,
.nav-toggle:hover {
  color: #0f172a !important;
  border-color: rgba(37, 99, 235, .28) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .11) !important;
}

.platform-hero,
.commercial-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 247, 251, .9)),
    radial-gradient(circle at 88% 16%, rgba(14, 165, 233, .2), transparent 32%) !important;
}

.platform-hero .hero-copy,
.commercial-hero p,
.section-head p,
.front-card p,
.plan-card p,
.image-feature-card p,
.commercial-strip p,
.home-news-card p,
.feature-list {
  color: #4b5565 !important;
}

.hero-visual-main,
.commercial-hero-media > img,
.image-feature-card img,
.home-news-media {
  border: 1px solid rgba(16, 24, 40, .12) !important;
  box-shadow: 0 28px 70px rgba(16, 24, 40, .17) !important;
}

.front-card,
.plan-card,
.ebook-category-grid article,
.media-kit-grid article,
.status-grid article,
.scope-grid > div,
.home-news-card,
.image-feature-card,
.commercial-strip {
  border: 1px solid rgba(16, 24, 40, .12) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96)) !important;
  box-shadow: var(--shadow-soft) !important;
}

.front-card:hover,
.plan-card:hover,
.home-news-card:hover,
.image-feature-card:hover {
  border-color: rgba(37, 99, 235, .3) !important;
  box-shadow: var(--shadow-lift) !important;
}

.button.primary,
.button.primary:visited {
  color: #ffffff !important;
  border-color: rgba(37, 99, 235, .25) !important;
  background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .24) !important;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, #1d4ed8, #0284c7) !important;
  box-shadow: 0 22px 44px rgba(37, 99, 235, .28) !important;
}

.button.secondary,
.button.secondary:visited {
  color: #172033 !important;
  border-color: rgba(16, 24, 40, .16) !important;
  background: #ffffff !important;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: #0f172a !important;
  border-color: rgba(37, 99, 235, .26) !important;
  background: #f8fafc !important;
}

.plan-starter {
  border-top: 7px solid #10b981 !important;
}

.plan-starter .plan-label {
  color: #065f46 !important;
  border-color: rgba(16, 185, 129, .3) !important;
  background: rgba(16, 185, 129, .09) !important;
}

.plan-prime {
  border-top: 7px solid #2563eb !important;
}

.plan-prime .plan-label {
  color: #1d4ed8 !important;
  border-color: rgba(37, 99, 235, .32) !important;
  background: rgba(37, 99, 235, .08) !important;
}

.plan-pro {
  border-top: 7px solid #d4a017 !important;
  background: linear-gradient(180deg, #ffffff, #fffaf0) !important;
}

.plan-pro .plan-label {
  color: #854d0e !important;
  border-color: rgba(212, 160, 23, .36) !important;
  background: rgba(212, 160, 23, .12) !important;
}

.plan-card.featured {
  background: linear-gradient(180deg, #ffffff, #eff6ff) !important;
}

.price {
  color: #101828 !important;
}

.nebula-web-strip {
  border-color: rgba(37, 99, 235, .18) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 246, 255, .94)),
    radial-gradient(circle at 95% 5%, rgba(212, 160, 23, .18), transparent 32%) !important;
}

.site-footer {
  color: #dbe4f0 !important;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
  background: linear-gradient(135deg, #101828, #172033 62%, #0f172a) !important;
}

.site-footer a {
  color: #f8fafc !important;
}

.site-footer p {
  color: #cbd5e1 !important;
}

.cookie-banner {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  border-inline: 0 !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"],
.site-nav a.nav-plan-link[href$="assinatura.html"]:visited {
  color: #221300 !important;
  background: linear-gradient(135deg, #fff7cc 0%, #facc15 34%, #d97706 68%, #fff2a8 100%) !important;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

@media (max-width: 760px) {
  .site-header {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-inline: 14px !important;
  }

  .brand {
    min-width: 0 !important;
    width: 82px !important;
  }

  .brand-logo {
    width: 72px !important;
    height: 50px !important;
  }

  .brand-text {
    display: none !important;
  }

  .header-actions {
    min-width: 0 !important;
    justify-content: end !important;
    gap: 6px !important;
  }

  .header-blog-link,
  .header-actions .account-trigger,
  .header-actions .notification-button,
  .header-actions .nav-toggle {
    flex: 0 0 auto !important;
  }

  .header-actions .account-trigger {
    max-width: 68px !important;
    padding-inline: 11px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .header-blog-link {
    padding-inline: 10px !important;
  }

  .platform-hero,
  .commercial-hero {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .platform-home,
  .commercial-page,
  main,
  .section,
  .platform-home .section,
  .commercial-page .section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .platform-hero-visual,
  .commercial-hero-media {
    display: none !important;
  }

  .hero-content,
  .commercial-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .platform-hero h1,
  .commercial-hero h1 {
    max-width: 100% !important;
    font-size: clamp(30px, 8vw, 36px) !important;
    line-height: 1.06 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .hero-actions,
  .commercial-actions {
    width: 100% !important;
  }

  .hero-actions .button,
  .commercial-actions .button {
    width: 100% !important;
  }
}

/* Final override: carbono Nebula Web, menos branco e mais marca. */
:root {
  --space: #070b12;
  --card: #121a26;
  --ink: #f8fafc;
  --muted: #b9c4d2;
  --line: rgba(125, 211, 252, .18);
  --paper: #0d131d;
  --soft: #151f2d;
  --night: #070b12;
  --cyan: #38bdf8;
  --blue: #60a5fa;
  --violet: #7c3aed;
  --green: #34d399;
  --gold: #f6c453;
  --rose: #fb7185;
}

body {
  color: #f8fafc !important;
  background:
    radial-gradient(circle at 12% 6%, rgba(56, 189, 248, .16), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(246, 196, 83, .1), transparent 28rem),
    linear-gradient(180deg, #070b12 0%, #0d131d 44%, #111827 100%) !important;
}

body::before {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .04) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}

.site-header {
  border-bottom-color: rgba(125, 211, 252, .14) !important;
  background: rgba(9, 13, 20, .88) !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .3) !important;
}

.brand,
.brand:visited,
.brand-text strong,
.platform-hero h1,
.commercial-hero h1,
.section-head h2,
.front-card h3,
.plan-card h3,
.home-news-card h3,
.image-feature-card h2,
.commercial-strip h2,
.price {
  color: #f8fafc !important;
}

.brand-text span,
.kicker,
.tag,
.front-card span {
  color: #38bdf8 !important;
}

.platform-hero,
.commercial-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(56, 189, 248, .16), transparent 25rem),
    radial-gradient(circle at 10% 2%, rgba(124, 58, 237, .12), transparent 22rem),
    linear-gradient(135deg, rgba(8, 13, 22, .98), rgba(17, 24, 39, .95)) !important;
}

.front-card,
.plan-card,
.ebook-category-grid article,
.media-kit-grid article,
.status-grid article,
.scope-grid > div,
.home-news-card,
.image-feature-card,
.commercial-strip {
  border-color: rgba(125, 211, 252, .15) !important;
  background:
    linear-gradient(180deg, rgba(21, 31, 45, .98), rgba(13, 19, 29, .98)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

.platform-hero .hero-copy,
.commercial-hero p,
.section-head p,
.front-card p,
.plan-card p,
.image-feature-card p,
.commercial-strip p,
.home-news-card p,
.feature-list,
p {
  color: #c7d2e2 !important;
}

.site-nav > a:not(.account-trigger),
.category-menu-button,
.header-blog-link,
.notification-button,
.nav-toggle,
.button.secondary,
.button.secondary:visited {
  color: #eef6ff !important;
  border-color: rgba(125, 211, 252, .18) !important;
  background: linear-gradient(180deg, rgba(21, 31, 45, .96), rgba(13, 19, 29, .96)) !important;
}

.header-actions .account-trigger {
  color: #07111e !important;
  background: linear-gradient(135deg, #f8fafc, #cbd5e1) !important;
}

.button.primary,
.button.primary:visited {
  color: #06111f !important;
  background: linear-gradient(135deg, #67e8f9, #38bdf8 52%, #60a5fa) !important;
}

.plan-starter {
  border-top-color: #34d399 !important;
}

.plan-prime,
.plan-card.featured {
  border-top-color: #38bdf8 !important;
  background:
    linear-gradient(180deg, rgba(15, 37, 59, .98), rgba(13, 19, 29, .98)) !important;
}

.plan-pro {
  border-top-color: #f6c453 !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 196, 83, .12), transparent 16rem),
    linear-gradient(180deg, rgba(27, 24, 17, .98), rgba(13, 19, 29, .98)) !important;
}

.plan-starter .plan-label {
  color: #a7f3d0 !important;
  border-color: rgba(52, 211, 153, .28) !important;
  background: rgba(52, 211, 153, .1) !important;
}

.plan-prime .plan-label {
  color: #bae6fd !important;
  border-color: rgba(56, 189, 248, .3) !important;
  background: rgba(56, 189, 248, .11) !important;
}

.plan-pro .plan-label {
  color: #fde68a !important;
  border-color: rgba(246, 196, 83, .32) !important;
  background: rgba(246, 196, 83, .12) !important;
}

.nebula-web-strip {
  background:
    radial-gradient(circle at 96% 0%, rgba(246, 196, 83, .11), transparent 18rem),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(12, 19, 31, .98)) !important;
}

.site-footer {
  background: linear-gradient(135deg, #05070d, #0b1018 62%, #070b12) !important;
}

.cookie-banner,
.cookie-consent {
  color: #172033 !important;
  background: rgba(255, 255, 255, .98) !important;
}

.cookie-banner p,
.cookie-consent p {
  color: #526173 !important;
}

.site-nav a.nav-plan-link[href$="assinatura.html"],
.site-nav a.nav-plan-link[href$="assinatura.html"]:visited {
  color: #221300 !important;
  background: linear-gradient(135deg, #fff7cc 0%, #facc15 34%, #d97706 68%, #fff2a8 100%) !important;
}
/* Final hero contrast fix after all theme layers. */
.platform-hero .hero-media,
.commercial-hero .hero-media,
.hero-media {
  background:
    radial-gradient(circle at 78% 16%, rgba(56, 189, 248, .22), transparent 24rem),
    radial-gradient(circle at 12% 5%, rgba(124, 58, 237, .16), transparent 22rem),
    linear-gradient(90deg, rgba(7, 11, 18, .98) 0%, rgba(13, 19, 29, .94) 52%, rgba(17, 24, 39, .78) 100%) !important;
  opacity: 1 !important;
}

.nav-toggle span,
.header-actions .nav-toggle span {
  background: #e6f7ff !important;
}

.platform-hero .hero-copy,
.commercial-hero p {
  color: #d8e4f3 !important;
}
.nebula-comments .auth-tabs,
.nebula-comments .register-form,
.nebula-comments [data-auth-tab="register"] {
  display: none !important;
}

.nebula-comments .comment-user strong,
.nebula-comments .comment-card header strong,
.nebula-comments .comment-card strong {
  color: #67e8f9 !important;
}

/* 2026-05-25f final: home mais respirada, acima de todos os overrides anteriores. */
.nebula-home-v2 .nebula-hero-v2 {
  width: min(1220px, calc(100% - 88px)) !important;
  min-height: auto !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: clamp(54px, 6vw, 92px) !important;
  align-items: center !important;
  padding: clamp(62px, 6vw, 82px) 0 clamp(68px, 6vw, 86px) !important;
}

.nebula-home-v2 .nebula-hero-v2 .hero-content {
  max-width: 720px !important;
  gap: 24px !important;
}

.nebula-home-v2 .nebula-hero-v2 h1 {
  max-width: 720px !important;
  font-size: clamp(40px, 4.35vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.nebula-home-v2 .nebula-hero-v2 .hero-copy {
  max-width: 670px !important;
  font-size: clamp(18px, 1.22vw, 20px) !important;
  line-height: 1.68 !important;
}

.nebula-home-v2 .hero-actions {
  margin-top: 4px !important;
}

.nebula-home-v2 .hero-trust-row {
  max-width: 650px !important;
  gap: 12px !important;
}

.nebula-home-v2 .hero-product-card {
  min-height: 390px !important;
  max-height: 420px !important;
  align-self: center !important;
}

.nebula-home-v2 .hero-product-card img {
  min-height: 390px !important;
}

.nebula-home-v2 .hero-product-card figcaption {
  left: 18px !important;
  right: 18px !important;
  bottom: 18px !important;
  padding: 20px !important;
}

.nebula-home-v2 .hero-product-card figcaption strong {
  font-size: 24px !important;
}

.nebula-home-v2 .hero-product-card figcaption span {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

@media (max-width: 1120px) {
  .nebula-home-v2 .nebula-hero-v2 {
    width: min(900px, calc(100% - 48px)) !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 58px 0 64px !important;
  }

  .nebula-home-v2 .hero-product-card,
  .nebula-home-v2 .hero-product-card img {
    min-height: 330px !important;
  }
}

@media (max-width: 640px) {
  .nebula-home-v2 .nebula-hero-v2 {
    width: min(100% - 28px, 560px) !important;
    padding: 42px 0 48px !important;
  }

  .nebula-home-v2 .nebula-hero-v2 .hero-content {
    gap: 20px !important;
  }

  .nebula-home-v2 .nebula-hero-v2 h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .nebula-home-v2 .hero-actions .button {
    width: 100% !important;
  }
}

/* Correção final de contraste: cards técnicos dos artigos no tema escuro. */
.article-content .stat-card,
.article-content .step-card,
.stat-card,
.step-card {
  color: #f8fafc !important;
  border-color: rgba(125, 211, 252, .2) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .08), transparent 15rem),
    linear-gradient(180deg, rgba(21, 31, 45, .98), rgba(13, 19, 29, .98)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26) !important;
}

.article-content .stat-card strong,
.article-content .step-card strong,
.stat-card strong,
.step-card strong {
  color: #67e8f9 !important;
}

.article-content .stat-card p,
.article-content .step-card p,
.stat-card p,
.step-card p {
  color: #cbd7e6 !important;
}

/* Camada editorial 2026-05-26: tags, fontes e imagens internas dos artigos longos. */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(125, 211, 252, .24);
  border-radius: 999px;
  padding: 0 12px;
  color: #cfefff;
  background: rgba(7, 11, 18, .72);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

.article-tags .trend-tag {
  color: #3b2500;
  border-color: rgba(246, 196, 83, .68);
  background: linear-gradient(135deg, #fff7cc, #facc15 46%, #f59e0b);
}

.article-content .article-gallery {
  border-color: rgba(125, 211, 252, .18) !important;
  background: rgba(7, 11, 18, .7) !important;
}

.article-content .article-gallery img {
  width: 100% !important;
  display: block !important;
  filter: saturate(.95) contrast(1.04) brightness(.9);
}

.article-content .article-gallery figcaption {
  color: #b9c8db !important;
}

.source-note {
  margin-top: 10px;
  color: #9fb0c5 !important;
  font-size: 14px !important;
}

