:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0c1728;
  --surface: #101d30;
  --surface-strong: #14243a;
  --surface-glass: rgba(16, 29, 48, 0.76);
  --text: #f5f8fc;
  --text-soft: #aebbd0;
  --text-muted: #7f8da3;
  --line: rgba(167, 190, 219, 0.14);
  --line-strong: rgba(167, 190, 219, 0.25);
  --primary: #48b8f3;
  --primary-strong: #249edc;
  --primary-soft: rgba(72, 184, 243, 0.14);
  --green: #56d69b;
  --green-soft: rgba(86, 214, 155, 0.13);
  --violet: #8f83ff;
  --danger: #ff6f7d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fb;
  --bg-soft: #edf3f8;
  --surface: #ffffff;
  --surface-strong: #f7fafc;
  --surface-glass: rgba(255, 255, 255, 0.8);
  --text: #102037;
  --text-soft: #53637a;
  --text-muted: #758399;
  --line: rgba(31, 61, 94, 0.12);
  --line-strong: rgba(31, 61, 94, 0.2);
  --primary: #169bdc;
  --primary-strong: #087eb8;
  --primary-soft: rgba(22, 155, 220, 0.11);
  --green: #159769;
  --green-soft: rgba(21, 151, 105, 0.1);
  --violet: #6458df;
  --danger: #d9475a;
  --shadow: 0 24px 70px rgba(58, 90, 120, 0.15);
  --shadow-soft: 0 12px 30px rgba(58, 90, 120, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 55%);
  opacity: 0.23;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: var(--surface-glass);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.brand-mark circle {
  fill: var(--primary-soft);
  stroke: currentColor;
  stroke-width: 2;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 550;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-glass);
  color: var(--text);
  cursor: pointer;
}

.theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

.menu-toggle {
  display: none;
  padding: 0 11px;
  align-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--primary);
  color: #06111c;
}

