/* Poca 3D — the app's midnight stage, on the web.
   Colors are lifted from CollectionTheme.midnight and the accent used
   across the app's chrome, so site and app read as one product. */

:root {
  --stage-top: #1b1629;
  --stage-bottom: #0a0812;
  --accent: #a594e0;
  --ink: #171224;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.42);
  --hairline: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.05);
  --measure: 720px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--stage-top) 0%, var(--stage-bottom) 100%)
    fixed;
  color: var(--text);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------------------------------------------------------------- header */

header.site {
  padding: 26px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--accent), #6f5fb0);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 74px 0 54px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  margin: 0 auto;
  max-width: 30em;
  font-size: clamp(17px, 2.4vw, 19px);
  color: var(--muted);
}

.pill {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------- feature */

.features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 10px 0 70px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px;
}

.feature h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ------------------------------------------------------------ legal page */

main.doc {
  padding: 44px 0 90px;
}

main.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.updated {
  margin: 0 0 34px;
  color: var(--faint);
  font-size: 14px;
}

main.doc h2 {
  margin: 42px 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

main.doc h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

main.doc p,
main.doc li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

main.doc ul { padding-left: 22px; }
main.doc li { margin-bottom: 8px; }

main.doc a { color: var(--accent); }

main.doc strong { color: var(--text); }

.callout {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 26px 0;
}

.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: rgba(255, 255, 255, 0.78);
}

table.data th {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

/* Narrow screens: let the table scroll rather than the page. */
.scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------------- faq */

.faq {
  border-top: 1px solid var(--hairline);
  padding: 20px 0 4px;
}

.faq h3 { margin: 0 0 6px; }

.faq p { margin: 0 0 4px; }

/* ---------------------------------------------------------------- footer */

footer.site {
  border-top: 1px solid var(--hairline);
  padding: 26px 0 44px;
  color: var(--faint);
  font-size: 14px;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 0.15s ease; }
}
