:root {
  --ink: #111827;
  --muted: #697386;
  --line: #e4e8ef;
  --soft: #f4f6f9;
  --panel: #ffffff;
  --brand: #6157e7;
  --brand-dark: #4940c7;
  --green: #129a61;
  --shadow: 0 18px 50px rgba(25, 31, 45, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.hidden { display: none !important; }
iframe.hidden { width: 0; height: 0; border: 0; position: absolute; left: -9999px; }
.muted { color: var(--muted); font-size: 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--ink); }

.catalog-hero {
  padding: 105px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 50% -30%, rgba(97, 87, 231, .18), transparent 52%),
    linear-gradient(#fbfbfe, #fff);
}
.hero-copy { max-width: 780px; }
.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
.catalog-hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.catalog-hero p { max-width: 600px; margin: 0 auto 34px; color: var(--muted); font-size: 18px; }
.search {
  max-width: 540px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.search span { color: var(--muted); font-size: 24px; line-height: 1; }
.search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }

.welcome-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(37, 99, 235, .14), transparent 55%),
    radial-gradient(circle at 88% 72%, rgba(59, 130, 246, .1), transparent 42%),
    radial-gradient(circle at 8% 58%, rgba(147, 197, 253, .12), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 62%);
}
.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(37, 99, 235, .06), transparent 55%);
  pointer-events: none;
}
.welcome-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.welcome-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
}
body.page-welcome h1,
body.page-welcome .welcome-features-head h2,
body.page-welcome .welcome-about h2,
body.page-welcome .welcome-card h3 {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}
.welcome-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}
.welcome-highlight {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.welcome-accent {
  color: #2563eb;
  font-weight: 600;
}
.welcome-hero p {
  margin: 0 auto 32px;
  max-width: 540px;
  color: #5b6478;
  font-size: 18px;
  line-height: 1.7;
}

.welcome-search {
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 40px rgba(37, 99, 235, .08), 0 1px 0 rgba(255, 255, 255, .8) inset;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.welcome-search:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 16px 44px rgba(37, 99, 235, .1);
}
.welcome-search span { color: #3b82f6; font-size: 22px; line-height: 1; }
.welcome-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.welcome-search-results {
  margin-top: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}
.welcome-search-hit {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 10px;
  transition: background .15s ease;
}
.welcome-search-hit:hover { background: var(--soft); }
.welcome-search-hit strong { font-size: 14px; }
.welcome-search-hit span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.welcome-search-empty {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.welcome-ticker {
  overflow: hidden;
  margin-top: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.welcome-ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: welcome-ticker 45s linear infinite;
}
.welcome-ticker-item {
  padding: 8px 15px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #64748b;
  background: linear-gradient(180deg, #f8fbff, #f1f5f9);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
@keyframes welcome-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.welcome-features {
  padding: 36px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.welcome-features-head { margin-bottom: 32px; }
.welcome-features-head h2 {
  margin: 8px 0 0;
  font-size: 32px;
  letter-spacing: -.04em;
  font-weight: 800;
}
body.page-welcome .welcome-features-head .eyebrow { color: #2563eb; }
.welcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.welcome-card {
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fafcff);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.welcome-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 18px 48px rgba(37, 99, 235, .1);
}
.welcome-card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #2563eb;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.welcome-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.welcome-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; }
.welcome-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.welcome-card code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #3c338f;
  background: #f3f1ff;
  font-size: 12px;
}

.welcome-about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #eff6ff 45%, #f8fafc 100%);
  border-block: 1px solid #dbeafe;
}
.welcome-about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.welcome-about-mark img {
  display: block;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(37, 99, 235, .18);
}
.welcome-about h2 {
  margin: 8px 0 14px;
  max-width: 520px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 800;
}
.welcome-about p { margin: 0; max-width: 560px; color: #5b6478; font-size: 16px; line-height: 1.7; }
.welcome-about-link { margin-top: 18px !important; }
.welcome-about-link a {
  color: #2563eb;
  font-weight: 700;
  transition: color .15s ease;
}
.welcome-about-link a:hover { color: #1d4ed8; }

body.page-welcome .topbar {
  border-bottom-color: rgba(219, 234, 254, .85);
  background: rgba(255, 255, 255, .88);
}
body.page-welcome nav a:hover { color: #2563eb; }
body.page-welcome .welcome-about .eyebrow,
body.page-welcome .welcome-features-head .eyebrow { color: #2563eb; }
body.page-welcome .welcome-search-hit:hover { background: #eff6ff; }
body.page-welcome .welcome-search-hit strong { color: #1e3a8a; }
body.page-welcome nav a[href="https://nerasix.xyz"] {
  transition: color .15s ease;
}
body.page-welcome #welcomeView {
  min-height: calc(100vh - 68px - 120px);
}

.catalog, .related { padding: 76px 0 96px; }
.section-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading h2 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.035em; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.app-card {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.app-card:hover { transform: translateY(-4px); border-color: #d3d7e2; box-shadow: var(--shadow); }
.app-top { display: flex; align-items: center; gap: 13px; }
.app-icon, .product-icon {
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  background: var(--icon-color);
}
.app-icon { width: 48px; height: 48px; border-radius: 13px; }
.app-icon img, .product-icon img { width: 100%; height: 100%; padding: 6px; object-fit: contain; background: #fff; }
.app-icon.fallback-icon img, .product-icon.fallback-icon img {
  padding: 3px;
  background: linear-gradient(145deg, #eef8ff, #d8efff);
}
.app-name { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.app-category { color: var(--muted); font-size: 12px; }
.card-badges { min-height: 24px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-badges span { padding: 3px 7px; border: 1px solid #c9eadb; border-radius: 6px; color: #08784a; background: #effbf5; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.app-card > p { min-height: 66px; margin: 12px 0 18px; color: var(--muted); font-size: 13px; }
.app-action { display: flex; justify-content: space-between; align-items: center; color: var(--brand); font-size: 13px; font-weight: 700; }
.app-action span:last-child { font-size: 18px; }

.about { padding: 80px 0; background: var(--soft); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about h2 { margin: 8px 0 0; font-size: 38px; line-height: 1.15; letter-spacing: -.045em; }
.about p { margin: 0; color: var(--muted); }

.product-hero { padding: 70px 0 54px; background: linear-gradient(150deg, #f8f8fd, #fff); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; margin-bottom: 38px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--brand); }
.product-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.product-icon { width: 92px; height: 92px; border-radius: 22px; font-size: 34px; box-shadow: var(--shadow); }
.product-kicker { display: flex; gap: 8px; margin-bottom: 7px; }
.product-kicker span { padding: 4px 9px; border-radius: 7px; color: var(--muted); background: #eceef4; font-size: 11px; font-weight: 700; }
.product-title h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.edition-badges { margin: 12px 0 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.edition-badges span { padding: 5px 9px; border: 1px solid #bfe5d4; border-radius: 8px; color: #08784a; background: #edf9f3; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.product-title p { max-width: 650px; margin: 0; color: var(--muted); }
.download-button {
  min-width: 238px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #19ae6e, #0c8b59);
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(18, 154, 97, .24), inset 0 1px rgba(255, 255, 255, .15);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.download-button:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 19px 38px rgba(18, 154, 97, .3), inset 0 1px rgba(255, 255, 255, .15); }
.download-button:active { transform: translateY(0) scale(.985); }
.download-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.download-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.download-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.download-copy strong { font-size: 16px; }
.download-copy small { margin-top: 3px; opacity: .75; font-size: 10px; font-weight: 500; }
.download-arrow { opacity: .75; font-size: 20px; transition: transform .18s ease; }
.download-button:hover .download-arrow { transform: translateX(3px); }

.trust-strip { border-bottom: 1px solid var(--line); }
.trust-grid { padding-block: 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding-inline: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { font-size: 14px; }
.trust-grid span { color: var(--muted); font-size: 12px; }

.password-wrap { padding-top: 28px; }
.password-card {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #d9d4ff;
  border-radius: 18px;
  background: linear-gradient(110deg, #f7f5ff, #fff 64%);
  box-shadow: 0 12px 32px rgba(97, 87, 231, .1);
}
.password-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -110px;
  border-radius: 50%;
  background: rgba(97, 87, 231, .08);
  pointer-events: none;
}
.password-lock { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; }
.password-lock .archive-password-icon { width: 40px; height: 40px; object-fit: contain; display: block; }
.archive-password-icon { display: block; object-fit: contain; flex-shrink: 0; }
.archive-password-label { display: inline-flex; align-items: center; gap: 8px; }
.archive-password-icon-inline { width: 18px; height: 18px; }
.password-copy { display: flex; flex-direction: column; }
.password-copy span { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.password-copy strong { margin-top: 2px; font-size: 14px; }
.password-card code { padding: 10px 16px; border: 1px solid #d6d0ff; border-radius: 11px; color: #3c338f; background: #fff; font: 800 18px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }
.password-card button { z-index: 1; padding: 10px 15px; border: 0; border-radius: 10px; color: #fff; background: var(--brand); cursor: pointer; font-size: 12px; font-weight: 700; }
.password-card button:hover { background: var(--brand-dark); }

.product-layout { padding: 64px 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: start; }
.content-card h2, .spec-card h2 { margin-bottom: 16px; font-size: 22px; letter-spacing: -.025em; }
.tab-panel > p { color: var(--muted); }
.tabs { margin-bottom: 34px; display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 0 0 12px; border: 0; color: var(--muted); background: none; font-weight: 600; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--brand); border-bottom: 2px solid var(--brand); }
.tab-panel[hidden] { display: none; }
.feature-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-note { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.about-note.hidden { display: none; }
.feature-grid div { padding: 20px; border-radius: 14px; background: var(--soft); }
.feature-grid span { color: var(--brand); font-size: 11px; font-weight: 800; }
.feature-grid h3 { margin: 8px 0 5px; font-size: 14px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.notes-list { margin: 0; padding-left: 22px; color: var(--muted); }
.notes-list li { margin: 12px 0; padding-left: 5px; }
.notes-list strong { color: var(--ink); }
.download-steps { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.download-steps li { padding: 16px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.download-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--brand); font-size: 13px; font-weight: 800; }
.download-steps strong { font-size: 14px; }
.download-steps p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.download-steps code { padding: 2px 5px; border-radius: 5px; color: #3c338f; background: #ebe8ff; font-weight: 700; }
.spec-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.spec-card dl { margin: 0; }
.spec-card dl div { padding: 12px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.spec-card dl div:last-child { border: 0; }
.spec-card dt { color: var(--muted); font-size: 13px; }
.spec-card dd { margin: 0; text-align: right; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.notice { margin-top: 28px; padding: 15px 18px; border-radius: 12px; color: #675018; background: #fff6d9; border: 1px solid #f0dea4; font-size: 13px; }

.download-page-hero { padding: 34px 0 18px; border-bottom: 1px solid var(--line); }
.download-page-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 18px; }
.download-page-head h1 { margin: 0 0 10px; font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.04em; }
.download-page-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pill { padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.trust-pill-green { color: #08784a; background: #edf9f3; border: 1px solid #bfe5d4; }
.trust-pill-blue { color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; }

.download-page-layout { padding: 28px 0 18px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.download-started-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.download-started-banner { padding: 14px 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #19ae6e, #0c8b59); font-size: 16px; font-weight: 800; text-align: center; }
.download-progress { height: 6px; margin: 10px 0 16px; border-radius: 999px; background: #e8f7ef; overflow: hidden; }
.download-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #19ae6e, #0c8b59); transition: width .35s ease; }
.download-progress span.done { width: 100%; }
.verified-strip { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; color: #08784a; background: #edf9f3; border: 1px solid #bfe5d4; font-size: 13px; font-weight: 700; }
.download-password-panel { padding: 16px; border-radius: 14px; background: #f4f8ff; border: 1px solid #dbeafe; }
.download-password-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: #1d4ed8; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.download-password-head small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.download-password-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.download-password-row code { padding: 12px 14px; border: 1px solid #bfdbfe; border-radius: 10px; background: #fff; color: #1e3a8a; font: 800 18px/1.2 ui-monospace, Consolas, monospace; }
.download-password-row button { padding: 11px 14px; border: 0; border-radius: 10px; color: #fff; background: #2563eb; font-size: 12px; font-weight: 700; cursor: pointer; }
.download-password-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.download-manual { margin: 16px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.download-manual a, .link-button { color: #2563eb; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-decoration: underline; }
.download-aside { display: grid; gap: 14px; }
.safety-card, .social-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.safety-ring { width: 92px; height: 92px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; color: #08784a; background: #edf9f3; border: 4px solid #bfe5d4; font-size: 28px; font-weight: 800; }
.safety-ring span { font-size: 16px; font-weight: 700; }
.safety-card p { margin: 0 0 10px; font-weight: 700; }
.safety-card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.safety-card li { margin: 6px 0; }
.social-card strong { display: block; margin-bottom: 6px; }
.social-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.download-info-box { margin-bottom: 48px; padding: 20px 22px; border-radius: 16px; background: #f4f8ff; border: 1px solid #dbeafe; }
.download-info-box h2 { margin: 0 0 12px; font-size: 18px; }
.download-info-box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.download-info-box li { margin: 8px 0; }

footer { padding: 42px 0; color: #c8ceda; background: #111827; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.footer-inner strong { color: #fff; font-size: 18px; }
.footer-inner p { margin: 5px 0 0; font-size: 12px; }

.site-footer { padding: 48px 0 28px; color: #9ca3af; background: #111827; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-links-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
}
.footer-links-grid a {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
}
.footer-links-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-bottom p { margin: 0; font-size: 12px; color: #6b7280; }

.legal-page { padding: 56px 0 80px; background: #fff; }
.legal-content { max-width: 720px; }
.legal-content h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.04em;
}
.legal-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  letter-spacing: -.02em;
}
.legal-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}
.legal-content a { color: var(--brand); font-weight: 600; }
.legal-content a:hover { color: var(--brand-dark); }
.legal-list, .legal-checklist {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.legal-list li, .legal-checklist li { margin: 8px 0; }
.legal-checklist { list-style: none; padding-left: 0; }
.legal-checklist li {
  padding-left: 26px;
  position: relative;
}
.legal-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.contact-card {
  margin: 28px 0 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.contact-email {
  margin: 8px 0 12px !important;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: -.02em;
}
.contact-email a, .contact-card a { color: var(--brand); }

.trust-cards {
  margin: 28px 0 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.trust-card {
  padding: 20px 18px;
  border: 1px solid #c9eadb;
  border-radius: 16px;
  background: #f6fcf9;
  text-align: center;
}
.trust-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #edf9f3;
}
.trust-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-card strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; }
.trust-card span { color: var(--muted); font-size: 12px; line-height: 1.5; }

nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 900px) {
  .welcome-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .welcome-about-mark { justify-self: start; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-head { grid-template-columns: auto 1fr; }
  .download-button { grid-column: 1 / -1; width: 100%; }
  .password-card { grid-template-columns: 48px 1fr auto; }
  .password-card button { grid-column: 2 / -1; }
  .product-layout { grid-template-columns: 1fr; }
  .download-page-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar nav { display: none; }
  .catalog-hero { padding: 70px 0 55px; }
  .welcome-hero { padding: 70px 0 55px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .about-grid, .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-head { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-grid div { padding: 0; border: 0; }
  .password-card { grid-template-columns: 1fr; text-align: center; }
  .password-lock { margin: 0 auto; }
  .password-card code { width: 100%; }
  .password-card button { grid-column: auto; width: 100%; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; }
}
