:root {
  --bg: #10131a;
  --bg-soft: #151923;
  --surface: #1a1e28;
  --surface-2: #232936;
  --border: #2c3342;
  --text: #e7eaf3;
  --muted: #9aa3b2;
  --primary: #5b6cff;
  --primary-dark: #3d4cd6;
  --primary-text: #8e99ff;
  --accent: #20c9a6;
  --accent-dark: #12a98a;
  --accent-text: #20c9a6;
  --danger: #e74c3c;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fb;
    --bg-soft: #eaeef7;
    --surface: #ffffff;
    --surface-2: #eaeef7;
    --border: #e1e6f0;
    --text: #1b1f2a;
    --muted: #6b7280;
    --primary-text: #3d4cd6;
    --accent-text: #0e8f73;
    --shadow: 0 24px 60px rgba(27, 31, 42, 0.12);
    --shadow-soft: 0 12px 32px rgba(27, 31, 42, 0.08);
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

a {
  color: var(--primary-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 19, 26, 0.82);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

@media (prefers-color-scheme: light) {
  .site-header {
    background: rgba(244, 246, 251, 0.84);
    background: color-mix(in srgb, var(--bg) 84%, transparent);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(91, 108, 255, 0.32);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav .nav-cta {
  padding: 9px 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.nav .nav-cta:hover {
  border-color: var(--primary);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -35% -12%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 201, 166, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 800;
}

.gradient-text {
  color: var(--primary-text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text {
    background: linear-gradient(100deg, var(--primary) 8%, var(--accent) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.lead,
.section-copy {
  margin: 20px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 32px rgba(91, 108, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(91, 108, 255, 0.45);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  color: var(--accent-text);
  background: rgba(32, 201, 166, 0.12);
  stroke-width: 2.2;
}

/* Phone mockup */

.hero-visual {
  display: flex;
  justify-content: center;
}

.mock {
  position: relative;
  width: min(100%, 400px);
}

.mock-glow {
  position: absolute;
  inset: 6% -10% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(91, 108, 255, 0.45), transparent 62%);
  filter: blur(28px);
}

.phone {
  position: relative;
  padding: 14px;
  background: #0b0e14;
  border: 1px solid #2c3342;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 2px;
  color: #9aa3b2;
  font-size: 11px;
  font-weight: 600;
}

.phone-status {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}

.phone-status i {
  display: block;
  width: 3px;
  background: #9aa3b2;
  border-radius: 2px;
}

.phone-status i:nth-child(1) {
  height: 5px;
}

.phone-status i:nth-child(2) {
  height: 8px;
}

.phone-status i:nth-child(3) {
  height: 11px;
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #5b6cff, #3d4cd6);
}

.status-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #20c9a6;
  border: 2px solid #0b0e14;
}

.appbar-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.appbar-meta strong {
  color: #e7eaf3;
  font-size: 14px;
}

.appbar-meta span {
  color: #9aa3b2;
  font-size: 11px;
}

.lock-chip {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(32, 201, 166, 0.35);
  background: rgba(32, 201, 166, 0.1);
  color: #20c9a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 248px;
  padding: 16px 12px;
}

.bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.4;
}

.bubble.in {
  align-self: flex-start;
  background: #232936;
  color: #e7eaf3;
  border-bottom-left-radius: 5px;
}

.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, #5b6cff, #3d4cd6);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 10px 14px;
  background: #232936;
  border-radius: 16px;
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa3b2;
  animation: typing 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.composer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 10px 12px;
  background: #151923;
  border: 1px solid #2c3342;
  border-radius: 14px;
  color: #6b7280;
  font-size: 12px;
}

.send {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #5b6cff, #3d4cd6);
}

.send svg {
  width: 15px;
  height: 15px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.float-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.float-card strong {
  font-size: 12px;
}

.float-card span {
  color: var(--muted);
  font-size: 10.5px;
}

.float-top {
  top: 14%;
  right: -9%;
}

.float-bottom {
  bottom: 9%;
  left: -11%;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--primary-text);
  background: rgba(91, 108, 255, 0.15);
}

.float-icon.accent {
  color: var(--accent-text);
  background: rgba(32, 201, 166, 0.14);
}

.float-icon svg {
  width: 16px;
  height: 16px;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head h2,
.cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-copy {
  margin-top: 16px;
}

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

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: var(--primary-text);
  background: rgba(91, 108, 255, 0.13);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 800;
}

.card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Steps */

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

.step {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 14px;
  font-weight: 800;
}

.step h3 {
  font-size: 1.04rem;
  font-weight: 800;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Security */

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14.5px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(32, 201, 166, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320c9a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.security-card {
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.security-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
}

.security-row + .security-row {
  border-top: 1px solid var(--border);
}

.security-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--primary-text);
  background: rgba(91, 108, 255, 0.13);
}

.security-icon.accent {
  color: var(--accent-text);
  background: rgba(32, 201, 166, 0.14);
}

.security-icon svg {
  width: 19px;
  height: 19px;
}

.security-row div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.security-row strong {
  font-size: 13.5px;
}

.security-row span {
  color: var(--muted);
  font-size: 12px;
}

.pill {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-ok {
  border-color: rgba(32, 201, 166, 0.35);
  background: rgba(32, 201, 166, 0.1);
  color: var(--accent-text);
}

/* FAQ */

.faq-wrap {
  max-width: 820px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 14.2px;
}

/* CTA */

.cta {
  padding: 78px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 108, 255, 0.24), transparent 45%),
    radial-gradient(circle at 88% 90%, rgba(32, 201, 166, 0.18), transparent 45%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta p {
  margin: 14px 0 0;
  max-width: 54ch;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hint {
  color: var(--muted);
  font-size: 12px;
}

/* Footer */

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 38px;
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer-col h4 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  color: var(--text);
  font-size: 13.5px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
}

/* Privacy page */

.legal-page {
  padding: 64px 0 88px;
}

.legal {
  max-width: 800px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15.2px;
}

.legal p {
  margin: 12px 0;
}

.legal ul,
.legal ol {
  margin: 12px 0;
  padding-left: 22px;
}

.legal li {
  margin: 7px 0;
}

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

.legal a {
  font-weight: 600;
}

.legal table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal td {
  color: var(--muted);
}

.legal-note {
  margin: 26px 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.back-link:hover {
  color: var(--text);
  text-decoration: none;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    order: 2;
  }

  .float-top {
    right: 0;
  }

  .float-bottom {
    left: 0;
  }

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

  .security-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 58px 0 52px;
  }

  .section {
    padding: 64px 0;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .float-card {
    display: none;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px 16px;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }

  .nav .nav-cta {
    padding: 7px 13px;
  }

  .cards,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .security-row {
    align-items: flex-start;
  }

  .legal-page {
    padding: 40px 0 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
