/* MosVPN 2026 UI refresh: layered after the legacy stylesheet. */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-mid: #cfd4dc;
  --text: #111827;
  --muted: #5f6b7a;
  --subtle: #8a94a3;
  --accent: #d41835;
  --accent-strong: #b50f29;
  --accent-dim: rgba(212, 24, 53, 0.09);
  --navy: #101828;
  --navy-soft: #182338;
  --success: #1a9b62;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 20px 55px rgba(16, 24, 40, 0.12);
  --t: 0.2s ease;
}

html {
  scroll-padding-top: 86px;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

::selection {
  color: #fff;
  background: var(--accent);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(212, 24, 53, 0.25);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 12000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform var(--t);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, 1200px);
  max-width: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

p {
  text-wrap: pretty;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.btn {
  min-height: 48px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t), color var(--t);
}

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

.btn-primary {
  overflow: hidden;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(212, 24, 53, 0.2);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 14px 28px rgba(212, 24, 53, 0.26);
}

.btn-primary::after {
  display: none;
}

.btn-secondary {
  border: 1px solid var(--border-mid);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text);
  background: #fff;
  color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.8rem;
}

/* Header */
#navbar {
  border-color: rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

#navbar.scrolled {
  border-color: rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.07);
}

.nav-inner {
  height: 72px;
  gap: 26px;
}

.nav-logo {
  gap: 9px;
  color: var(--text);
  font-size: 1.08rem;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.14);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 9px;
  color: #4f5b6a;
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(17, 24, 39, 0.045);
  color: var(--text);
}

.nav-actions {
  align-items: center;
  gap: 8px;
}

.lang-btn {
  min-height: 40px;
  padding: 9px 10px;
  border-color: var(--border);
  border-radius: 10px;
  background: #fff;
}

.lang-dropdown {
  overflow: hidden;
  min-width: 170px;
  padding: 6px;
  border-color: var(--border);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.lang-opt {
  border-radius: 8px;
  color: var(--muted);
}

.lang-opt:hover {
  background: var(--bg);
  color: var(--text);
}

.hamburger {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
}

.mobile-nav {
  padding: 10px 24px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 18px 30px rgba(16, 24, 40, 0.08);
}

.mobile-nav a {
  border-color: var(--border);
  color: var(--text);
  font-weight: 600;
}

/* Hero */
#hero {
  position: relative;
  min-height: auto;
  padding: 148px 0 92px;
  background:
    radial-gradient(circle at 86% 18%, rgba(212, 24, 53, 0.13), transparent 28%),
    radial-gradient(circle at 8% 96%, rgba(55, 97, 255, 0.07), transparent 27%),
    linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

#hero::before,
#hero::after {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.16fr) minmax(350px, 0.84fr);
  gap: 64px;
  align-items: center;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(212, 24, 53, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
}

.hero-label::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px rgba(212, 24, 53, 0.09);
}

#hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3.35rem, 6.1vw, 5.15rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

#hero h1 em {
  color: var(--accent);
  font-style: normal;
}

#hero .lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #536071;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  align-items: center;
  gap: 10px;
}

.hero-actions .btn {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-help:hover {
  color: var(--accent);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin-top: 36px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.hero-meta-item {
  gap: 0;
  padding-right: 18px;
}

.hero-meta-item strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.hero-meta-item span {
  max-width: 120px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.hero-meta-sep {
  display: none;
}

.hero-phones {
  width: 420px;
  height: 510px;
  margin-left: auto;
}

.hero-phones::before {
  content: "";
  position: absolute;
  inset: 48px 0 30px 34px;
  border: 1px solid rgba(212, 24, 53, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(212, 24, 53, 0.12), rgba(212, 24, 53, 0.02) 58%, transparent 72%);
}

.hero-phone {
  border-width: 5px;
  border-color: rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  box-shadow: 0 28px 65px rgba(16, 24, 40, 0.18), 0 8px 22px rgba(16, 24, 40, 0.08);
}

.hero-phone--back {
  top: 86px;
  left: 14px;
  width: 188px;
  height: 408px;
  opacity: 0.88;
  transform: rotate(-6deg);
}

.hero-phone--front {
  top: 4px;
  right: 12px;
  width: 210px;
  height: 456px;
  transform: rotate(4deg);
}

.hero-brand-visual {
  position: relative;
  width: min(100%, 470px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 76px rgba(16, 24, 40, 0.14), 0 8px 22px rgba(16, 24, 40, 0.06);
}

.hero-brand-visual::after {
  position: absolute;
  inset: auto 28px 18px auto;
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}

.hero-brand-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* Product proof strip */
#tech-strip {
  border-color: var(--border);
  background: #fff;
}

.tech-strip-inner {
  justify-content: space-between;
  gap: 0;
  padding: 0;
}

.tech-pill {
  min-height: 72px;
  flex: 1 0 auto;
  justify-content: center;
  padding: 14px 20px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.tech-pill:first-child {
  border-left: 1px solid var(--border);
}

.tech-pill strong {
  color: var(--text);
}

/* Shared section spacing */
#features,
#steps,
#about,
#pricing,
#resources,
#faq,
#community,
#support,
#reviews {
  padding: 108px 0;
}

/* Benefits */
#features {
  border: 0;
  background: var(--bg);
}

.features-layout {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 76px;
  align-items: start;
}

.features-left {
  position: sticky;
  top: 108px;
}

.features-left h2 {
  margin-bottom: 20px;
}

.features-left p {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.98rem;
}

.features-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-row,
.feature-row:first-child {
  min-height: 210px;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.035);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.feature-row:hover {
  border-color: rgba(212, 24, 53, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.feature-row:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.feat-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 13px;
  background: var(--accent-dim);
}

.feature-body h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.feature-body p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* Three-step onboarding */
#steps {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.steps-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.steps-head p {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.step-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #fafbfc);
}

.step-card::after {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  bottom: -28px;
  color: rgba(212, 24, 53, 0.055);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.step-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.84rem;
}

.steps-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.steps-actions p {
  max-width: 680px;
  color: var(--subtle);
  font-size: 0.73rem;
}

.steps-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Technology */
#about {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(212, 24, 53, 0.23), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, #152139 100%);
}

#about::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.about-layout {
  position: relative;
  z-index: 1;
  gap: 48px;
}

