/* ===================================================================
   Montigo, shared light design system (montigo.school)
   Warm honey + coral, Inter + Sora, soft hard-ledge cards.
   Linked from every page. Page-specific layout stays inline per page.
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --bg:      #efe7d8;   /* warm page background */
  --cream:   #fffdf7;   /* cards, surfaces */
  --ink:     #2a2620;   /* primary text */
  --ink-2:   #5c5446;   /* secondary text */
  --mut:     #8a8170;   /* muted text */
  --honey:   #c98a2e;   /* primary accent */
  --honeybg: #f7ecd6;   /* honey wash band */
  --coral:   #ef6c44;   /* CTA / warm accent */
  --green:   #2f9e5b;
  --blue:    #3697DD;
  --gold:    #F9BA3E;   /* kept as a secondary accent */
  --line:    #e7dcc6;   /* borders */
  --line-2:  #efe6d4;   /* faint borders */
  --ledge:   3px 3px 0 var(--line);  /* the airy-neo hard ledge */
  --font:    'Inter', system-ui, sans-serif;
  --display: 'Sora', 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.display { font-family: var(--display); }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.container { max-width: 1100px; margin: 0 auto; width: 100%; }

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark svg { display: block; }
.logo-word {
  font-family: var(--display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.04em; line-height: 1; white-space: nowrap; color: var(--ink);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px; height: 64px;
  background: rgba(255,253,247,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.nav-inner { max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--honey); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--coral); color: #fff;
  font-family: var(--font); font-weight: 600; font-size: 0.9375rem;
  padding: 13px 26px; border-radius: 11px; border: none; cursor: pointer;
  box-shadow: 3px 3px 0 #d4542c;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #d4542c; filter: brightness(1.02); }
.btn-primary:active { transform: translate(3px,3px); box-shadow: 0 0 0 #d4542c; }
.nav-cta {
  background: var(--coral); color: #fff; font-family: var(--font);
  font-weight: 600; font-size: 0.875rem; padding: 9px 18px; border-radius: 9px;
  border: none; cursor: pointer; box-shadow: 2px 2px 0 #d4542c;
  transition: transform 0.12s, box-shadow 0.12s;
}
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 #d4542c; }
.btn-ghost {
  background: transparent; color: var(--ink-2); font-family: var(--font);
  font-weight: 600; font-size: 0.9375rem; padding: 13px 4px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ── APP STORE BADGE BUTTONS ── */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff;
  padding: 10px 18px 10px 16px; border-radius: 12px;
  box-shadow: 3px 3px 0 rgba(42,38,32,0.25);
  transition: transform 0.12s, box-shadow 0.12s;
}
.store-btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 rgba(42,38,32,0.3); }
.store-btn:active { transform: translate(3px,3px); box-shadow: 0 0 0 rgba(42,38,32,0.3); }
.store-btn svg { flex-shrink: 0; }
.store-btn .store-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .store-sub { font-size: 0.62rem; opacity: 0.8; letter-spacing: 0.02em; }
.store-btn .store-name { font-family: var(--display); font-weight: 600; font-size: 0.98rem; }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--honey); margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px;
  max-width: 600px;
}
.section-sub { font-size: 1.05rem; color: var(--ink-2); max-width: 520px; line-height: 1.65; }

/* ── GENERIC CARD (hard ledge) ── */
.card {
  background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 14px; box-shadow: var(--ledge);
}

/* ── DOWNLOAD BAND (parent app) ── */
.download { background: var(--honeybg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 24px; }
.download-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.download-copy { max-width: 520px; }
.download-copy .section-eyebrow { color: var(--coral); }
.download h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.download p { font-size: 1rem; color: var(--ink-2); line-height: 1.65; }

/* ── FOOTER ── */
footer { background: var(--cream); border-top: 1px solid var(--line); padding: 52px 24px 40px; display: flex; justify-content: center; }
.footer-inner { max-width: 1100px; width: 100%; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo-word { font-size: 1.2rem; }
.footer-tagline { font-size: 0.85rem; color: var(--mut); margin-top: 12px; line-height: 1.6; max-width: 230px; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { font-size: 0.85rem; color: var(--ink-2); transition: color 0.2s; }
.footer-links-list a:hover { color: var(--honey); }
.footer-stores { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.footer-stores .store-btn { padding: 8px 14px; box-shadow: 2px 2px 0 rgba(42,38,32,0.25); }
.footer-stores .store-name { font-size: 0.9rem; }
.footer-bottom {
  grid-column: 1 / -1; width: 100%; border-top: 1px solid var(--line);
  padding-top: 22px; margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.78rem; color: var(--mut); }
.footer-domain { font-size: 0.78rem; color: var(--honey); font-weight: 700; }

/* ── SHARED RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .download-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 380px) {
  .nav-cta { padding: 8px 13px; font-size: 0.8rem; }
  .store-row { gap: 9px; }
  .store-btn { padding: 9px 13px; }
}
