/* Polson — polson.app  |  static marketing + legal site */

:root {
  --bg:        #0a0f1a;
  --bg-2:      #0d1424;
  --panel:     #111a2e;
  --line:      #1e2a44;
  --text:      #e9eef7;
  --muted:     #9aa8be;
  --faint:     #6b7a93;
  --teal:      #38c5ac;
  --blue:      #2f74c0;
  --accent:    #35b8c4;
  --grad:      linear-gradient(135deg, #38c5ac 0%, #2f74c0 100%);
  --radius:    18px;
  --maxw:      1080px;
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,26,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 620px){ .nav-links { gap: 16px; } .nav-links a.hide-sm { display:none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 90px; text-align: center; overflow: hidden; }
.hero .glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background: radial-gradient(60% 60% at 50% 30%, rgba(56,197,172,0.16), transparent 70%),
              radial-gradient(50% 50% at 70% 20%, rgba(47,116,192,0.18), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-mark { width: 96px; height: 96px; border-radius: 24px; display: inline-block; position: relative; z-index: 1;
  box-shadow: 0 20px 60px rgba(47,116,192,0.35); }
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(40px, 8vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin: 30px 0 0;
}
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { position: relative; z-index:1; font-size: clamp(19px, 3.4vw, 26px); color: var(--text); font-weight: 600; margin-top: 22px; letter-spacing: -0.01em; }
.hero .sub { position: relative; z-index:1; max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }
.pill {
  position: relative; z-index:1; display: inline-flex; align-items: center; gap: 9px; margin-top: 34px;
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  color: var(--muted); font-size: 14.5px; font-weight: 600;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

/* ---------- Sections ---------- */
section { position: relative; }
.band { padding: 84px 0; border-top: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--teal); }
.band h2 { font-size: clamp(28px, 5vw, 42px); letter-spacing: -0.03em; font-weight: 800; margin: 14px 0 0; max-width: 720px; }
.band .lead { color: var(--muted); font-size: 18px; max-width: 660px; margin: 18px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 860px){ .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: #2b3c60; }
.card .k { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--teal); }
.card h3 { font-size: 17px; margin: 12px 0 6px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.5px; }

.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px){ .two { grid-template-columns: 1fr; gap: 28px; } }
.stat-row { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display:block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip:text; background-clip:text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 60px; margin-top: 30px; color: var(--faint); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer a { color: var(--muted); font-size: 14.5px; margin-right: 20px; }
.footer a:hover { color: var(--text); }
.footer .small { font-size: 13px; color: var(--faint); width: 100%; margin-top: 6px; }

/* ---------- Legal / prose pages ---------- */
.doc { padding: 66px 0 40px; }
.doc .wrap { max-width: 760px; }
.doc .back { color: var(--muted); font-size: 14.5px; display: inline-flex; gap: 7px; align-items: center; margin-bottom: 30px; }
.doc .back:hover { color: var(--text); }
.doc h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.03em; font-weight: 800; }
.doc .eff { color: var(--faint); font-size: 14.5px; margin-top: 10px; }
.doc h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #c7d2e2; font-size: 16px; margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc strong { color: var(--text); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.doc .note { color: var(--faint); font-size: 14px; font-style: italic; }

/* ---------- Support extras ---------- */
.faq { margin-top: 30px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 4px 20px; margin-top: 12px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.btn { display:inline-block; margin-top: 22px; padding: 13px 24px; border-radius: 12px; background: var(--grad); color: #06121f; font-weight: 700; font-size: 15.5px; }
