/* Same palette as the apps (packages/core/src/brand.ts). */
:root {
  --bg: #0e0d13;
  --surface: #18171f;
  --raised: #221f2c;
  --border: #2e2a3b;
  --text: #f4f2fa;
  --dim: #a39fb4;
  --primary: #9b8cff;
  --ai: #5eead4;
  color-scheme: dark;
  font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 50% -120px, rgba(125, 107, 255, 0.28), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.fine {
  color: var(--dim);
  font-size: 14px;
}

/* ---------------------------------------------------------------- nav + footer */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.nav nav {
  display: flex;
  gap: 26px;
}

.nav nav a {
  color: var(--dim);
  text-decoration: none;
}

.nav nav a:hover {
  color: var(--text);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 14px;
}

.footer a {
  color: var(--dim);
}

/* ---------------------------------------------------------------- hero */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 0;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
}

.grad {
  background: linear-gradient(135deg, #e2dcff, #8573ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 660px;
  margin: 22px auto 30px;
  color: var(--dim);
  font-size: 19px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store {
  padding: 13px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c4b8ff, #7d6bff);
  color: #120f1f;
  font-weight: 750;
  text-decoration: none;
}

.store.soon {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--dim);
  font-weight: 600;
}

.window {
  margin: 54px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.window-bar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 12px 18px;
  background: var(--bg);
}

.window-bar span {
  width: 12px;
  height: 2px;
  margin-top: 6px;
  background: var(--dim);
  opacity: 0.6;
}

.window img {
  display: block;
}

/* ---------------------------------------------------------------- sections */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px 0;
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 42px);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(155, 140, 255, 0.16);
  color: var(--primary);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.steps span {
  color: var(--dim);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding-top: 32px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--dim);
}

.phone {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.phone h2 {
  text-align: left;
}

.phone p {
  color: var(--dim);
  font-size: 18px;
}

.phone .stores {
  justify-content: flex-start;
  margin-top: 26px;
}

.phone-shot {
  justify-self: center;
  width: min(330px, 100%);
  border: 6px solid var(--border);
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

/* ---------------------------------------------------------------- pricing + faq */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.plan.pro {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(125, 107, 255, 0.16), var(--surface) 60%);
}

.plan h3 {
  margin: 0;
  font-size: 20px;
}

.price {
  margin: 8px 0 14px;
  font-size: 32px;
  font-weight: 800;
}

.price span {
  color: var(--dim);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.plan ul {
  margin: 0;
  padding-left: 20px;
  color: var(--dim);
}

.plan li {
  margin: 6px 0;
}

.faq {
  max-width: 780px;
  padding-bottom: 96px;
}

details {
  margin-bottom: 10px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 650;
}

details p {
  margin: 12px 0 0;
  color: var(--dim);
}

/* ---------------------------------------------------------------- legal pages */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.doc h1 {
  margin-bottom: 4px;
  font-size: 40px;
}

.doc h2 {
  margin-top: 40px;
  font-size: 24px;
}

.doc h3 {
  margin-top: 24px;
  font-size: 18px;
}

.doc p,
.doc li {
  color: #cfcbe0;
}

.doc li {
  margin: 8px 0;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--raised);
  font-size: 0.92em;
}

@media (max-width: 760px) {
  .nav nav {
    display: none;
  }

  .phone {
    grid-template-columns: 1fr;
  }

  .phone h2 {
    text-align: center;
  }

  .phone .stores {
    justify-content: center;
  }
}
