/* TechStep Academy
   Layout: navy hero bands frame light content sections; level pages share one template.
   Palette: navy + circuit cyan + step-ahead gold on a cool off-white. */
:root {
  --navy: #0B1F3A;
  --navy-2: #16335C;
  --cyan: #22C3E6;
  --cyan-ink: #0A7EA4;
  --gold: #F5B301;
  --gold-ink: #8A5F00;
  --bg: #F5F8FB;
  --surface: #FFFFFF;
  --ink: #0B1F3A;
  --muted: #4D5F78;
  --line: #DCE4EE;
  --band-muted: #B6C4D6;
  --band-line: #274770;
  --focus: #1F6FEB;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --radius: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 300 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; color: var(--cyan-ink);
}
.lede { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }
.stack { display: grid; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 500 1rem/1 var(--font-body); padding: 15px 22px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #FFC21F; }
.btn-line { border-color: var(--band-line); color: #fff; }
.btn-line:hover { border-color: var(--band-muted); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--cyan-ink); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 248, 251, 0.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: auto; height: 44px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 500; box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { padding: 11px 18px; font-size: 0.92rem; color: var(--navy); box-shadow: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; display: block; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* Hero band */
.band { background: var(--navy); color: #fff; }
.band .eyebrow { color: var(--cyan); }
.band .lede { color: var(--band-muted); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .strap { font-size: 1.25rem; font-weight: 400; max-width: 34ch; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-art { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.page-hero .wrap { padding-block: clamp(44px, 6vw, 80px); display: grid; gap: 18px; }
.crumbs { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 0.9rem; color: var(--band-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: var(--band-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Sections */
.section { padding-block: clamp(60px, 8vw, 104px); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.alt + .section { padding-top: clamp(60px, 8vw, 104px); }

/* Contexts strip */
.contexts { background: var(--surface); border-bottom: 1px solid var(--line); }
.contexts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ctx { padding: 28px 24px 30px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.ctx:first-child { border-left: 0; padding-left: 0; }
.ctx h3 { font-size: 1.05rem; }
.ctx p { color: var(--muted); font-size: 0.95rem; }
.ctx svg { width: 28px; height: 28px; stroke: var(--cyan-ink); margin-bottom: 4px; }
@media (max-width: 860px) {
  .contexts .wrap { grid-template-columns: 1fr 1fr; }
  .ctx { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .ctx:nth-child(-n+2) { border-top: 0; }
  .ctx:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 480px) { .contexts .wrap { grid-template-columns: 1fr; } .ctx { padding-left: 0; } .ctx:nth-child(2) { border-top: 1px solid var(--line); } }

/* Level cards */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card {
  grid-column: span 2; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11, 31, 58, 0.45); border-color: #C5D3E3; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.card-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.card-body p { color: var(--muted); font-size: 0.96rem; }
.card .text-link { margin-top: 6px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; } .card:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.level-tag { display: flex; align-items: center; gap: 12px; }
.meter { display: inline-flex; align-items: end; gap: 3px; height: 20px; }
.meter i { display: block; width: 9px; background: var(--line); border-radius: 2px; }
.meter i:nth-child(1) { height: 20%; } .meter i:nth-child(2) { height: 40%; } .meter i:nth-child(3) { height: 60%; }
.meter i:nth-child(4) { height: 80%; } .meter i:nth-child(5) { height: 100%; }
.meter i.on { background: var(--gold); }
.band .meter i { background: var(--band-line); }
.band .meter i.on { background: var(--gold); }

/* Steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.steps .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy); background: var(--gold); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 500; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Goal band */
.goal .wrap { padding-block: clamp(60px, 8vw, 100px); }
.goal h2 { max-width: 24ch; margin-top: 14px; }
.goal h2 em { font-style: normal; color: var(--gold); }
.spectrum { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.phase { display: grid; gap: 14px; align-content: start; }
.phase .bar { height: 6px; border-radius: 3px; background: var(--cyan); }
.phase.create .bar { background: var(--gold); }
.phase ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--band-muted); }
.phase ol a { text-decoration: none; }
.phase ol a:hover { color: #fff; }
.phase ol span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); margin-right: 10px; }
@media (max-width: 640px) { .spectrum { grid-template-columns: 1fr; gap: 32px; } }

/* Programme rows */
.rows { display: grid; gap: 28px; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 52px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px);
  scroll-margin-top: 90px;
}
.row:nth-child(even) .row-art { order: 2; }
.row-art img { border-radius: 12px; }
.row-copy { display: grid; gap: 14px; min-width: 0; padding-right: 8px; }
.row-copy p { color: var(--muted); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row:nth-child(even) .row-art { order: 0; } }

.modules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.modules li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 0.97rem; }
.modules li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateY(-2px); }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }

/* Level detail */
.detail-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.detail-hero .copy { display: grid; gap: 18px; min-width: 0; }
.detail-hero img { border-radius: 20px; }
@media (max-width: 900px) { .detail-hero .wrap { grid-template-columns: 1fr; } }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; stroke: var(--cyan-ink); margin-top: 2px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: grid; gap: 4px; text-decoration: none; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pager a:hover { border-color: var(--muted); }
.pager .next { text-align: right; grid-column: 2; }
.pager small { color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pager strong { font-family: var(--font-display); font-weight: 600; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; } }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: 20px; }
.prose { display: grid; gap: 16px; max-width: 62ch; }
.prose p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.values li { border-top: 3px solid var(--gold); padding-top: 18px; display: grid; gap: 8px; }
.values p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .split, .values { grid-template-columns: 1fr; } }

/* Level finder */
.finder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.checks { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.check:hover { border-color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.check strong { display: block; font-weight: 500; }
.check small { color: var(--muted); font-size: 0.88rem; }
.result { position: sticky; top: 100px; background: var(--surface); border: 2px solid var(--gold); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.result .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.result p { color: var(--muted); }
.result .btn { justify-self: start; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } .result { position: static; } }

/* Contact */
.contact-list { margin: 0; display: grid; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 400; overflow-wrap: anywhere; }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(44px, 6vw, 72px); }
.cta h2 { max-width: 20ch; }
.cta p { color: var(--band-muted); margin-top: 10px; max-width: 52ch; }

/* Footer */
.site-footer { background: #071629; color: var(--band-muted); font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer-top img { height: 48px; width: auto; }
.footer-top h2 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 14px; }
.footer-top ul { list-style: none; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: #fff; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid #1B3354; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: 0.88rem; }
.footer-bottom a { color: var(--gold); font-weight: 500; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* Pricing, contact and WhatsApp additions */
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; }
.card-foot .text-link { margin-top: 0; }
.price-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.price-tag small { font: 400 0.82rem var(--font-body); color: var(--muted); }
.price-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.price-big small { font: 400 0.95rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.fine { font-size: 0.88rem; color: var(--muted); }
.price-panel { border: 2px solid var(--gold); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--muted); }
.btn-gold svg, .btn-line svg { width: 20px; height: 20px; }

.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { display: grid; gap: 2px; font-weight: 500; }
.price-table tbody th a { text-decoration: none; font-family: var(--font-display); font-weight: 600; }
.price-table tbody th a:hover { color: var(--cyan-ink); }
.price-table td { color: var(--muted); white-space: nowrap; }
.price-table .num { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.plan > p { color: var(--muted); }
.plan-featured { background: var(--navy); color: #fff; border-color: var(--navy); position: sticky; top: 100px; }
.plan-featured .eyebrow { color: var(--gold); }
.plan-featured > p, .plan-featured .price-big small, .plan-featured .fine { color: var(--band-muted); }
.plan-featured .was { color: var(--gold); font-weight: 500; }
.plan-featured .btn { justify-self: start; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; list-style-position: outside; }
.faq details p { color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .pricing-grid, .plans { grid-template-columns: 1fr; } .plan-featured { position: static; } }

.contact-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { display: grid; gap: 8px; align-content: start; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, border-color .2s ease; }
.way:hover { transform: translateY(-3px); border-color: var(--muted); }
.way svg { width: 32px; height: 32px; color: var(--cyan-ink); margin-bottom: 6px; }
.way:first-child svg { color: #1FA855; }
.way strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; overflow-wrap: anywhere; }
.way span:last-child { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .contact-ways { grid-template-columns: 1fr; } }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--cyan-ink); }
.steps-tight { grid-template-columns: 1fr; }
.steps-tight a { color: var(--cyan-ink); }

.profile-cta { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.profile-cta img { border-radius: 6px; box-shadow: 0 24px 40px -24px rgba(11, 31, 58, 0.55); }
@media (max-width: 700px) { .profile-cta { grid-template-columns: 1fr; } .profile-cta img { max-width: 220px; } }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  background: #1FA855; color: #fff; text-decoration: none; font-weight: 500; padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45); transition: transform .15s ease; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
