/* PANSL — placeholder site
   Design language shared with the Lumin Notes app:
   cream surface, charcoal ink, purple→pink gradient, soft rounded cards. */

:root {
  --bg: #FDFCF4;
  --surface: #FFFFFF;
  --surface-alt: #FAFAF7;
  --ink: #2A2C2F;
  --muted: #697077;
  --border: #ECE8E3;
  --accent: #BE95FF;
  --accent-2: #FF73FF;
  --accent-soft: rgba(190, 149, 255, 0.18);
  --gradient: linear-gradient(256deg, #FF73FF 14%, #BE95FF 86%);
  --shadow-sm: 0 1px 2px rgba(42, 44, 47, 0.06), 0 8px 24px rgba(42, 44, 47, 0.06);
  --shadow-lg: 0 2px 4px rgba(42, 44, 47, 0.05), 0 24px 60px rgba(42, 44, 47, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.14; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }

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

/* Brand mark — the concentric gradient dot from the app. */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 24px; height: 24px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--accent-2), var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 5px var(--bg), 0 0 0 2px var(--ink);
  flex: none;
}
.brand-name { font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 244, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; height: 64px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 64px; }
.hero-orb {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 115, 255, 0.18), rgba(190, 149, 255, 0.14) 38%, transparent 64%);
  filter: blur(8px); pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 680; }
.lede { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin: 22px auto 0; max-width: 600px; }

/* Abstract hero figure — concentric rings echoing the brand mark. */
.hero-figure {
  position: relative; z-index: 1; margin: 56px auto 0; max-width: 860px; height: 340px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-figure::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 30%, rgba(255, 115, 255, 0.16), transparent 52%),
              radial-gradient(circle at 74% 72%, rgba(190, 149, 255, 0.20), transparent 52%);
}
.ring, .ring-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.ring { border: 1.5px solid var(--border); }
.ring-1 { width: 300px; height: 300px; }
.ring-2 { width: 210px; height: 210px; }
.ring-3 { width: 124px; height: 124px; opacity: 0.85; }
.ring-core {
  width: 56px; height: 56px;
  background: conic-gradient(from 220deg, var(--accent-2), var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 12px var(--surface), 0 0 0 1px var(--border);
}
.fdot { position: absolute; border-radius: 50%; background: var(--gradient); opacity: 0.7; }
.fdot-a { width: 10px; height: 10px; top: 26%; right: 30%; }
.fdot-b { width: 7px; height: 7px; bottom: 28%; left: 32%; opacity: 0.5; }

/* Sections */
.section { padding: 80px 0; }
.section-head { max-width: 600px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 660; }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--accent-soft); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.card-ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 620; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* About */
.about { background: var(--surface-alt); }
.about-inner { max-width: 680px; text-align: center; }
.about-inner h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 650; }
.about-inner p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 28px 0; }
.footer-min { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-meta { display: flex; align-items: center; gap: 20px; font-size: 13.5px; color: var(--muted); }
.footer-meta a { transition: color .15s; }
.footer-meta a:hover { color: var(--accent); }

/* Legal / content pages (privacy) */
.page-head { padding: 72px 0 4px; }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 680; }
.page-head .updated { color: var(--muted); font-size: 14px; margin-top: 14px; }
.legal { padding: 28px 0 88px; }
.legal .container { max-width: 760px; }
.legal .lead { font-size: 18px; color: var(--muted); margin: 0 0 8px; }
.legal h2 { font-size: 21px; font-weight: 640; margin: 42px 0 12px; }
.legal h3 { font-size: 16.5px; font-weight: 620; margin: 24px 0 8px; }
.legal p { font-size: 16px; color: var(--ink); margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 16px; margin: 7px 0; }
.legal strong { font-weight: 620; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent); }
.legal .callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; }
.legal .callout p:last-child { margin-bottom: 0; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .hero-figure { height: 280px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}