.about-left h2,
.about-right,
.about-right strong,
.xray-title {
  color: #fff;
}

.about-left p,
.xray-sub,
.checklist li,
.proto-name {
  color: #aeb8c8;
}

.proto-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.proto-row {
  border-color: rgba(255, 255, 255, 0.08);
}

.proto-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.proto-tag.active {
  background: rgba(212, 24, 53, 0.2);
  color: #ff8a9c;
}

.about-right {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.xray-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.xray-icon {
  background: rgba(212, 24, 53, 0.2);
}

.checklist {
  margin-top: 24px;
}

.checklist li {
  border-color: rgba(255, 255, 255, 0.08);
}

.checklist li::before {
  color: #ff7186;
}

/* Pricing */
#pricing {
  border: 0;
  background: #fff;
}

.pricing-header-new {
  max-width: 680px;
  margin: 0 auto 38px;
}

.pricing-header-new p {
  max-width: 580px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.period-tabs {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}

.period-btn,
.period-btn:last-child {
  min-height: 40px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.76rem;
}

.period-btn.active {
  background: var(--navy);
  box-shadow: 0 5px 12px rgba(16, 24, 40, 0.16);
  color: #fff;
}

.period-btn.active .disc-badge {
  color: #ffc0ca;
}

.pricing-cards {
  gap: 14px;
}

.plan-card {
  min-width: 0;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fcfcfd);
  box-shadow: none;
  opacity: 1 !important;
  transform: none !important;
}

.plan-card:hover {
  border-color: rgba(212, 24, 53, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px) !important;
}

.plan-card.plan-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(212, 24, 53, 0.035), #fff 34%);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(212, 24, 53, 0.12);
}

.plan-popular-badge {
  top: 15px;
  right: 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.plan-name {
  color: var(--text);
  font-size: 0.72rem;
}

.plan-amount {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.plan-device-row {
  border-radius: 12px;
  background: var(--bg);
}

.plan-perks li {
  font-size: 0.8rem;
}

.pricing-note {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
}

.pricing-note a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Resource/internal-link cluster */
#resources {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.resources-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.resources-head p {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.92rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.resource-card:hover {
  border-color: rgba(212, 24, 53, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.resource-tag {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-bottom: 9px;
  font-size: 1.06rem;
  line-height: 1.4;
}

.resource-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.resource-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

/* FAQ and support */
#faq {
  border-top: 1px solid var(--border);
  background: #fff;
}

.faq-layout {
  gap: 70px;
}

.faq-left {
  position: sticky;
  top: 110px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(212, 24, 53, 0.26);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.faq-q {
  padding: 19px 20px;
  font-size: 0.9rem;
}

.faq-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent);
}

.faq-a-inner {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

#community {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.comm-card {
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.035);
}

.comm-card:hover {
  border-color: rgba(212, 24, 53, 0.24);
  background: #fff;
  transform: translateY(-3px);
}

#support {
  border: 0;
  background: #fff;
}

.contact-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
}

.contact-row,
.contact-row:first-child {
  padding: 22px 24px;
  border-top: 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-phone {
  color: var(--accent);
}

/* Closing CTA and footer */
#cta-section {
  padding: 0 0 92px;
  background: #fff;
}

.cta-inner {
  position: relative;
  padding: 50px;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(212, 24, 53, 0.35), transparent 26%),
    linear-gradient(135deg, var(--navy), #1d2b45);
  box-shadow: 0 25px 60px rgba(16, 24, 40, 0.2);
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  color: #b7c1d0;
}

.cta-inner .btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cta-inner .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

#footer,
footer {
  border: 0;
  background: #0b1220 !important;
  color: #98a3b3 !important;
}

.footer-top {
  gap: 50px;
  padding: 70px 0 48px;
}

.footer-brand .nav-logo,
.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  max-width: 300px;
  color: #8f9bad;
}

.footer-col :is(h2, h4) {
  color: #e6eaf0;
}