html[data-theme="light"] .button-primary {
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary,
.button-download-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover,
.button-download-secondary:hover {
  border-color: var(--primary);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding-inline: 24px;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 150px 0 90px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: -1;
}

.hero-orb {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.45;
}

.hero-orb-one {
  width: 520px;
  height: 520px;
  right: -110px;
  top: 100px;
  background: radial-gradient(circle, rgba(72, 184, 243, 0.3), transparent 68%);
}

.hero-orb-two {
  width: 420px;
  height: 420px;
  left: -230px;
  top: 300px;
  background: radial-gradient(circle, rgba(86, 214, 155, 0.16), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot,
.online-dot,
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  margin: 22px 0 24px;
  max-width: 720px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-notes svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: 326px;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 46px;
  background: #060b13;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

html[data-theme="light"] .phone {
  background: #172333;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 70px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: #060b13;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 610px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--bg-soft);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 18px 12px;
  background: var(--surface);
}

.app-topbar strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.app-topbar small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10px;
}

.online-dot {
  width: 6px;
  height: 6px;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.avatar-self { background: #765be7; }
.avatar-two { background: #e25d7c; }
.avatar-three { background: #269b8a; }
.avatar-four { background: #dd9134; }
.avatar-five { background: #5878d9; }

.app-search {
  margin: 11px 14px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text-muted);
  font-size: 11px;
}

.app-search svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 14px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

.app-tabs span {
  padding: 7px 3px;
  border-radius: 9px;
}

.app-tabs .active {
  background: var(--primary);
  color: #06111c;
  font-weight: 700;
}

.stories {
  display: flex;
  gap: 14px;
  padding: 15px 16px 11px;
  overflow: hidden;
}

.story {
  width: 52px;
  flex: 0 0 auto;
  text-align: center;
}

.story-ring {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.story-ring .avatar {
  width: 39px;
  height: 39px;
  font-size: 12px;
}

.story-ring.seen {
  border-color: var(--line-strong);
}

.story small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list {
  padding-bottom: 12px;
  background: var(--surface);
}

.chat-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 15px;
  border-top: 1px solid var(--line);
}

.presence {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
}

.chat-copy {
  min-width: 0;
}

.chat-copy strong,
.chat-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-copy strong {
  font-size: 12px;
}

.chat-copy span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
}

.chat-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.chat-meta time {
  color: var(--text-muted);
  font-size: 8px;
}

.chat-meta b {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--primary);
  color: #07121e;
  font-size: 8px;
}

.security-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-glass);
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 650;
}

.security-chip svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-chip-top {
  top: 72px;
  right: -5px;
}

.security-chip-bottom {
  left: 5px;
  bottom: 75px;
}

.pulse {
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.55); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-glass);
}

.trust-grid {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-grid > div {
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 15px;
}

.trust-grid span {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.section {
  padding: 120px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.download-section h2 {
  margin: 14px 0 16px;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p,
.section-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 295px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature-card-large {
  min-height: 380px;
  grid-column: span 2;
  position: relative;
}

.feature-card h3,
.community-panel h3 {
  margin: 19px 0 9px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.feature-card p,
.community-panel p,
.compact-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.feature-card-large > p {
  max-width: 52%;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-chat {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 42%;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg-soft);
}

.bubble {
  width: fit-content;
  max-width: 92%;
  padding: 10px 12px 6px;
  border-radius: 14px;
  color: var(--text);
  font-size: 11px;
}

.bubble time {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 8px;
  text-align: right;
}

.bubble.incoming {
  background: var(--surface-strong);
}

.bubble.outgoing {
  margin: 8px 0 0 auto;
  background: var(--primary-soft);
}

.split-layout,
.personalization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px;
  align-items: center;
}

.security-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.security-visual::before,
.security-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.security-visual::before {
  width: 360px;
  height: 360px;
}

.security-visual::after {
  width: 470px;
  height: 470px;
}

.shield-core {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shield-core svg {
  width: 105px;
  height: 120px;
  fill: var(--green-soft);
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shield-core rect {
  fill: var(--surface);
}

.security-path {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 11px;
}

.security-path span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.path-one { top: 58px; left: 12px; }
.path-two { top: 72px; right: 0; }
.path-three { bottom: 55px; left: 50%; transform: translateX(-50%); }

.section-copy h2 {
  margin-top: 16px;
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.check-list strong,
.check-list small {
  display: block;
}

.check-list small {
  margin-top: 3px;
  color: var(--text-muted);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.community-panel {
  position: relative;
  min-height: 450px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.community-panel-accent {
  background:
    radial-gradient(circle at 100% 0, var(--primary-soft), transparent 45%),
    var(--surface);
  border-color: var(--line-strong);
}

.panel-number {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.community-panel h3 {
  margin-top: 45px;
  font-size: 31px;
}

.community-panel > p {
  max-width: 400px;
  font-size: 17px;
}

.community-panel ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.community-panel li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.community-panel li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.panel-note {
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--text-soft);
  font-size: 12px;
}

.design-options {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.design-option {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.design-option:hover {
  transform: translateX(3px);
}

.design-option.active {
  border-color: var(--primary);
}

.design-option strong,
.design-option small {
  display: block;
}

.design-option small {
  margin-top: 2px;
  color: var(--text-muted);
}

.design-swatch {
  width: 42px;
  height: 42px;
  border: 4px solid var(--surface-strong);
  border-radius: 13px;
}

.swatch-modern { background: #2aabee; }
.swatch-unified { background: #5b5bd6; }
.swatch-private { background: #2d8c7b; }

.theme-preview {
  --preview-accent: #2aabee;
  --preview-out: #244c67;
  width: min(100%, 470px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-radius 200ms ease;
}

.theme-preview[data-design="unified"] {
  --preview-accent: #7777e8;
  --preview-out: #41416c;
  border-radius: 34px;
}

.theme-preview[data-design="private"] {
  --preview-accent: #56b7a4;
  --preview-out: #234b45;
  border-radius: 18px;
}

.theme-preview-top {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.theme-preview-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.theme-preview-top span:first-child {
  background: var(--preview-accent);
}

.theme-preview-body {
  min-height: 330px;
  padding: 45px 24px 22px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-soft);
  background-size: 36px 36px;
}

.preview-message {
  max-width: 72%;
  padding: 13px 14px 8px;
  border-radius: 16px;
  background: var(--surface);
  font-size: 13px;
}

.preview-message time {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 9px;
  text-align: right;
}

.preview-out {
  margin: 12px 0 70px auto;
  background: var(--preview-out);
  color: #fff;
}

.preview-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 9px 9px 15px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
}

.preview-composer b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--preview-accent);
  color: #06111c;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.compact-card {
  min-height: 180px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compact-card strong {
  font-size: 17px;
}

.compact-card p {
  margin-top: 10px;
}

.download-section {
  padding: 80px 0;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 70px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 36px;
  background:
    radial-gradient(circle at 0 100%, rgba(86, 214, 155, 0.14), transparent 36%),
    radial-gradient(circle at 100% 0, rgba(72, 184, 243, 0.2), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.download-copy > p {
  max-width: 650px;
  color: var(--text-soft);
  font-size: 17px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.download-actions .button {
  min-height: 68px;
  justify-content: flex-start;
  text-align: left;
}

.download-actions strong,
.download-actions small {
  display: block;
}

.download-actions small {
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.75;
}

.download-hint {
  margin-top: 16px !important;
  color: var(--text-muted) !important;
  font-size: 12px !important;
}

.install-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
}

.install-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.install-card-head span {
  font-weight: 700;
}

.install-card-head b {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
}

.install-card ol {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

.install-card li {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 12px;
  padding: 14px 0;
}

.install-card li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.install-card li strong,
.install-card li small {
  display: block;
}

.install-card li strong {
  font-size: 13px;
}

.install-card li small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.requirements span {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 9px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 85px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 110px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--text-soft);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  margin: -2px 45px 26px 0;
  color: var(--text-soft);
}

.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr 1fr;
  gap: 50px;
}

.footer-grid > div:first-child p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
}

.footer-links strong {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-security {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.footer-security svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-security strong,
.footer-security small {
  display: block;
}

.footer-security small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
}

.download-toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-size: 13px;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.download-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-delay {
  transition-delay: 130ms;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 9px;
    color: var(--text-soft);
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 30px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card {
    padding: 45px;
    gap: 35px;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 125px;
  }

  .hero-grid,
  .split-layout,
  .personalization-grid,
  .faq-layout,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .hero-copy .eyebrow {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-notes {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div {
    min-height: 90px;
    display: grid;
    align-content: center;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 90px 0;
  }

  .security-visual {
    order: 2;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    height: 68px;
  }

  .header-actions > .button {
    display: none;
  }

  .mobile-nav {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 65px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-notes {
    gap: 10px 16px;
    font-size: 11px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone {
    width: 286px;
  }

  .phone-screen {
    min-height: 560px;
  }

  .security-chip-top {
    right: -2px;
  }

  .security-chip-bottom {
    left: -2px;
    bottom: 30px;
  }

  .trust-grid > div {
    padding: 0 13px;
  }

  .trust-grid strong {
    font-size: 12px;
  }

  .trust-grid span {
    font-size: 10px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section h2,
  .download-section h2 {
    font-size: 38px;
  }

  .section-heading p,
  .section-copy > p {
    font-size: 16px;
  }

  .feature-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: auto;
    min-height: 430px;
  }

  .feature-card-large > p {
    max-width: none;
  }

  .mini-chat {
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
  }

  .security-visual {
    min-height: 390px;
  }

  .security-visual::before {
    width: 270px;
    height: 270px;
  }

  .security-visual::after {
    width: 350px;
    height: 350px;
  }

  .shield-core {
    width: 170px;
    height: 170px;
  }

  .shield-core svg {
    width: 80px;
  }

  .path-one { left: 0; top: 30px; }
  .path-two { right: 0; top: 50px; }
  .path-three { bottom: 28px; }

  .community-panel {
    min-height: auto;
    padding: 27px;
    border-radius: 22px;
  }

  .community-panel h3 {
    margin-top: 28px;
  }

  .download-section {
    padding: 45px 0;
  }

  .download-card {
    padding: 29px 20px;
    border-radius: 24px;
  }

  .download-actions {
    display: grid;
  }

  .download-actions .button {
    width: 100%;
  }

  .install-card {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
  }
}
