/* ============================================================
   InSite Academy — the AOB Web Kit, with the Academy accent.

   Rule 2 of the kit: "Swap the accent — nothing else. Change a single
   custom property. The whole site re-skins. Never hand-roll a colour."

   So this file sets --accent and its three companions, adds the site
   header the kit specifies (product lockup + nav + a dimmed "by Agility
   Ops" byline), and defines the two components this page needs that a
   style guide has no reason to ship: the curriculum rows and the FAQ.
   Everything else is inherited from aob-kit.css.
   ============================================================ */

:root{
  --accent:#cc785c;
  --accent-deep:#b05536;
  --accent-wash:rgba(204,120,92,.08);
  --accent-ink:#ffffff;
}

/* ---------- Site header — kit rule 3, "product-first header" ----------
   The product lockup and nav lead. The byline is the only outbound
   corporate link, and it is deliberately dimmed. */
.site-head{
  position:sticky;top:0;z-index:50;
  background:rgba(250,249,246,.88);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.site-head .container{display:flex;align-items:center;gap:28px;padding-top:14px;padding-bottom:14px}
.site-head .lockup{text-decoration:none;color:inherit}
.site-nav{display:flex;align-items:center;gap:26px;margin-left:auto}
.site-nav a{
  font-size:14px;color:var(--muted);text-decoration:none;
  transition:color .2s var(--ease);
}
.site-nav a:hover,.site-nav a.active{color:var(--ink)}
.site-nav .btn{margin-left:4px}
.corp-link{font-size:11.5px;color:var(--muted);text-decoration:none;opacity:.75;transition:opacity .2s var(--ease)}
.corp-link:hover{opacity:1;color:var(--accent)}
@media(max-width:820px){
  .site-nav a:not(.btn){display:none}
  .site-head .container{gap:14px}
}

/* ---------- Detail strip under the hero ---------- */
.detail-strip{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:var(--surface);
}
.detail-strip .container{
  display:flex;align-items:baseline;justify-content:center;gap:14px;
  flex-wrap:wrap;padding-top:16px;padding-bottom:16px;text-align:center;
}
.detail-strip b{font-family:var(--font-display);font-weight:700;color:var(--ink)}
.detail-strip span{color:var(--muted);font-size:14.5px}

/* ---------- Curriculum ----------
   Native <details>: opens in the same frame as the click. No script,
   no fetch, nothing waiting on the network. */
.mod{border-bottom:1px solid var(--line)}
.mod:first-of-type{border-top:1px solid var(--line)}
.mod > summary{
  display:flex;align-items:center;gap:22px;padding:24px 6px;cursor:pointer;
  list-style:none;transition:background .2s var(--ease);
}
.mod > summary::-webkit-details-marker{display:none}
.mod > summary:hover{background:var(--accent-wash)}
.mod > summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.mod .m-n{
  font-family:var(--font-display);font-size:1.3rem;font-weight:800;color:var(--accent);
  min-width:42px;font-variant-numeric:tabular-nums;letter-spacing:-.02em;
}
.mod .m-t{font-family:var(--font-display);font-weight:700;font-size:1.05rem;color:var(--ink);flex:1}
.mod .m-time{font-size:13px;color:var(--muted);white-space:nowrap}
.mod .m-caret{
  width:9px;height:9px;flex:0 0 auto;margin-left:6px;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:rotate(45deg);transition:transform .25s var(--ease);
}
.mod[open] .m-caret{transform:rotate(-135deg)}
.mod .m-body{padding:0 6px 28px 70px;color:var(--muted);max-width:72ch;line-height:1.75}
.mod .m-body strong{color:var(--ink)}
.mod .m-body ul{margin:14px 0 0;padding-left:20px}
.mod .m-body li{margin:7px 0}
@media(max-width:620px){ .mod .m-body{padding-left:6px} }

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  padding:22px 6px;cursor:pointer;font-family:var(--font-display);font-weight:700;
  color:var(--ink);list-style:none;display:flex;justify-content:space-between;gap:24px;
  transition:background .2s var(--ease);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{background:var(--accent-wash)}
.faq summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.faq summary::after{content:"+";color:var(--accent);font-weight:800;flex:0 0 auto}
.faq details[open] summary::after{content:"\2013"}
.faq .a{padding:0 6px 24px;color:var(--muted);max-width:72ch;line-height:1.75}

/* ---------- Partner credential ---------- */
.creds{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.cred-badge{width:76px;height:76px;flex:0 0 auto;display:block}
.cred-t{display:flex;flex-direction:column;gap:2px;line-height:1.4}
.cred-t b{font-family:var(--font-display);font-size:15px;color:var(--ink)}
.cred-t span{font-size:13px;color:var(--muted)}

/* ---------- Accessibility ---------- */
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#fff;padding:12px 20px;border-radius:0 0 var(--r) 0}
.skip:focus{left:0}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* ---------- Stat strip on a light ground ----------
   The kit styles .stat for the dark band, where white numerals and
   cream labels are correct. On the warm paper they computed to white
   on #faf9f6 — present and invisible.

   This is an additive modifier rather than an override of the kit:
   .stat-strip keeps its published behaviour inside .dark-band, and
   picks up ink colours only where a page opts in with .on-paper. */
.stat-strip.on-paper{
  border-top:1px solid var(--line);
  padding-top:26px;
}
.stat-strip.on-paper .n{
  /* The kit paints these numerals with a white-to-light gradient clipped
     to the glyphs, and sets -webkit-text-fill-color to transparent — so
     `color` alone can never win. On the dark band that gradient is right.
     On paper it has to become a clay gradient instead. */
  background:linear-gradient(135deg,var(--accent),var(--accent-deep));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:var(--accent);
}
.stat-strip.on-paper .l{ color:var(--muted); }
@media(max-width:700px){
  .stat-strip.on-paper{grid-template-columns:repeat(2,1fr);gap:20px}
}
