/* =========================================================
   HawkX — the only stylesheet.
   Change colours and fonts HERE, the whole site follows.
   ========================================================= */
:root {
  --sky:   #EEF3FA; /* page background */
  --paper: #FFFFFF; /* cards, boxes */
  --ink:   #16203A; /* main text + dark sections */
  --talon: #FFC933; /* buttons + price ONLY */
  --steel: #46557A; /* secondary text */
  --line:  #D4DDEA; /* borders, dividers */
  --leaf:  #1A7A50; /* money-back / guarantee */
  --leaf-bg: #E3F3EB; /* light tint of leaf for guarantee boxes */

  --font-head: "Bricolage Grotesque", system-ui, sans-serif; /* headings */
  --font-body: "IBM Plex Sans", system-ui, sans-serif;      /* body text */

  --radius: 14px;
  --wrap: 1120px; /* max page width */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sky); color: var(--ink);
  font: 17px/1.6 var(--font-body); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--talon); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.lead { font-size: 1.2rem; color: var(--steel); max-width: 38em; }
.muted { color: var(--steel); }
.eyebrow { font: 700 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin-bottom: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--talon); border-color: var(--talon); }
.btn-main:hover { border-color: var(--ink); }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.dark .btn { color: var(--paper); border-color: var(--paper); }
.dark .btn-main { color: var(--ink); border-color: var(--talon); }

/* ---------- Header / footer ---------- */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.35rem var(--font-head); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { text-decoration: underline; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } .top .btn { padding: 10px 16px; } }

