/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg-card:   #f8fafc;
  --bg-hover:  #f1f5f9;
  --border:    #e2e8f0;
  --border-light: #f1f5f9;
  --text:      #0f172a;
  --text-muted:#64748b;
  --text-light:#94a3b8;
  --primary:   #2563eb;
  --primary-h: #1d4ed8;
  --primary-light: rgba(37,99,235,.08);
  --accent:    #f59e0b;
  --green:     #16a34a;
  --red:       #dc2626;
  --radius:    10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-h); }
img { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 88px 0; }
.section-sm { padding: 52px 0; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  letter-spacing: 0;
}
.nav-logo-img {
  width: 28px; height: 28px;
  border-radius: 8px; object-fit: contain;
  box-shadow: 0 5px 14px rgba(15,23,42,.12);
}
.nav-links { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.nav-link,
.nav-lang select,
.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links a {
  color: var(--text-muted); font-size: .9rem;
  padding: .4rem .75rem; border-radius: 7px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); }
.nav-lang {
  display: flex; align-items: center; margin-left: .25rem;
  position: relative;
}
.nav-lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: 7px; color: var(--text-muted);
  font-size: .82rem; padding: 0 1.55rem 0 .7rem;
  cursor: pointer; transition: border-color .15s, color .15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .6rem center;
}
.nav-lang select:hover { border-color: var(--primary); color: var(--text); }
.nav-cta {
  margin-left: .5rem;
  padding: 0 1.15rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500;
  font-size: .88rem !important;
  transition: background .15s, box-shadow .15s !important;
  box-shadow: 0 1px 3px rgba(37,99,235,.25);
}
.nav-cta:hover {
  background: var(--primary-h) !important;
  box-shadow: 0 3px 10px rgba(37,99,235,.35) !important;
}
.nav-link-label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.4rem; border-radius: var(--radius);
  font-weight: 500; font-size: .95rem; border: none; cursor: pointer;
  transition: all .15s; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 4px rgba(37,99,235,.25);
}
.btn-primary:hover {
  background: var(--primary-h); color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: #cbd5e1;
  background: var(--bg-hover);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.btn-lg { padding: .875rem 2.1rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .38rem .9rem; font-size: .84rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem 1rem; border-radius: 99px;
  background: var(--primary-light);
  border: 1px solid rgba(37,99,235,.15);
  color: var(--primary); font-size: .8rem; font-weight: 500;
  margin-bottom: 1.75rem; letter-spacing: .01em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; margin-bottom: 1.25rem;
  color: var(--text);
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 2.25rem; font-size: .82rem; color: var(--text-muted);
  display: flex; justify-content: center; gap: 1.75rem; flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: .3rem; }
.hero-meta span::before { content: '✓'; color: var(--green); font-weight: 600; }

.hero-cms {
  text-align: left;
  padding: 76px 0 64px;
}
.hero-cms-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}
.hero-copy p {
  margin-left: 0;
  margin-right: 0;
  max-width: 620px;
}
.hero-copy .hero-actions,
.hero-copy .hero-meta {
  justify-content: flex-start;
}
.product-carousel {
  position: relative;
  min-height: 360px;
  aspect-ratio: 720 / 460;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #eef2f7;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.product-carousel-track,
.product-slide {
  position: absolute;
  inset: 0;
}
.product-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.product-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.product-slide-image-button {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}
.product-slide-image-button:focus-visible {
  outline: 3px solid rgba(37,99,235,.55);
  outline-offset: -6px;
}
.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}
.product-slide figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: .82rem;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(15,23,42,.25);
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--primary);
}
.product-lightbox[hidden] {
  display: none;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, .72);
}
.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.product-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15,23,42,.35);
}
.product-lightbox-panel img {
  width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
}
.product-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.product-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.product-lightbox-nav:hover,
.product-lightbox-nav:focus-visible,
.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
  border-color: rgba(37,99,235,.36);
  color: var(--primary);
}
.product-lightbox-prev {
  left: 18px;
}
.product-lightbox-next {
  right: 18px;
}
.product-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: .78rem;
  line-height: 1.2;
}
.product-lightbox-caption {
  padding: 10px 2px 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.5;
}
body.lightbox-open {
  overflow: hidden;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -.02em; }
