/* Parallel° — the app's own tokens, lifted from app/lib/core/theme/tokens.dart
   so the site and the app cannot drift apart. */

:root {
  --night: #0a0f1e;
  --ink: #edf1fa;
  --ink-60: rgba(237, 241, 250, 0.62);
  --ink-40: rgba(237, 241, 250, 0.42);
  --stroke: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.055);
  --sky: #7dd3fc;
  --amber: #fca45d;
  --ember: #c4836a;
  --r-lg: 26px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--night);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The aurora the app renders behind its glass. Static here — nothing on a
   landing page needs to move. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(61, 79, 216, 0.45), transparent 60%),
    radial-gradient(50% 40% at 90% 25%, rgba(14, 116, 144, 0.4), transparent 65%),
    radial-gradient(45% 35% at 30% 100%, rgba(124, 58, 237, 0.28), transparent 65%);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 9vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
}

h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 56px 0 14px;
}

.lede {
  font-size: 19px;
  color: var(--ink-60);
  margin-top: 20px;
  max-width: 34em;
}

p {
  color: var(--ink-60);
  margin: 14px 0;
  max-width: 34em;
}

p strong {
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.3);
}

a:hover {
  border-bottom-color: var(--sky);
}

/* The twin readout, rendered rather than described. Sora has no italic face —
   the app shears it, and so does this. */
.twin {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  line-height: 1;
}

.twin .c {
  font-weight: 600;
}

.twin .f {
  font-weight: 400;
  color: var(--ink-40);
  transform: skewX(-12deg);
  display: inline-block;
}

.demo {
  margin: 40px 0;
  padding: 28px 26px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
}

.demo .twin {
  font-size: 46px;
}

.demo .caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-40);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.styles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.style {
  flex: 1 1 160px;
  padding: 18px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
}

.style .name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: block;
  margin-bottom: 12px;
}

.style .twin {
  font-size: 24px;
}

.style.stacked .twin {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.style.stacked .f {
  font-size: 15px;
  transform: none;
}

ul {
  color: var(--ink-60);
  margin: 14px 0 14px 20px;
  max-width: 34em;
}

li {
  margin: 8px 0;
}

.cta {
  display: inline-block;
  margin-top: 36px;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--stroke);
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--stroke);
}

.cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: var(--stroke);
}

footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--ink-40);
}

footer a {
  color: var(--ink-60);
  border: none;
}

footer a:hover {
  color: var(--ink);
}

/* Privacy page */
.policy h2 {
  font-size: 17px;
  margin-top: 40px;
}

.policy .updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  text-transform: uppercase;
}

@media (max-width: 560px) {
  main {
    padding: 64px 20px 90px;
  }
  .demo .twin {
    font-size: 34px;
  }
}

/* The app icon, above the name. Android rounds it at the launcher; the site has
   to round it itself or it reads as a raw asset someone forgot to crop. */
.appicon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 22%;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

@media (max-width: 560px) {
  .appicon {
    width: 72px;
    height: 72px;
  }
}
