/* ---------------------------------------------------------------
   D30Social — site styles
   A real landing-page system: sticky nav, hero, cards, bands, footer.
----------------------------------------------------------------- */

:root {
  --ink: #16151c;
  --ink-soft: #45434f;
  --muted: #74727f;
  --line: #e9e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f5fb;
  --accent: #6d4efc;
  --accent-2: #ff5ea0;
  --accent-ink: #5a3ef0;
  --dark: #0f0e16;
  --radius: 18px;
  --shadow: 0 22px 48px -24px rgba(40, 28, 90, 0.35);
  --maxw: 1120px;
}

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

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

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -8px rgba(109, 78, 252, 0.8);
}
.brand .name { line-height: 1.05; }
.brand .name b { font-size: 0.98rem; letter-spacing: -0.01em; display: block; }
.brand .name span { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--accent-ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent-ink); position: relative; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.nav .btn { margin-left: 0.25rem; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem; line-height: 1;
  padding: 0.75rem 1.3rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 12px 26px -12px rgba(109, 78, 252, 0.85);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.btn-light:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- chips / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--accent-ink); background: rgba(109, 78, 252, 0.09);
  padding: 0.42rem 0.85rem; border-radius: 999px;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 0.32rem 0.7rem; border-radius: 999px; vertical-align: middle;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 82% -8%, rgba(255, 94, 160, 0.16), transparent 60%),
    radial-gradient(950px 460px at 6% 4%, rgba(109, 78, 252, 0.18), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero .container {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center;
  padding-top: 5rem; padding-bottom: 5rem;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; margin: 1.2rem 0 1rem; }
.hero .lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 36ch; margin: 0; }
.hero .cta { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }

/* hero decorative art — abstract style-tile moodboard (not a product screenshot) */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* ---------- sections ---------- */
.section { padding: 5rem 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); font-weight: 800; margin: 0.6rem 0 0.9rem; }
.section p.lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.prose p { color: var(--ink-soft); max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: 0 1px 0 rgba(20, 20, 40, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1.1rem;
  display: grid; place-items: center; color: var(--accent-ink);
  background: linear-gradient(135deg, rgba(109, 78, 252, 0.14), rgba(255, 94, 160, 0.14));
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- cta band ---------- */
.band {
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 94, 160, 0.35), transparent 60%),
    linear-gradient(135deg, #241a4d, #40205e);
  color: #fff; border-radius: 28px; padding: 3.2rem;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 2rem; align-items: center;
}
.band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.8rem 0 0.7rem; font-weight: 800; }
.band p { color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 46ch; }
.band .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- company strip ---------- */
.factbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.8rem 2rem;
}
.factbar .fact .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.factbar .fact .v { font-size: 0.98rem; font-weight: 600; margin-top: 0.25rem; }

/* ---------- legal document styling (policy page) ---------- */
.doc { padding: 3.5rem 0 4.5rem; }
.doc .prose { max-width: 46rem; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.2rem; margin: 2.4rem 0 0.75rem; }
.doc h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }
.doc .lede { color: var(--muted); margin-top: 0.4rem; }
table { border-collapse: collapse; width: 100%; margin: 1.3rem 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
th { font-weight: 700; width: 38%; background: var(--bg-alt); }
.scroll { overflow-x: auto; }
.todo { background: #fff2c2; color: #4a3600; padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #c9c8d6; padding: 3.6rem 0 2.4rem; }
.footer a { color: #c9c8d6; }
.footer a:hover { color: #fff; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem; }
.footer .brand { color: #fff; margin-bottom: 0.8rem; }
.footer .brand .name span { color: #9a98ac; }
.footer .blurb { color: #9997ab; font-size: 0.95rem; max-width: 34ch; margin: 0; }
.footer h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8a889c; margin: 0 0 0.9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer .legal {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem; color: #8a889c; line-height: 1.7;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-art { order: -1; max-width: 420px; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 2.2rem; }
  .band .actions { justify-content: flex-start; }
  .factbar { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 1.4rem; }
  .nav.open a { padding: 0.5rem 0; }
  .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.65rem; cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
