:root {
  --gh-font-heading: "Space Grotesk", "Manrope", sans-serif;
  --gh-font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --bg-1: #0f1424;
  --bg-2: #111b2d;
  --bg-3: #15243b;
  --text: #e9f1ff;
  --text-dim: #a8b8d5;
  --line: rgba(137, 171, 231, 0.11);
  --glass: rgba(14, 22, 36, 0.66);
  --accent: #4d9ef2;
  --accent-2: #5cc8ff;
  --accent-soft: #8fd3ff;
  --mint-soft: #b9f7cc;
  --mint-main: #95e9b0;
  --mint-strong: #6fd693;
  --success: #5fd08a;
  --danger: #f25a5a;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(3, 8, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, #1f3760 0%, transparent 60%),
    radial-gradient(1100px 800px at 95% 10%, #1f2f49 0%, transparent 60%),
    linear-gradient(145deg, var(--bg-1) 0%, var(--bg-2) 45%, #0b111e 100%);
  font-family: var(--gh-font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #b6e1ff;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.1;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -70px;
  background: #2f7ad7;
}

.orb-2 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 14%;
  background: #1e4f99;
  animation-delay: -5s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  left: 25%;
  bottom: -150px;
  background: #2f4a87;
  animation-delay: -10s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 26px, 0);
  }
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 40px 0;
}

.site-main {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid rgba(136, 170, 235, 0.35);
  border-radius: 999px;
  background: rgba(27, 42, 67, 0.62);
  color: #d8e8ff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-head h2,
.hero-title,
.post-header h1,
.page-header h1,
.archive-head h1,
.author-card h1,
.error-shell h1,
.footer-cta h2 {
  margin: 0;
  font-family: var(--gh-font-heading);
  letter-spacing: -0.02em;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
}

.section-head p {
  margin: 14px 0 0;
  max-width: 76ch;
  color: var(--text-dim);
}

.breadcrumb {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(900px, 100%);
  max-width: 100%;
  min-width: 0;
  padding: 0 4px;
  color: #9fb7d8;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumb a {
  color: #bcd6f6;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #e7f2ff;
}

.breadcrumb > * {
  flex: 0 0 auto;
}

.breadcrumb [aria-current="page"] {
  display: inline-block;
  min-width: 0;
  max-width: min(56ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-bar {
  border-bottom: 1px solid rgba(126, 233, 170, 0.25);
  background: linear-gradient(90deg, rgba(69, 168, 108, 0.24), rgba(111, 214, 147, 0.18));
}

.announcement-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.announcement-inner a,
.announcement-inner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #dfffe8;
  text-decoration: none;
  line-height: 1.2;
}

.announcement-inner a:hover {
  color: #f2fff6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.6);
  border-bottom: 1px solid rgba(132, 160, 225, 0.1);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand strong {
  display: block;
  font-family: var(--gh-font-heading);
  font-size: 1.04rem;
  line-height: 1.2;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 30ch;
}

.site-nav .nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav .nav li a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav .nav li a:hover,
.site-nav .nav-current a {
  color: var(--text);
  background: rgba(54, 90, 150, 0.22);
}

.header-controls {
  display: none;
}

.mobile-nav-actions {
  display: none;
}

.header-submenu {
  border-top: 1px solid rgba(120, 150, 210, 0.14);
  border-bottom: 1px solid rgba(120, 150, 210, 0.12);
  background: rgba(8, 14, 25, 0.72);
}

.header-submenu-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.header-search-shell {
  position: relative;
  width: min(238px, 100%);
  flex: 0 0 auto;
}

.header-search {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 9px;
  border: 1px solid rgba(124, 154, 211, 0.35);
  background: rgba(13, 21, 36, 0.9);
}

.header-search i {
  color: #9cc6f2;
  font-size: 0.74rem;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #deecff;
  font-size: 0.76rem;
  font-family: inherit;
}

.header-search input::placeholder {
  color: #86a5cc;
}

.header-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 44;
  display: grid;
  gap: 2px;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid rgba(123, 154, 211, 0.35);
  border-radius: 10px;
  background: rgba(12, 20, 35, 0.96);
  box-shadow: 0 18px 32px rgba(4, 8, 16, 0.5);
  padding: 4px;
}

.header-search-results[hidden] {
  display: none !important;
}

.header-search-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 9px;
  color: #d6e8ff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
}

.header-search-result i {
  color: #9ec8f4;
  font-size: 0.72rem;
}

.header-search-result span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-result:hover {
  background: rgba(27, 43, 69, 0.88);
  color: #f2f8ff;
}

.header-tag-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.header-tag-scroll {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(124, 154, 211, 0.32);
  background: rgba(16, 25, 41, 0.9);
  color: #b7d4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.header-tag-scroll i {
  font-size: 0.66rem;
}

.header-tag-scroll:hover {
  border-color: rgba(153, 186, 246, 0.46);
  color: #e7f3ff;
}

.header-tag-scroll:disabled {
  opacity: 0.35;
  cursor: default;
}

.header-tag-scroll.is-hidden {
  display: none;
}

.header-tag-list-wrap {
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-tag-list-wrap::-webkit-scrollbar {
  display: none;
}

.header-tag-list {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  white-space: nowrap;
  padding-bottom: 1px;
}

.header-tag-item {
  --tag-accent: #88acd8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #d3e4fc;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
  opacity: 0.9;
}

.header-tag-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tag-accent);
  box-shadow: 0 0 6px var(--tag-accent);
  flex: 0 0 auto;
}

