/* Neon Palm site. Colors mirror docs/design/tokens.json (Sunset Drive).
   Text uses the system font stack; the wordmark is Pacifico converted to SVG paths. */

:root {
  --bg: #000000;
  --surface: #121214;
  --wine: #7a1e5c;
  --rose: #e2466e;
  --pink: #ff2d78;
  --amber: #ffaa1f;
  --text: #ffffff;
  --text-2: rgba(235, 235, 245, 0.72);
  --text-3: rgba(235, 235, 245, 0.5);
  --hairline: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --gutter: 20px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

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

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

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

/* Header */
.site-header { border-bottom: 1px solid var(--hairline); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.wordmark { display: block; height: 30px; width: auto; filter: drop-shadow(0 0 10px rgba(255, 45, 120, 0.55)); }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--text-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(226, 70, 110, 0.35), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(122, 30, 92, 0.6), transparent 75%),
    var(--bg);
}
.hero::after {
  /* Retro horizon stripes */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: repeating-linear-gradient(to bottom, transparent 0 14px, rgba(255, 45, 120, 0.12) 14px 16px);
  mask-image: linear-gradient(to bottom, transparent, #000);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero-mark {
  width: 132px; height: 132px; border-radius: 30px;
  box-shadow: 0 0 60px rgba(255, 45, 120, 0.35), 0 0 0 1px var(--hairline);
}
.hero .wordmark { height: clamp(72px, 14vw, 120px); margin: 20px auto 8px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--amber);
}
.hero h1 {
  font-size: clamp(26px, 4.4vw, 40px); font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.15; margin: 12px auto 16px; max-width: 760px;
}
.hero p.lead { color: var(--text-2); max-width: 620px; margin: 0 auto; font-size: 18px; }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-width: 180px; min-height: 56px; padding: 8px 20px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04); color: var(--text);
}
.badge small { font-size: 11px; color: var(--text-3); line-height: 1.2; }
.badge strong { font-size: 18px; font-weight: 600; line-height: 1.25; }

/* Features */
.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 8px; line-height: 1.2;
}
.section .sub { color: var(--text-2); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card .dot {
  display: block; width: 28px; height: 4px; border-radius: 2px; margin-bottom: 16px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
}
.pro-note {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.14), rgba(255, 170, 31, 0.1));
  border: 1px solid rgba(255, 45, 120, 0.3); color: var(--text-2); font-size: 15px;
}
.pro-note strong { color: var(--text); }

/* Legal pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.15; }
.doc .meta { color: var(--text-3); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc td { color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; color: var(--text-3); font-size: 14px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.site-footer .links a { color: var(--text-2); }
.site-footer p { margin: 6px 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .site-header .wordmark { height: 26px; }
  .hero { padding: 48px 0 72px; }
  .hero-mark { width: 104px; height: 104px; border-radius: 24px; }
  .badge { width: 100%; max-width: 320px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: glow 4s ease-in-out infinite alternate; }
  @keyframes glow {
    from { box-shadow: 0 0 40px rgba(255, 45, 120, 0.25), 0 0 0 1px var(--hairline); }
    to { box-shadow: 0 0 72px rgba(255, 45, 120, 0.45), 0 0 0 1px var(--hairline); }
  }
}
