.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

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

.btn-primary {
  background: #fff;
  color: #0a0a0a;
}

.btn-primary:hover {
  background: #e6e6e7;
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  color: var(--text-secondary);
  padding-inline: 0.75rem;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 500;
}

.arrow-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

.arrow-link:hover svg {
  transform: translateX(4px);
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition:
    background-color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.8;
}

.brand-mark {
  height: 26px;
  width: auto;
  aspect-ratio: 320 / 256;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
  background: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.discord-link {
  display: inline-flex;
  align-items: center;
}

.discord-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--dur-fast) var(--ease-out);
}

.discord-link:hover .discord-avatar {
  transform: scale(1.08);
}

.header-action-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.81rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease-out);
}

.header-action-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width var(--dur-med) var(--ease-out);
}

.header-action-link:hover {
  color: var(--text);
}

.header-action-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   Mega Menu Styles
   ========================================================================== */

.nav-item-has-mega {
  position: relative;
}

.mega-trigger {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  z-index: 200;
  width: min(100vw - 2 * var(--gutter), var(--container));
  background: rgba(12, 12, 14, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out),
    visibility 0s linear var(--dur-med);
  pointer-events: none;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.85rem;
}

.mega-menu::after {
  display: none;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(200px, 1fr);
  gap: 0;
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.mega-col {
  min-width: 0;
  padding: 0.75rem clamp(1rem, 1.5vw, 1.5rem);
}

.mega-col + .mega-col {
  border-left: 1px solid var(--border);
}

/* Context-aware VPS menu: mark the section that matches the current page.
   Rendered by js/mega-vps.js. */
.mega-col--section.is-active {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
}
.mega-col--section.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--text);
}
.mega-col--section.is-active .mega-title {
  color: var(--text);
}
.mega-col--section.is-active .mega-link {
  color: var(--text);
}

.mega-col:last-of-type {
  border-left: none;
}