.section-title p  { color: var(--text-muted); font-size: 1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color .15s, transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: rgba(37,99,235,.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 42px; height: 42px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.2rem; color: var(--primary);
}
.feature-icon svg { width: 20px; height: 20px; flex: none; }
.feature-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.feature-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex; justify-content: center; margin-bottom: 2.5rem;
}
#pricing-plans {
  scroll-margin-top: 78px;
}
.toggle-group {
  display: flex; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px;
}
.toggle-btn {
  padding: .4rem 1.2rem; border-radius: 6px; border: none;
  cursor: pointer; font-size: .88rem; font-weight: 500;
  background: transparent; color: var(--text-muted); transition: all .15s;
}
.toggle-btn.active {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 4px rgba(37,99,235,.25);
}
.pricing-country-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: 920px;
  margin: -1rem auto 1.8rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(15,23,42,.05), inset 0 1px 0 rgba(255,255,255,.82);
}
.pricing-country-field {
  display: grid;
  grid-template-columns: auto minmax(220px, 360px);
  align-items: center;
  gap: .65rem;
}
.pricing-country-field label {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}
.pricing-country-search-shell {
  position: relative;
  width: min(100%, 360px);
  z-index: 20;
}
.pricing-country-search-icon {
  position: absolute;
  left: .82rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
.pricing-country-search {
  width: min(100%, 360px);
  min-height: 42px;
  padding: .55rem .85rem .55rem 2.35rem;
  border: 1px solid rgba(148,163,184,.34);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  font-size: .9rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.pricing-country-search:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1), inset 0 1px 0 rgba(255,255,255,.9);
}
.pricing-country-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 288px;
  padding: .38rem;
  overflow-y: auto;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 10px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 48px rgba(15,23,42,.14), 0 1px 0 rgba(255,255,255,.88) inset;
}
.pricing-country-options[hidden] {
  display: none;
}
.pricing-country-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .48rem .56rem .48rem .68rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.35;
  text-align: left;
  transition: background .12s, color .12s;
}
.pricing-country-option:hover,
.pricing-country-option[data-active="true"] {
  background: rgba(37,99,235,.08);
  color: var(--text);
}
.pricing-country-option[aria-selected="true"] {
  background: rgba(22,163,74,.08);
}
.pricing-country-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pricing-country-option-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22,163,74,.12);
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  opacity: 0;
}
.pricing-country-option[aria-selected="true"] .pricing-country-option-check {
  opacity: 1;
}
.pricing-country-submit {
  min-height: 42px;
  padding: .55rem 1rem;
}
.pricing-country-current {
  color: var(--text-muted);
  font-size: .82rem;
  min-width: 100%;
  text-align: center;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; max-width: 920px; margin: 0 auto;
}
.plan-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; position: relative;
  transition: border-color .15s, box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.plan-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(37,99,235,.04) 0%, #ffffff 60%);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: .2rem .9rem; border-radius: 99px; font-size: .73rem; font-weight: 600;
  white-space: nowrap; letter-spacing: .03em;
}
.plan-name  { font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.plan-price { display: flex; align-items: flex-end; gap: .25rem; margin-bottom: .25rem; }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--text); letter-spacing: -.03em; }
.plan-price .unit   { font-size: .9rem; color: var(--text-muted); padding-bottom: .5rem; }
.plan-desc  { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.6rem; min-height: 2.5rem; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 1.75rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .875rem; padding: .4rem 0;
  border-bottom: 1px solid var(--border-light); color: var(--text);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .check { color: var(--green); flex-shrink: 0; margin-top: 1px; font-weight: 600; }
.plan-features .cross { color: var(--text-light); flex-shrink: 0; margin-top: 1px; }
.plan-action { width: 100%; text-align: center; justify-content: center; }
.pricing-grid-home { max-width: 1080px; align-items: stretch; gap: 1.4rem; }
.plan-card-home {
  display: flex; flex-direction: column; overflow: visible;
  padding: 1.75rem; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #f8fafc 100%);
  box-shadow: 0 18px 55px rgba(15,23,42,.08), 0 1px 0 rgba(255,255,255,.8) inset;
}
.plan-card-home:hover { box-shadow: 0 22px 70px rgba(15,23,42,.11); }
.plan-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1.35rem;
}
.plan-card-head .plan-name { margin-bottom: 0; color: var(--text); font-size: .86rem; }
.plan-chip {
  display: inline-flex; align-items: center; flex-shrink: 0;
  min-height: 24px; padding: .18rem .62rem; border-radius: 999px;
  background: rgba(15,23,42,.05); color: var(--text-muted);
  border: 1px solid rgba(15,23,42,.07);
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
.plan-chip-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 18px rgba(37,99,235,.24);
}
.plan-chip-save {
  background: rgba(22,163,74,.1); color: var(--green);
  border-color: rgba(22,163,74,.18);
}
.plan-card-home .plan-price { margin-bottom: .6rem; }
.plan-card-home .plan-desc { min-height: 2.8rem; margin-bottom: 1.35rem; }
.plan-card-home .plan-features { flex: 1; }
.plan-card-home.featured {
  transform: none;
  border-color: rgba(37,99,235,.45);
  background: radial-gradient(circle at 85% 0%, rgba(37,99,235,.16), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 24px 80px rgba(37,99,235,.16), 0 0 0 1px rgba(37,99,235,.15) inset;
}
.plan-card-home.featured:hover { transform: translateY(-3px); }

/* ── Download ────────────────────────────────────────────────────────────── */
.download-page {
  padding: 76px 0 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37,99,235,.10), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
}
.download-shell {
  max-width: 980px;
}
.download-shelf-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}
.download-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: .24rem .82rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}
.download-shelf-hero h1 {
  margin: 0 0 .8rem;
  color: var(--text);
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}
.download-shelf-hero p {
  margin: 0 auto;
  max-width: 660px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}
