:root {
  --ink: #07113f;
  --muted: #4b587c;
  --soft: #f7f5ff;
  --soft-2: #eeebff;
  --border: #dedaf7;
  --purple: #6b42f5;
  --purple-dark: #4f2ed9;
  --green: #21b66f;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(28, 18, 84, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(126, 91, 255, 0.16), transparent 30rem),
    radial-gradient(circle at top right, rgba(33, 182, 111, 0.10), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #faf9ff 50%, #ffffff 100%);
  line-height: 1.6;
}

body.legal-body {
  background: #ffffff;
}

img { max-width: 100%; }

a { color: var(--purple-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(222, 218, 247, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 10px 26px rgba(107, 66, 245, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 18px 36px rgba(107, 66, 245, 0.24);
}

.button.secondary {
  color: var(--purple-dark);
  background: #ffffff;
  border-color: var(--border);
}

.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 0.9rem;
}

h1, h2, h3 { line-height: 1.07; letter-spacing: -0.045em; }

h1 {
  margin: 20px 0 18px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.lede {
  font-size: clamp(1.14rem, 2vw, 1.34rem);
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.phone-card {
  border-radius: 42px;
  background: linear-gradient(180deg, #ffffff, #f8f6ff);
  border: 1px solid rgba(222, 218, 247, 0.95);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 390px;
  margin-left: auto;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 8px 20px;
}

.app-screen {
  border-radius: 30px;
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--border);
}

.app-title {
  font-size: 2.05rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.app-subtitle {
  color: var(--purple-dark);
  font-weight: 850;
  margin: 8px 0 18px;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 10px 0;
  font-weight: 800;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--purple-dark);
  flex: none;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  flex: none;
}

.plan-card {
  border: 2px solid var(--purple);
  border-radius: 22px;
  padding: 18px;
  margin: 18px 0 16px;
}

.plan-card strong {
  display: block;
  font-size: 1.02rem;
}

.pill {
  display: inline-flex;
  margin: 10px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--purple-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.price {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.app-button {
  margin-top: 16px;
  width: 100%;
  min-height: 50px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: grid;
  place-items: center;
  font-weight: 850;
}

section {
  padding: 70px 0;
}

.section-intro {
  max-width: 750px;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 44px rgba(28, 18, 84, 0.06);
}

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

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

.step {
  counter-increment: steps;
  position: relative;
}

.step::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  font-weight: 850;
  margin-bottom: 18px;
}

.plus-section {
  background: linear-gradient(135deg, rgba(107, 66, 245, 0.08), rgba(255, 255, 255, 0.8));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plus-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--muted);
}

.feature-list strong { color: var(--ink); }

.notice {
  background: #fffdf6;
  border: 1px solid #f3df9c;
  border-radius: var(--radius);
  padding: 22px;
  color: #66511c;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.small { color: var(--muted); font-size: 0.95rem; }

.legal-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 84px;
}

.legal-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: 0; }
.legal-page h2 { font-size: 1.7rem; margin-top: 44px; }
.legal-page h3 { font-size: 1.2rem; margin-top: 28px; }
.legal-page p, .legal-page li { color: #273251; }
.legal-page ul { padding-left: 1.25rem; }
.legal-meta {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--border);
  margin: 22px 0 32px;
}

@media (max-width: 860px) {
  .hero-grid,
  .plus-grid,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .phone-card { margin: 20px auto 0; }
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { padding-top: 54px; }
  .footer-grid { flex-direction: column; }
}
