:root {
  --ink: #19172a;
  --muted: #67637b;
  --line: #e7e3f2;
  --paper: #ffffff;
  --wash: #f7f5fc;
  --purple: #6653e8;
  --purple-dark: #4030a8;
  --purple-soft: #eeeafd;
  --green: #2a7863;
  --shadow: 0 28px 70px rgba(55, 43, 123, 0.16);
  --radius: 24px;
  --content: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple-dark); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 227, 242, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img { width: 38px; height: 38px; border-radius: 10px; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 620; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple-dark); }


.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(139, 123, 247, 0.22), transparent 30%),
    radial-gradient(circle at 10% 65%, rgba(102, 83, 232, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

.hero-grid {
  width: min(calc(100% - 40px), var(--content));
  min-height: 690px;
  margin: 0 auto;
  padding: 86px 0 74px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--purple-dark);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple); }

h1, h2, h3 { line-height: 1.16; letter-spacing: -0.035em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6.4vw, 5.6rem); }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { margin: 0 0 10px; font-size: 1.3rem; }

.hero-copy { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 1.18rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); box-shadow: 0 12px 28px rgba(102, 83, 232, 0.25); }
.button-primary:hover { color: white; box-shadow: 0 16px 34px rgba(102, 83, 232, 0.32); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.78); }

.privacy-note { margin-top: 20px; color: var(--green); font-size: 0.92rem; font-weight: 650; }

.phone-stage { position: relative; min-height: 530px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 470px; height: 470px; border-radius: 50%; background: linear-gradient(135deg, rgba(139,123,247,0.35), rgba(64,48,168,0.08)); filter: blur(2px); }
.phone {
  position: relative;
  width: 290px;
  min-height: 555px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 47px;
  background: #201c37;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}
.screen {
  min-height: 529px;
  padding: 35px 18px 22px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #f8f6ff, #fff);
}
.screen-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; font-weight: 750; }
.mini-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--purple-soft); display: grid; place-items: center; color: var(--purple-dark); }
.prompt-card { margin-top: 23px; padding: 20px; border-radius: 22px; color: white; background: linear-gradient(145deg, #806ff2, #5040c7); box-shadow: 0 16px 34px rgba(71,55,174,0.27); }
.prompt-label { margin: 0 0 12px; opacity: 0.72; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.prompt-text { margin: 0; font-size: 1.13rem; font-weight: 750; line-height: 1.35; }
.wave { height: 62px; margin: 24px 0 16px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.wave i { display: block; width: 5px; border-radius: 4px; background: var(--purple); opacity: 0.72; animation: pulse 1.25s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -0.55s; }
.wave i:nth-child(3n) { animation-delay: -0.28s; }
.record-button { width: 78px; height: 78px; margin: 0 auto; border: 9px solid #e9e5fc; border-radius: 50%; background: var(--purple); box-shadow: inset 0 0 0 7px white; }
.screen-caption { margin-top: 15px; color: var(--muted); font-size: 0.76rem; text-align: center; }
.score-row { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.score-row span { padding: 9px 5px; border-radius: 10px; background: var(--purple-soft); color: var(--purple-dark); font-size: 0.68rem; font-weight: 750; text-align: center; }

@keyframes pulse { 0%,100% { height: 14px; } 50% { height: 52px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .wave i { animation: none; height: 28px; } .button { transition: none; } }

.section { padding: 92px 0; }
.section-soft { background: var(--wash); }
.container { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.section-intro { max-width: 680px; margin-bottom: 38px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.card-icon { width: 44px; height: 44px; margin-bottom: 20px; border-radius: 13px; display: grid; place-items: center; color: var(--purple-dark); background: var(--purple-soft); font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--purple); font-weight: 800; }
.step p { color: var(--muted); }

.trust-band { padding: 32px; border-radius: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; color: white; background: linear-gradient(135deg, #34257f, #6653e8); }
.trust-mark { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,0.14); font-size: 2rem; }
.trust-band h2 { margin-bottom: 8px; font-size: 2rem; }
.trust-band p { margin: 0; color: rgba(255,255,255,0.8); }

.page-hero { padding: 78px 0 56px; background: linear-gradient(180deg, #f6f3ff, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.meta { margin-top: 20px; color: var(--muted); font-size: 0.92rem; }

.document-layout { width: min(calc(100% - 40px), 1040px); margin: 0 auto; padding: 64px 0 96px; display: grid; grid-template-columns: 230px 1fr; gap: 60px; }
.toc { position: sticky; top: 98px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--wash); }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.88rem; text-decoration: none; }
.toc a:hover { color: var(--purple-dark); }
.document { min-width: 0; }
.document section { scroll-margin-top: 104px; margin-bottom: 48px; }
.document h2 { font-size: 1.75rem; }
.document h3 { margin-top: 26px; font-size: 1.15rem; }
.document p, .document li { color: #4f4b61; }
.document ul, .document ol { padding-left: 22px; }
.document li + li { margin-top: 8px; }
.callout { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--purple); border-radius: 0 16px 16px 0; background: var(--purple-soft); }
.callout p { margin: 0; color: #40367a; }
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.94rem; }
.data-table th, .data-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--wash); }

.support-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: var(--radius); color: white; background: linear-gradient(145deg, #4938bb, #7564ed); }
.contact-card a { color: white; }
.contact-card .button-secondary { color: var(--purple-dark); background: white; max-width: 100%; padding-inline: 12px; overflow-wrap: anywhere; }
.footer-copy a { color: #d5cfff; }
.contact-card p { color: rgba(255,255,255,0.8); }
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { padding: 20px 24px; background: white; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-bottom: 0; color: var(--muted); }

.delete-steps { counter-reset: delete-step; list-style: none; padding: 0 !important; }
.delete-steps li { counter-increment: delete-step; position: relative; min-height: 42px; padding-left: 56px; margin-bottom: 18px; }
.delete-steps li::before { content: counter(delete-step); position: absolute; left: 0; top: -5px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: white; background: var(--purple); font-weight: 800; }

.site-footer { padding: 54px 0 28px; color: #cbc6df; background: #191629; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
.footer-brand { color: white; }
.footer-copy { max-width: 430px; color: #a9a3bc; }
.footer-links strong { display: block; margin-bottom: 12px; color: white; }
.footer-links a { display: block; margin: 7px 0; color: #bdb7d0; text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); color: #938ca8; font-size: 0.86rem; }

@media (max-width: 860px) {
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 64px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 16px; align-items: stretch; flex-direction: column; gap: 6px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 8px; }
  .hero-grid { min-height: auto; padding-top: 68px; grid-template-columns: 1fr; gap: 48px; }
  .phone-stage { min-height: 570px; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .document-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav-wrap, .container, .hero-grid, .document-layout { width: min(calc(100% - 28px), var(--content)); }
  h1 { font-size: 3rem; }
  .hero-grid { padding-top: 52px; }
  .phone { transform: none; }
  .section { padding: 70px 0; }
  .trust-band { grid-template-columns: 1fr; }
  .page-hero { padding: 55px 0 42px; }
  .data-table { display: block; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
