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

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

:root {
  --nav-height: 52px;
  --bg: #0F1419;
  --bg-secondary: #141922;
  --bg-card: #1E2330;
  --accent: #FF9900;
  --accent-2: #00BFFF;
  --accent-glow: rgba(255, 153, 0, 0.25);
  --text: #FFFFFF;
  --text-muted: #C4C4DC;
  --link: #00D4FF;
  --border: #2A3340;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a {
  color: var(--link);
  font-weight: 700;
  transition: color 0.15s;
}

a:hover { color: #00E8FF; }
a:visited { color: #00B4D4; }

.btn a,
button a {
  color: inherit;
  font-weight: inherit;
}

a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active {
  color: #0F1111;
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.navbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .logo-icon { font-size: 1.45rem; }

.navbar-brand .logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.navbar-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
}

.navbar-links a:hover { color: var(--text); background: var(--bg-card); }
.navbar-links a.active { color: var(--accent); background: rgba(0, 119, 212, 0.1); font-weight: 700; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
}

.nav-voice-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.58rem 0.58rem;
  min-height: 38px;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.nav-voice-toggle.off {
  opacity: 0.72;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(17, 17, 24, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 998;
  flex-direction: column;
  padding: 0.75rem;
  gap: 0.15rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
}

.mobile-nav a:hover { color: var(--text); background: var(--bg-card); }
.mobile-nav a.active { color: var(--accent); background: rgba(0, 119, 212, 0.1); font-weight: 700; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .nav-voice-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 0.35rem;
  }
}

.page-wrapper {
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.hero {
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(0, 119, 212, 0.1);
  border: 1px solid rgba(0, 119, 212, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.gradient-text {
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.65rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
  white-space: nowrap;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #FFCE12;
  color: #0F1111;
  box-shadow: none;
  border: none;
  font-weight: 700;
}

.btn-primary:hover { background: #F7C200; box-shadow: 0 2px 4px rgba(0,0,0,0.3); color: #0F1111; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { background: var(--bg-card); border-color: rgba(0,119,212,0.4); }

.btn-full { width: 100%; }

.section {
  padding: 3.5rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.section-header { margin-bottom: 2rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0.5rem auto 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: 0.5rem;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(0, 119, 212, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 119, 212, 0.12);
  border: 1px solid rgba(0, 119, 212, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

.about-hero {
  padding: 3.5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 0.9rem;
}

.about-hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

.prose-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
}

.prose-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.prose-section p strong {
  color: var(--text);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #000;
}

.step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-item {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}

.contact-item:hover {
  background: #2A3340;
}

.contact-item-icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.contact-item small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-item span {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.prose h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.4rem;
}

.prose .meta {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.015em;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.prose p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.prose ul, .prose ol {
  color: var(--text-muted);
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

.prose li { margin-bottom: 0.35rem; }

.prose a { color: var(--link); text-decoration: underline; font-weight: 600; }
.prose a:hover { color: #00E8FF; }
.prose strong { color: var(--text); font-weight: 600; }

.prose .toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.prose .toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.prose .toc ol {
  margin-bottom: 0;
  color: var(--text-muted);
}

.prose .toc a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.prose .toc a:hover { color: var(--accent); text-decoration: none; }

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-brand .logo-icon { font-size: 1.3rem; }

.footer-brand .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.18s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-bottom a:hover { color: var(--text); }

.badge {
  display: inline-block;
  background: rgba(0,119,212,0.1);
  border: 1px solid rgba(0,119,212,0.3);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

a {
  color: var(--link);
  font-weight: 600;
  transition: color 0.15s;
}

a:hover { color: #00E8FF; }
a:visited { color: #00B4D4; }
@media (max-width: 768px) {
  .section { padding: 2.5rem 1.25rem; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .prose { padding: 1.5rem 1rem 2.5rem; max-width: 100%; }
  .about-hero { padding: 2.5rem 1.25rem 1.5rem; }
  .prose-section { padding: 0 1.25rem 2rem; }
  .navbar { padding: 0 1.25rem; }
}
