/* Blist website — matches the app: dark base, serif display, sunset accent. */
:root {
  --bg: #0b0d10;
  --surface: #15181d;
  --surface-raised: #1e2228;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: #a1a7b0;
  --text-3: #6b717a;
  --accent: #ff6b2c;
  --gold: #ffb547;
  --sunset: linear-gradient(135deg, #ff8a3d, #ff4e50);
  --navy: radial-gradient(120% 90% at 50% 0%, #0d2a5e 0%, #071228 45%, #0b0d10 80%);
  --serif: "Fraunces", "New York", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { background: var(--navy); padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8vw, 84px); }
.lead { color: var(--text-2); font-size: clamp(18px, 2.2vw, 21px); max-width: 34ch; margin: 20px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--text); color: #000; font-weight: 700; font-size: 16px;
}
.badge:hover { text-decoration: none; opacity: 0.9; }
.badge svg { width: 20px; height: 20px; }
.badge small { display: block; font-size: 11px; font-weight: 600; opacity: 0.6; line-height: 1; }
.ghost { color: var(--text-2); font-weight: 600; }

.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.hero-phones .phone:nth-child(1) { left: 6%; top: 40px; transform: rotate(-6deg); }
.hero-phones .phone:nth-child(2) { left: 40%; top: 0; transform: rotate(4deg); z-index: 2; }

/* Phone frame around real screenshots */
.phone {
  border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #2a2f37, #101216);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 640 / 1306; object-fit: cover; }

/* Sections */
section { padding: 88px 0; }
.section-title { font-size: clamp(34px, 5vw, 52px); max-width: 18ch; }
.section-sub { color: var(--text-2); font-size: 19px; max-width: 52ch; margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step { background: var(--surface); border: 1px solid var(--stroke); border-radius: 24px; padding: 28px; }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 107, 44, 0.16); color: var(--accent); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--text-2); margin: 0; }

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; align-items: start; }
.showcase figure { margin: 0; }
.showcase figcaption { color: var(--text-2); font-size: 15px; margin-top: 14px; text-align: center; }
.showcase figure:nth-child(even) { margin-top: 48px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.feature { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--stroke); }
.feature h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-2); margin: 0; }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold); background: rgba(255, 181, 71, 0.12); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

.closing { text-align: center; background: var(--navy); }
.closing .section-title { margin: 0 auto; }
.closing .section-sub { margin: 16px auto 32px; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 36px 0 48px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-2); }

/* Legal / support pages */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 10px; }
.doc .updated { color: var(--text-3); margin: 0 0 36px; }
.doc h2 { font-family: var(--sans); font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--stroke); vertical-align: top; color: var(--text-2); }
.doc th { color: var(--text); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px; padding: 20px 22px; margin: 24px 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-phones { height: 440px; }
  .hero-phones .phone { width: 200px; }
  .hero-phones .phone:nth-child(1) { left: 2%; }
  .hero-phones .phone:nth-child(2) { left: auto; right: 2%; }
  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  section { padding: 64px 0; }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .hero-phones { height: 360px; }
  .hero-phones .phone { width: 168px; padding: 7px; border-radius: 30px; }
  .hero-phones .phone img { border-radius: 24px; }
  .showcase { gap: 14px; }
  .showcase figure:nth-child(even) { margin-top: 28px; }
}
