/* limitxapp.com (2026-10-17): the app's look on the site. Always dark, Inter, the same steel-blue
   accent, glows and grid behind, glass panels. Everything is local: the site's CSP allows no other
   origin (see _headers). */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("inter.woff2") format("woff2-variations");
}

:root {
  --bg: #050508;
  --text: #f5f5f7;
  --secondary: #b6b8c8;
  --muted: #8d90a3;
  --accent: #7a9cf0;
  --accent-hi: #a3bbf7;
  --accent-lo: #5878d8;
  --accent-soft: rgba(122, 156, 240, 0.16);
  --success: #6cd66a;
  --warn: #e8b45a;
  --glass: linear-gradient(180deg, rgba(30, 33, 48, 0.78), rgba(14, 15, 23, 0.82));
  --glass-border: rgba(163, 187, 247, 0.14);
  --edge: linear-gradient(
    150deg,
    rgba(163, 187, 247, 0.6) 0%,
    rgba(255, 255, 255, 0.07) 32%,
    rgba(255, 255, 255, 0.04) 68%,
    rgba(88, 120, 216, 0.45) 100%
  );
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.6 "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

/* The backdrop: soft glows and a faint grid, fixed behind every page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(520px 520px at calc(50% - 360px) 180px, rgba(122, 156, 240, 0.32), transparent 70%),
    radial-gradient(480px 480px at calc(50% + 300px) 420px, rgba(96, 92, 226, 0.26), transparent 70%),
    radial-gradient(90% 60% at 50% -10%, rgba(122, 156, 240, 0.1), transparent 60%),
    radial-gradient(120% 80% at 50% 120%, rgba(40, 46, 90, 0.35), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 25%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 25%, #000 0%, transparent 75%);
}

a {
  color: var(--accent-hi);
}

a:hover {
  color: #c4d3fb;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

main.wrap {
  flex: 1;
}

/* ---- Top bar: glass, sticky ---- */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 16, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

header.site a.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

header.site nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

header.site nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}

header.site nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

header.site nav a.launch {
  margin-left: 8px;
  color: #0b1020;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent) 55%, var(--accent-lo));
  box-shadow: 0 0 18px rgba(122, 156, 240, 0.35);
}

header.site nav a.launch:hover {
  color: #0b1020;
  filter: brightness(1.08);
}

/* ---- Buttons ---- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #0b1020;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent) 55%, var(--accent-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 22px rgba(122, 156, 240, 0.3);
}

.button:hover {
  color: #0b1020;
  filter: brightness(1.08);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

/* ---- Home: the hero ---- */

.hero {
  padding: 88px 0 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge strong {
  color: var(--text);
  font-weight: 600;
}

.badge img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.badge.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #a3bbf7, #7a9cf0 55%, #9d8cf2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--secondary);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--secondary);
}

.trust li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--accent-hi);
}

/* ---- Home: sections ---- */

.section {
  padding: 40px 0;
}

.section > h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.section > .lead {
  margin: 0 auto 32px;
  max-width: 560px;
  text-align: center;
  color: var(--secondary);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 22px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--accent-hi);
  background: var(--accent-soft);
}

.card.highlight {
  border: 1px solid transparent;
  background:
    var(--glass) padding-box,
    var(--edge) border-box;
}

.card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-hi);
  background: var(--accent-soft);
}

.cta {
  margin: 24px 0 64px;
  padding: 40px 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(37, 41, 59, 0.85), rgba(21, 23, 34, 0.9)) padding-box,
    var(--edge) border-box;
  box-shadow: 0 0 90px -30px rgba(122, 156, 240, 0.45);
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 0 22px;
  color: var(--secondary);
}

.note {
  margin: 0 auto 48px;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---- Docs, FAQ, legal: the text on a glass panel ---- */

article {
  max-width: 820px;
  margin: 40px auto 56px;
  padding: 40px 44px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

article h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

article h2 {
  margin: 36px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

article h3 {
  margin: 22px 0 6px;
  font-size: 17px;
}

article p,
article li {
  color: var(--secondary);
}

article strong,
article em {
  color: var(--text);
}

article .meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

article li {
  margin: 6px 0;
}

article .note {
  margin: 0 0 18px;
  padding: 8px 14px;
  text-align: left;
  border-radius: 10px;
  color: #fbe7c4;
  background: rgba(232, 180, 90, 0.12);
  border: 1px solid rgba(232, 180, 90, 0.35);
}

/* FAQ: one question per collapsible row. */
.faq details {
  margin: 0 0 10px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(142, 166, 240, 0.09), rgba(142, 166, 240, 0.04));
  border: 1px solid rgba(163, 187, 247, 0.14);
  transition: border-color 0.15s ease;
}

.faq details:hover,
.faq details[open] {
  border-color: rgba(163, 187, 247, 0.45);
}

.faq summary {
  position: relative;
  padding: 16px 32px 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-hi);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 16px;
  line-height: 1.65;
}

.faq h2 {
  margin-top: 36px;
}

/* ---- Footer ---- */

footer.site {
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-top: 20px;
  padding-bottom: 28px;
}

footer.site a {
  color: var(--muted);
  text-decoration: none;
}

footer.site a:hover {
  color: var(--secondary);
}

footer.site .social {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--secondary);
}

footer.site .social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ---- Narrow screens ---- */

@media (max-width: 900px) {
  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }

  header.site nav a:not(.launch):not(.keep) {
    display: none;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: minmax(0, 1fr);
  }

  article {
    margin: 20px auto 40px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  footer.site .social {
    margin-left: 0;
  }
}
