:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #0d1726;
  --muted: #5f6c7b;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --accent-soft: #e9eef5;
  --border: #dfe6ee;
  --border-strong: #cfd8e3;
  --radius: 22px;
  --shadow: 0 12px 34px rgba(16, 24, 40, 0.07);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.05);
  --max: 1200px;
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wrap {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
}

/* BUTTONS */

.button,
.button-secondary,
.header-btn,
.card-btn,
.primary-cta,
.secondary-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.button,
.header-btn,
.card-btn,
.primary-cta {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.button:hover,
.header-btn:hover,
.card-btn:hover,
.primary-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.button-secondary,
.secondary-cta {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover,
.secondary-cta:hover {
  background: var(--panel-soft);
}

/* HEADER */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  width: 100%;
  z-index: 10;
}

.header-shell {
  padding: 12px 0 18px;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.shop-label {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 132px;
  flex-shrink: 0;
}

.header-btn {
  width: 132px;
  min-width: 132px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
  border-radius: 12px;
}

.cart-btn {
  gap: 6px;
}

.top-search-wrap {
  margin-top: 18px;
}

.search-form {
  display: block;
}

.search-form input,
.search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #ffffff;
  font-size: 1rem;
  color: var(--text);
}

.search-form input:focus,
.search-input:focus,
.product-select:focus,
.calc-input:focus,
.calc-select:focus,
.calc-card input:focus,
.calc-card select:focus {
  outline: none;
  border-color: #b9c7da;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.search-form button {
  display: none;
}

/* MAIN LOGO */

.brand-mark {
  display: block;
  width: 100%;
  margin: 22px auto 8px;
  text-align: center;
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* SIDEBAR */

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 290px;
  max-width: calc(100vw - 32px);
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  padding: 22px 18px 30px;
  overflow-y: auto;
  transition: left 0.28s ease;
}

.sidebar.open,
.sidebar.active {
  left: 0;
}

.sidebar-header {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.sidebar h4 {
  margin: 18px 0 8px;
  font-size: 0.96rem;
  color: var(--text);
}

.sidebar a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(223, 230, 238, 0.45);
}

.sidebar a:hover {
  color: var(--accent);
}

.sidebar hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 99998;
  display: none;
}

.overlay.show,
.overlay.active {
  display: block;
}

/* LAYOUT */

.home-shell,
.page-shell,
.product-shell {
  padding: 28px 0 60px;
}

.section {
  padding-top: 24px;
}

.section-card,
.page-header,
.product-card,
.stack-card,
.disclaimer-card,
.legal-card,
.calc-card,
.product-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-card,
.featured-product-card,
.promo-card {
  padding: 30px;
}

/* HERO */

.hero-section {
  padding: 24px 0 18px;
}

.hero-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px 36px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.hero-tag,
.product-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #d8e1ec;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section h1,
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-section p,
.hero-copy p {
  margin: 0;
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section-card h2,
.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}

.section-card p,
.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

/* FEATURED / ARTICLES */

.featured-product-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
}

.featured-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  min-height: 280px;
  padding: 24px;
}

.featured-product-image img {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.featured-product-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.featured-product-copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.promo-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid #d8e1ec;
}

.promo-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.promo-panel span {
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.article-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* CATEGORY PAGES */

.page-header {
  padding: 30px;
  margin-bottom: 22px;
  text-align: center;
}

.page-header img {
  max-width: 220px;
  margin: 0 auto 18px;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
}

.category-hero {
  padding: 32px 20px 10px;
  text-align: center;
}

.category-logo {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 20px;
}

.category-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.category-vials {
  width: 100%;
  max-width: 700px;
  margin: 30px auto 40px;
  filter: drop-shadow(0 10px 25px rgba(37, 99, 235, 0.2));
}

.category-grid .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 40px 20px 70px;
}

/* PRODUCT LISTS */

.product-list {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.product-item:last-child {
  border-bottom: 0;
}

.product-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
}

.product-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.product-item p {
  margin: 0 0 10px;
  color: var(--muted);
}

.product-item .mini-link {
  color: var(--accent);
  font-weight: 700;
}

.product-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.product-card h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.product-card p,
.product-card li {
  color: var(--muted);
}

.product-card p {
  margin-bottom: 18px;
}

.product-card ul {
  padding-left: 18px;
}