.foot { background: var(--paper); color: var(--steel); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { display: grid; gap: 36px; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.4fr 1fr; } }
.foot-brand p { margin: 14px 0 12px; max-width: 26em; }
.foot-mail { font-weight: 700; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot h3 { font: 700 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero h1 { max-width: 13em; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-weight: 600; }
.proof li::before { content: "✓"; color: var(--leaf); font-weight: 800; margin-right: 8px; }

.badge { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }

/* ---------- The deal ---------- */
.deal { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .deal { grid-template-columns: 1.4fr 1fr 1fr; } .deal .big { grid-row: span 2; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.big { background: var(--leaf); color: var(--paper); border: 0; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.big h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.big p { font-size: 1.1rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }

/* ---------- Course list ---------- */
.courses { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.course { display: flex; flex-direction: column; }
.course .meta { list-style: none; padding: 0; margin: 0 0 22px; color: var(--steel); font-size: .95rem; }
.course .meta strong { color: var(--ink); }
.course .btn { margin-top: auto; }
.soon { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 18px; }
.soon .card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.soon .card h3 { margin: 0; font-size: 1.05rem; }
.soon .card a { font-weight: 600; font-size: .95rem; margin-top: auto; }

.course .meta .runs { color: var(--ink); font-weight: 600; margin-top: 6px; font-size: .9rem; }
.soon .suggest { border-style: dashed; background: transparent; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 1.2rem var(--font-head); margin-bottom: 16px; }

/* ---------- Dark section (certificate, closing CTA) ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark .muted, .dark .lead, .dark .eyebrow { color: #C9D2E3; }
.dark a:not(.btn) { color: var(--paper); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 800; }
.dark .ticks li::before { color: var(--talon); }
.crosses li::before { content: "✕"; color: var(--steel); }

/* Sample certificate */
.cert { position: relative; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 34px 30px; border: 10px solid #F4F6FA; box-shadow: 0 20px 50px rgba(0,0,0,.35); transform: rotate(-1.5deg); text-align: center; }
.cert img { width: 44px; margin: 0 auto 12px; }
.cert .small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.cert .name { font: 800 1.9rem var(--font-head); margin: 10px 0 4px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.cert .course-name { font-weight: 600; margin: 10px 0 18px; }
.cert .row { display: flex; justify-content: space-between; font-size: .75rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: 12px; }

.cert .sample { position: absolute; top: -16px; right: 18px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--steel); }

/* ---------- Course page ----------
   Layout: dark hero band on top, then a 2-column grid:
   left = content sections, right = booking card (sticky on desktop).
   On mobile the booking card comes first, right under the title. */
.c-hero { background: var(--ink); color: var(--paper); padding: 40px 0 44px; }
.c-hero a { color: #C9D2E3; }
.c-hero .eyebrow { color: var(--talon); }
.c-hero h1 { margin-bottom: 14px; }
.c-hero .lead { color: #C9D2E3; margin-bottom: 26px; }
.crumb { font-size: .9rem; margin-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.facts li { border: 1px solid #3A4870; border-radius: 999px; padding: 7px 14px; font-size: .92rem; font-weight: 600; }
.facts li span { color: #C9D2E3; font-weight: 400; margin-right: 6px; }

.c-grid { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 72px; }
.c-main { min-width: 0; }
.c-main > section { margin-bottom: 56px; }
.c-main > section:last-child { margin-bottom: 0; }
.c-main h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }

@media (min-width: 960px) {
  .c-hero { padding: 56px 0 64px; }
  .c-hero .inner { max-width: calc(100% - 420px); }
  .c-grid { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 48px; padding-top: 56px; }
  .c-grid .book { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 20px; margin-top: -300px; }
  .c-main { grid-column: 1; grid-row: 1; }
}

/* Booking card */
.book { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: 0 18px 40px rgba(22,32,58,.16); border: 1px solid var(--line); }
.book .price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { display: inline-block; background: var(--talon); font: 800 2.6rem/1 var(--font-head); padding: 8px 14px; border-radius: 10px; }
.book .per { color: var(--steel); font-size: .95rem; }
.book dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 22px 0; font-size: .95rem; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book dt { color: var(--steel); }
.book dd { margin: 0; font-weight: 600; }
.guarantee { background: var(--leaf-bg); color: var(--leaf); border-radius: 10px; padding: 14px 16px; font-weight: 600; font-size: .9rem; margin: 14px 0 10px; }
/* The one refund block: same 3 lines in the booking card and the green band */
.refunds { list-style: none; padding: 0; margin: 0; }
.refunds li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.refunds li:last-child { margin-bottom: 0; }
.refunds li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.g-band .refunds { font-size: 1.05rem; }
/* Final project callout */
.project { border-left: 4px solid var(--ink); padding: 4px 0 4px 22px; }
.project h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.3; margin: 0; }
.note { font-size: .88rem; color: var(--steel); margin: 0; }

/* Outcomes: numbered 2x2 */
.outcomes { display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; counter-reset: o; }
@media (min-width: 620px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcomes li { counter-increment: o; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 20px 64px; position: relative; font-weight: 600; }
.outcomes li::before { content: counter(o); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--talon); display: grid; place-items: center; font: 800 .95rem var(--font-head); }

/* Syllabus timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--steel); }
.timeline .wk { font: 700 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); }
.timeline h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--steel); font-size: .95rem; }
.timeline li.key { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 44px; margin: 0 0 12px -0px; }
.timeline li.key::before { background: var(--talon); border-color: var(--ink); top: 20px; }

/* For / not for */
.fit { display: grid; gap: 14px; }
@media (min-width: 620px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .card h3 { margin-bottom: 14px; }
.fit .ticks { margin: 0; }

/* Included list */
.included { display: grid; gap: 10px 24px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .included { grid-template-columns: 1fr 1fr; } }

/* Guarantee band */
.g-band { background: var(--leaf); color: var(--paper); border-radius: var(--radius); padding: 30px; }
.g-band h2 { margin-bottom: 8px; }
.g-band p { margin: 0; font-size: 1.05rem; }

/* Mobile sticky booking bar */
.m-bar { display: none; }
@media (max-width: 959px) {
  .m-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 -6px 20px rgba(22,32,58,.1); }
  .m-bar strong { font-family: var(--font-head); font-size: 1.2rem; }
  .m-bar small { display: block; color: var(--leaf); font-weight: 600; font-size: .8rem; }
  .m-bar .btn { padding: 12px 18px; }
  body.has-bar { padding-bottom: 72px; }
}

/* ---------- Policies / plain text pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