.header-tag-item:first-child::before {
  background: #7f9cc4;
  box-shadow: none;
}

.header-tag-item:hover {
  color: #f2f7ff;
  opacity: 1;
}

.header-tag-item.is-hidden {
  display: none;
}

.header-article-index {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(146, 174, 231, 0.35);
  background: rgba(20, 32, 52, 0.75);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.header-search-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(146, 174, 231, 0.35);
  background: rgba(20, 32, 52, 0.75);
  align-items: center;
  justify-content: center;
  color: #dce8ff;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #dce8ff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #07152a;
  box-shadow: 0 14px 35px rgba(45, 110, 210, 0.36);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(65, 135, 235, 0.42);
  color: #061327;
}

.btn-ghost {
  border-color: rgba(126, 159, 217, 0.35);
  background: rgba(20, 33, 54, 0.62);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(152, 189, 255, 0.56);
  background: rgba(26, 42, 67, 0.78);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.hero {
  padding-top: 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0;
}

.hero-title span {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: #b7ddff;
}

.hero-text {
  margin: 20px 0 0;
  color: var(--text-dim);
  max-width: 70ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-trust-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(24, 39, 64, 0.58);
  border: 1px solid rgba(123, 153, 209, 0.28);
  color: #d4e6ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-mini-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid rgba(133, 170, 240, 0.45);
  box-shadow: 0 16px 40px rgba(20, 50, 98, 0.38);
  margin-bottom: 16px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(22, 34, 56, 0.85), rgba(13, 19, 32, 0.72));
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.hero-card-main {
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(95, 186, 255, 0.42), rgba(44, 82, 145, 0));
  pointer-events: none;
}

.hero-card h2 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-card h2 a {
  color: #f0f6ff;
  text-decoration: none;
}

.hero-card h2 a:hover {
  color: #d4e8ff;
}

.hero-card p {
  margin: 12px 0 0;
  color: var(--text-dim);
}

.hero-card-label {
  margin: 0 0 10px;
  color: #9ac7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-card-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #bdd2ef;
  font-size: 0.82rem;
}

.hero-card-main .btn {
  margin-top: 16px;
}

.hero-card-mini h3 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: 1.05rem;
}

.hero-check-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-dim);
}

.compat-chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compat-chips span {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(33, 52, 83, 0.65);
  border: 1px solid rgba(123, 153, 209, 0.32);
  color: #d4e6ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.value-strip {
  padding-top: 18px;
}

.spotlight-section,
.stack-section {
  padding-top: 24px;
}

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

.value-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(23, 35, 58, 0.58), rgba(12, 18, 31, 0.54));
}

.value-card h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.03rem;
}

.title-icon {
  font-size: 1.16rem;
}

.value-card p {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.tags-section {
  padding-top: 40px;
}

.tag-cloud {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tag-chip {
  --tag-accent: rgba(114, 147, 206, 0.35);
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid var(--tag-accent);
  border-left-width: 4px;
  background: rgba(19, 31, 51, 0.62);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tag-chip:hover {
  transform: translateY(-2px);
  border-color: var(--tag-accent);
  background: rgba(26, 41, 69, 0.78);
}

.tag-chip strong {
  color: #f0f6ff;
  font-size: 0.95rem;
}

.tag-chip span {
  color: #b8cbe7;
  font-size: 0.82rem;
}

.empty-state-inline {
  color: var(--text-dim);
  border: 1px dashed rgba(123, 156, 218, 0.38);
  border-radius: 14px;
  padding: 14px;
}

.post-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-grid > .post-card:first-child {
  grid-column: span 1;
  display: block;
}

.post-grid-related > .post-card:first-child {
  grid-column: span 1;
  display: block;
}

.post-grid-spotlight {
  margin-top: 16px;
}

.post-grid-spotlight > .post-card:first-child {
  grid-column: span 1;
  display: block;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, rgba(24, 38, 63, 0.62), rgba(12, 19, 33, 0.56));
  box-shadow: 0 14px 34px rgba(5, 10, 20, 0.24);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-media {
  display: block;
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(96, 166, 251, 0.4), rgba(20, 34, 56, 0.9));
  min-height: 0;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.post-card-primary-tag {
  --tag-accent: rgba(162, 203, 255, 0.44);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--tag-accent);
  background: var(--tag-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card-format-badge,
.post-card-sponsored-badge {
  position: absolute;
  z-index: 2;
  right: 12px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 176, 233, 0.4);
  background: rgba(15, 24, 39, 0.84);
  color: #e7f2ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card-format-badge {
  top: 12px;
}

.post-card-sponsored-badge {
  top: 42px;
  border-color: rgba(241, 207, 120, 0.45);
  color: #ffeab0;
  background: rgba(58, 43, 13, 0.74);
}

.post-card-format-badge.is-news {
  border-color: rgba(117, 183, 252, 0.46);
  color: #d7ecff;
  background: rgba(21, 44, 74, 0.82);
}

.post-card-format-badge.is-guide {
  border-color: rgba(142, 225, 181, 0.48);
  color: #d7ffe7;
  background: rgba(23, 57, 47, 0.8);
}

.post-card-format-badge.is-test {
  border-color: rgba(248, 176, 104, 0.5);
  color: #ffe4c8;
  background: rgba(68, 38, 16, 0.8);
}

.post-card-format-badge.is-compare {
  border-color: rgba(186, 165, 255, 0.5);
  color: #ebe2ff;
  background: rgba(40, 30, 71, 0.8);
}

.post-card-format-badge.is-missing {
  border-color: rgba(159, 179, 214, 0.42);
  color: #d2dff3;
}

.post-card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--gh-font-heading);
  letter-spacing: 0.06em;
  color: #d8ebff;
}

.post-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #b8c8e2;
  font-size: 0.8rem;
}

