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

:root {
  --graphite: #212022;
  --surface: #2A2A2E;
  --surface-2: #34343A;
  --border: #46464D;
  --text: #F4F4F5;
  --text-muted: #A1A1AA;
  --cyan: #00E5FF;
  --lime: #A6FF00;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.4);
  transition: border-color 0.15s ease;
}

a:hover { border-bottom-color: var(--cyan); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }

.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 36px;
}

/* Header / letterhead */
.site-header {
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.site-header img { height: 56px; width: auto; display: block; }

/* Hero */
.hero { margin-bottom: 44px; }
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* Section */
section { margin-bottom: 64px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 20px;
}
section h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* Service / process blocks */
.block { margin-bottom: 28px; }
.block:last-child { margin-bottom: 0; }
.block h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.block p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* Process step counter */
.steps { counter-reset: step; }
.steps .block { position: relative; padding-left: 36px; }
.steps .block::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Contact */
.contact { margin-bottom: 0; }
.contact p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact p:last-child { margin-bottom: 0; }
.contact .email {
  color: var(--text);
  font-weight: 500;
}
.contact .email a {
  color: var(--cyan);
  border-bottom-color: rgba(0, 229, 255, 0.5);
}

/* Legal page content */
.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.legal .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 65ch;
}
.legal ul {
  list-style: none;
  margin-bottom: 14px;
  padding-left: 0;
}
.legal li {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  max-width: 65ch;
}
.legal li::before {
  content: "·";
  color: var(--lime);
  position: absolute;
  left: 4px;
  font-weight: 700;
}

/* Footer band */
.footer-band {
  width: 100%;
  padding: 18px 32px;
  background: var(--graphite);
  border-top: 3px solid var(--cyan);
  border-bottom: 3px solid var(--lime);
  text-align: center;
  margin-top: auto;
}
.footer-band p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}
.footer-band .sep { color: var(--lime); margin: 0 5px; }
@media (min-width: 720px) {
  .footer-band p { white-space: nowrap; }
}
.footer-band .accent { color: var(--cyan); }
.footer-band a {
  color: var(--text);
  border-bottom: none;
}
.footer-band a:hover { color: var(--cyan); }

/* ── Direction B: "One Signature Moment" ──
   Vanilla port of two cursor-driven 21st.dev ideas (pointermove → CSS vars →
   radial-gradient), re-tinted to the brand cyan/lime. All effects are pointer-
   driven only (no autoplay) and disabled on touch / reduced motion via main.js. */

/* Headline: subtle cyan→white→lime gradient echoing the wordmark colour-play.
   White stays dominant; the tints are a thin layer at each edge. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(100deg, #cdf7ff 0%, var(--text) 38%, var(--text) 62%, #e7ffbf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Hero cursor glow — a faint cyan light that tracks the pointer inside the hero */
.hero { position: relative; }
.hero h1, .hero p, .hero .btn { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 0%),
    rgba(0, 229, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover-glow CTA button (single primary CTA, brand cyan) */
.btn {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 22px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: var(--cyan);
  color: var(--graphite);
  font-size: 15px;
  font-weight: 600;
  transition: box-shadow 0.25s ease;
}
.btn:hover {
  border-bottom-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 26px rgba(0, 229, 255, 0.45);
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Spotlight service cards — glow follows the cursor across each tile */
.card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(160px 160px at var(--mx, -200px) var(--my, -200px),
    rgba(0, 229, 255, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card > * { position: relative; z-index: 1; }

/* Ambient glow for every other content region — home-page sections and each
   legal-page heading/paragraph/list. Tagged by main.js; sits behind the text
   (z-index:-1) so the copy stays crisp. Header and footer are never tagged. */
.glow { position: relative; isolation: isolate; border-radius: 10px; }
.glow::before {
  content: "";
  position: absolute;
  inset: -8px -14px;
  z-index: -1;
  pointer-events: none;
  border-radius: 12px;
  background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 50%),
    rgba(0, 229, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Activate every glow only for real hover-capable pointers (not touch) */
@media (hover: hover) and (pointer: fine) {
  .hero:hover::after,
  .card:hover::before,
  .glow:hover::before { opacity: 1; }
  .card:hover { border-color: rgba(0, 229, 255, 0.4); }
}

/* Responsive */
@media (max-width: 640px) {
  .page { padding: 36px 22px 28px; }
  .site-header { margin-bottom: 22px; padding-bottom: 12px; }
  .site-header img { height: 44px; }
  .hero { margin-bottom: 36px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  section { margin-bottom: 48px; }
  section h2 { font-size: 21px; margin-bottom: 22px; }
  .legal h1 { font-size: 26px; }
  .legal .updated { margin-bottom: 36px; }
  .footer-band { padding: 16px 18px; }
  .footer-band p { font-size: 12px; line-height: 2; }
  .footer-band .sep { margin: 0 5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .hero::after,
  .card::before,
  .glow::before { opacity: 0 !important; }
}