.installer-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin: 0 auto 1.3rem;
}
.installer-card {
  position: relative;
  min-height: 382px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  padding: 1.35rem;
  text-align: center;
  transition: border-color .15s, box-shadow .2s, transform .2s;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-color: rgba(148,163,184,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.98) 100%);
  box-shadow: 0 18px 58px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.85);
  overflow: hidden;
}
.installer-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(37,99,235,.74), rgba(22,163,74,.58));
  opacity: 0;
  transition: opacity .2s;
}
.installer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 24px 70px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.installer-card:hover::before,
.installer-card.recommended::before {
  opacity: 1;
}
.installer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 26px;
}
.installer-platform {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.installer-badge {
  padding: .15rem .55rem;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
}
.installer-package {
  position: relative;
  width: 120px;
  height: 120px;
  margin: .35rem auto .4rem;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.34);
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.95), transparent 34%),
    linear-gradient(145deg, #f8fafc 0%, #dce5f1 100%);
  box-shadow: 0 20px 34px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
.installer-package::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 28px;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(148,163,184,.45);
  background: linear-gradient(180deg, #fff, #eef2f7);
}
.installer-package::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.18);
}
.installer-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #0f172a;
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: 0;
}
.installer-dmg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.installer-copy {
  text-align: center;
  display: grid;
  gap: .25rem;
}
.installer-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}
.installer-arch {
  margin: 0;
  color: var(--text);
  font-size: .9rem;
  font-weight: 650;
}
.installer-compat {
  min-height: 2.6em;
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}
.installer-action {
  justify-content: center;
  width: 100%;
  margin-top: auto;
}
.installer-action.disabled {
  opacity: .48;
  cursor: not-allowed;
}
.installer-meta {
  display: flex;
  justify-content: center;
  gap: .45rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: .72rem;
}
.installer-meta span {
  display: inline-flex;
  align-items: center;
  gap: .24rem;
}
.installer-meta span::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}
.download-activation-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.15rem auto 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
}
.download-activation-strip h2 {
  margin: .1rem 0 .2rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.download-activation-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.activation-label {
  color: var(--primary);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.download-release-note {
  margin: 1rem auto 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
}
.download-release-note span {
  display: block;
  margin-bottom: .35rem;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
}
.download-release-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

/* ── Account / Forms ─────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: calc(100vh - 62px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}
.auth-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.5rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); letter-spacing: -.02em; }
.auth-card .subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--text-muted); }
.form-input {
  width: 100%; padding: .65rem .9rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-error { font-size: .82rem; color: var(--red); margin-top: .35rem; }
.form-success { font-size: .82rem; color: var(--green); margin-top: .35rem; }
.forgot-captcha-row {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}
.forgot-captcha-row .form-input { flex: 1; min-width: 0; }
.forgot-action-row {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}

.account-shell { max-width: 1040px; }
.account-page-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.account-page-header h1 {
  font-size: 1.7rem; font-weight: 750; line-height: 1.2;
  letter-spacing: 0; margin-bottom: .25rem;
}
.account-page-header p { color: var(--text-muted); font-size: .92rem; }
.account-eyebrow,
.account-card-label {
  margin-bottom: .55rem; color: var(--text-muted);
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.account-membership-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem; margin-bottom: 1.1rem;
  border: 1px solid rgba(148,163,184,.34); border-radius: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #fffaf0 100%);
  box-shadow: var(--shadow);
}
.account-membership-main { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.account-membership-logo {
  width: 56px; height: 56px; flex: 0 0 auto;
  border-radius: 14px; box-shadow: 0 14px 30px rgba(15,23,42,.14);
  background: #fff;
}
.account-plan-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.account-plan-title-row h2 {
  font-size: 1.75rem; line-height: 1.1; font-weight: 760;
  letter-spacing: 0; color: var(--text);
}
.account-plan-subtitle { margin-top: .45rem; color: var(--text-muted); font-size: .92rem; }
.account-plan-subtitle strong { color: var(--text); font-weight: 700; }
.account-plan-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: .65rem; flex-wrap: wrap;
}
.account-benefits-panel {
  margin-bottom: 1.1rem; padding: 1.2rem;
  border: 1px solid rgba(226,232,240,.95); border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.account-benefits-heading {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem;
}
.account-benefits-heading h2 {
  font-size: 1.05rem; line-height: 1.3; font-weight: 720; letter-spacing: 0;
}
.account-benefits-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem;
}
.account-benefit-card {
  min-height: 150px; padding: 1rem;
  border: 1px solid rgba(226,232,240,.9); border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.account-benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  margin-bottom: .85rem;
  background: var(--primary-light);
}
.account-benefit-icon svg { width: 20px; height: 20px; flex: none; }
.account-benefit-devices { color: #2563eb; background: rgba(37,99,235,.1); }
.account-benefit-feeds { color: #0f766e; background: rgba(15,118,110,.1); }
.account-benefit-ai { color: #7c3aed; background: rgba(124,58,237,.1); }
.account-benefit-prompts { color: #b45309; background: rgba(245,158,11,.13); }
.account-benefit-card p {
  margin-bottom: .35rem; color: var(--text-muted); font-size: .8rem; font-weight: 700;
}
.account-benefit-card strong {
  display: block; margin-bottom: .4rem;
  color: var(--text); font-size: 1.35rem; line-height: 1.15; font-weight: 760;
  overflow-wrap: anywhere;
}
.account-benefit-card span:last-child {
  color: var(--text-muted); font-size: .78rem; line-height: 1.45;
}
.account-grid {
  display: grid; grid-template-columns: 310px 1fr; gap: 1rem;
  align-items: start; margin: 0 auto;
}
.account-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.account-info-list { display: flex; flex-direction: column; gap: .8rem; font-size: .88rem; }
.account-info-list div { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.account-info-list span { color: var(--text-muted); }
.account-info-list strong {
  color: var(--text); font-weight: 650; line-height: 1.35;
  overflow-wrap: anywhere;
}
.account-empty-devices {
  color: var(--text-muted); font-size: .875rem; text-align: center; padding: 2rem 0;
}
.tier-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; border-radius: 99px;
  font-size: .82rem; font-weight: 600;
}
.tier-free     { background: #f1f5f9; color: var(--text-muted); }
.tier-pro      { background: var(--primary-light); color: var(--primary); }
.tier-lifetime { background: rgba(245,158,11,.1); color: #92400e; }

.devices-list { list-style: none; }
.device-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border-light);
  font-size: .875rem;
}
.device-item:last-child { border-bottom: none; }
.device-info { display: flex; flex-direction: column; gap: .45rem; min-width: 0; flex: 1; }
.device-name { font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.device-meta { font-size: .78rem; color: var(--text-muted); }
.device-id-card {
  display: inline-grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem;
  max-width: 100%; width: fit-content; padding: .42rem .58rem;
  border: 1px solid rgba(148,163,184,.22); border-radius: 10px;
  background: linear-gradient(135deg, rgba(15,23,42,.035), rgba(148,163,184,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.device-id-label {
  color: var(--text-muted); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.device-id-value {
  min-width: 0; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 0; background: transparent; color: var(--text); font: 600 .75rem/1.25 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.device-status {
  padding: .15rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 500;
}
.device-active   { background: rgba(22,163,74,.1); color: #15803d; }
.device-revoked  { background: rgba(220,38,38,.08); color: #b91c1c; }
.device-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ── Public long-form pages ─────────────────────────────────────────────── */
.content-page { padding: 88px 0; }
.content-container { max-width: 860px; }
.content-toolbar {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.content-backlink {
  color: var(--text-muted);
  font-size: .9rem;
}
.content-card { padding: 2rem; }
.content-heading {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.content-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  letter-spacing: -.02em;
}
.content-article {
  line-height: 1.8;
  color: var(--text);
  font-size: .95rem;
}

@media (max-width: 760px) {
  .nav {
    position: sticky;
    background: rgba(255,255,255,.94);
    border-bottom-color: rgba(226,232,240,.82);
  }
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(128px, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    height: 58px;
    min-height: 58px;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
    gap: .7rem;
  }
  .nav-logo {
    min-width: 0;
    height: 44px;
    gap: .5rem;
  }
  .nav-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(15,23,42,.13);
  }
  .nav-logo span {
    min-width: 0;
    font-size: .96rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-links {
    width: auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    gap: .35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-links .hide-mobile { display: none; }
  .nav-link,
  .nav-cta,
  .nav-lang select {
    height: 36px;
    min-height: 36px;
  }
  .nav-link,
  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 7rem;
    padding: 0 .72rem !important;
    border-radius: 999px;
    font-size: .84rem !important;
    line-height: 1;
    white-space: nowrap;
  }
  .nav-account-link {
    color: #334155 !important;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.95);
  }
  .nav-account-link:hover {
    background: #fff !important;
    border-color: rgba(203,213,225,.95);
  }
  .nav-lang {
    margin-left: 0;
    min-width: 0;
  }
  .nav-lang select {
    width: auto;
    min-width: 72px;
    max-width: 88px;
    padding: 0 1.4rem 0 .66rem;
    background-color: #fff;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
    line-height: 36px;
  }
  .nav-cta {
    margin-left: 0;
    max-width: 7.4rem;
    box-shadow: 0 7px 16px rgba(37,99,235,.18);
  }
}
@media (max-width: 560px) {
  .account-membership-hero { align-items: flex-start; }
  .account-plan-actions { justify-content: stretch; width: 100%; }
  .account-plan-actions .btn { width: 100%; justify-content: center; }
  .device-item { flex-direction: column; }
  .device-id-card { width: 100%; }
  .device-id-value { max-width: none; }
}
@media (max-width: 900px) {
  .hero-cms {
    text-align: center;
    padding-top: 54px;
  }
  .hero-cms-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy .hero-actions {
    justify-content: center;
  }
  .hero-copy .hero-meta {
    justify-content: center;
  }
  .product-carousel {
    min-height: 260px;
  }
  .account-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .account-membership-hero { flex-direction: column; }
  .download-page { padding: 52px 0 64px; }
  .installer-shelf { grid-template-columns: 1fr; }
  .installer-card { min-height: 0; }
  .download-activation-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .download-activation-strip .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .account-benefits-grid { grid-template-columns: 1fr; }
  .account-membership-main { align-items: flex-start; }
  .account-plan-title-row h2 { font-size: 1.45rem; }
  .download-shelf-hero h1 { font-size: 2rem; }
  .installer-package {
    width: 104px;
    height: 104px;
    border-radius: 20px;
  }
  .installer-package::before {
    top: 24px;
    width: 42px;
    height: 42px;
  }
  .installer-package::after { top: 39px; }
}

@media (max-width: 640px) {
  body {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f8fafc 100%);
  }
  .container { padding: 0 1rem; }
  .section { padding: 44px 0; }
  .section-sm { padding: 36px 0; }
  .btn {
    min-height: 44px;
    border-radius: 11px;
    justify-content: center;
  }
  .btn-lg {
    width: 100%;
    padding: .78rem 1rem;
  }
  .hero {
    padding: 48px 0 42px;
    text-align: left;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  }
  .hero-badge {
    margin-bottom: 1.1rem;
    font-size: .76rem;
  }
  .hero h1,
  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
  }
  .hero-actions {
    width: 100%;
    gap: .7rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-meta {
    justify-content: flex-start;
    gap: .55rem;
    margin-top: 1.25rem;
  }
  .hero-meta span {
    padding: .34rem .55rem;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    font-size: .76rem;
  }
  .hero-cms {
    padding: 42px 0 40px;
    text-align: left;
  }
  .hero-copy .hero-actions,
  .hero-copy .hero-meta {
    justify-content: flex-start;
  }
  .hero-cms-inner {
    gap: 22px;
  }
  .product-carousel {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15,23,42,.12);
  }
  .product-slide figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: .74rem;
  }
  .product-lightbox {
    padding: 12px;
  }
  .product-lightbox-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 8px;
    border-radius: 14px;
  }
  .product-lightbox-panel img {
    max-height: calc(100vh - 96px);
    border-radius: 9px;
  }
  .product-lightbox-close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }
  .product-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }
  .product-lightbox-prev {
    left: 12px;
  }
  .product-lightbox-next {
    right: 12px;
  }
  .product-lightbox-counter {
    bottom: 16px;
    font-size: .72rem;
  }
  .product-lightbox-caption {
    font-size: .82rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .section-title {
    text-align: left;
    margin-bottom: 1.4rem;
  }
  .section-title h2 {
    font-size: 1.45rem;
    line-height: 1.18;
  }
  .features-grid,
  .pricing-grid,
  .pricing-grid-home,
  .pricing-grid-page {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .pricing-country-form {
    align-items: stretch;
    justify-content: stretch;
    margin: -.35rem auto 1.2rem;
    padding: .78rem;
  }
  .pricing-country-field {
    width: 100%;
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .pricing-country-search-shell,
  .pricing-country-search {
    width: 100%;
  }
  .pricing-country-options {
    max-height: min(52vh, 320px);
    border-radius: 12px;
  }
  .pricing-country-option {
    min-height: 44px;
    padding: .62rem .7rem;
  }
  .pricing-country-submit {
    width: 100%;
  }
  .pricing-country-current {
    text-align: left;
  }
  .feature-card,
  .plan-card,
  .plan-card-home {
    border-radius: 10px;
    padding: 1.15rem;
    box-shadow: 0 10px 30px rgba(15,23,42,.065), inset 0 1px 0 rgba(255,255,255,.72);
  }
  .feature-card:hover,
  .plan-card:hover,
  .plan-card-home:hover,
  .plan-card-home.featured:hover {
    transform: none;
  }
  .plan-card.featured,
  .plan-card-home.featured {
    box-shadow: 0 16px 44px rgba(37,99,235,.14), inset 0 1px 0 rgba(255,255,255,.78);
  }
  .plan-card-head {
    align-items: flex-start;
  }
  .plan-chip {
    white-space: normal;
    text-align: center;
  }
  .plan-price .amount {
    font-size: clamp(2rem, 13vw, 2.55rem);
  }
  .plan-desc {
    min-height: 0;
    margin-bottom: 1rem;
  }
  .plan-features {
    margin-bottom: 1rem;
  }
  .plan-features li {
    gap: .55rem;
    padding: .48rem 0;
  }
  .download-page {
    padding: 42px 0 54px;
  }
  .download-shelf-hero {
    text-align: left;
    margin-bottom: 22px;
  }
  .download-kicker {
    margin-bottom: .85rem;
  }
  .download-shelf-hero h1 {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }
  .download-shelf-hero p {
    font-size: .96rem;
  }
  .installer-card {
    padding: 1rem;
    border-radius: 16px;
  }
  .installer-card-head {
    align-items: flex-start;
  }
  .installer-package {
    width: 96px;
    height: 96px;
    border-radius: 19px;
    margin-top: .1rem;
  }
  .installer-package::before {
    top: 22px;
    width: 40px;
    height: 40px;
  }
  .installer-package::after { top: 37px; }
  .installer-compat {
    min-height: 0;
  }
  .installer-meta {
    justify-content: flex-start;
  }
  .download-activation-strip,
  .download-release-note {
    border-radius: 16px;
  }
  .auth-wrapper {
    min-height: calc(100vh - 112px);
    align-items: flex-start;
    padding: 1rem;
  }
  .auth-card {
    max-width: none;
    padding: 1.25rem;
    border-radius: 18px;
    box-shadow: 0 18px 52px rgba(15,23,42,.11);
  }
  .auth-card h1 {
    font-size: 1.35rem;
  }
  .forgot-captcha-row {
    flex-direction: column;
  }
  .forgot-captcha-row img {
    width: 100%;
    height: 46px !important;
    object-fit: contain;
  }
  .forgot-action-row {
    flex-direction: column;
  }
  .forgot-action-row .btn {
    width: 100%;
  }
  .account-page-header {
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .account-page-header form,
  .account-page-header .btn {
    width: 100%;
  }
  .account-membership-hero,
  .account-benefits-panel,
  .account-card {
    border-radius: 16px;
  }
  .account-membership-hero {
    padding: 1rem;
    box-shadow: 0 16px 44px rgba(15,23,42,.09);
  }
  .account-membership-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }
  .account-benefit-card {
    min-height: 0;
  }
  .device-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
  }
  .device-actions form,
  .device-actions .btn,
  .device-status {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .content-page {
    padding-top: 34px;
  }
  .content-toolbar {
    margin-bottom: .9rem;
  }
  .content-card {
    padding: 1.15rem;
    border-radius: 16px;
  }
  .content-heading {
    margin-bottom: .9rem;
  }
  .content-title {
    font-size: 1.45rem;
    line-height: 1.18;
  }
  .content-article {
    font-size: .92rem;
    line-height: 1.72;
  }
  .footer {
    padding: 2rem 0;
  }
  .footer .footer-inner {
    align-items: flex-start;
  }
  .footer-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .85rem 1rem;
  }
}

@media (max-width: 420px) {
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .45rem;
  }
  .nav-download-link {
    display: none;
  }
  .nav-lang select {
    min-width: 68px;
    max-width: 76px;
    font-size: .78rem;
    padding-left: .55rem;
  }
  .nav-account-link {
    max-width: 5rem;
    font-size: .82rem;
    padding-left: .58rem !important;
    padding-right: .58rem !important;
  }
}