.freshness-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(149, 233, 176, 0.5);
  background: rgba(43, 89, 66, 0.44);
  color: #dffff0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: #9ec8f4;
  font-size: 0.86em;
}

.post-card-engagement {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #a9c0df;
  font-size: 0.76rem;
}

.post-card-engagement .meta-item strong {
  font-size: 0.78rem;
  color: #e6f2ff;
}

.post-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card h3 a {
  color: #edf4ff;
  text-decoration: none;
}

.post-card h3 a:hover {
  color: #d0e8ff;
}

.post-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #98d3ff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.read-led {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #86f2ac;
  box-shadow: 0 0 0 4px rgba(134, 242, 172, 0.16), 0 0 12px rgba(134, 242, 172, 0.58);
}

.post-card-link:hover {
  color: #c7e9ff;
}

.stack-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stack-card {
  border-radius: 16px;
  border: 1px solid rgba(116, 149, 208, 0.3);
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.7), rgba(10, 18, 31, 0.68));
  padding: 18px;
}

.stack-card h3 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: 1.05rem;
}

.stack-card p {
  margin: 10px 0 0;
  color: #b1c5e2;
  font-size: 0.92rem;
}

.pill {
  --tag-accent: rgba(122, 154, 212, 0.42);
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--tag-accent);
  background: var(--tag-accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
}

.pill:hover {
  filter: brightness(1.08);
}

.pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-number {
  color: #c6d7f2;
  font-size: 0.9rem;
  border: 1px solid rgba(124, 157, 214, 0.32);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(20, 33, 54, 0.58);
}

.empty-state,
.error-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(124, 156, 214, 0.26);
  border-radius: 20px;
  background: rgba(20, 32, 53, 0.6);
  padding: clamp(24px, 5vw, 44px);
}

.empty-state h3,
.error-shell h1 {
  margin: 0;
  font-family: var(--gh-font-heading);
}

.empty-state p,
.error-shell p {
  margin: 10px 0 0;
  color: var(--text-dim);
}

.error-shell .btn {
  margin-top: 20px;
}

.post-article,
.page-article {
  padding-top: 30px;
}

.post-header,
.page-header {
  width: min(900px, calc(100% - 40px));
}

.post-header h1,
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.post-header-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #bad0ef;
  font-size: 0.92rem;
}

.post-header-meta .meta-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-header-meta .meta-item + .meta-item::before {
  content: "•";
  margin-right: 10px;
  color: #88acd9;
}

.post-custom-excerpt {
  margin: 18px 0 0;
  color: #d3e4fb;
  font-size: 1.05rem;
  max-width: 74ch;
}

.post-feature-image {
  margin: 26px 0 0;
}

.post-feature-image img {
  border-radius: 18px;
  border: 1px solid rgba(129, 161, 216, 0.28);
  box-shadow: var(--shadow);
}

.post-feature-image figcaption {
  margin-top: 10px;
  color: #a9c0de;
  font-size: 0.84rem;
}

.post-content,
.page-content {
  --post-shell-padding: clamp(18px, 5vw, 38px);
  width: min(900px, calc(100% - 40px));
  margin-top: 26px;
  border: 1px solid rgba(119, 151, 208, 0.24);
  border-radius: 20px;
  background: rgba(16, 26, 43, 0.6);
  box-shadow: 0 18px 40px rgba(5, 10, 20, 0.22);
  padding: var(--post-shell-padding);
}

.post-content {
  padding: 0;
  overflow: hidden;
}

.post-content-body {
  padding: var(--post-shell-padding);
}

.post-toc-shell {
  width: min(900px, calc(100% - 40px));
  margin-top: 16px;
}

.post-toc-card {
  border: 1px solid rgba(123, 156, 216, 0.26);
  border-radius: 16px;
  background: rgba(16, 26, 43, 0.62);
  padding: 14px 16px;
}

.post-toc-title {
  margin: 0;
  color: #cfe2ff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-toc-card nav {
  margin-top: 10px;
}

.post-toc-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.post-toc-card li a {
  color: #b8cee8;
  font-size: 0.88rem;
  text-decoration: none;
}

.post-toc-card li.is-sub {
  padding-left: 14px;
}

.post-toc-card a.is-active {
  color: #e6f4ff;
  font-weight: 700;
}

.page-content-no-header {
  margin-top: 48px;
}

.gh-content > *:first-child {
  margin-top: 0;
}

.gh-content > *:last-child {
  margin-bottom: 0;
}

.post-content-body > *:first-child {
  margin-top: 0;
}

.post-content-body > *:last-child {
  margin-bottom: 0;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  margin: 1.8em 0 0.65em;
  line-height: 1.2;
  font-family: var(--gh-font-heading);
}

.gh-content p,
.gh-content li,
.gh-content figcaption,
.gh-content blockquote,
.gh-content td,
.gh-content th {
  color: #d8e8ff;
}

.gh-content p,
.gh-content ul,
.gh-content ol,
.gh-content pre,
.gh-content table,
.gh-content blockquote {
  margin: 0 0 1.2em;
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.35rem;
}

.gh-content a {
  color: white;
}

.gh-content hr {
  border: 0;
  border-top: 1px solid rgba(123, 154, 210, 0.28);
  margin: 2em 0;
}

