@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  /* Slightly lifted from pure black — warm dark charcoal */
  --bg:          #141820;
  --bg-2:        #181d27;
  --bg-3:        #1c2230;
  --surface:     #202736;
  --card:        #232a3a;

  --white:       #f2f3f7;
  --white-90:    rgba(242,243,247,0.90);
  --white-70:    rgba(242,243,247,0.70);
  --white-50:    rgba(242,243,247,0.50);
  --white-25:    rgba(242,243,247,0.25);
  --white-12:    rgba(242,243,247,0.12);
  --white-06:    rgba(242,243,247,0.06);

  /* Brand cyan from WordPress site */
  --accent:      #06B6D4;
  --accent-2:    #0891B2;
  --accent-dim:  rgba(6,182,212,0.10);
  --accent-mid:  rgba(6,182,212,0.18);

  /* Rule lines */
  --rule:        rgba(242,243,247,0.10);
  --rule-mid:    rgba(242,243,247,0.18);

  --font-serif:  'Fraunces', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      3px;
}

html { scroll-behavior: smooth; }
body {
  background: #141820;
  background: var(--bg);
  color: #f2f3f7;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
  background: rgba(20,24,32,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule-mid);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--white);
}
.nav-logo-name span { color: var(--accent); }

/* NAV LINKS — fully opaque, clearly readable */
.nav-links {
  display: flex; list-style: none; gap: 2px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  color: var(--white-70);
  font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 6px 14px; border-radius: var(--radius);
  letter-spacing: 0.01em; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--white);
  background: var(--white-06);
}
.nav-links a.active {
  color: var(--white);
  background: var(--white-06);
}

.nav-demo {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #0a0e15;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  padding: 9px 20px; border-radius: var(--radius); border: none;
  text-decoration: none; cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s; flex-shrink: 0;
}
.nav-demo:hover { background: #22d3ee; transform: translateY(-1px); }

/* ══ PAGE ══ */
.page { padding-top: 64px; }

/* ══ SECTION ══ */
.section      { padding: 96px 52px; }
.section.alt  { background: var(--bg-2); }
.section.card-bg { background: var(--bg-3); }
hr.divider    { border: none; border-top: 1px solid var(--rule); margin: 0 52px; }
hr.full       { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ══ TYPE ══ */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.label::before { content:''; width:18px; height:1px; background:var(--accent); }

.display {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 20px;
}
.display em { font-style: italic; color: var(--accent); }
.lead {
  font-size: 16px; font-weight: 300;
  color: var(--white-70); max-width: 520px; line-height: 1.8;
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  padding: 11px 22px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: none;
  letter-spacing: 0.01em; transition: all 0.15s;
}
.btn-accent { background: var(--accent); color: #0a0e15; }
.btn-accent:hover { background: #22d3ee; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--white-70);
  border: 1px solid var(--rule-mid);
}
.btn-ghost:hover { color: var(--white); border-color: var(--white-50); transform: translateY(-1px); }

/* ══ CARD ══ */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; }
.card-accent { background: var(--accent-dim); border: 1px solid rgba(6,182,212,0.25); border-radius: var(--radius); padding: 32px; }

/* ══ TAGS ══ */
.tag { font-size: 11px; font-weight: 400; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 100px; background: var(--white-06); border: 1px solid var(--rule); color: var(--white-50); display: inline-block; }
.tag-accent { background: var(--accent-dim); border-color: rgba(6,182,212,0.3); color: var(--accent); }

/* ══ CITE ══ */
.cite { font-size: 11px; color: var(--white-50); display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; }
.cite a { color: var(--accent); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.cite::before { content: '↗'; font-size: 10px; }

/* ══ PAGE HERO ══ */
.page-hero {
  padding: 96px 52px 80px; background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.page-hero-eyebrow::before { content:''; width:18px; height:1px; background:var(--accent); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white); max-width: 820px; margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero-sub {
  font-size: 16px; font-weight: 300; color: var(--white-70);
  max-width: 500px; line-height: 1.8;
}

/* ══ FOOTER ══ */
footer {
  padding: 32px 52px; background: var(--bg-2);
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo-name { font-family: var(--font-serif); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--white-25); }
.footer-logo-name span { color: var(--accent); opacity: 0.6; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--white-25); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white-50); }
.footer-copy { font-size: 12px; color: var(--white-25); }

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rule-mid); }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 64px 20px 56px; }
  hr.divider { margin: 0 20px; }
  footer { padding: 28px 20px; }
}