/* ── Alert ───────────────────────────────────────────────────────────────── */
.alert { padding: .8rem 1.1rem; border-radius: 8px; font-size: .875rem; margin-bottom: 1rem; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--text-muted); font-size: .85rem;
  background: var(--bg-card);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: var(--text); }

/* ── Section alt bg ─────────────────────────────────────────────────────── */
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(37,99,235,.03), transparent);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .15s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; font-weight: 500; list-style: none;
  padding: 1.1rem 1.4rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.1rem; color: var(--text-muted);
  transition: transform .2s; display: inline-block;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.4rem 1.1rem; color: var(--text-muted);
  font-size: .9rem; line-height: 1.7; border-top: 1px solid var(--border-light);
  padding-top: .75rem;
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none; }
.divider {
  text-align: center; position: relative; margin: 1.5rem 0;
  color: var(--text-muted); font-size: .82rem;
}
.divider::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px; background: var(--border);
}
.divider span {
  position: relative; background: var(--bg); padding: 0 .75rem;
}

/* ── Markdown body (用户协议 / 长文本营销 / 自助页) ─────────────────────── */
.markdown-body { color: var(--text); }
.markdown-body p { margin: 0 0 14px; }
.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
  font-weight: 700; line-height: 1.35; margin: 22px 0 10px;
  color: var(--text); letter-spacing: -.01em;
}
.markdown-body h1 { font-size: 1.5rem; }
.markdown-body h2 { font-size: 1.25rem; }
.markdown-body h3 { font-size: 1.1rem; }
.markdown-body h4, .markdown-body h5, .markdown-body h6 { font-size: 1rem; }
.markdown-body ul, .markdown-body ol { margin: 0 0 14px; padding-left: 22px; }
.markdown-body li { margin: 4px 0; }
.markdown-body blockquote {
  margin: 12px 0; padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(37, 99, 235, .06);
  color: var(--text-muted); border-radius: 0 6px 6px 0;
}
.markdown-body code {
  background: rgba(0, 0, 0, .06);
  padding: 1px 6px; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}
.markdown-body pre {
  background: rgba(0, 0, 0, .05);
  padding: 12px 14px; border-radius: 8px;
  overflow-x: auto; margin: 12px 0;
}
.markdown-body pre code { background: transparent; padding: 0; }
.markdown-body a { color: var(--accent); text-decoration: underline; }
.markdown-body a:hover { text-decoration: none; }
.markdown-body hr { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.markdown-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 6px 0; }
.markdown-body strong { font-weight: 700; }
.markdown-body em { font-style: italic; }
