/* Seloure AI — tokens are taken verbatim from the app (Loure/styles/colors.ts)
   so the site and the product read as one thing. Dark-only by design: the app
   is dark-only too (userInterfaceStyle: "dark"). */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --bg-input: #161618;
  --border: #1d1d20;
  --border-strong: #232327;
  --accent: #e01c2b;
  --accent-soft: #ff5a68;
  --accent-deep: #9c1126;
  --text: #ffffff;
  --text-dim: #9a9aa0;
  --text-muted: #7d7d83;
  --online: #3ad17a;
  --maxw: 68rem;
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

/* One gutter, set once, so nothing can push the page sideways. */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 0.93rem;
  flex-wrap: wrap;
}
.site-header nav a { color: var(--text-dim); }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 11vw, 112px);
  border-bottom: 1px solid var(--border);
}
/* The glow echoes the icon's red rim light. */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 50% auto -30%;
  height: 120%;
  background: radial-gradient(45% 45% at 40% 40%, rgba(224, 28, 43, 0.17), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-wrap: balance;
  font-weight: 800;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 34ch;
}
.hero-art {
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 320px;
  justify-self: end;
  width: 100%;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--online);
}

/* ---------- sections ---------- */
section { padding-block: clamp(48px, 8vw, 86px); }
section + section { border-top: 1px solid var(--border); }

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-wrap: balance;
  font-weight: 800;
}
.section-lede { color: var(--text-dim); margin: 0 0 34px; max-width: 58ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }

/* The "what we don't do" list is the honest centrepiece, so it gets its own look. */
.nope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.nope li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 17px;
  color: var(--text-dim);
  font-size: 0.95rem;
  min-width: 0;
}
.nope li::before {
  content: "✕";
  color: var(--accent);
  font-weight: 700;
  line-height: 1.5;
  flex: none;
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.note strong { color: var(--text); }

/* ---------- legal pages ---------- */
.doc { padding-block: clamp(40px, 7vw, 72px); }
.doc .wrap { max-width: 50rem; }
.doc h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  font-weight: 800;
}
.doc .updated { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 40px; }
.doc h2 {
  font-size: 1.22rem;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}
.doc h3 { font-size: 1.02rem; margin: 26px 0 8px; font-weight: 700; }
.doc p, .doc li { color: var(--text-dim); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}
.doc th, .doc td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.doc th { color: var(--text); font-weight: 700; }
.doc td { color: var(--text-dim); }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}
footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--text-dim); }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; max-width: 200px; }
  .hero p.lede { max-width: none; }
  footer nav { margin-left: 0; }
}
