/* =========================================================
   LearnWise Solutions — Shared Stylesheet
   Warm & approachable design system
   ========================================================= */

:root {
  /* Palette — Navy & amber */
  --cream:        #F8F6F0;
  --cream-2:      #EFEADF;
  --sand:         #E7E0D2;
  --terracotta:   #1B2B4B;  /* primary navy */
  --terracotta-d: #10203A;  /* navy, darker */
  --amber:        #E06D26;  /* amber accent */
  --teal:         #C25A1C;  /* amber, mid */
  --teal-d:       #A34A16;  /* amber, deep (text-safe) */
  --ink:          #1B2B4B;
  --ink-soft:     #55606B;
  --line:         #E7E1D5;
  --white:        #FFFFFF;

  /* Type */
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --radius:   18px;
  --radius-s: 12px;
  --radius-l: 28px;
  --shadow:   0 14px 40px rgba(20, 30, 45, 0.13);
  --shadow-s: 0 6px 20px rgba(20, 30, 45, 0.10);
  --maxw:     1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.3px; }
h3 { font-size: 1.3rem; }

p  { margin: 0 0 1.1em; }

a  { color: var(--terracotta-d); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta-d);
  background: var(--cream-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: var(--shadow-s);
}
.btn-primary:hover { background: var(--terracotta-d); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal-d); color: var(--terracotta-d); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 240, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .mark { flex: 0 0 auto; }
.brand b { color: var(--terracotta-d); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--terracotta-d); text-decoration: none; }
.nav-links a.active { color: var(--terracotta-d); border-bottom-color: var(--teal-d); }
.nav-cta { margin-left: 8px; }
.nav-links .nav-cta a, .nav-links .nav-cta a:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(1100px 500px at 82% -8%, rgba(224,109,38,0.22), transparent 60%),
    radial-gradient(900px 500px at 5% 20%, rgba(27,43,75,0.10), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span { color: var(--terracotta-d); }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-centered { max-width: 820px; }
.hero-centered .hero-cta { justify-content: center; }
.hero-logo { margin: 0 auto 22px; line-height: 0; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-l);
  background: linear-gradient(150deg, #fff, var(--cream-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--terracotta-d);
  margin-bottom: 18px;
}
.icon-badge.teal { color: var(--teal-d); background: rgba(224,109,38,.16); }
.icon-badge.amber { color: #A34A16; background: rgba(224,109,38,.26); }

/* numbered steps */
.step-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-d);
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 2px solid var(--sand);
  border-radius: 50%;
  margin-bottom: 16px;
}

/* soft alternating band */
.band { background: var(--cream-2); }
.band-sand { background: var(--sand); }

/* pill / coming soon */
.pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-d);
  background: rgba(224,109,38,.16);
  padding: 5px 12px;
  border-radius: 999px;
}
.card.placeholder {
  border-style: dashed;
  background: linear-gradient(180deg, #fff, var(--cream));
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--terracotta-d), var(--terracotta));
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--terracotta-d); }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--terracotta-d); }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-s);
}
.founder-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--teal), var(--terracotta-d));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 3.4rem;
  color: #fff;
  box-shadow: var(--shadow-s);
}
.founder h3 { margin-bottom: .1em; }
.founder .role { color: var(--terracotta-d); font-weight: 600; margin-bottom: 1em; }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--terracotta-d); line-height: 1; }
.stat .label { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
}
.email-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--terracotta-d);
  margin: 10px 0 6px;
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #E3E8EE;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--amber); }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #AEB9C6; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-desc { color: #94A0AE; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .88rem;
  color: #7E8B9A;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px 22px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 10px 0; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 24px; }
  .contact-card { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
