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

:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-primary: #ff7043;
  --color-primary-hover: #f4511e;
  --color-accent: #00e676;
  --color-deep: #1e3a8a;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; color: var(--color-text); margin-bottom: 0.5em; }
h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--color-text-muted); max-width: 65ch; }
a { color: var(--color-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

.wrap-text, p, h1, h2, h3, li, span, a, .lead-paragraph, .body-text {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.header-row--top { border-bottom: 1px solid var(--color-border); }
.header-row--bottom {
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
}
.main-nav { display: flex; gap: 1.5rem; list-style: none; }
.main-nav a {
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-text); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s;
}
.main-nav a:hover::after { width: 100%; }

.nav-utility { display: flex; align-items: center; gap: 1.25rem; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(0, 230, 118, 0.1);
  color: #00b359;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-dot { width: 8px; height: 8px; background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-text);
  background: var(--color-surface);
}

.hero-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 112, 67, 0.08) 0%, rgba(0, 230, 118, 0.05) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-muted);
  margin: 0 auto 2.5rem;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.section-wrapper { padding: clamp(3rem, 6vw, 6rem) 0; }
.section-heading { text-align: center; margin-bottom: 3rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.lead-paragraph {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), #ffb74d);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.card-title { margin-bottom: 0.75rem; }
.card-body { color: var(--color-text-muted); flex-grow: 1; }

.site-footer {
  background: var(--color-text);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: #94a3b8; margin-top: 1rem; max-width: 300px; }
.footer-col h4 { color: white; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: #94a3b8; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .header-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .main-nav { flex-wrap: wrap; gap: 1rem; }
  .nav-utility { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
