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

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

body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: hidden;
  cursor: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: none; font: inherit; border: none; background: none; }

/* ─── Custom Cursor ─── */
.cursor-outer {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--tr-base), height var(--tr-base), border-color var(--tr-base),
              opacity var(--tr-fast);
  mix-blend-mode: screen;
}
.cursor-inner {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--c-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-blue);
}
.cursor-outer.hover {
  width: 60px; height: 60px;
  border-color: var(--c-cyan);
  background: rgba(0,200,255,0.05);
}

/* ─── Typography ─── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-accent   { color: var(--c-blue); }
.text-accent-2 { color: var(--c-cyan); }
.text-accent-3 { color: var(--c-purple); }
.text-muted    { color: var(--c-text-2); }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

/* ─── Section tag chip ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--c-border-str);
  border-radius: var(--r-full);
  background: var(--c-blue-dim);
  margin-bottom: var(--sp-5);
}

/* ─── Section base ─── */
.section {
  padding: var(--sp-32) 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-16);
}

.section-title {
  font-size: var(--t-5xl);
  margin-bottom: var(--sp-5);
  color: var(--c-text);
}

.section-desc {
  font-size: var(--t-lg);
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ─── Utility: visually-hidden ─── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Page hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-24)) 0 var(--sp-24);
  background: linear-gradient(135deg, var(--c-bg) 60%, var(--c-bg-2));
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,200,255,0.07), transparent);
  pointer-events: none;
}
.page-hero-tag  { margin-bottom: var(--sp-4); }
.page-hero-title {
  font-size: var(--t-7xl);
  margin-bottom: var(--sp-6);
}
.page-hero-desc {
  font-size: var(--t-xl);
  color: var(--c-text-2);
  max-width: 600px;
  line-height: 1.7;
}
