:root {
  color-scheme: light dark;
  --background: #f7f6f2;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-solid: #ffffff;
  --text: #151520;
  --muted: #6b6b77;
  --line: rgba(21, 21, 32, 0.12);
  --accent: #5b50e6;
  --accent-soft: rgba(91, 80, 230, 0.1);
  --button-text: #ffffff;
  --shadow: 0 24px 80px rgba(35, 31, 77, 0.11);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101018;
    --surface: rgba(31, 30, 43, 0.72);
    --surface-solid: #1d1c28;
    --text: #f5f3ed;
    --muted: #a9a7b4;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #9d92ff;
    --accent-soft: rgba(157, 146, 255, 0.12);
    --button-text: #12111b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 5%, var(--accent-soft), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: clamp(80px, 11vw, 145px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  margin-left: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.phone {
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 52px;
  background: #08080d;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: flex;
  min-height: 610px;
  padding: 28px 26px 34px;
  border-radius: 39px;
  background:
    radial-gradient(circle at 50% 43%, rgba(105, 91, 255, 0.28), transparent 34%),
    #050508;
  color: #f6f3eb;
  flex-direction: column;
  justify-content: space-between;
}

.session-top,
.session-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.session-center {
  text-align: center;
}

.pulse {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.pulse::before,
.pulse::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.pulse::before {
  inset: 30px;
  background: rgba(105, 91, 255, 0.35);
  box-shadow: 0 0 50px rgba(105, 91, 255, 0.45);
}

.pulse::after {
  width: 14px;
  height: 14px;
  top: 73px;
  left: 73px;
  background: #f6f3eb;
}

.session-center strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.session-center span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.trace {
  position: relative;
  height: 26px;
  margin-bottom: 16px;
}

.trace::before {
  position: absolute;
  top: 13px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.trace i {
  position: absolute;
  top: calc(13px + var(--offset));
  left: var(--position);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a89cff;
  transform: translate(-50%, -50%);
}

.principles {
  padding: 96px 0 110px;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 680px;
  margin-bottom: 42px;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

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

.card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.card-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--button-text);
  font-size: 0.82rem;
  font-weight: 800;
  place-items: center;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card p,
.legal-intro,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 110px;
  padding: 34px;
  border-radius: 28px;
  background: var(--accent-soft);
}

.privacy-callout h2 {
  margin-bottom: 5px;
}

.privacy-callout p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.legal {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.legal h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.legal-intro {
  margin-bottom: 58px;
  font-size: 1.1rem;
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 22px;
}

.support-box {
  margin-top: 42px;
  padding: 28px;
  border-radius: 22px;
  background: var(--accent-soft);
}

.support-box h2 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .nav a:not(.nav-primary) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-visual {
    order: 2;
  }

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

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .privacy-callout,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    justify-content: center;
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 3.45rem;
  }

  .button {
    width: 100%;
  }

  .button.secondary {
    margin: 10px 0 0;
  }

  .phone {
    width: 92%;
  }
}

