/*
Theme Name: Build with AI Workshop
Theme URI: https://example.com/build-with-ai
Author: Build with AI
Description: A conversion-focused website, in Nigerian green and white, for a 12-week live workshop that teaches complete beginners in Nigeria to build and launch web apps with Claude. Includes a weekly lesson plan, a flexible cohort schedule with break weeks and a calendar download, an app-store style student showcase, permission-based student stories, dollar and naira pricing with payment links, and an FAQ. Set it up in Appearance → Workshop Settings.
Version: 1.2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buildwithai
Tags: education, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	/* Nigerian green and white. "cobalt" and "sun" are the primary and accent roles. */
	--ink: #0d2a1d;
	--ink-soft: #476457;
	--cobalt: #008751;
	--cobalt-deep: #00603a;
	--sun: #7fcca2;
	--sun-soft: #eaf6ef;
	--leaf: #008751;
	--paper: #f3f9f5;
	--tint: #e3f3ea;
	--surface: #ffffff;
	--line: #d4e5db;

	--font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

	--step--1: 0.889rem;
	--step-0: 1.125rem;
	--step-1: 1.333rem;
	--step-2: 1.777rem;
	--step-3: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
	--step-4: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);

	--space: clamp(4rem, 3rem + 4vw, 7rem);
	--wrap: 72rem;
	--radius-s: 10px;
	--radius-m: 16px;
	--radius-l: 28px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--cobalt-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	font-weight: 700;
}
h1, h2 { text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p, ul, ol, dl, table { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; }

.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.break { overflow-wrap: anywhere; }
.plain-list { list-style: none; padding: 0; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 40em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 3.25rem; padding: 0.75rem 1.4rem;
	border-radius: 12px; border: 2px solid transparent;
	font: 700 var(--step-0)/1.2 var(--font-body);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button--primary { background: var(--cobalt); color: #fff; }
.button--primary:hover { background: var(--cobalt-deep); color: #fff; }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--ghost:hover { background: var(--ink); color: #fff; }
.button--on-dark { background: #fff; color: var(--cobalt-deep); }
.button--on-dark:hover { background: var(--tint); color: var(--ink); }
.button--small { min-height: 2.5rem; padding: 0.4rem 1rem; font-size: var(--step--1); }
.button--block { width: 100%; }
.button .icon { width: 1.1em; height: 1.1em; }

.pill-button {
	display: inline-flex; align-items: center; padding: 0.3rem 1rem;
	border-radius: 999px; background: var(--tint); color: var(--cobalt);
	font-weight: 700; font-size: var(--step--1); text-decoration: none; white-space: nowrap;
}
.pill-button:hover { background: var(--cobalt); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font: 800 1.25rem/1 var(--font-display); letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__logo { max-height: 2.5rem; width: auto; }
.brand__mark { width: 2.1rem; height: 1.5rem; border-radius: 6px; border: 2px solid var(--cobalt); background: linear-gradient(90deg, var(--cobalt) 0 33.33%, #fff 33.33% 66.66%, var(--cobalt) 66.66% 100%); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 0.5rem; cursor: pointer; border-radius: var(--radius-s); }
.nav-toggle .icon { width: 1.75rem; height: 1.75rem; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 1rem;
		background: var(--surface); padding: 1.25rem 1.25rem 1.75rem; border-bottom: 1px solid var(--line);
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
	.site-nav__cta { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.section--tint { background: var(--paper); padding-top: var(--space) !important; }
.section--tint + .section,
.pricing + .section { padding-top: var(--space); }
.section__title { font-size: var(--step-3); max-width: 22ch; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.section__head .section__title { margin: 0; }
.section__links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; font-weight: 700; }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.page-head__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; line-height: 1; max-width: 18ch; }
.page-head__crumb { margin-bottom: 1rem; font-weight: 700; }
.page-head__crumb a { text-decoration: none; }
.page-head__crumb a::before { content: "‹ "; }
.page-head__links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-weight: 700; margin: 1.25rem 0 0; }
.page-head__links a { display: inline-flex; align-items: center; gap: 0.4rem; }

.empty-note { color: var(--ink-soft); max-width: 40em; }
.empty-state { max-width: 36rem; padding: 2.5rem; border: 2px dashed var(--line); border-radius: var(--radius-l); }
.empty-state__title { font: 700 var(--step-2)/1.15 var(--font-display); margin-bottom: 0.5rem; }
.admin-hint { background: #fff8e1; border-left: 4px solid #e0b100; padding: 0.85rem 1.1rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--step--1); }

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; max-width: 14ch; margin-bottom: 0.4em; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.facts li,
.facts--inline span { display: flex; align-items: center; gap: 0.6rem; }
.facts .icon { color: var(--cobalt); }
.facts--inline { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.5rem; }
.bwa-time { white-space: nowrap; }
.bwa-local { display: block; color: var(--ink-soft); font-size: var(--step--1); }

/* The one orchestrated moment: a sentence becomes an app. */
.demo { margin: 0; }
.demo__window {
	background: var(--cobalt); color: #fff;
	border-radius: var(--radius-l); padding: 1.75rem;
	box-shadow: 0 30px 60px -30px rgba(13, 42, 29, 0.55);
	transform: rotate(1.25deg);
}
.demo__label { margin: 0 0 0.5rem; font-size: var(--step--1); font-weight: 700; color: #c9ecd8; }
.demo__prompt {
	position: relative; min-height: 7.5em;
	background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-m);
	padding: 1rem 1.15rem; margin: 0 0 1.5rem;
	font-size: 1.05rem; line-height: 1.5;
}
.demo__prompt.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.15em; background: #fff; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo__app { background: #fff; color: var(--ink); border-radius: var(--radius-m); padding: 1.1rem 1.25rem; transition: opacity 0.5s ease, transform 0.5s ease; }
.demo__app-title { font: 700 1.15rem/1.2 var(--font-display); margin: 0 0 0.75rem; }
.demo__tasks { list-style: none; padding: 0; margin: 0; }
.demo__tasks li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.demo__tasks span { width: 1.05rem; height: 1.05rem; border-radius: 5px; border: 2px solid var(--line); flex: none; }
.demo__tasks .is-done { color: var(--ink-soft); text-decoration: line-through; }
.demo__tasks .is-done span { background: var(--cobalt); border-color: var(--cobalt); }
.demo__live { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; padding: 0.35rem 0.9rem; border-radius: 999px; background: #fff; color: var(--cobalt-deep); font-weight: 700; font-size: var(--step--1); transition: opacity 0.5s ease 0.2s; }
.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #18c26f; box-shadow: 0 0 0 3px rgba(24, 194, 111, 0.25); }
.demo__caption { margin-top: 1.25rem; font-size: var(--step--1); color: var(--ink-soft); text-align: center; }
.demo.is-waiting .demo__app { opacity: 0; transform: translateY(12px) scale(0.98); }
.demo.is-waiting .demo__live { opacity: 0; }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.demo__window { transform: none; }
}

/* ---------- Outcomes ---------- */
.outcomes__list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.outcomes__list li { border-top: 3px solid var(--ink); padding-top: 1rem; color: var(--ink-soft); max-width: 32em; }
.outcomes__list strong { display: block; color: var(--ink); font: 700 var(--step-1)/1.25 var(--font-display); margin-bottom: 0.35rem; }
@media (max-width: 700px) { .outcomes__list { grid-template-columns: 1fr; } }

/* ---------- Session bar ---------- */
.session-bar { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; border-radius: var(--radius-m); overflow: hidden; min-height: 7rem; }
.session-bar li { flex: var(--mins) 1 0; min-width: 0; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; background: var(--tint); border-right: 3px solid #fff; }
.session-bar li:nth-child(2) { background: #c3e6d2; }
.session-bar li.is-main { background: var(--cobalt); color: #fff; }
.session-bar li:last-child { background: var(--sun); border-right: 0; }
.session-bar strong { font: 700 1.05rem/1.2 var(--font-display); }
.session-bar span { font-size: var(--step--1); }
@media (max-width: 700px) {
	.session-bar { flex-direction: column; min-height: 0; }
	.session-bar li { flex-basis: auto; flex-direction: row; align-items: baseline; border-right: 0; border-bottom: 3px solid #fff; padding-block: calc(var(--mins) * 0.06rem + 0.6rem); }
}

/* ---------- 12-week track ---------- */
.track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.track__stage { border-top: 6px solid var(--cobalt); padding-top: 1.1rem; }
.track__stage--2 { border-color: #4caf7f; }
.track__stage--3 { border-color: var(--sun); }
.track__stage--4 { border-color: var(--ink); }
.track__title { font-size: var(--step-1); margin-bottom: 0.35rem; }
.track__summary { color: var(--ink-soft); font-size: var(--step--1); min-height: 3.2em; }
.track__weeks { list-style: none; padding: 0; margin: 1rem 0 0; }
.track__week { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.track__num { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); font: 700 0.95rem/1 var(--font-display); }
.track__text { display: flex; flex-direction: column; font-size: 1rem; line-height: 1.35; }
.track__text a { color: var(--ink); text-decoration: none; font-weight: 700; }
.track__text a:hover { color: var(--cobalt); text-decoration: underline; }
.track__date { color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.15rem; }
.track__week.is-next .track__num { background: var(--cobalt); color: #fff; }
.track__week.is-next .track__date::after { content: " (next)"; font-weight: 700; color: var(--cobalt); }
@media (max-width: 1000px) { .track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
@media (max-width: 560px) { .track { grid-template-columns: 1fr; } .track__summary { min-height: 0; } }

/* ---------- App store ---------- */
.app-icon {
	flex: none; width: 4rem; height: 4rem; border-radius: 23%; overflow: hidden;
	display: grid; place-items: center; background: var(--tint);
	box-shadow: inset 0 0 0 1px rgba(13, 42, 29, 0.08);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon--letter { color: #fff; font: 800 1.9rem/1 var(--font-display); }
.app-icon--h0 { background: var(--cobalt); }
.app-icon--h1 { background: var(--cobalt-deep); }
.app-icon--h2 { background: var(--sun); color: var(--ink); }
.app-icon--h3 { background: #0e7f73; }
.app-icon--h4 { background: #3d6b4f; }
.app-icon--h5 { background: var(--ink); }
.app-icon--lg { width: 7.5rem; height: 7.5rem; font-size: 3.5rem; }
.app-icon--xl { width: 8rem; height: 8rem; font-size: 3.75rem; }

.app-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); column-gap: 2rem; }
.app-tile { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.app-tile[hidden] { display: none; }
.app-tile__body { flex: 1; min-width: 0; }
.app-tile__name { font-size: 1.1rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tile__name a { color: var(--ink); text-decoration: none; }
.app-tile__name a:hover { color: var(--cobalt); }
.app-tile__by,
.app-tile__cat { margin: 0; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-head--store { padding-bottom: 2rem; }
.store-tools { margin-top: 2rem; display: grid; gap: 1rem; }
.store-search { position: relative; max-width: 30rem; }
.store-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.store-search input { width: 100%; min-height: 3.1rem; padding: 0.6rem 1rem 0.6rem 3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.store-search input:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--tint); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0.4rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.store__heading { font-size: var(--step-2); margin-bottom: 1rem; }
.store__featured { margin-bottom: 3.5rem; }
.feature-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.feature-card__link { display: block; color: var(--ink); text-decoration: none; }
.feature-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-l); overflow: hidden; display: grid; place-items: center; background: var(--tint); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card__text { display: block; padding-top: 0.85rem; }
.feature-card__text strong { display: block; font: 700 var(--step-1)/1.2 var(--font-display); }
.feature-card__text span { color: var(--ink-soft); font-size: 1rem; }
.feature-card__link:hover strong { color: var(--cobalt); }

/* App listing */
.listing__head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.5rem 0 3rem; }
.listing__id { display: flex; gap: 1.75rem; align-items: flex-start; }
.listing__title { font-size: var(--step-3); font-weight: 800; margin-bottom: 0.25rem; }
.listing__by { color: var(--ink-soft); margin-bottom: 0.5rem; }
.listing__tagline { font-size: var(--step-1); margin-bottom: 1.25rem; max-width: 34em; }
.listing__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.listing__body { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; padding-block: 3.5rem; }
.listing__shot { margin: 0 0 2.5rem; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.listing__info dl { margin: 0; }
.listing__info dt { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.listing__info dt:first-child { margin-top: 0; }
.listing__info dd { margin: 0.15rem 0 0; font-weight: 700; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.listing__pitch { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-m); background: var(--sun-soft); }
.listing__pitch p { margin-bottom: 0.5rem; }
.tags { list-style: none; padding: 0; margin: 0.35rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--tint); color: var(--cobalt-deep); font-size: var(--step--1); }
@media (max-width: 860px) {
	.listing__body { grid-template-columns: 1fr; }
	.listing__id { flex-direction: column; gap: 1rem; }
}

/* ---------- Stories ---------- */
.stories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 3rem 2.5rem; }
.story { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.story__quote { margin: 0; position: relative; padding-top: 2.75rem; font: 500 var(--step-1)/1.45 var(--font-display); letter-spacing: -0.005em; }
.story__quote::before { content: "“"; position: absolute; top: -0.6rem; left: -0.15rem; font: 800 5rem/1 var(--font-display); color: var(--cobalt); }
.story__quote p { margin: 0 0 0.75em; }
.story__who { display: flex; align-items: center; gap: 0.85rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.story__who > span { display: flex; flex-direction: column; line-height: 1.35; }
.story__photo { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; }
.story__meta { color: var(--ink-soft); font-size: var(--step--1); }
.story__app { font-size: var(--step--1); font-weight: 700; }

/* ---------- Build loop ---------- */
.loop-teaser__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.loop { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.loop__step { counter-increment: step; position: relative; padding: 1.1rem 1.1rem 1.1rem 3.6rem; background: var(--paper); border-radius: var(--radius-m); display: flex; flex-direction: column; gap: 0.2rem; }
.loop__step::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font: 700 0.95rem/1 var(--font-display); }
.loop__step:last-child::before { background: var(--ink); }
.loop__step strong { font: 700 1.15rem/1.2 var(--font-display); }
.loop__step span { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.section--tint .loop__step { background: #fff; }
@media (max-width: 900px) { .loop-teaser__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); padding-top: var(--space) !important; }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list .icon { color: var(--leaf); margin-top: 0.2em; stroke-width: 2.6; }
.price-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-l); padding: 2rem; box-shadow: 10px 10px 0 var(--ink); }
.currency-switch { display: inline-flex; padding: 0.25rem; border-radius: 999px; background: var(--paper); margin-bottom: 1.5rem; }
.currency-switch button { border: 0; background: transparent; color: var(--ink); font: 700 var(--step--1)/1 var(--font-body); padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer; }
.currency-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.price-card__option + .price-card__option { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.js .price-card__option[hidden] { display: none; }
.js .price-card__option + .price-card__option { margin-top: 0; padding-top: 0; border-top: 0; }
.price-card__amount { font: 800 clamp(2.75rem, 2rem + 3vw, 3.75rem)/1 var(--font-display); letter-spacing: -0.03em; margin-bottom: 0.35rem; }
.price-card__amount span { font: 400 var(--step-0)/1 var(--font-body); letter-spacing: 0; color: var(--ink-soft); margin-left: 0.4rem; }
.price-card__total { color: var(--ink-soft); margin-bottom: 1.5rem; }
.price-card__note { margin: 1rem 0 0; font-weight: 700; color: var(--cobalt-deep); }
.price-card__needs { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--step--1); }
.price-card__needs p { margin-bottom: 0.4rem; }
.price-card__needs li { padding: 0.3rem 0; color: var(--ink-soft); }
@media (max-width: 860px) { .pricing__grid { grid-template-columns: 1fr; } .price-card { box-shadow: 6px 6px 0 var(--ink); } }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); margin-top: 2rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 700 var(--step-1)/1.3 var(--font-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.05rem; font: 400 1.75rem/1 var(--font-body); color: var(--cobalt); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 1.5rem; color: var(--ink-soft); max-width: 40em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cobalt); color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band__title { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.025em; max-width: 18ch; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #d6f0e1; }

/* ---------- Curriculum ---------- */
.lessons { padding-bottom: var(--space); }
.lesson { border-top: 1px solid var(--line); }
.lesson:last-of-type { border-bottom: 1px solid var(--line); }
.lesson summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 6rem 1fr auto 1.5rem; gap: 1rem; align-items: baseline; padding: 1.25rem 0; }
.lesson summary::after { content: "+"; grid-column: 4; font: 400 1.6rem/1 var(--font-body); color: var(--cobalt); text-align: right; }
.lesson[open] summary::after { content: "–"; }
.lesson summary::-webkit-details-marker { display: none; }
.lesson__num { font-weight: 700; color: var(--cobalt); }
.lesson__title { font: 700 var(--step-1)/1.25 var(--font-display); }
.lesson__date { color: var(--ink-soft); font-size: var(--step--1); white-space: nowrap; }
.lesson summary:hover .lesson__title { color: var(--cobalt); }
.lesson[open] summary .lesson__title { color: var(--cobalt); }
.lesson__body { padding: 0 0 2rem 7rem; }
.lesson__intro { font-size: var(--step-1); color: var(--ink-soft); }
.lesson__build { background: var(--sun-soft); border-radius: var(--radius-s); padding: 0.75rem 1rem; }
.lesson__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin: 0 0 1.5rem; }
.lesson__cols h3,
.lesson__body h3,
.lesson-page h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.lesson__cols .check-list { margin-top: 0.5rem; gap: 0.5rem; font-size: 1rem; }
/* The two-hour session: same four colours as the session bar on the home page. */
.agenda { list-style: none; padding: 0; margin: 0.75rem 0 2rem; font-size: 1rem; display: grid; gap: 0.5rem; }
.agenda li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius-s); background: var(--tint); }
.agenda li:nth-child(2) { background: #cfeadb; }
.agenda li:nth-child(3) { background: var(--cobalt); color: #fff; }
.agenda li:nth-child(4) { background: var(--sun-soft); }
.agenda__time { font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.25; }
.agenda__mins { font-weight: 400; font-size: var(--step--1); opacity: 0.8; }
.agenda__what strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.lesson__ready { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 1.5rem 0 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-m); }
.lesson__ready h3 { margin-bottom: 0.4rem; }
.guide-refs,
.prep { list-style: none; padding: 0; margin: 0; font-size: 1rem; display: grid; gap: 0.6rem; }
.guide-refs li { display: flex; flex-direction: column; }
.guide-refs a,
.guide-refs__name { font-weight: 700; }
.guide-refs__steps { color: var(--ink-soft); }
.prep li { padding-left: 1.1rem; position: relative; }
.prep li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sun); }
.guides { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); max-width: 46rem; }
.guides__title { font-weight: 700; margin-bottom: 0.75rem; }
.guides__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.guides__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.guides__list a { font-weight: 700; }
.guides__list span { color: var(--ink-soft); font-size: var(--step--1); white-space: nowrap; }
.homework { padding-left: 1.25rem; font-size: 1rem; }
.homework li { margin-bottom: 0.35rem; }
.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.lesson-nav a { display: flex; flex-direction: column; text-decoration: none; font-weight: 700; color: var(--ink); }
.lesson-nav a:hover { color: var(--cobalt); }
.lesson-nav .muted { font-weight: 400; font-size: var(--step--1); }
.lesson-nav__next { grid-column: 2; text-align: right; }
@media (max-width: 700px) {
	.lesson summary { grid-template-columns: 1fr 1.5rem; gap: 0.15rem 0.75rem; }
	.lesson summary > * { grid-column: 1; }
	.lesson summary::after { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
	.lesson__body { padding-left: 0; }
	.lesson__cols,
	.lesson__ready { grid-template-columns: 1fr; }
	.agenda li { grid-template-columns: 1fr; gap: 0.25rem; }
	.agenda__time { flex-direction: row; gap: 0.5rem; }
}

/* ---------- Schedule ---------- */
.schedule { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.schedule__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1rem 0.75rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.schedule__date { font-weight: 700; font-variant-numeric: tabular-nums; }
.schedule__what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.schedule__week { color: var(--cobalt); font-weight: 700; font-size: var(--step--1); min-width: 4.5rem; }
.schedule__what a { color: var(--ink); text-decoration: none; font-weight: 700; }
.schedule__what a:hover { color: var(--cobalt); text-decoration: underline; }
.schedule__row--break { background: repeating-linear-gradient(-45deg, var(--sun-soft), var(--sun-soft) 10px, #fff 10px, #fff 20px); }
.schedule__row--break .schedule__what { color: var(--ink-soft); align-items: center; }
.schedule__row--break .icon { color: var(--cobalt-deep); }
.schedule__row.is-past { opacity: 0.55; }
.schedule__row.is-next { box-shadow: inset 4px 0 0 var(--cobalt); background: var(--tint); }
.badge { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 0.8rem; font-weight: 700; }
.local-time { margin-top: 0.75rem; color: var(--ink-soft); }
@media (max-width: 560px) { .schedule__row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ---------- After the course ---------- */
.ideas { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2.5rem; }
.ideas li { display: flex; flex-direction: column; gap: 0.25rem; border-left: 4px solid var(--sun); padding-left: 1rem; }
.ideas strong { font: 700 1.2rem/1.25 var(--font-display); }
.ideas span { color: var(--ink-soft); font-size: 1rem; }
.cost-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 1rem; }
.cost-table th,
.cost-table td { text-align: left; padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table th { font-size: var(--step--1); color: var(--ink-soft); font-weight: 700; }
.cost-table td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- Generic content ---------- */
.entry-content > * { max-width: 42em; }
.entry-content img { border-radius: var(--radius-m); }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 0.75rem; margin-top: 2rem; }
.page-numbers { padding: 0.4rem 0.8rem; border-radius: var(--radius-s); border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.alignwide { max-width: 60rem; }
.alignfull { max-width: none; }
.wp-caption-text,
figcaption { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d3e6dc; padding: 4rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__name { font: 800 1.5rem/1.1 var(--font-display); color: #fff; margin-bottom: 0.5rem; }
.site-footer__heading { font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.site-footer .plain-list li { margin-bottom: 0.4rem; }
.site-footer .muted { color: #a7c4b5; }
.site-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: var(--step--1); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.demo.is-waiting .demo__app,
	.demo.is-waiting .demo__live { opacity: 1; transform: none; }
}

@media print {
	.site-header, .cta-band, .site-footer, .hero__actions, .currency-switch { display: none; }
	.lesson[open] .lesson__body, .lesson .lesson__body { display: block; }
}

/* ---------- v1.2: example apps, included Claude Pro, bank transfer ---------- */
.badge--example { background: var(--ink); vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }
.app-tile .badge--example { margin-top: 0.3rem; font-size: 0.7rem; padding: 0.05rem 0.5rem; }
.listing__title .badge--example { font-size: 0.85rem; position: relative; top: -0.35em; }
.feature-card__text .badge--example { font-size: 0.7rem; }
.store-note { margin: 0.75rem 0 0; color: var(--ink-soft); max-width: 44em; }
.store-note .badge { margin-right: 0.25rem; }
.check-list li span { min-width: 0; }
.check-list__star { background: var(--tint); border-radius: var(--radius-s); padding: 0.75rem 0.9rem; }
.price-card__included { display: inline-block; margin: -0.5rem 0 1.25rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--tint); color: var(--cobalt-deep); font-weight: 700; font-size: var(--step--1); }
.price-card__methods { margin: 0.5rem 0 0; text-align: center; font-size: var(--step--1); color: var(--ink-soft); }
.price-card__bank { margin-top: 1.25rem; padding: 1rem; border-radius: var(--radius-s); background: var(--paper); font-size: 1rem; }
.price-card__bank p { margin: 0 0 0.35rem; }