.gh-content blockquote {
  padding: 14px 16px;
  border-left: 3px solid #63b8ff;
  border-radius: 0 10px 10px 0;
  background: rgba(18, 34, 58, 0.75);
}

.gh-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(32, 49, 78, 0.72);
  border: 1px solid rgba(122, 152, 207, 0.26);
  border-radius: 8px;
  padding: 0.12em 0.45em;
  font-size: 0.92em;
}

.gh-content pre {
  background: rgba(8, 14, 25, 0.92);
  border: 1px solid rgba(122, 152, 207, 0.28);
  border-radius: 12px;
  padding: 14px;
  overflow-x: auto;
}

.gh-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
}

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.gh-content th,
.gh-content td {
  border: 1px solid rgba(118, 150, 205, 0.34);
  padding: 10px;
  text-align: left;
}

.gh-content figure {
  margin: 1.6em 0;
}

.gh-content img {
  border-radius: 14px;
  border: 1px solid rgba(122, 154, 212, 0.22);
}

.gh-content .kg-width-wide {
  width: min(1020px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-width-full {
  width: min(1240px, calc(100vw - 24px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.post-footer {
  width: 100%;
  margin-top: 0;
}

.post-content .post-footer {
  margin-top: 0;
  padding: clamp(14px, 2.2vw, 20px) var(--post-shell-padding) var(--post-shell-padding);
  border-top: 1px solid rgba(119, 151, 208, 0.28);
}

.post-footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.post-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-footer-engagement {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: auto;
}

.post-like-toggle,
.post-comment-jump {
  border: 1px solid rgba(122, 154, 212, 0.34);
  background: rgba(18, 30, 50, 0.58);
  color: #d8e8ff;
  border-radius: 10px;
  min-height: 30px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
}

.post-like-toggle i,
.post-comment-jump i {
  font-size: 0.86em;
}

.post-like-toggle {
  cursor: pointer;
  font-family: inherit;
}

.post-comment-jump {
  cursor: pointer;
  font-family: inherit;
}

.post-like-toggle strong,
.post-comment-jump strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ffffff;
  color: #11284a;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.post-like-toggle:hover,
.post-comment-jump:hover {
  border-color: rgba(152, 185, 243, 0.48);
}

.post-like-toggle.is-liked {
  border-color: rgba(245, 140, 161, 0.5);
  background: rgba(114, 43, 68, 0.3);
  color: #ffddeb;
}

.post-like-toggle.is-liked i {
  color: #ff96b3;
}

.post-like-toggle:disabled {
  opacity: 0.68;
  cursor: wait;
}

.post-comments-section {
  padding-top: 0;
}

.post-comments-meta {
  width: min(900px, calc(100% - 40px));
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #bbd1ef;
  font-size: 0.9rem;
}

.post-comments-meta strong {
  color: #f0f7ff;
}

.post-comments-cta {
  width: min(900px, calc(100% - 40px));
  margin-top: 14px;
  border: 1px solid rgba(122, 154, 212, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20, 33, 55, 0.72), rgba(11, 18, 31, 0.66));
  padding: 14px;
}

.post-comments-cta p {
  margin: 0;
  color: #c7d9f2;
}

.post-comments-cta-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-comments-shell {
  width: min(900px, calc(100% - 40px));
  margin-top: 14px;
  border: 1px solid rgba(122, 154, 212, 0.3);
  border-radius: 20px;
  background: rgba(16, 25, 42, 0.62);
  padding: clamp(14px, 3vw, 22px);
}

.post-comments-shell .empty-state {
  width: 100%;
}

.post-comments-shell > *:first-child {
  margin-top: 0;
}

.post-comments-shell > *:last-child {
  margin-bottom: 0;
}

.archive-head,
.author-card {
  border: 1px solid rgba(123, 156, 216, 0.27);
  border-radius: 20px;
  background: rgba(20, 32, 53, 0.58);
  padding: clamp(18px, 4vw, 30px);
}

.archive-head p,
.author-card p {
  margin: 12px 0 0;
  color: var(--text-dim);
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.author-avatar {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(131, 162, 220, 0.34);
}

.author-meta {
  margin-top: 10px;
  color: #bcd0ea;
  font-size: 0.86rem;
}

.author-proof {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-proof span,
.author-proof a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(122, 154, 212, 0.3);
  background: rgba(26, 42, 69, 0.46);
  color: #d8e8ff;
  text-decoration: none;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.author-featured {
  margin-top: 16px;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(129, 160, 218, 0.14);
  padding: 26px 0 38px;
  background: rgba(7, 11, 20, 0.55);
  position: relative;
  z-index: 1;
}

.footer-cta {
  text-align: center;
  border: 1px solid rgba(123, 156, 216, 0.28);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(20, 32, 54, 0.66), rgba(12, 18, 31, 0.62));
  box-shadow: var(--shadow);
  padding: clamp(20px, 5vw, 42px);
  margin-bottom: 22px;
}

.footer-cta p {
  color: var(--text-dim);
  margin: 12px auto 0;
  max-width: 72ch;
}

.subscribe-form {
  margin: 22px auto 0;
  width: min(580px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.subscribe-form input {
  width: 100%;
  border: 1px solid rgba(126, 159, 217, 0.35);
  border-radius: 12px;
  background: rgba(15, 24, 40, 0.8);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
}

.subscribe-form input::placeholder {
  color: #9bb1cf;
}

.form-note,
.subscribe-feedback {
  margin-top: 10px;
  color: #a7bedc;
  font-size: 0.84rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.footer-company,
.footer-meta {
  border: 1px solid rgba(118, 151, 208, 0.24);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(18, 30, 50, 0.45), rgba(11, 17, 28, 0.4));
  padding: 16px;
}

.footer-company img {
  height: 52px;
  width: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.footer-company p,
.footer-meta p {
  margin: 11px 0 0;
  color: #b5c8e4;
  font-size: 0.9rem;
}

.footer-socials {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-link {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 153, 211, 0.3);
  background: rgba(19, 31, 51, 0.62);
  color: #d7e9ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-social-link:hover {
  background: rgba(34, 54, 86, 0.8);
}

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

.reveal-up {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-up.delay-1 {
  transition-delay: 0ms;
}

.reveal-up.delay-2 {
  transition-delay: 0ms;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .tag-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-grid > .post-card:first-child {
    grid-column: span 1;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .announcement-inner {
    min-height: 34px;
    padding: 0 12px;
  }

  .announcement-inner a,
  .announcement-inner span {
    font-size: 0.78rem;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 12px;
  }

  .header-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header-search-toggle {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid rgba(112, 144, 201, 0.35);
    border-radius: 14px;
    background: rgba(13, 21, 35, 0.96);
    box-shadow: 0 20px 35px rgba(5, 9, 18, 0.45);
    padding: 10px;
  }

  .site-nav .nav li a {
    display: block;
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .mobile-nav-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-nav-actions .btn {
    width: 100%;
  }

  .brand {
    max-width: calc(100% - 108px);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand span {
    max-width: 100%;
    white-space: normal;
  }

  .header-submenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
    transition: max-height 240ms ease, opacity 200ms ease, border-color 200ms ease;
  }

  .site-header.submenu-open .header-submenu {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
    border-top-color: rgba(120, 150, 210, 0.14);
    border-bottom-color: rgba(120, 150, 210, 0.12);
  }

  .header-submenu-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  .header-search-shell {
    width: 100%;
  }

  .header-search-results {
    position: static;
    margin-top: 6px;
    box-shadow: none;
    max-height: 190px;
  }

  .header-tag-rail {
    width: 100%;
  }

  .header-tag-scroll {
    width: 30px;
    height: 30px;
  }

  .header-tag-list-wrap {
    width: 100%;
  }

  .header-tag-list {
    gap: 10px;
  }

  .post-grid,
  .tag-cloud,
  .value-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .post-grid > .post-card:first-child {
    grid-column: span 1;
    display: block;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 28px));
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .post-content,
  .page-content,
  .post-toc-shell,
  .post-header,
  .page-header,
  .post-footer {
    width: min(900px, calc(100% - 28px));
  }
}

/* V3: sections membres, pricing, footer entreprise, progression article */
.portal-section,
.pricing-section {
  padding-top: 30px;
}

.portal-grid,
.pricing-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-panel,
.pricing-card {
  border-radius: 16px;
  border: 1px solid rgba(116, 149, 208, 0.3);
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.72), rgba(10, 18, 31, 0.68));
  padding: 18px;
}

.portal-panel-highlight,
.pricing-card-paid {
  border-color: rgba(149, 233, 176, 0.42);
  box-shadow: 0 12px 28px rgba(95, 208, 138, 0.16);
}

.portal-kicker,
.pricing-tier-name {
  margin: 0;
  color: var(--mint-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.portal-panel h3,
.pricing-card h3 {
  margin: 10px 0 0;
  font-family: var(--gh-font-heading);
  font-size: 1.12rem;
}

.portal-panel p {
  margin: 10px 0 0;
  color: #bfd2ee;
}

.portal-actions,
.pricing-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-tier-desc {
  margin: 10px 0 0;
  color: #c0d4ef;
}

.pricing-amounts {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.pricing-amounts p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-amounts strong {
  font-family: var(--gh-font-heading);
  font-size: 1.38rem;
  color: #eef7ff;
}

.pricing-amounts span {
  color: #b8cde8;
  font-size: 0.84rem;
}

.pricing-card-free {
  border-style: dashed;
}

.pricing-benefits {
  margin: 14px 0 0;
  padding-left: 16px;
  display: grid;
  gap: 7px;
  color: #d9e9ff;
  font-size: 0.9rem;
}

.pricing-benefits li::marker {
  color: var(--mint-main);
}

.subscribe-form {
  margin: 22px auto 0;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.subscribe-form input {
  min-width: 0;
}

.footer-company {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: start;
}

.footer-company-details p {
  margin: 0 0 8px;
}

.footer-company-details p:last-child {
  margin-bottom: 0;
}

.footer-legal-links {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(118, 151, 208, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-links a {
  color: #bfd9fb;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 153, 211, 0.3);
  background: rgba(19, 31, 51, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-legal-links a:hover {
  background: rgba(34, 54, 86, 0.8);
}

.subscribe-feedback {
  color: #b8d0ef;
}

.subscribe-feedback[data-members-success] {
  color: var(--mint-soft);
}

.reading-progress {
  position: fixed;
  top: calc(76px + env(safe-area-inset-top));
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(149, 233, 176, 0.28);
  z-index: 32;
  pointer-events: none;
  transition: background 180ms ease;
}

.reading-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6fd693 0%, #95e9b0 45%, #c8ffd8 100%);
  box-shadow: 0 0 20px rgba(142, 239, 177, 0.72);
  transition: width 120ms linear;
}

.reading-progress.is-complete {
  background: rgba(149, 233, 176, 0.3);
}

body.has-auth-modal {
  overflow: hidden;
}

body.has-account-modal {
  overflow: hidden;
}

body.has-checkout-modal {
  overflow: hidden;
}

body.has-comments-modal {
  overflow: hidden;
}

body.has-comments-modal .site-main {
  z-index: 80;
}

.auth-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-modal-shell[hidden] {
  display: none !important;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.72);
  backdrop-filter: blur(8px);
}

.auth-modal {
  position: relative;
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(123, 156, 216, 0.35);
  background: linear-gradient(160deg, rgba(17, 29, 49, 0.96), rgba(10, 17, 30, 0.96));
  box-shadow: 0 28px 65px rgba(2, 7, 16, 0.6);
  padding: 20px;
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(122, 153, 211, 0.35);
  background: rgba(18, 32, 53, 0.82);
  color: #d9ebff;
  font-size: 1.16rem;
  cursor: pointer;
}

.auth-modal-head h2 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: 1.45rem;
}

.auth-modal-tabs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auth-tab {
  border: 1px solid rgba(122, 153, 211, 0.3);
  background: rgba(18, 31, 52, 0.62);
  color: #cde3ff;
  border-radius: 11px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  border-color: rgba(149, 233, 176, 0.6);
  color: #e7fff0;
  background: rgba(37, 67, 56, 0.5);
}

.auth-panel {
  margin-top: 14px;
}

.auth-panel-success {
  margin-top: 16px;
}

.auth-success-card {
  border: 1px solid rgba(149, 233, 176, 0.45);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(35, 69, 57, 0.6), rgba(19, 38, 32, 0.55));
  padding: 14px;
}

.auth-success-card-signin {
  display: grid;
  gap: 8px;
}

.auth-success-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #0f3020;
  background: #86e6aa;
  box-shadow: 0 0 0 3px rgba(134, 230, 170, 0.24);
}

.auth-success-kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ceffe2;
}

.auth-success-card h3 {
  margin: 8px 0 0;
  font-size: 1.18rem;
}

.auth-success-card p {
  margin: 8px 0 0;
  color: #d7f7e3;
}

.auth-success-card strong {
  color: #ffffff;
}

.auth-success-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

.auth-form label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #cbe0fb;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(126, 159, 217, 0.35);
  border-radius: 11px;
  background: rgba(13, 23, 39, 0.86);
  color: #e7f2ff;
  padding: 11px 12px;
  font: inherit;
}

.auth-form .btn {
  margin-top: 4px;
}

.auth-modal-shell.is-signin-complete .auth-modal-tabs,
.auth-modal-shell.is-signup-complete .auth-modal-tabs {
  display: none;
}

.account-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 121;
  display: grid;
  place-items: center;
  padding: 16px;
}

.account-modal-shell[hidden] {
  display: none !important;
}

.account-modal {
  width: min(560px, 100%);
}

.account-toggle-row {
  margin-top: 4px;
  border: 1px solid rgba(122, 154, 212, 0.3);
  border-radius: 10px;
  background: rgba(19, 32, 54, 0.58);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cde3ff;
}

.account-toggle-row input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.account-form-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-form-actions .btn {
  margin-top: 0;
}

.auth-message {
  margin: 2px 0 0;
  display: none;
  font-size: 0.84rem;
}

.auth-form.loading .auth-message.loading,
.auth-form.success .auth-message.success,
.auth-form.error .auth-message.error {
  display: block;
}

.auth-message.loading {
  color: #b9d1f1;
}

.auth-message.success {
  color: var(--mint-soft);
}

.auth-message.error {
  color: #ffc2c2;
}

.checkout-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 121;
  display: grid;
  place-items: center;
  padding: 16px;
}

.comments-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 122;
  display: grid;
  place-items: center;
  padding: 16px;
}

.comments-modal-shell[hidden] {
  display: none !important;
}

.comments-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.74);
  backdrop-filter: blur(8px);
}

.comments-modal {
  position: relative;
  width: min(900px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(123, 156, 216, 0.35);
  background: linear-gradient(160deg, rgba(17, 29, 49, 0.96), rgba(10, 17, 30, 0.96));
  box-shadow: 0 28px 65px rgba(2, 7, 16, 0.6);
  padding: clamp(16px, 3vw, 24px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.comments-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(122, 153, 211, 0.35);
  background: rgba(18, 32, 53, 0.82);
  color: #d9ebff;
  font-size: 1.16rem;
  cursor: pointer;
}

.comments-modal-head h2 {
  margin: 0;
}

.comments-modal .post-comments-meta,
.comments-modal .post-comments-cta,
.comments-modal .post-comments-shell {
  width: 100%;
}

.comments-modal .post-comments-meta {
  margin-top: 10px;
}

.comments-modal .post-comments-cta,
.comments-modal .post-comments-shell {
  margin-top: 12px;
}

.comments-modal .post-comments-shell {
  max-height: min(68vh, 720px);
  overflow: auto;
}

.checkout-modal-shell[hidden] {
  display: none !important;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.74);
  backdrop-filter: blur(8px);
}

.checkout-modal {
  position: relative;
  width: min(460px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(149, 233, 176, 0.42);
  background: linear-gradient(160deg, rgba(17, 29, 49, 0.96), rgba(10, 17, 30, 0.96));
  box-shadow: 0 28px 65px rgba(2, 7, 16, 0.6);
  padding: 20px;
}

.checkout-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(122, 153, 211, 0.35);
  background: rgba(18, 32, 53, 0.82);
  color: #d9ebff;
  font-size: 1.16rem;
  cursor: pointer;
}

.checkout-modal h2 {
  margin: 8px 0 0;
  font-family: var(--gh-font-heading);
  font-size: 1.4rem;
}

.checkout-plan-name {
  margin: 12px 0 0;
  color: #cfe4ff;
  font-weight: 700;
}

.checkout-plan-price {
  margin: 6px 0 0;
  color: var(--mint-soft);
  font-family: var(--gh-font-heading);
  font-size: 1.2rem;
}

.checkout-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-jump-nav {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.post-jump-link {
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(122, 154, 212, 0.3);
  background: rgba(19, 31, 52, 0.58);
  color: #d5e9ff;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.post-jump-next {
  text-align: right;
}

.post-jump-link:hover {
  background: rgba(34, 54, 86, 0.8);
}

.related-section-latest {
  padding-top: 18px;
}

.post-cluster-section {
  padding-top: 18px;
}

.post-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.post-cluster-card {
  border: 1px solid rgba(119, 151, 208, 0.28);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20, 33, 55, 0.7), rgba(11, 18, 31, 0.68));
  padding: 16px;
}

.post-cluster-card h3 {
  margin: 10px 0 0;
  font-family: var(--gh-font-heading);
  font-size: 1.04rem;
}

.post-cluster-links {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.post-cluster-links a {
  color: #d7e9ff;
  text-decoration: none;
  border: 1px solid rgba(122, 154, 212, 0.28);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(18, 30, 50, 0.56);
  font-size: 0.84rem;
  font-weight: 700;
}

.post-cluster-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.post-cluster-list a {
  color: #cfe2ff;
  text-decoration: none;
}

.articles-more-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.media-home-section {
  padding-top: 22px;
}

.media-home-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-home-card {
  border: 1px solid rgba(116, 149, 208, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.72), rgba(10, 18, 31, 0.68));
  padding: 16px;
  min-width: 0;
}

.media-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-home-head h3 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: 1.03rem;
}

.media-home-head a {
  color: #b5d6fb;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.media-home-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.media-home-list li {
  display: grid;
  gap: 4px;
}

.media-home-list a {
  color: #d8e9ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.media-home-list a:hover {
  color: #f2f8ff;
}

.media-home-list small {
  color: #a8c0de;
  font-size: 0.76rem;
}

.media-home-news-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.media-home-news-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(122, 154, 212, 0.32);
  background: rgba(13, 24, 40, 0.68);
}

.media-home-news-thumb.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d8e8ff;
}

.media-home-editor-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.media-home-editor-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(122, 154, 212, 0.34);
  background: rgba(13, 24, 40, 0.68);
}

