/* Cognaa web styles — lightweight, responsive, accessible */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@600;700&display=swap');

:root {
  --font-display: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ink: #2D3748;
  --neutral-100: #F7FAFC;
  --neutral-200: #EDF2F7;
  --teal: #14B8A6;
  --sky: #60A5FA;
  --coral: #FF6B6B;
  --peach: #FFAC82;
  --warm-blue: #4FC3F7;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(255, 172, 130, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 107, 107, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #FFF8F5 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--neutral-200);
}

nav.container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0;
}

.brand { display: flex; align-items: center; gap: .6rem; }
.brand svg { width: 32px; height: 32px; }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .2px; }

.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; padding: .4rem .6rem; border-radius: 8px; }
.nav-links a[aria-current="page"] { background: var(--neutral-100); }

.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .7rem 1rem; font-weight: 600;
  background: linear-gradient(90deg, var(--coral), var(--peach));
  color: white; box-shadow: var(--shadow-sm); border: none; cursor: pointer;
}
.cta:hover { filter: brightness(0.97); }
.cta.secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--neutral-200);
}

.hero {
  padding: 56px 0 24px;
}
.hero-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.kicker { font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 2.4rem + 1vw, 3.1rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.8rem + .6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.lead { font-size: 1.125rem; line-height: 1.6; color: #0b1220; }
.badges { display: flex; gap: .6rem; flex-wrap: wrap; margin: .8rem 0 0; }
.badge {
  padding: .35rem .7rem; background: #fff; border: 1px solid var(--neutral-200);
  border-radius: 999px; font-weight: 600; font-size: .82rem; color: #0b1220;
}

.hero-card {
  border-radius: var(--radius);
  background: radial-gradient(1200px 600px at -10% -10%, rgba(255, 172, 130, 0.15), rgba(0,0,0,0) 50%),
              #ffffff;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
  padding: 1.2rem;
}

.section { padding: 44px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--neutral-200); border-bottom: 1px solid var(--neutral-200); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.step {
  display: grid; gap: 1rem; grid-template-columns: 48px 1fr; align-items: start;
}
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(90deg, var(--coral), var(--warm-blue)); color: #fff;
}

.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; } }
.price { font-size: 2rem; font-weight: 700; }
small.hint { color: #334155; }

.founder-note {
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius); padding: 1rem;
}

.footer {
  padding: 36px 0; border-top: 1px solid var(--neutral-200); background: white;
  color: #334155; font-size: .95rem;
}
.footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }

.story-narrative{max-width:720px;margin:0 auto}

/* Utilities */
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.flex{display:flex}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.wrap{flex-wrap:wrap}
.center { text-align: center; }

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link{
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  position: static; width: auto; height: auto; padding: .4rem .6rem; background: var(--sky); color: white;
}

/* Mobile nav */
.menu-btn{ display:none; background:transparent; border:1px solid var(--neutral-200); border-radius:10px; padding:.5rem .6rem;}
@media (max-width: 900px){
  .menu-btn{display:block}
  .nav-links{ display:none; position:absolute; inset: 60px 0 auto 0; background:white; padding: .8rem 1rem; border-bottom:1px solid var(--neutral-200); }
  .nav-links.open{ display:flex; flex-direction:column; align-items:flex-start; gap:.2rem; }
}

/* Feature cards with colorful design */
.feature-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.feature-card.student-first::before {
  background: linear-gradient(90deg, var(--teal), var(--warm-blue));
}

.feature-card.visible-mastery::before {
  background: linear-gradient(90deg, var(--warm-blue), var(--sky));
}

.feature-card.safe-design::before {
  background: linear-gradient(90deg, var(--coral), var(--peach));
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.student-first .feature-icon {
  background: linear-gradient(135deg, var(--teal), var(--warm-blue));
  color: white;
}

.visible-mastery .feature-icon {
  background: linear-gradient(135deg, var(--warm-blue), var(--sky));
  color: white;
}

.safe-design .feature-icon {
  background: linear-gradient(135deg, var(--coral), var(--peach));
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  text-align: center;
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.process-icon.step-1 {
  background: linear-gradient(135deg, var(--teal), var(--warm-blue));
}

.process-icon.step-2 {
  background: linear-gradient(135deg, var(--peach), var(--coral));
}

.process-icon.step-3 {
  background: linear-gradient(135deg, var(--warm-blue), var(--sky));
}

/* Color palette showcase */
.color-palette {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
}

.swatch-teal { background: var(--teal); }
.swatch-sky { background: var(--sky); }
.swatch-coral { background: var(--coral); }
.swatch-peach { background: var(--peach); }
.swatch-warm-blue { background: var(--warm-blue); }

/* Typography showcase */
.typography-showcase {
  padding: 2rem;
  background: linear-gradient(135deg, #FFF8F5, #F7FAFC);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.typography-showcase h4 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.typography-showcase p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #64748B;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
