:root {
  --bg: #eae2f8; /* Soft lavender background */
  --surface: #ffffff; /* Cards and header surface */
  --primary: #1f3a5f; /* Navy */
  --accent: #7dd3fc; /* Sky */
  --text: #0b1220; /* Deep ink */
  --text-muted: #46566e; /* Muted navy */
  --border: #e3e8ef; /* Cool border */
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(31, 58, 95, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Typography */
h1,
h2,
h3 {
  font-family: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
  transition: transform 120ms ease;
  z-index: 1000;
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 20px 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 14px; /* larger presence */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.05rem; /* slight bump */
}
.brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), #2e5489);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

main {
  padding-top: 10vh;
  padding-bottom: 12vh;
}

.hero {
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.accent-underline {
  position: relative;
  display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #bfe7ff);
  opacity: 0.6;
  z-index: -1;
  border-radius: 6px;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
}

.cta,
button,
input[type='submit'],
input[type='button'] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid #000;
  border-radius: 9999px;
  box-shadow: 0 6px 0 #000;
  font-family: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease,
    background-color 120ms ease, color 120ms ease;
  min-height: 48px; /* touch target */
  cursor: pointer;
}
.cta:focus-visible,
button:focus-visible,
input[type='submit']:focus-visible,
input[type='button']:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.cta:hover,
button:hover,
input[type='submit']:hover,
input[type='button']:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #000;
}
.cta:active,
button:active,
input[type='submit']:active,
input[type='button']:active {
  transform: translateY(0);
  box-shadow: 0 3px 0 #000;
}

.section {
  margin: 72px auto 0;
  max-width: 860px;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}
.prose p {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.vision {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}
.vision li {
  margin-bottom: 8px;
}

.pillars {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
  text-align: left;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

footer {
  position: sticky;
  bottom: 0;
  z-index: 90;
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.copyright {
  margin: 0;
}
.social-link {
  display: inline-flex;
  color: var(--text-muted);
}
.social-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 36px 16px 16px;
  }
  main {
    padding-top: 8vh;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Smooth scrolling for anchor jumps */
html {
  scroll-behavior: smooth;
}