/* PRODUCT DETAIL */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.product-image-panel {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-image-panel img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.product-info {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-subhead {
  font-size: 1.04rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.quick-points {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
}

.quick-points li + li {
  margin-top: 8px;
}

.buy-box {
  padding: 22px;
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}

.field-label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 700;
}

.product-select,
.calc-input,
.calc-select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-size: 1rem;
}

.price-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.buy-actions,
.calc-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.micro-disclaimer {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 10px;
}

.calc-cta {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f5f7fa;
  border: 1px solid #d9e2ec;
  font-size: 0.95rem;
  color: #475569;
}

.calc-cta a {
  color: var(--accent);
  font-weight: 700;
}

.stack-note {
  margin-top: 14px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* STACKS / LEGAL */

.section-grid,
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.disclaimer-card,
.legal-card,
.calc-card {
  padding: 26px;
}

.disclaimer-card h2,
.legal-card h2,
.calc-card h2 {
  margin: 0 0 12px;
}

.disclaimer-card p,
.legal-card p,
.legal-card li,
.calc-card p,
.calc-card li {
  color: var(--muted);
}

.legal-card ul,
.calc-card ul {
  padding-left: 18px;
}

.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.stack-card {
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stack-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 14px;
  object-fit: contain;
}

.stack-card h3 {
  margin: 0 0 8px;
}

.stack-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.stack-card .button-secondary {
  width: fit-content;
  margin: 12px auto 0;
}

.stacks-image-wrap {
  margin: 20px 0 30px;
  text-align: center;
}

.stacks-image-wrap img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.stacks-click-grid {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 24px auto 34px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0,0,0,0.14);
  background: #fff;
}

.stacks-click-grid img {
  width: 100%;
  height: auto;
}

.stack-hotspot {
  position: absolute;
  display: block;
  z-index: 2;
  border-radius: 12px;
}

.stack-hotspot:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45);
}

.stack-hotspot.fat-loss {
  left: 0%;
  top: 0%;
  width: 33.33%;
  height: 50%;
}

.stack-hotspot.recovery {
  left: 33.33%;
  top: 0%;
  width: 33.33%;
  height: 50%;
}

.stack-hotspot.cognitive {
  left: 66.66%;
  top: 0%;
  width: 33.34%;
  height: 50%;
}

.stack-hotspot.growth {
  left: 0%;
  top: 50%;
  width: 33.33%;
  height: 50%;
}

.stack-hotspot.advanced-growth {
  left: 33.33%;
  top: 50%;
  width: 33.33%;
  height: 50%;
}

.stack-hotspot.longevity {
  left: 66.66%;
  top: 50%;
  width: 33.34%;
  height: 50%;
}

.notice-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid #d8e1ec;
}

.notice-panel strong {
  display: block;
  margin-bottom: 6px;
}

.notice-panel span {
  color: var(--muted);
}

/* CALCULATOR */

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group.full {
  grid-column: 1 / -1;
}

.calc-card label,
.calc-card .field-label {
  display: block;
  margin: 0 0 8px;
  font-weight: 800;
}

.calc-card input,
.calc-card select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font-size: 1rem;
}

.inline-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
}

.result-primary {
  padding: 20px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid #d8e1ec;
  margin-bottom: 16px;
}

.result-primary strong {
  display: block;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  margin: 8px 0 10px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-box {
  padding: 16px;
  border-radius: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}

.result-box span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 5px;
}

.warning-note {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff4e8;
  border: 1px solid #ffd8aa;
  color: #8a5a18;
  display: none;
}

.result-cta {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  text-align: center;
}

.result-cta p {
  margin: 0 0 12px;
  font-weight: 600;
}

/* PROTOCOL HELPERS */

.protocol-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0 16px;
  text-align: center;
}

.protocol-header img,
.protocol-header .logo {
  width: 240px;
  max-width: 75%;
}

.protocol-framework {
  margin-top: 40px;
}

.protocol-title {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  text-align: center;
}

.protocol-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.performance-hero {
  display: block;
  width: 100%;
  max-width: 650px;
  margin: 30px auto 50px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* FOOTER */

.site-footer {
  background: #0f172a;
  color: #c9d4e5;
  padding: 42px 0;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: #c9d4e5;
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin-bottom: 4px;
}

.site-footer a:hover {
  color: #ffffff;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .protocol-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .header-actions {
    width: 140px;
  }

  .header-btn {
    width: 140px;
    min-width: 140px;
  }
}