.media-home-editor-thumb.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d8e8ff;
}

.media-home-list.is-popular {
  counter-reset: popular-rank;
}

.popular-item {
  border: 1px solid rgba(122, 154, 212, 0.25);
  border-radius: 12px;
  background: rgba(18, 30, 50, 0.5);
  padding: 9px 10px;
}

.popular-item a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.popular-item-rank {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #08203d;
  background: linear-gradient(135deg, #99d3ff 0%, #6bb4f4 100%);
  flex: 0 0 auto;
}

.popular-item-title {
  min-width: 0;
  flex: 1 1 auto;
}

.popular-item small {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-header-format-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-format-badge,
.post-sponsored-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 176, 233, 0.4);
  background: rgba(15, 24, 39, 0.84);
  color: #e7f2ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-format-badge.is-news {
  border-color: rgba(117, 183, 252, 0.46);
  color: #d7ecff;
  background: rgba(21, 44, 74, 0.82);
}

.post-format-badge.is-guide {
  border-color: rgba(142, 225, 181, 0.48);
  color: #d7ffe7;
  background: rgba(23, 57, 47, 0.8);
}

.post-format-badge.is-test {
  border-color: rgba(248, 176, 104, 0.5);
  color: #ffe4c8;
  background: rgba(68, 38, 16, 0.8);
}

