/* janqua.ai — shared styles. Palette and type carried over from the original
   single-page landing (Manrope; slate / blue / green on soft off-white). */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #3A6F97;
  --blue-light: #4A8AB8;
  --slate: #2F3444;
  --green: #A8C66C;
  --green-ink: #5E7F2E;
  --muted: #887A68;
  --soft: #F4F5F0;
  --white: #FFFFFF;
  --gray-border: #E2E3DE;
  --placeholder: #B0A898;
  --wrap: 1040px;
  --prose: 680px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--prose); }

/* ---- DRAFT BANNER (draft builds only) ---- */
.draft-banner {
  background: #FFF6D6; color: #6B5300; border-bottom: 1px solid #F0DE9A;
  font-size: .82rem; text-align: center; padding: .45rem 1rem;
}
.todo-link { outline: 2px dashed #E0C25A; outline-offset: 2px; }
.todo {
  background: #FFF0C2; color: #6B5300; border-radius: 4px; padding: 0 .3em;
  font-weight: 600; font-size: .92em;
}

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
}
.brand img { width: 118px; display: block; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  color: var(--slate); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: .25rem 0; border-bottom: 2px solid transparent; transition: border-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--slate); }
.header-right { display: flex; align-items: center; gap: .75rem; }

/* nav dropdown (Industries) */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: .3rem;
  background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  padding: .25rem 0; font-family: inherit; color: var(--slate); font-size: .9rem; font-weight: 500;
  transition: border-color .15s;
}
.nav-drop-btn svg { transition: transform .15s; }
.nav-drop-btn:hover, .nav-drop:has(a[aria-current="page"]) .nav-drop-btn { border-bottom-color: var(--green); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu {
  display: none; position: absolute; left: -1rem; top: 100%; margin-top: .55rem; min-width: 200px;
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(47,52,68,.12); overflow: hidden;
  border-top: 3px solid var(--blue);
}
.nav-drop.open .nav-drop-menu { display: block; animation: jqFade .16s ease-out; }
.nav .nav-drop-menu a { display: block; padding: .7rem 1rem; border-bottom: 0; }
.nav .nav-drop-menu a + a { border-top: 1px solid var(--soft); }
.nav .nav-drop-menu a:hover { background: var(--soft); }
.nav .nav-drop-menu a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* sign-in menu (four portals) */
#jq-login { position: relative; }
#jq-login-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border: 1.5px solid var(--gray-border); border-radius: 999px;
  background: var(--white); color: var(--slate);
  font-family: inherit; font-size: .86rem; font-weight: 500; cursor: pointer;
  transition: border-color .2s ease;
}
#jq-login-btn:hover { border-color: var(--blue); }
#jq-login-menu {
  display: none; position: absolute; right: 0; margin-top: .55rem; min-width: 232px;
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(47,52,68,.12); overflow: hidden;
}
#jq-login-menu.open { display: block; animation: jqFade .16s ease-out; }
#jq-login-menu .jq-accent { height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
#jq-login-menu a { display: block; padding: .8rem 1rem; text-decoration: none; color: var(--slate); }
#jq-login-menu a + a { border-top: 1px solid var(--soft); }
#jq-login-menu a:hover { background: var(--soft); }
#jq-login-menu a strong { display: block; font-size: .92rem; font-weight: 600; }
#jq-login-menu a span { font-size: .76rem; color: var(--muted); }
@keyframes jqFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 8px;
  font-family: inherit; font-size: .95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); }
.btn-ghost { background: var(--white); color: var(--slate); border-color: var(--gray-border); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
/* two buttons, each with a short explanatory line beneath (industry pages).
   Side-by-side buttons are the SAME colour (both btn-primary), per Nigel 2026-10-07. */
.cta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 17rem)); gap: 1rem 1.75rem; margin-top: 1.5rem; }
.cta-option .btn { display: block; text-align: center; }
.cta-option p { font-size: .86rem; line-height: 1.45; color: var(--muted); margin: .55rem 0 0; }

/* ---- HERO ---- */
.hero { padding: 5.5rem 0 4.5rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -45%; right: -18%; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(58,111,151,.07) 0%, transparent 70%); pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 1rem;
}
.hero h1, .page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 600; line-height: 1.18;
  margin-bottom: 1.25rem; max-width: 18ch;
}
.grad {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.lede { font-size: 1.15rem; font-weight: 300; color: var(--muted); max-width: 56ch; margin-bottom: 2rem; }
.page-hero { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--gray-border); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: none; }
.page-hero .lede { max-width: none; } /* inner-page heroes use the full width (Nigel, 2026-10-07) */