@media (max-width: 760px) {
  .stack-grid,
  .section-grid,
  .calc-grid,
  .result-grid,
  .product-hero,
  .featured-product-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .home-shell,
  .page-shell,
  .product-shell {
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .header-top {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .header-left {
    gap: 12px;
  }

  .shop-label {
    font-size: 0.95rem;
  }

  .header-actions {
    width: 126px;
    gap: 8px;
  }

  .header-btn {
    width: 126px;
    min-width: 126px;
    min-height: 36px;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .brand-mark {
    margin: 22px auto 8px;
  }

  .brand-mark img {
    max-width: 620px;
  }

  .hero-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .hero-section h1,
  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1.02;
    margin-bottom: 12px;
  }

  .hero-section p,
  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .hero-actions,
  .buy-actions,
  .calc-actions {
    flex-direction: column;
  }

  .hero-actions .primary-cta,
  .hero-actions .secondary-cta,
  .hero-actions .button,
  .hero-actions .button-secondary,
  .buy-actions .button,
  .buy-actions .button-secondary,
  .calc-actions .button,
  .calc-actions .button-secondary,
  .calc-card button {
    width: 100%;
  }

  .section-card,
  .page-header,
  .product-card,
  .calc-card,
  .legal-card,
  .disclaimer-card,
  .product-info,
  .buy-box,
  .stack-card,
  .featured-product-card,
  .promo-card,
  .article-card {
    padding: 20px;
    border-radius: 18px;
  }

  .section-card h2,
  .section-heading h2,
  .featured-product-copy h2 {
    font-size: 2rem;
  }

  .featured-product-image {
    min-height: 220px;
    padding: 18px;
  }

  .featured-product-image img {
    width: 180px;
  }

  .product-item {
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .product-item img {
    width: 82px;
    height: 82px;
  }

  .product-image-panel {
    min-height: 240px;
    padding: 18px;
  }

  .product-image-panel img {
    max-width: 210px;
  }

  .inline-row {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 270px;
  }

  .site-footer {
    padding: 34px 0;
  }
}
/* SIDEBAR ACCORDION MENU */
.sidebar details {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar summary::-webkit-details-marker {
  display: none;
}

.sidebar summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--muted);
}

.sidebar details[open] summary::after {
  content: "−";
}

.sidebar details a {
  display: block;
  padding: 11px 0 11px 14px;
  font-size: 0.96rem;
  color: var(--muted);
  border-bottom: none;
}

.sidebar details a:hover {
  color: var(--text);
}
/* PREMIUM SIDEBAR ACCORDION OVERRIDE */
.sidebar {
  background: #ffffff;
  padding: 30px 28px;
  width: 78%;
  max-width: 430px;
  box-shadow: 18px 0 45px rgba(0, 0, 0, 0.18);
}

.sidebar-header {
  font-size: 1.7rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #0b1220;
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #647181;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.sidebar a:hover {
  color: #0b1220;
}

.sidebar hr {
  border: none;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin: 22px 0;
}

.sidebar details {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.sidebar summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: #0b1220;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar summary::-webkit-details-marker {
  display: none;
}

.sidebar summary::marker {
  content: "";
}

.sidebar summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0b1220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.sidebar details[open] summary::after {
  content: "−";
  background: #0b1220;
  color: #ffffff;
}

.sidebar details a {
  padding: 10px 0 10px 18px;
  font-size: 0.98rem;
  font-weight: 750;
  color: #647181;
  border-bottom: none;
}

.sidebar details a:last-child {
  padding-bottom: 16px;
}

.sidebar details[open] {
  padding-bottom: 4px;
}
.auth-switch {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-left: 6px;
}

.auth-switch a:hover {
  text-decoration: underline;
}
.billing-warning {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    color: #fff;
}

.billing-warning strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.billing-button {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffc107;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}
.faq-item a,
.cta-box a,
.content-section a {
  color: #041d53;
  text-decoration: underline;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.faq-item a:hover,
.cta-box a:hover,
.content-section a:hover {
  opacity: 0.75;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;

  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 24px;

  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;

  width: 100%;
}

.form-group label {
  display: block;

  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;

  padding: 14px 16px;

  font-size: 1rem;
  font-family: inherit;

  background: #ffffff;
  color: #111827;

  appearance: none;
  -webkit-appearance: none;

  box-sizing: border-box;
}

.form-group textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form .primary-btn {
  width: fit-content;
  min-width: 190px;
}

.form-message {
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-message.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form .primary-btn {
    width: 100%;
  }
}
.site-footer {
  background: #0b1426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 18px;
  margin-top: 60px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 20px 16px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 14px;
  }
}
.portal-brand .portal-logo {
  width: 300px !important;
  max-width: none !important;
  height: auto !important;
  display: block;
  margin: -10px auto 18px !important;
}