.post-format-badge.is-compare {
  border-color: rgba(186, 165, 255, 0.5);
  color: #ebe2ff;
  background: rgba(40, 30, 71, 0.8);
}

.post-sponsored-badge {
  border-color: rgba(241, 207, 120, 0.45);
  color: #ffeab0;
  background: rgba(58, 43, 13, 0.74);
}

.post-sponsored-note {
  margin: 10px 0 0;
  color: #f5dfb7;
  font-size: 0.82rem;
}

.post-popular-section {
  padding-top: 18px;
}

.post-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.post-popular-card {
  border: 1px solid rgba(116, 149, 208, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.72), rgba(10, 18, 31, 0.68));
  padding: 14px;
}

.post-history-section {
  padding-top: 18px;
}

.post-history-card {
  border: 1px solid rgba(116, 149, 208, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.72), rgba(10, 18, 31, 0.68));
  padding: 16px;
}

.post-history-card h3 {
  margin: 0;
  font-family: var(--gh-font-heading);
  font-size: 1.04rem;
}

.post-history-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #d5e6ff;
}

.search-page-section {
  padding-top: 30px;
}

.search-page-app {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-page-form input {
  width: 100%;
  border: 1px solid rgba(126, 159, 217, 0.35);
  border-radius: 12px;
  background: rgba(15, 24, 40, 0.8);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
}

.search-page-form input::placeholder {
  color: #9bb1cf;
}

.search-page-scopes {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-scope-chip {
  border: 1px solid rgba(122, 154, 212, 0.28);
  background: rgba(18, 30, 50, 0.56);
  color: #d7e8ff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.search-scope-chip:hover {
  border-color: rgba(153, 186, 246, 0.45);
}

.search-scope-chip.is-active {
  border-color: rgba(149, 233, 176, 0.5);
  background: rgba(58, 122, 86, 0.3);
  color: #f2fff6;
}

.search-page-list {
  display: grid;
  gap: 12px;
}

.search-result-card .post-card-body {
  padding: 16px;
}

.search-result-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-result-badges .post-card-primary-tag {
  position: static;
}

.search-result-badges .post-card-format-badge {
  position: static;
}

.search-result-read-hint {
  color: #9fb8d9;
  font-size: 0.78rem;
  font-weight: 700;
}

.articles-archive-app {
  margin-top: 18px;
}

.articles-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.articles-archive-main {
  min-width: 0;
}

.articles-status {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(121, 154, 215, 0.28);
  background: rgba(17, 27, 45, 0.72);
  color: #c6d8f4;
  padding: 14px 16px;
}

.articles-status.is-loading {
  color: #c6d8f4;
}

.articles-status.is-error {
  border-color: rgba(232, 117, 117, 0.45);
  color: #ffd8d8;
  background: rgba(51, 20, 24, 0.72);
}

.articles-status.is-empty {
  color: #d2dff3;
}

.archive-post-list {
  display: grid;
  gap: 14px;
}

.archive-post-card {
  display: block;
}

.archive-post-card .post-card-media {
  min-height: 0;
}

.archive-post-card .post-card-body {
  padding: 18px;
}

.articles-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.articles-page-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.articles-page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(126, 159, 217, 0.35);
  background: rgba(20, 33, 54, 0.65);
  color: #d8e8ff;
  font-weight: 700;
  cursor: pointer;
}

.articles-page-btn.is-active {
  border-color: rgba(149, 233, 176, 0.52);
  background: rgba(58, 122, 86, 0.34);
  color: #f0fff5;
}

.articles-archive-sidebar {
  position: static;
  align-self: start;
  display: grid;
  gap: 12px;
}

.articles-latest-card h2 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.articles-latest-card p {
  font-size: 0.92rem;
}

.archive-filter-group {
  border: 1px solid rgba(116, 149, 208, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(21, 35, 58, 0.72), rgba(10, 18, 31, 0.68));
  overflow: hidden;
}

.archive-filter-group summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-family: var(--gh-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archive-filter-group summary::-webkit-details-marker {
  display: none;
}

.archive-filter-group summary::after {
  content: "⌄";
  color: #9ec8f4;
  transform: rotate(180deg);
  transition: transform 180ms ease;
}

.archive-filter-group[open] summary::after {
  transform: rotate(0deg);
}

.archive-filter-options {
  display: grid;
  gap: 6px;
  padding: 0 12px 12px;
}

.archive-filter-dropdowns {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.archive-field {
  display: grid;
  gap: 6px;
}

.archive-field span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a7c1e3;
}

.archive-field select {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(122, 154, 212, 0.32);
  background: rgba(18, 30, 50, 0.74);
  color: #d8e8ff;
  font-family: var(--gh-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 10px;
  outline: none;
}

.archive-field select:focus {
  border-color: rgba(149, 233, 176, 0.6);
}

.archive-filter-option {
  border: 1px solid rgba(122, 154, 212, 0.28);
  background: rgba(18, 30, 50, 0.56);
  color: #d7e8ff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.archive-filter-option:hover {
  border-color: rgba(153, 186, 246, 0.45);
}

.archive-filter-option.is-active {
  border-color: rgba(149, 233, 176, 0.5);
  background: rgba(58, 122, 86, 0.3);
  color: #f2fff6;
}

@media (max-width: 1100px) {
  .articles-archive-layout {
    grid-template-columns: 1fr;
  }

  .articles-archive-sidebar {
    position: static;
    order: -1;
  }

  .archive-post-card {
    grid-template-columns: 1fr;
  }

  .post-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-home-grid,
  .post-popular-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .articles-pagination {
    justify-content: center;
  }

  .post-cluster-grid {
    grid-template-columns: 1fr;
  }

  .post-footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .post-footer-engagement {
    width: 100%;
  }

  .post-like-toggle,
  .post-comment-jump {
    flex: 1 1 0;
    justify-content: center;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 0.74rem;
  }

  .post-like-toggle strong,
  .post-comment-jump strong {
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    font-size: 0.62rem;
  }

  .post-comments-meta {
    gap: 10px;
  }

  .post-comments-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }
}

.post-content-body > * {
  animation: content-fade-up 420ms ease both;
}

.post-content-body > *:nth-child(2n) {
  animation-duration: 500ms;
}

.post-content-body > *:nth-child(3n) {
  animation-duration: 580ms;
}

@keyframes content-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .portal-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .footer-company {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .portal-actions .btn,
  .pricing-actions .btn {
    width: 100%;
  }

  .auth-modal {
    padding: 16px;
  }

  .account-modal {
    padding: 16px;
  }

  .account-form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .comments-modal {
    padding: 16px;
  }

  .comments-modal-shell {
    place-items: start center;
    padding: calc(env(safe-area-inset-top) + 84px) 12px 12px;
    overflow-y: auto;
  }

  .comments-modal {
    width: min(900px, 100%);
    max-height: calc(100dvh - env(safe-area-inset-top) - 96px);
  }

  .comments-modal-close {
    top: 8px;
    right: 8px;
  }

  .auth-modal-tabs {
    grid-template-columns: 1fr;
  }

  .checkout-actions .btn {
    width: 100%;
  }

  .post-jump-nav {
    grid-template-columns: 1fr;
  }

  .post-jump-next {
    text-align: left;
  }
}