/* ---- SECTIONS ---- */
section.band { padding: 4.5rem 0; }
section.band.soft { background: var(--soft); }
.band h2 { font-size: 1.6rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; max-width: 30ch; }
.band h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: .45rem; }
.band p { color: #4B5060; margin-bottom: 1rem; }
.band p.muted, .muted { color: var(--muted); }
.divider { width: 80px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); margin-bottom: 1.75rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 12px;
  padding: 1.6rem 1.4rem;
}
.card p { font-size: .95rem; margin-bottom: 0; }
.card .btn { margin-top: 1.1rem; }
.card .coach-video { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 1 / 1; margin-top: .8rem; border-radius: 10px; background: #f2f3f7; }
.card .transcript { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.card .transcript summary { cursor: pointer; }
.card .transcript p { font-size: .85rem; margin-top: .4rem; }
.audience-card { display: flex; flex-direction: column; }
.audience-card p { flex: 1; }
.audience-card h3 { color: var(--blue); }
.audience-card .btn { align-self: center; } /* button fits its text, not the card width */

/* ---- HOME LAYOUT (2026-10-07): split hero with Aria above the fold; centred
   section heads; equal-height card rows; one rhythm for every band. ---- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: start; }
.hero-split .lede { margin-bottom: 0; }
.hero-split .hero-copy { align-self: center; }   /* the copy sits on the middle of Aria's panel */
/* top margin: the video's edge sits on the eyebrow's cap height, not its line box */
.hero-media { margin: .4rem 0 0; justify-self: end; width: 100%; max-width: 284px; }
.hero-media .coach-video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px;
  background: #f2f3f7; box-shadow: 0 18px 40px rgba(47, 52, 68, .16); }
.hero-media figcaption { margin-top: .9rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.hero-media figcaption strong { color: var(--slate); font-weight: 600; }
.hero-media .transcript { margin-top: .4rem; font-size: .85rem; }
.hero-media .transcript summary { cursor: pointer; }
.hero-media .transcript p { margin-top: .4rem; }
/* home page: tighter vertical rhythm than the inner pages */
.hero.home { padding: 2rem 0 2.25rem; }
section.band.home { padding: 2.25rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section-head .divider { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-left: auto; margin-right: auto; text-wrap: balance; }
.section-head p { margin-bottom: 0; }
.feature-card h3 { margin-bottom: .5rem; }
.fp-banner { text-align: center; max-width: 760px; margin: 2rem auto 0; }
.section-foot { text-align: center; margin: 1.75rem 0 0; }
.inline-form.centered { margin: 0 auto; }

ul.ticks { list-style: none; margin: 0 0 1rem; }
ul.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; color: #4B5060; }
ul.ticks li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 6px;
  border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink);
  transform: rotate(-45deg);
}
ol.steps { counter-reset: s; list-style: none; }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.1rem; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; background: var(--slate); color: var(--white);
  font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
}

.bar {
  border: 1.5px solid var(--blue); border-radius: 12px; padding: 1.6rem 1.5rem; background: var(--white);
}
.bar h3 { color: var(--blue); }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--gray-border); vertical-align: top; }
th { background: var(--soft); font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.tag.live { background: rgba(168,198,108,.2); color: var(--green-ink); }

/* ---- FORMS ---- */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--gray-border); border-radius: 8px;
  font-family: inherit; font-size: .95rem; color: var(--slate); background: var(--white); outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form textarea { min-height: 110px; resize: vertical; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.form .consent input { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; }
.form.tried :invalid:not(form), .inline-form.tried :invalid:not(form) { outline: 2px solid #A33; outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: .95rem; font-weight: 500; }
.form-msg.ok { color: var(--green-ink); }
.form-msg.err { color: #A33; }
.inline-form { display: flex; gap: .75rem; max-width: 460px; }
.inline-form input { flex: 1; padding: .85rem 1rem; border: 1.5px solid var(--gray-border); border-radius: 8px; font-family: inherit; font-size: .95rem; }

/* ---- CTA STRIP ---- */
.cta-strip { background: var(--slate); color: var(--white); padding: 3.5rem 0; }
.cta-strip h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .6rem; }
.cta-strip p { color: #C9CCD6; margin-bottom: 1.4rem; }
.cta-strip .btn-ghost { background: transparent; color: var(--white); border-color: #5A6072; }

/* ---- FOOTER ---- */
.site-footer { border-top: 1px solid var(--gray-border); padding: 2.5rem 0; font-size: .88rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer h4 { color: var(--slate); font-size: .85rem; margin-bottom: .6rem; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; margin-bottom: .35rem; }
.site-footer a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 1rem; margin-top: .8rem; }
.footer-social a { display: inline; }
.footer-social svg { width: 18px; height: 18px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-media { justify-self: center; max-width: 243px; margin-top: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: .2rem; padding: .8rem 1.5rem 1.2rem;
    background: var(--white); border-bottom: 1px solid var(--gray-border);
  }
  .nav.open { display: flex; }
  /* on mobile the Industries items are always shown, indented under their heading */
  .nav-drop-btn { cursor: default; pointer-events: none; }
  .nav-drop-btn svg { display: none; }
  .nav-drop-menu, .nav-drop.open .nav-drop-menu {
    display: block; position: static; margin: .1rem 0 0; min-width: 0;
    border: 0; box-shadow: none; border-radius: 0; background: none; animation: none;
  }
  .nav .nav-drop-menu a { padding: .25rem 0 .25rem 1rem; }
  .nav .nav-drop-menu a + a { border-top: 0; }
  .nav .nav-drop-menu a:hover { background: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-pair { grid-template-columns: minmax(0, 22rem); }
  .inline-form { flex-direction: column; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero.home { padding: 1.5rem 0 2rem; }
  #jq-login-btn span { display: none; }
  #jq-login-btn { padding: .45rem; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* coaching team (how-it-works) */
.wrap > .prose { margin-left: auto; margin-right: auto; }
.coach-team-title { margin: 2.2rem 0 1rem; text-align: center; }
.coach-grid { display: grid; gap: 1rem; grid-template-columns: repeat(5, 1fr); }
.coach-card { text-align: center; padding: 1.3rem 1rem; }
.coach-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; display: block; }
.coach-card h3 { margin-bottom: .1rem; }
.coach-card .coach-role { color: var(--blue); font-weight: 700; font-size: .85rem; margin-bottom: .5rem; }
@media (max-width: 900px) { .coach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .coach-grid { grid-template-columns: 1fr 1fr; } .coach-grid .coach-card:first-child { grid-column: 1 / -1; } }
