/* Pixel Finance — pixelside.com/pixelfinance · Obsidian Wealth web styles
   Ink-black canvas, Electric Emerald ONLY for meaning, quiet typography.
   Self-contained: system font stack (no Google Fonts — the no-tracking brand
   extends to this site: zero third-party requests, zero analytics). */

:root {
  --ink: #0E0E0E;
  --surface: #161616;
  --hairline: #222222;
  --paper: #EDEBEA;
  --dim: #A1A1A1;
  --outline: #6C6C6C;
  --emerald: #00E1A1;
  --emerald-dim: #00C48D;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-size: 13px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--paper); text-decoration: none; text-transform: uppercase;
}
.wordmark span { color: var(--emerald); }
nav a {
  color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 500;
  margin-left: 28px;
}
nav a:hover { color: var(--paper); }

/* ---------- ethereal background (mirrors the app's EtherealBackground: slow
   drifting emerald washes on ink — ambience, not decoration) ---------- */
body { overflow-x: hidden; position: relative; }
.ether {
  position: absolute; top: -180px; left: 0; right: 0; height: 130vh;
  pointer-events: none; z-index: -1; overflow: hidden;
}
.ether i {
  position: absolute; display: block; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 225, 161, 0.11), transparent 62%);
  filter: blur(70px);
  will-change: transform;
}
.ether i:nth-child(1) {
  width: 620px; height: 620px; top: -140px; left: -160px;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.ether i:nth-child(2) {
  width: 540px; height: 540px; top: 160px; right: -200px;
  background: radial-gradient(circle, rgba(0, 225, 161, 0.08), transparent 62%);
  animation: drift-b 34s ease-in-out infinite alternate;
}
.ether i:nth-child(3) {
  width: 460px; height: 460px; top: 560px; left: 30%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.07), transparent 62%);
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0) scale(1); }    to { transform: translate(90px, 60px) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.08); } to { transform: translate(-70px, 90px) scale(0.96); } }
@keyframes drift-c { from { transform: translate(0, 0); }             to { transform: translate(60px, -70px); } }
@media (prefers-reduced-motion: reduce) { .ether i { animation: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 72px 0 40px; position: relative; }
.hero .kicker {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 30px;
}
.hero .kicker span { color: var(--emerald); font-weight: 700; }
h1 {
  font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.08; max-width: 17ch; margin: 0 auto;
}
h1 em { font-style: normal; color: var(--emerald); }
.hero p.sub {
  color: var(--dim); font-size: clamp(16px, 2.2vw, 19px);
  max-width: 52ch; margin: 24px auto 0;
}
.hero .cta {
  display: inline-block; margin-top: 36px;
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 15px 34px; border-radius: 999px;
}
.hero .cta:hover { background: #fff; }
.hero .cta-note { display: block; margin-top: 14px; color: var(--outline); font-size: 13px; }

/* ---------- phone screenshots ---------- */
.phones {
  display: flex; justify-content: center; align-items: flex-end; gap: 28px;
  padding: 56px 0 24px; flex-wrap: wrap;
}
.phone {
  width: min(280px, 78vw);
  border-radius: 36px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone img { display: block; width: 100%; height: auto; }
.phone.side { width: min(240px, 64vw); opacity: 0.92; }
@media (max-width: 720px) { .phone.side { display: none; } }

/* ---------- pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding: 48px 0 8px;
}
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px;
}
.pillar h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.pillar h3::before { content: "— "; color: var(--emerald); }
.pillar p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }

/* ---------- feature rows ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
}
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 32px; } }
.feature:nth-of-type(even) .feature-media { order: 2; }
@media (max-width: 820px) { .feature:nth-of-type(even) .feature-media { order: 0; } }
.feature-media { display: flex; justify-content: center; }
.feature h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.feature p { color: var(--dim); margin-top: 16px; max-width: 46ch; }
.feature ul { list-style: none; margin-top: 20px; }
.feature li {
  color: var(--dim); font-size: 15px; padding: 7px 0 7px 26px; position: relative;
}
.feature li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 12px; height: 2px; background: var(--emerald); border-radius: 2px;
}
.feature li strong { color: var(--paper); font-weight: 600; }

/* ---------- comparison table ---------- */
.compare {
  padding: 72px 0 8px;
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
}
.compare h2 {
  font-size: clamp(26px, 3.6vw, 36px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; text-align: center;
}
.compare .compare-sub {
  color: var(--dim); text-align: center; max-width: 54ch; margin: 14px auto 0;
}
.compare-scroll { overflow-x: auto; margin-top: 36px; -webkit-overflow-scrolling: touch; }
.compare table {
  border-collapse: collapse; width: 100%; min-width: 680px;
  font-size: 14.5px;
}
.compare th, .compare td {
  padding: 13px 16px; text-align: center; border-top: 1px solid var(--hairline);
  color: var(--dim); vertical-align: top;
}
.compare thead th { border-top: none; padding-bottom: 10px; }
.compare th[scope="row"] {
  text-align: left; color: var(--paper); font-weight: 600;
}
.compare thead th { color: var(--paper); font-weight: 700; }
.compare col.us-col { background: rgba(0, 225, 161, 0.05); }
.compare thead th.us { color: var(--emerald); }
.compare td.yes { color: var(--emerald); font-weight: 600; }
.compare td.no { color: var(--outline); }
.compare .compare-note {
  color: var(--outline); font-size: 13px; text-align: center; margin-top: 18px;
}
.compare .compare-note a { color: var(--dim); text-decoration: none; }
.compare .compare-note a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- privacy banner ---------- */
.privacy-banner {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: linear-gradient(180deg, #131313, #0E0E0E);
  text-align: center; padding: 64px 32px; margin: 72px 0;
}
.privacy-banner h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.privacy-banner p { color: var(--dim); max-width: 56ch; margin: 16px auto 0; }
.privacy-banner a.link { color: var(--emerald); font-weight: 600; text-decoration: none; }
.privacy-banner a.link:hover { text-decoration: underline; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 36px 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  color: var(--outline); font-size: 13.5px;
}
footer a { color: var(--dim); text-decoration: none; margin-right: 22px; }
footer a:hover { color: var(--paper); }

/* ---------- privacy page ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 24px 96px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); margin: 40px 0 8px; max-width: none; }
.doc .updated { color: var(--outline); font-size: 13.5px; }
.doc h2 { font-size: 19px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc h2::before { content: "— "; color: var(--emerald); }
.doc p { color: var(--dim); font-size: 15.5px; margin-top: 10px; }
.doc p strong { color: var(--paper); }
.doc .lede { font-size: 18px; color: var(--paper); margin-top: 20px; }
