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

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

body {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-accent); }
a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-mono);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

address { font-style: normal; }

/* ===== Utility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-accent { color: var(--c-accent); }
.text-primary { color: var(--c-primary); }
.text-muted { color: var(--c-text-secondary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-accent);
  color: #080d1a;
}
.btn-primary:hover {
  background: #33ffb0;
  color: #080d1a;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-border-bright);
}
.btn-ghost:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
}
.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
}
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { font-size: 1.1em; }

/* ===== Section Common ===== */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--sp-6);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--c-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== Reveal Animation Base ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
