/* Nuverian — www.nuverian.com
   Design system aligned with the app: indigo brand, soft cards, light/dark. */

:root {
  --brand: #4338ca;
  --brand-strong: #3730a3;
  --brand-soft: #eef2ff;
  --brand-border: #c7d2fe;

  --bg: #fafafb;
  --surface: #ffffff;
  --text: #18181b;
  --text-muted: #52525b;
  --text-faint: #71717a;
  --border: #e4e4e7;
  --shadow: 0 1px 2px rgb(24 24 27 / 0.04), 0 8px 24px rgb(24 24 27 / 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --maxw-narrow: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #818cf8;
    --brand-strong: #a5b4fc;
    --brand-soft: #1e1b4b;
    --brand-border: #3730a3;

    --bg: #0e0e11;
    --surface: #18181d;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-faint: #8b8b93;
    --border: #27272e;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo svg { flex-shrink: 0; }

.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 .accent { color: var(--brand); }

.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
}
.store-badge:hover { text-decoration: none; opacity: 0.9; }
.store-badge small { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.75; }
.store-badge.soon { cursor: default; opacity: 0.85; }

.hero-note { color: var(--text-faint); font-size: 0.85rem; }

/* Phone screenshots strip */

.shots {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-end;
  padding: 48px 24px 8px;
  flex-wrap: wrap;
}

.shot {
  width: 240px;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}
.shot img { width: 100%; }
.shot.lift { transform: translateY(-20px); }
@media (max-width: 720px) {
  .shot.lift { transform: none; }
  .shot { width: 200px; }
}

.shot-caption {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  padding-bottom: 24px;
}

/* ---------- Provider strip ---------- */

.providers {
  padding: 40px 0 8px;
  text-align: center;
}
.providers .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.provider-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 760px;
  margin: 0 auto;
}
.provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.provider-chip img, .provider-chip svg { height: 18px; width: auto; }
.providers .more { color: var(--text-faint); font-size: 0.85rem; margin-top: 16px; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.section.alt .card { background: var(--bg); box-shadow: none; }

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Trust / privacy section */

.trust {
  background: linear-gradient(160deg, var(--brand-soft), var(--bg) 70%);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--border);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 720px) { .trust-list { grid-template-columns: 1fr; } }

.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
@media (prefers-color-scheme: dark) { .trust-item .check { color: #0e0e11; } }
.trust-item h3 { font-size: 1rem; margin-bottom: 2px; }
.trust-item p { color: var(--text-muted); font-size: 0.93rem; }

/* Pricing */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}
.section.alt .tier { background: var(--bg); }
.tier.featured { border-color: var(--brand); border-width: 2px; padding: 27px 25px; }

.tier-badge {
  position: absolute;
  top: -11px;
  left: 26px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .tier-badge { color: #0e0e11; } }

.tier-name { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.tier-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.tier-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.tier-line { color: var(--text-muted); font-size: 0.94rem; }

.pricing-foot {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  max-width: 620px;
  margin: 28px auto 0;
}

/* FAQ / CTA */

.faq-links { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; }
.faq-links a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}
.faq-links a:hover { border-color: var(--brand); text-decoration: none; }

/* Two-line article cards (support page). The excerpt comes from the help
   centre itself, so the link says what the article answers before you open it. */
.faq-links a .t { display: block; font-weight: 600; }
.faq-links a .e {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* On the support page the list is the page, so it runs full width and two-up
   where there is room, rather than the narrow centred column used on the home page. */
.article .faq-links {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 8px;
}
@media (max-width: 720px) { .article .faq-links { grid-template-columns: 1fr; } }

h3.faq-group {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
  margin: 30px 0 12px;
}

/* ---------- Legal / article pages ---------- */

.article { padding: 56px 0 80px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.article .meta { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 36px; }
.article h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 40px 0 12px; }
.article h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.article p, .article li { color: var(--text-muted); font-size: 0.98rem; }
.article p { margin-bottom: 14px; }
.article ul { margin: 0 0 14px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article .lead { font-size: 1.1rem; }

.article hr.rule { border: 0; border-top: 1px solid var(--border); margin: 48px 0 8px; }

/* Wide tables scroll in their own container so the page body never scrolls sideways. */
.table-wrap { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.article table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 0.93rem;
}
.article th, .article td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.article th {
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom-color: var(--text-faint);
}
.article td { color: var(--text-muted); }
.article tbody tr:last-child td { border-bottom: 0; }

.draft-banner {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #78350f;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 32px;
}
@media (prefers-color-scheme: dark) {
  .draft-banner { background: #451a03; border-color: #b45309; color: #fcd34d; }
}

mark.pending {
  background: #fef08a;
  color: #713f12;
  padding: 0 4px;
  border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  mark.pending { background: #713f12; color: #fef08a; }
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .legalese { color: var(--text-faint); font-size: 0.8rem; max-width: 760px; }