.footer-col a,
footer a {
  color: #98a3b3 !important;
}

.footer-col a:hover,
footer a:hover {
  color: #fff !important;
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.08);
  color: #7e8998;
}

/* Floating support */
.float-chat {
  right: 20px;
  bottom: 20px;
}

.float-chat-toggle {
  width: 52px;
  height: 52px;
  background: var(--accent) !important;
  box-shadow: 0 10px 28px rgba(212, 24, 53, 0.3) !important;
}

.float-badge {
  display: none;
}

.float-hint {
  border-color: var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.sp-overlay {
  background: rgba(9, 14, 25, 0.62);
  backdrop-filter: blur(4px);
}

.sp-modal {
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 -16px 50px rgba(16, 24, 40, 0.2);
}

.sp-brand,
.sp-name {
  color: var(--text);
}

/* Let content remain usable when JavaScript or observers are unavailable. */
.reveal,
.reveal.visible,
.pricing-cards .plan-card,
.pricing-cards.visible .plan-card {
  opacity: 1 !important;
  transform: none;
}

/* Render the LCP text immediately. Entrance animation can delay first paint. */
.hero-label,
#hero h1,
#hero .lead,
.hero-actions,
.hero-meta {
  animation: none !important;
  opacity: 1;
  transform: none;
}

/* Subpages inherit a more polished shell. */
.blog-hero,
.dl-hero,
.guide-hero,
.status-hero,
.privacy-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(212, 24, 53, 0.1), transparent 28%),
    linear-gradient(180deg, #fff, var(--bg));
}

.post-card,
.post-featured,
.dl-card,
.server-card,
.step-block,
.privacy-card {
  border-color: var(--border) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.status-handoff {
  padding: 74px 0 100px;
  background: var(--bg);
}

.status-handoff-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.status-handoff-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.status-handoff-card p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
}

.status-handoff-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 18px;
  flex-wrap: wrap;
}

.status-handoff-card small {
  color: var(--subtle);
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  .nav-inner {
    gap: 16px;
  }

  .nav-links a {
    padding-inline: 8px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }

  .hero-phones {
    width: 330px;
    transform: scale(0.9);
    transform-origin: center right;
  }

  .hero-brand-visual {
    width: 330px;
  }

  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .features-left {
    position: static;
  }

  .features-left p {
    max-width: 620px;
  }
}

@media (max-width: 1024px) {
  #hero {
    min-height: auto;
    padding: 126px 0 74px;
    align-items: center;
  }

  #hero .container {
    display: block;
    padding: 0;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-phones {
    display: none;
  }

  .hero-brand-visual {
    display: none;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .hero-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .features-layout,
  .about-layout,
  .faq-layout,
  .community-layout,
  .support-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .features-left,
  .faq-left {
    position: static;
  }

  .features-left p {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, 760px);
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #hero {
    min-height: auto;
    padding: 126px 0 74px;
  }

  #hero .container {
    display: block;
    padding: 0;
  }

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

  .hero-phones {
    display: none;
  }

  .hero-brand-visual {
    display: none;
  }

  .hero-meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-layout,
  .about-layout,
  .faq-layout,
  .community-layout,
  .support-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-left,
  .faq-left {
    position: static;
  }

  .features-left p {
    max-width: 620px;
  }

  .steps-list,
  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-card:last-child {
    grid-column: 1 / -1;
  }

  .steps-actions,
  .resources-head,
  .steps-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps-buttons {
    order: -1;
  }
}

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

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  #hero {
    padding: 112px 0 58px;
  }

  #hero h1 {
    font-size: clamp(2.72rem, 13.5vw, 4rem);
    line-height: 1.02;
  }

  #hero .lead {
    font-size: 0.95rem;
  }

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

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

  .hero-help {
    justify-content: center;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
  }

  .hero-meta-item {
    min-height: 58px;
    padding-right: 8px;
  }

  .tech-strip-inner {
    justify-content: flex-start;
  }

  .tech-pill {
    min-height: 58px;
    padding-inline: 16px;
  }

  #features,
  #steps,
  #about,
  #pricing,
  #resources,
  #faq,
  #community,
  #support,
  #reviews {
    padding: 78px 0;
  }

  .features-right,
  .steps-list,
  .resources-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row:first-child,
  .feature-row:last-child,
  .step-card,
  .step-card:last-child,
  .resource-card,
  .resource-card:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .feature-row,
  .feature-row:first-child {
    padding: 22px;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .steps-buttons {
    width: 100%;
    flex-direction: column;
  }

  .steps-buttons .btn {
    width: 100%;
  }

  .about-right {
    padding: 24px;
  }

  .period-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .period-btn {
    flex: 0 0 auto;
  }

  .pricing-cards {
    gap: 12px;
  }

  .cta-inner {
    align-items: stretch;
    padding: 32px 24px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .footer-top {
    padding-top: 56px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .float-chat {
    right: 14px;
    bottom: 14px;
  }

  .float-hint {
    display: none;
  }

  .status-handoff-card {
    padding: 30px 22px;
  }

  .status-handoff-actions {
    flex-direction: column;
  }

  .status-handoff-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
