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

:root {
  --indigo-deep: #1e1b4b;
  --blue-electric: #2563eb;
  --white: #ffffff;
  --gray-soft: #f8fafc;
  --gray-text: #475569;
  --gray-border: #e2e8f0;
  --accent-144: hsl(144, 85%, 42%);
  --accent-144-light: hsl(144, 85%, 92%);
  --radius: 12px;
  --shadow: 0 4px 20px rgba(30, 27, 75, 0.08);
  --shadow-hover: 0 10px 32px rgba(37, 99, 235, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--indigo-deep);
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; letter-spacing: -0.02em; color: var(--indigo-deep); }
.section-heading { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); margin-bottom: 1rem; }
.lead-paragraph { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--blue-electric); margin-bottom: 1.5rem; font-weight: 500; line-height: 1.5; }
.body-text { color: var(--gray-text); margin-bottom: 1.25rem; max-width: 65ch; line-height: 1.7; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--accent-144); margin-bottom: 0.75rem; display: block; }

/* Header / Nav */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-border); position: sticky; top: 0; z-index: 100; }
.header-utility { background: var(--indigo-deep); color: var(--white); padding: 0.5rem 0; font-size: 0.85rem; }
.header-utility .container { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.header-utility a { color: #cbd5e1; transition: color var(--transition); }
.header-utility a:hover { color: var(--accent-144); }
.header-main .container { display: flex; justify-content: space-between; align-items: center; height: 72px; flex-wrap: wrap; gap: 1rem; }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--indigo-deep); display: inline-flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--accent-144); }
.nav-list { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.nav-link { font-weight: 500; color: var(--gray-text); transition: color var(--transition); position: relative; padding: 0.25rem 0; }
.nav-link:hover { color: var(--indigo-deep); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-144); transition: width var(--transition); }
.nav-link:hover::after { width: 100%; }
.header-actions { display: flex; gap: 1rem; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all var(--transition); border: none; text-align: center; white-space: nowrap; line-height: 1.2; }
.primary-button { background: var(--accent-144); color: var(--white); }
.primary-button:hover { background: hsl(144, 85%, 36%); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.secondary-button { background: transparent; color: var(--indigo-deep); border: 2px solid var(--gray-border); }
.secondary-button:hover { border-color: var(--blue-electric); color: var(--blue-electric); transform: translateY(-2px); }

/* Hero */
.page-hero { padding: clamp(4rem, 8vw, 9rem) 0 clamp(3rem, 6vw, 6rem); position: relative; overflow: hidden; background: linear-gradient(135deg, var(--gray-soft) 0%, var(--white) 100%); }
.hero-content { max-width: 780px; position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.5rem, 2rem + 4.5vw, 4.75rem); margin-bottom: 1.5rem; line-height: 1.08; }
.hero-title .highlight { color: var(--blue-electric); }
.hero-subtitle { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); color: var(--gray-text); margin-bottom: 2.5rem; max-width: 60ch; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sections & Cards */
.section-wrapper { padding: clamp(4rem, 6vw, 7rem) 0; }
.section-wrapper--alt { background: var(--gray-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 2rem; transition: all var(--transition); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--blue-electric); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent-144); opacity: 0; transition: opacity var(--transition); }
.card:hover::before { opacity: 1; }
.card-title { font-size: 1.35rem; margin: 0.75rem 0; line-height: 1.3; }
.image { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: var(--gray-soft); margin-bottom: 1.25rem; display: block; }

/* Footer */
.site-footer { background: var(--indigo-deep); color: var(--gray-soft); padding: 5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand { max-width: 320px; }
.footer-brand .body-text { margin-top: 1rem; color: #94a3b8; font-size: 0.95rem; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-144); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: #64748b; }

/* Responsive */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-utility .container { justify-content: center; }
  .header-main .container { flex-direction: column; height: auto; padding: 1rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
}
/* 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}
