/* itshive public site styles.
   Extracted from index.html so the generated course pages share one
   stylesheet instead of duplicating it. */

  :root {
    --navy: #0B1437;
    --navy-2: #111d4d;
    --navy-card: #16224f;
    --gold: #FFC72C;
    --gold-deep: #F5A623;
    --blue: #2E9BFF;
    --green: #35D07F;
    --purple: #A66BFF;
    --red: #FF4D4D;
    --ink: #0B1437;
    --paper: #FFFFFF;
    --cloud: #F4F7FC;
    --muted: #6C7A9C;
    --line: rgba(255,255,255,0.10);
    --shadow: 0 20px 50px -20px rgba(11,20,55,0.45);
    --radius: 20px;
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
  }
  h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.05; font-weight: 700; }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }
  .wrap { width: min(1180px, 92vw); margin-inline: auto; }
  .btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
    padding: 0.95rem 1.8rem; border-radius: 999px; border: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
  }
  .btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(255,199,44,.7); }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -8px rgba(255,199,44,.8); }
  .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
  .btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

  /* ---------- NAV ---------- */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,20,55,.85); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
  .logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; }
  .logo-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--navy); font-size: 1.4rem; box-shadow: 0 6px 16px -6px rgba(255,199,44,.6);
  }
  .logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-links a { color: rgba(255,255,255,.82); font-weight: 700; font-size: .98rem; transition: color .15s; }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta { padding: 0.6rem 1.3rem; font-size: .95rem; }
  .menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

  /* ---------- HERO ---------- */
  .hero {
    position: relative; background:
      radial-gradient(1200px 500px at 80% -10%, rgba(46,155,255,.25), transparent 60%),
      radial-gradient(900px 500px at 0% 10%, rgba(166,107,255,.18), transparent 55%),
      var(--navy);
    color: #fff; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden;
  }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,199,44,.14);
    color: var(--gold); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,199,44,.3); margin-bottom: 1.4rem;
  }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.01em; }
  .hero h1 .line2 { color: var(--gold); display: block; }
  .hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.8); margin: 1.4rem 0 2.2rem; max-width: 34ch; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .hero-stats { display: flex; gap: 2.2rem; margin-top: 2.8rem; }
  .hero-stats .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); }
  .hero-stats .lbl { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 600; }

  /* hero visual — floating course chips around an AI orb */
  .orb-stage { position: relative; height: 460px; display: grid; place-items: center; }
  .orb {
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6db3ff, #2E9BFF 45%, #1b62b8 100%);
    box-shadow: 0 0 80px -10px rgba(46,155,255,.7), inset 0 0 40px rgba(255,255,255,.25);
    display: grid; place-items: center; position: relative; animation: float 6s ease-in-out infinite;
  }
  .orb::after { content: "AI"; font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
  .orb .ring { position: absolute; inset: -26px; border: 2px dashed rgba(255,255,255,.35); border-radius: 50%; animation: spin 18s linear infinite; }
  .orb .ring.r2 { inset: -52px; border-color: rgba(255,199,44,.35); animation-duration: 26s; animation-direction: reverse; }
  .chip {
    position: absolute; background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: .7rem 1rem;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: #fff;
    display: flex; align-items: center; gap: .5rem; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
  }
  .chip i { font-style: normal; font-size: 1.2rem; }
  .chip.c1 { top: 6%; left: 4%; animation-delay: .2s; }
  .chip.c2 { top: 20%; right: 0%; animation-delay: 1.1s; }
  .chip.c3 { bottom: 16%; left: -2%; animation-delay: .6s; }
  .chip.c4 { bottom: 4%; right: 8%; animation-delay: 1.6s; }
  @keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
  @keyframes spin { to { transform: rotate(360deg); } }

  .demo-badge {
    position: absolute; top: 3%; right: 0; background: var(--red); color: #fff;
    font-family: var(--font-display); font-weight: 700; text-align: center; padding: 1rem 1.4rem;
    border-radius: 16px; transform: rotate(6deg); box-shadow: var(--shadow); line-height: 1.1;
  }
  .demo-badge b { display: block; font-size: 1.6rem; color: var(--gold); }

  /* ---------- SECTION SHELL ---------- */
  section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
  .sec-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem,5vw,3.5rem); }
  .sec-head .kicker { font-family: var(--font-display); font-weight: 600; color: var(--gold-deep); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
  .sec-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); margin: .6rem 0 .8rem; }
  .sec-head p { color: var(--muted); font-size: 1.1rem; }

  /* ---------- COURSES ---------- */
  .courses { background: var(--cloud); }
  .course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .course {
    background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
    border-top: 5px solid var(--c, var(--blue)); transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
  }
  .course:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(11,20,55,.5); }
  .course .ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1.1rem; background: color-mix(in srgb, var(--c) 15%, #fff); }
  .course h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: .3rem; }
  .course .tag { font-size: .82rem; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .08em; }
  .course ul { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; }
  .course li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; color: #445; font-size: .98rem; }
  .course li::before { content: "✓"; color: var(--green); font-weight: 900; flex-shrink: 0; }

  .section-cta { text-align: center; margin-top: 2.2rem; }

  /* ---------- WHY US ---------- */
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .why {
    text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius);
    background: #fff; border: 1.5px solid #eef1f8; transition: border-color .2s, transform .2s;
  }
  .why:hover { border-color: var(--gold); transform: translateY(-5px); }
  .why .ic { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(135deg, rgba(46,155,255,.14), rgba(255,199,44,.14)); }
  .why h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: .4rem; }
  .why p { color: var(--muted); font-size: .95rem; }

  /* ---------- DEMO STRIP ---------- */
  .strip {
    background: linear-gradient(120deg, var(--navy), #16265f);
    color: #fff; border-radius: 28px; padding: clamp(2rem,5vw,3.5rem); text-align: center; position: relative; overflow: hidden;
  }
  .strip::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 200px at 20% 0%, rgba(255,199,44,.25), transparent 60%); }
  .strip > * { position: relative; }
  .strip h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  .strip .free { color: var(--gold); }
  .strip p { color: rgba(255,255,255,.82); margin: .8rem auto 1.8rem; max-width: 50ch; font-size: 1.1rem; }
  /* NOTE: the "Limited Seats" badge was removed — nothing in the system
     measures capacity, so the claim was unsupported. See AUDIT.md M7. */

  /* ---------- ENQUIRY ---------- */
  .enquiry { background: var(--cloud); }
  .enq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: stretch; }
  .enq-info {
    background: linear-gradient(160deg, var(--navy), #182a63); color: #fff; border-radius: var(--radius);
    padding: 2.4rem; display: flex; flex-direction: column; justify-content: center;
  }
  .enq-info h3 { font-size: 1.8rem; margin-bottom: 1.4rem; }
  .enq-info .row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
  .enq-info .row .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,199,44,.18); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
  .enq-info .row a, .enq-info .row span { color: rgba(255,255,255,.9); font-weight: 700; }
  .enq-info .row small { display:block; color: rgba(255,255,255,.6); font-weight: 600; font-size: .8rem; }
  .card-form { background: #fff; border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
  .card-form h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: .4rem; }
  .card-form > p { color: var(--muted); margin-bottom: 1.6rem; }
  .field { margin-bottom: 1.1rem; }
  .field label { display: block; font-weight: 800; color: var(--navy); font-size: .9rem; margin-bottom: .4rem; }
  .field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid #dfe5f1; border-radius: 12px;
    font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fbfcfe; transition: border-color .15s, box-shadow .15s;
  }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46,155,255,.14); }
  .field textarea { resize: vertical; min-height: 90px; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; text-align: center; }
  .submit-btn { width: 100%; justify-content: center; margin-top: .4rem; font-size: 1.1rem; }
  .form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-weight: 700; display: none; }
  .form-status.ok { display:block; background: rgba(53,208,127,.14); color: #1a8a4f; border: 1px solid rgba(53,208,127,.4); }
  .form-status.err { display:block; background: rgba(255,77,77,.12); color: #c62828; border: 1px solid rgba(255,77,77,.35); }
  .form-status.warn { display:block; background: rgba(245,166,35,.14); color: #8a5a00; border: 1px solid rgba(245,166,35,.4); }

  /* phone entry with the country dial code shown alongside */
  .phone-group { display: flex; gap: .5rem; }
  .phone-group .dial {
    display: grid; place-items: center; min-width: 4.6rem; padding: 0 .7rem;
    border: 1.5px solid #dfe5f1; border-radius: 12px; background: #eef2fa;
    font-weight: 800; color: var(--navy); font-size: .98rem; white-space: nowrap;
  }
  .phone-group input { flex: 1; min-width: 0; }

  /* consent — marketing opt-in is separate from answering the enquiry */
  .consent { display: flex; gap: .7rem; align-items: flex-start; margin: .2rem 0 1.1rem; }
  .consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex-shrink: 0; accent-color: var(--blue); }
  .consent label { font-weight: 600; color: #445; font-size: .92rem; line-height: 1.45; }

  /* honeypot: hidden from people, visible to naive bots */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .field .err { display: block; color: #c62828; font-weight: 700; font-size: .84rem; margin-top: .35rem; }
  .field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }

  /* Scroll reveal. The hiding rules apply only under .js-reveal, which is added
     by script after IntersectionObserver is confirmed available — so a script
     that fails to run can no longer leave the enquiry form invisible.
     See AUDIT.md M9. */
  .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

  /* ---------- FOOTER ---------- */
  footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 3rem 0 2rem; }
  .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 2rem; }
  footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
  footer a { display: block; color: rgba(255,255,255,.72); padding: .28rem 0; font-weight: 600; }
  footer a:hover { color: var(--gold); }
  .foot-brand p { max-width: 34ch; margin-top: .8rem; }
  .foot-bottom { border-top: 1px solid var(--line); padding-top: 1.4rem; text-align: center; font-size: .88rem; }
  .foot-bottom .tag { color: var(--gold); font-family: var(--font-display); font-weight: 600; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .orb-stage { height: 360px; margin-top: 1rem; }
    .course-grid, .why-grid { grid-template-columns: 1fr 1fr; }
    .enq-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 1.2rem 6vw 1.6rem; gap: 1rem; border-bottom: 1px solid var(--line); }
  }
  @media (max-width: 560px) {
    .course-grid, .why-grid, .row2 { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 1.4rem; }
    .demo-badge { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------------------
   Draft pages
   A page we are not ready to publish: a policy page still waiting on an owner
   decision, or a course page with no description written yet. Both are noindex
   and unlinked; the banner is the human-readable half of that. It lives here,
   not in policy.css, because course pages never load policy.css.
   --------------------------------------------------------------------------- */
.draft-banner {
  background: #FDECEC; border: 2px solid #E08080; border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: 1.8rem; color: #8A1F1F;
}
.draft-banner strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.draft-banner p { color: #8A1F1F; margin: .4rem 0 0; font-weight: 600; font-size: .94rem; }