.mega-col.featured {
  padding-left: clamp(1rem, 1.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* Responsive mega dropdown: stack columns instead of forcing the desktop panel */
@media (max-width: 1024px) {
  .mega-menu {
    left: 50%;
    width: min(100vw - 2 * var(--gutter), var(--container));
  }
  .mega-inner {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .mega-col + .mega-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .mega-col.featured {
    transform: none;
    border-left: none;
  }
}

.mega-title {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-item {
  position: relative;
}

.mega-item.featured {
  margin-bottom: 0.5rem;
}

.mega-link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.65rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.mega-link:hover:not(.disabled) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.mega-link.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.mega-item-name {
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-item-name::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.mega-link:hover:not(.disabled) .mega-item-name::before {
  opacity: 1;
}

.mega-item-desc {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.mega-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.mega-section-title {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
}

/* Mega Featured Column */
.mega-featured {
  display: flex;
  align-items: flex-start;
}

.mega-featured-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.mega-featured-tag {
  display: inline-block;
  width: max-content;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
}

.mega-featured-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

.mega-featured-desc {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

.mega-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mega-featured-cta svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

.mega-featured-link:hover .mega-featured-cta svg {
  transform: translateX(3px);
}

.mega-menus-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  pointer-events: none;
}

/* Mega Menu Overlay */
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 5, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    visibility 0s linear var(--dur-fast);
}

.mega-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* Mobile Sub-menu Styles */
.mobile-nav-has-sub {
  position: relative;
}

.mobile-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fafafa;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 0;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.mobile-sub-trigger::after {
  content: "+";
  font-size: 16px;
  font-weight: 300;
  color: #71717a;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sub-trigger[aria-expanded="true"]::after {
  content: "\2212";
}

.mobile-sub-list {
  list-style: none;
  padding: 0 0 0.25rem 1rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.mobile-nav-has-sub[aria-expanded="true"] .mobile-sub-list {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 0.5rem;
}

.mobile-sub-list li {
  margin: 0;
}

.mobile-sub-list a {
  display: block;
  padding: 0.5rem 0 0.5rem 0.75rem;
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-sub-list a:hover {
  color: #fafafa;
}

.mobile-sub-list a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3f3f46;
  margin-right: 10px;
  vertical-align: middle;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background: #09090b;
  border-left: 1px solid #27272a;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  /* a closed menu must not swallow taps on the content underneath it,
     even while the open/close transition is still running */
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  overflow-y: auto;
}

.mobile-menu::before {
  content: "";
  position: fixed;
  inset: 0;
  left: auto;
  right: 100%;
  width: 100vw;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  z-index: -1;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-menu.is-open::before {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-nav {
  flex: 1;
}

.mobile-nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid #27272a;
}

.mobile-nav > ul > li:last-child {
  border-bottom: none;
}

.mobile-nav > ul > li > a {
  display: block;
  padding: 0.85rem 0;
  color: #fafafa;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mobile-nav > ul > li > a:hover {
  color: #a1a1aa;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #27272a;
}

.mobile-menu-footer .header-action-link {
  padding: 0.7rem 1rem;
  border: 1px solid #27272a;
  border-radius: 8px;
  color: #fafafa;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.15s ease;
}

.mobile-menu-footer .header-action-link:hover {
  border-color: #3f3f46;
  background: #18181b;
}

.mobile-menu-footer .btn-primary {
  border-color: #fafafa;
  background: #fafafa;
  color: #09090b;
}

.mobile-menu-footer .btn-primary:hover {
  background: #e4e4e7;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #27272a;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 2vw, 1.75rem);
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99),
    box-shadow 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  will-change: transform;
  position: relative;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.plan-card:hover {
  background: #2e2e33;
  border-color: #52525b;
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.is-featured {
  border-color: #52525b;
  background: #2e2e33;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.plan-card.is-featured:hover {
  border-color: #52525b;
  transform: translateY(-12px) rotateX(3deg) rotateY(-2deg) scale(1.02);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.plan-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plan-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.plan-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-badge {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  color: var(--text-secondary);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-card.is-featured .plan-badge {
  border-color: var(--text);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.plan-tagline {
  color: var(--text-tertiary);
  font-size: var(--fs-tiny);
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.plan-price .amount {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: 1;
}

.plan-price .period {
  color: var(--text-tertiary);
  font-size: var(--fs-small);
}

/* Every-plan-includes strip */
.plan-includes {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--border-faint);
}

.plan-includes-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.1rem;
}

.plan-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
}

.plan-includes-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

.plan-includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 1px;
  background: var(--text);
}

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-faint);
}

.plan-specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: var(--fs-small);
}

.plan-specs li:last-child {
  padding-bottom: 0;
}

.plan-specs .spec-label {
  color: var(--text-tertiary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-specs strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.plan-features li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 0.5em;
  background: var(--text-tertiary);
  flex-shrink: 0;
  border-radius: 1px;
}

.plan-card .btn {
  margin-top: auto;
}

.plan-specs {
  margin-bottom: 0.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.cell {
  min-width: 0;
  padding: clamp(1.5rem, 2vw, 1.75rem);
  background: var(--bg);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.cell:hover {
  background: var(--bg-raised);
  border-color: var(--border);
  transform: translateY(-2px);
}

.faq-list {
  max-width: 50rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-faint);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-faint);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  color: var(--text);
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}

.faq-question:hover {
  color: #ffffff;
}

.faq-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--text-tertiary);
  transition:
    transform var(--dur-med) var(--ease-out),
    background-color var(--dur-med) var(--ease-out);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: scaleY(0);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: var(--text);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
}

.faq-answer-wrap.is-open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  max-width: 40rem;
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(1.6rem, 3.2vw, 2.75rem) clamp(1rem, 2vw, 1.5rem);
  background: var(--bg-raised);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-brand .brand { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
  color: var(--text-tertiary);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-col a {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,.2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.76rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-box {
  display: none;
}

.nav-toggle-line {
  display: none;
}

@media (max-width: 1024px) {
  .header-nav,
  .header-actions .header-action-link {
    display: none;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 22px;
  }

  .nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 720px) {
  .section-head-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head-split .section-desc {
    justify-self: start;
  }

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

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

@media (max-width: 520px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    gap: 1rem;
  }
}

/* Checkout two-column layout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

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

/* Ultra-narrow screens: let long CTA labels wrap */
@media (max-width: 360px) {
  .btn {
    white-space: normal;
  }
}

/* ===== Cart ===== */
.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}
.header-cart-link svg {
  width: 18px;
  height: 18px;
}
.header-cart-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}
.header-cart-link.is-on {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}
.vh-cart-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.header-actions {
  gap: 0.55rem;
}

/* Deep-linked plan highlight — a "Learn More" jump from the homepage or any
   other page lands on #plan-<slug>; mark the exact card that was requested. */

/* the site header is position:fixed, so offset the jump target or the card
   you asked for ends up hidden underneath it */
.mc-plan-card,
.vps-plan-card {
  scroll-margin-top: 5.5rem;
}

.mc-plan-card:target,
.vps-plan-card:target {
  position: relative;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26),
    0 18px 44px rgba(0, 0, 0, 0.5) !important;
}
/* the card you jumped to is the one you want, so surface its action button */
.mc-plan-card:target .mc-buy,
.mc-plan-card:target .mc-add-cart,
.vps-plan-card:target .vps-buy {
  border-color: rgba(255, 255, 255, 0.75);
}
.mc-plan-card:target .mc-buy,
.vps-plan-card:target .vps-buy {
  background: #fafafa !important;
  color: #09090b !important;
  border-color: #fafafa !important;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.16);
  transition: none;
}
.mc-plan-card:target .mc-buy:hover,
.vps-plan-card:target .vps-buy:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  color: #09090b;
}
.mc-plan-card:target .mc-add-cart {
  color: #fafafa !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.mc-plan-card:target::after,
.vps-plan-card:target::after {
  content: 'Selected plan';
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #fafafa;
  color: #09090b;
  pointer-events: none;
}
