/* ==========================================================================
   MS HOST — COMPONENTS
   ========================================================================== */

/* ---- Scroll progress bar ------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
}

/* ---- Navbar --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--fg-muted);
  overflow: hidden;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--fg);
  background: var(--surface-hover);
}

.nav-link.is-active {
  color: var(--fg);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
  .nav-actions {
    display: flex;
  }
}

/* ---- Theme toggle ---------------------------------------------------- */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.theme-toggle button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--fg-faint);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.theme-toggle button svg {
  width: 15px;
  height: 15px;
}

.theme-toggle button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

/* ---- Mobile menu button ---------------------------------------------- */
.menu-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.menu-btn span {
  display: block;
  position: relative;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn span::before {
  transform: translateY(-5px);
}
.menu-btn span::after {
  transform: translateY(5px);
}

.menu-btn.is-open span {
  background: transparent;
}
.menu-btn.is-open span::before {
  transform: rotate(45deg);
}
.menu-btn.is-open span::after {
  transform: rotate(-45deg);
}

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

/* ---- Mobile nav panel --------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-good);
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---- Hero infra panel --------------------------------------------------- */
.infra-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-glow);
}

.infra-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.infra-panel-head .status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.infra-panel-head .status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-good);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--status-good) 20%, transparent);
}

.infra-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.infra-metric {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.infra-metric-label {
  font-size: 0.72rem;
  color: var(--fg-faint);
  margin-bottom: 6px;
}

.infra-metric-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
}

.infra-bar {
  margin-top: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.infra-sparkline {
  width: 100%;
  height: 24px;
  margin-top: 4px;
  color: var(--accent);
}

.infra-sparkline path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.infra-panel.is-charged .infra-sparkline path {
  stroke-dashoffset: 0;
}

.infra-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 1.1s var(--ease);
}

.infra-panel-footnote {
  font-size: 0.72rem;
  color: var(--fg-faint);
  text-align: center;
}

/* ---- Trust strip -------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  background: var(--bg);
  padding: 28px 20px;
  text-align: center;
}

.trust-item .value {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
}

.trust-item:nth-child(1) .value { color: var(--hue-amber); }
.trust-item:nth-child(2) .value { color: var(--hue-teal); }
.trust-item:nth-child(3) .value { color: var(--hue-violet); }
.trust-item:nth-child(4) .value { color: var(--hue-rose); }

.trust-item .label {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ---- Segmented control (category toggle) -------------------------------- */
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
}

.segmented button {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--fg-muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.segmented button[aria-selected="true"] {
  background: var(--fg);
  color: var(--bg);
}

.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

/* ---- Pricing groups (all plans shown at once, grouped by category) ------ */
.pricing-group {
  margin-bottom: 44px;
}

.pricing-group:last-child {
  margin-bottom: 0;
}

.pricing-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.pricing-group-head h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pricing-group-head h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

[data-group="shared"] .pricing-group-head h3::before { background: var(--hue-teal); }
[data-group="reseller"] .pricing-group-head h3::before { background: var(--hue-violet); }

.pricing-group-head .count {
  font-size: 0.8rem;
  color: var(--fg-faint);
}

/* ---- Pricing cards -------------------------------------------------------- */
.pricing-track {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  perspective: 1200px;
}

@media (min-width: 720px) {
  .pricing-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .pricing-track[data-count="4"] {
    grid-template-columns: repeat(4, 1fr);
  }
  .pricing-track[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}

/* By default every category is visible with its own staggered reveal;
   the filter pills smoothly collapse the categories you don't want
   rather than hard-swapping the grid. */
.pricing-group.is-filtered-out {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), opacity 0.35s var(--ease), filter 0.35s var(--ease);
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--accent);
  opacity: 0.85;
}

/* Each category gets its own accent hue on this top edge only — a quiet
   way to tell Shared and Reseller cards apart at a glance. */
[data-group="shared"] .plan-card::before {
  background: var(--hue-teal);
}
[data-group="reseller"] .plan-card::before {
  background: var(--hue-violet);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.35);
}

.plan-card.is-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.72rem;
  font-weight: 600;
  overflow: hidden;
}

.plan-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  animation: badge-shimmer 3.2s ease-in-out infinite;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.plan-tagline {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  min-height: 2.4em;
}

.plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price .amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-price .cycle {
  font-size: 0.9rem;
  color: var(--fg-faint);
}

.plan-features {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  align-items: flex-start;
}

.plan-features li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.plan-footnote {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--fg-faint);
}

.plan-cta {
  margin-top: 24px;
}

.pricing-footnote {
  margin-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-faint);
}

.compare-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}

.compare-link:hover {
  color: var(--fg);
}

/* ---- Comparison drawer ---------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(720px, 100%);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 190;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.drawer-body {
  overflow: auto;
  padding: 8px 24px 32px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px 10px;
  font-size: 0.86rem;
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table th {
  position: sticky;
  top: 0;
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-weight: 600;
  z-index: 1;
}

.compare-table td:first-child,
.compare-table th:first-child {
  color: var(--fg-muted);
  font-weight: 500;
  font-family: var(--font-body);
  white-space: normal;
}

.compare-table .yes {
  color: var(--status-good);
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ---- Domain search -------------------------------------------------------- */
.domain-box {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-input-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 560px) {
  .domain-input-row {
    flex-direction: row;
  }
}

.domain-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.domain-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.domain-input-wrap svg {
  width: 17px;
  height: 17px;
  color: var(--fg-faint);
  flex-shrink: 0;
}

.domain-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  color: var(--fg);
  font-size: 0.98rem;
  padding: 12px 0;
  min-width: 0;
}

.tld-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tld-chip {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.tld-chip .tld {
  font-weight: 600;
}

.tld-chip .price {
  color: var(--fg-faint);
}

.domain-note {
  font-size: 0.76rem;
  color: var(--fg-faint);
}

/* ---- Numbered editorial (Why choose us) ----------------------------------- */
.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--border);
}

.why-item:last-child {
  border-bottom: 1px solid var(--border);
}

.why-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg-faint);
}

.why-item:nth-child(1) .why-num { color: var(--hue-amber); }
.why-item:nth-child(2) .why-num { color: var(--hue-teal); }
.why-item:nth-child(3) .why-num { color: var(--hue-violet); }
.why-item:nth-child(4) .why-num { color: var(--hue-rose); }
.why-item:nth-child(5) .why-num { color: var(--hue-teal); }
.why-item:nth-child(6) .why-num { color: var(--hue-amber); }

.why-item h3 {
  margin-bottom: 6px;
}

/* ---- Feature grid ---------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-tile {
  background: var(--surface);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-tile svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* A gentle rotation through the decorative palette — keeps the grid from
   reading as one flat block of identical icons while staying restrained. */
.feature-tile:nth-child(4n+1) svg { color: var(--hue-amber); }
.feature-tile:nth-child(4n+2) svg { color: var(--hue-teal); }
.feature-tile:nth-child(4n+3) svg { color: var(--hue-violet); }
.feature-tile:nth-child(4n+4) svg { color: var(--hue-rose); }

.feature-tile span {
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---- How it works timeline -------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  gap: 32px;
}

@media (min-width: 780px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--border);
  }
  .timeline::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 6%;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 1s var(--ease);
  }
  .timeline.is-active::after {
    width: 88%;
  }
}

.timeline-step {
  position: relative;
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 16px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.timeline-step.is-active .timeline-num {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
}

.timeline-step h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.timeline-step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
}

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

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-q .plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-q .plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-q .plus::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.is-open .plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}

.faq-a p {
  padding-bottom: 22px;
  color: var(--fg-muted);
  max-width: 62ch;
  font-size: 0.94rem;
}

/* ---- Final CTA ------------------------------------------------------------ */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.final-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 28px;
}

.footer-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}

.footer-about p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--fg-faint);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  position: relative;
  font-size: 0.9rem;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease);
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-col a:hover::after {
  right: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--fg-faint);
}

@media (min-width: 720px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---- Sticky mobile CTA ------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-pill);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  flex: 1;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

/* ---- Feature marquee ribbon ------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding-block: 18px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.marquee-item .sep {
  color: var(--fg-faint);
}

/* ---- Toast (domain search confirmation) -------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  z-index: 250;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast .spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
}

/* ---- Back to top --------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 960px) {
  .back-to-top {
    bottom: 24px;
  }
}
