/* NITYĀ marketing site — shared styles.
   Palette tracks lib/config/theme/app_colors.dart so the site and the app
   read as one product. */

:root {
  --brand-violet: #651CF2;
  --brand-magenta: #F535BC;
  --brand-gold: #FDB437;
  --brand-gradient: linear-gradient(
    90deg, var(--brand-violet), var(--brand-magenta), var(--brand-gold));

  --bg: #ffffff;
  --surface: #faf8ff;
  --text: #17151f;
  --text-muted: #5c5870;
  --outline: #e6e1f2;
  --link: #5a19d8;

  --maxw: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100e18;
    --surface: #1a1726;
    --text: #f3f1f8;
    --text-muted: #a9a3bd;
    --outline: #2e2942;
    --link: #b79bff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* The gradient rule at the top of every page — the app's brand sweep. */
body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-gradient);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.site {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand-gradient);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.25rem;
  flex: none;
}

header.site a.name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 .5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h3 { font-size: 1.05rem; margin: 1.5rem 0 .35rem; }

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

ul { padding-left: 1.15rem; }
li { margin: .3rem 0; }

.cta {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.features li {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 0;
}

.features strong { display: block; margin-bottom: .15rem; }
.features span { color: var(--text-muted); font-size: .93rem; }

.meta {
  color: var(--text-muted);
  font-size: .9rem;
}

footer.site {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--outline);
  color: var(--text-muted);
  font-size: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

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

code {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 6px;
  padding: .1rem .35rem;
  font-size: .9em;
}
