/* PhillyGenome Theme — Lilac (light, airy purple) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";

  /* Lilac */
  --primary-500: #a78bfa; /* violet-400 */
  --primary-600: #8b5cf6; /* violet-500 */
  --primary-700: #7c3aed; /* violet-600 */
  --primary-800: #6d28d9; /* violet-700 */

  /* Neutrals (brighter surface) */
  --bg: #ffffff;
  --bg-soft: #fbfaff;
  --text: #0f172a;
  --text-muted: #525d7a;
  --border: #ece8ff;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b10;
    --bg-soft: #12121a;
    --text: #eceff6;
    --text-muted: #aab4d6;
    --border: #202136;
    --shadow-sm: 0 4px 14px rgba(0,0,0,0.35);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.45);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(167,139,250,0.12), transparent 60%) no-repeat, var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-600); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-700); }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px; }
.hero { padding: 56px 0 40px; }
.surface { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

h1, h2, h3 { margin: 0 0 12px 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-weight: 300; font-size: 44px; }
h2 { font-weight: 300; font-size: 28px; }
h3 { font-weight: 400; font-size: 22px; }

p { margin: 0 0 16px 0; color: var(--text-muted); }
.muted { color: var(--text-muted); }

.nav { position: sticky; top: 0; background: rgba(255,255,255,0.65); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
@media (prefers-color-scheme: dark) { .nav { background: rgba(10,10,16,0.5); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { font-weight: 500; letter-spacing: -0.02em; }
.nav a { text-decoration: none; margin-left: 18px; color: var(--text-muted); }
.nav a:hover { color: var(--primary-600); }

.btn { appearance: none; border: 0; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 400; cursor: pointer; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #f8faff; background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); box-shadow: 0 8px 24px rgba(167,139,250,0.35); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-500), var(--primary-700)); }
.nav .btn-primary, a.btn-primary, a.btn-primary:visited { color: #f8faff; }
.nav .btn-primary:hover,
.nav .btn-primary:focus,
.nav .btn-primary:active { color: #f8faff; }

/* Enforce white text on primary buttons across all states */
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { color: #ffffff !important; }
.btn-ghost { background: transparent; color: var(--primary-700); border: 1px solid rgba(167,139,250,0.35); }
.btn-ghost:hover { background: rgba(167,139,250,0.08); }

.card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--bg); }
.grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

label { display: block; margin-bottom: 6px; color: var(--text-muted); }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); outline: none; transition: border-color 120ms ease, box-shadow 120ms ease; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-600); box-shadow: 0 0 0 3px rgba(167,139,250,0.20); }

.footer { border-top: 1px solid var(--border); padding: 24px; color: var(--text-muted); }


