/* CodeStack Academy - commercial frontend (FASE 5.2). Namespaced under
   .csac-landing-, .csac-checkout- and .csac-thankyou- prefixes, plus the
   shared .csac- component classes already defined in academy.css (buttons,
   cards, trust list). No bare element selectors outside .csac-academy or
   .wc-block-checkout scopes - never leaks into unrelated WordPress pages.
   (Note: never write an asterisk immediately followed by a slash inside a
   CSS comment, even mid-sentence - it closes the comment early and
   silently corrupts everything parsed after it; this exact typo sat
   unnoticed at the very top of this file for a long time. */

/* Own palette for the public landing only (never bleeds into the Academy
   dashboard/checkout/order pages - those keep the original --csac-accent
   blue defined on .csac-academy in academy.css). 2026-09 redesign:
   replicates the "Landing Academy" Claude Design prototype - a warm
   sage/green editorial palette (bg/ink/green/orange) with generous pill
   shapes, replacing the earlier wine/gold pairing.
   Every token here is named --land-* (not --csac-*) specifically so it can
   never collide with academy.css's own --csac-* tokens by name, and this
   file is inlined into the document as a <style> tag (see
   LandingShell::renderCommercialCss()) rather than linked as a separate
   .css file, so there is no second cacheable HTTP resource or
   cross-stylesheet load-order/specificity question to get wrong at all. */
/* Compound selector (.csac-academy.csac-landing, not just .csac-landing) is
   still used here on top of the unique --land-* names as further, redundant
   insurance - the body element carries BOTH classes, so this stays correct
   even if a future edit ever reused a --csac-* name here by mistake. */
.csac-academy.csac-landing {
	/* 2026-09: blue palette replacing the earlier green/orange one, per
	   explicit hex values from the client (#2075B1 primary, white page
	   background, #DFEFF5 as the light tint for box contrast). The hover,
	   "light accent for dark backgrounds", and muted-on-dark shades below
	   are derived (not given as exact hex) - flagged for confirmation. */
	--land-bg: #FFFFFF;
	--land-surface: #FFFFFF;
	--land-text: #12382A;
	--land-text-secondary: #4F6B5C;
	--land-border: rgba(18,56,42,.12);
	--land-accent: #2075B1;
	--land-accent-hover: #15578A;
	--land-radius: 24px;
	--land-shadow: 0 1px 2px rgba(18,56,42,.04), 0 1px 1px rgba(18,56,42,.03);
	--land-tint: #DFEFF5;
	--land-tint-border: #B8DCEA;
	--land-shadow-lg: 0 40px 80px -30px rgba(18,56,42,.35);
	--land-bg-soft: #DFEFF5;
	--land-ink: #0E3A56;
	--land-ink-soft: rgba(14,58,86,.92);
	--land-sage: #7EC8EC;
	--land-orange: #2075B1;
	--land-orange-light: #7EC8EC;
	--land-peach: #DFEFF5;
	--land-muted-on-ink: #C9DCE8;
	--land-faint-on-ink: #8FAEC2;
	background: var(--land-bg);
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.csac-academy.csac-landing,
.csac-landing input,
.csac-landing button,
.csac-landing select,
.csac-landing textarea { font-family: "Kedebideri", Georgia, "Times New Roman", serif; }
.csac-landing .csac-hero__title,
.csac-landing .csac-section__title,
.csac-landing .csac-perche__title,
.csac-landing .csac-audience__title,
.csac-landing .csac-programma-card__title,
.csac-landing .csac-hero-card__title,
.csac-landing .csac-bonus-card__title,
.csac-landing .csac-offer-card__price,
.csac-landing .csac-final-cta h2,
.csac-landing .csac-teacher__name { font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-weight: 400; }
.csac-landing em { font-style: normal; color: var(--land-accent); }
.csac-landing .csac-btn span[aria-hidden] { margin-left: 4px; }
.csac-landing .csac-strike { text-decoration: line-through; text-decoration-color: var(--land-orange); }
.csac-landing .csac-muted-em { color: var(--land-faint-on-ink); }

.csac-eyebrow { color: var(--land-accent); font-weight: 600; font-size: 15px; margin: 0 0 16px; }

.csac-btn-lg { padding: 16px 30px; font-size: 16px; }
.csac-landing .csac-btn { border-radius: 999px; font-weight: 600; }
.csac-landing .csac-btn-primary { background: var(--land-accent); }
.csac-landing .csac-btn-primary:hover { background: var(--land-accent-hover); }
/* .csac-btn-accent is used on colored backgrounds (final CTA section,
   the dark offer-card panel, the sticky bar) where --land-orange/-land-accent
   no longer stands out now that they're the same blue as those backgrounds
   - white-on-blue by default (always visible, no hover needed to reveal it)
   inverting to dark-ink-on-white on hover. */
.csac-landing .csac-btn-accent { background: #fff; color: var(--land-accent); border-color: #fff; }
.csac-landing .csac-btn-accent:hover { background: var(--land-ink); color: #fff; border-color: var(--land-ink); }

/* ---------- Landing header ---------- */

.csac-landing-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--land-border); }
.csac-landing-header__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.csac-landing-header__brand { display: flex; align-items: center; gap: 10px; font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 22px; text-decoration: none; color: var(--land-ink); }
.csac-landing-header__brand img { height: 28px; }
.csac-landing-header__toggle { display: none; background: none; border: 1px solid var(--land-border); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.csac-landing-header__toggle svg { width: 20px; height: 20px; }
.csac-landing-nav { display: flex; align-items: center; gap: 32px; }
.csac-landing-nav > a { color: var(--land-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.csac-landing-nav > a:hover { color: var(--land-orange); }
.csac-landing-nav__actions { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.csac-landing-nav__actions .csac-btn-secondary { background: none; border: none; padding: 0; color: var(--land-ink); font-weight: 500; }
.csac-landing-nav__actions .csac-btn-secondary:hover { background: none; color: var(--land-orange); }
.csac-landing-nav__actions .csac-btn-primary { background: var(--land-ink); padding: 10px 20px; }
.csac-landing-nav__actions .csac-btn-primary:hover { background: var(--land-orange); }

/* ---------- Hero ---------- */

.csac-hero { padding: 56px 24px 96px; text-align: center; background: radial-gradient(900px 420px at 50% -10%, rgba(32,117,177,.14), transparent 60%), radial-gradient(700px 380px at 100% 30%, rgba(32,117,177,.08), transparent 60%); }
.csac-hero__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; text-align: left; }
.csac-hero__title { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 22px; max-width: 17ch; color: var(--land-ink); }
.csac-hero__subtitle { font-size: 18px; line-height: 1.6; color: var(--land-text-secondary); margin: 0 0 34px; max-width: 42ch; }
.csac-hero__microcopy { font-size: 13px; color: var(--land-text-secondary); margin: 14px 0 0; }
.csac-hero__media { position: relative; }
.csac-hero__media img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 32px; box-shadow: var(--land-shadow-lg); display: block; }
.csac-hero__video.csac-video { border-radius: 32px; box-shadow: var(--land-shadow-lg); border: 6px solid #fff; }

/* Hero-video variant: the video IS the hero. */
.csac-hero--video .csac-hero__video-inner { max-width: 1040px; margin: 0 auto; }
.csac-hero--video .csac-hero__title { max-width: 1040px; margin-inline: auto; }
.csac-hero--video .csac-hero__subtitle { max-width: 640px; margin-inline: auto; margin-bottom: 48px; }


.csac-hero__video-wrap { position: relative; margin: 0 0 40px; }
.csac-hero__video-shape { position: absolute; inset: 24px -16px -16px 24px; background: var(--land-sage); border-radius: 32px; z-index: 0; }
.csac-hero__video-badge {
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--land-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 999px;
	box-shadow: 0 12px 24px -8px rgba(32,117,177,.5);
	white-space: nowrap;
}
.csac-hero__video-badge svg { width: 14px; height: 14px; }
.csac-video.csac-hero__video { position: relative; z-index: 1; width: 100%; }

.csac-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: center; }

/* Premium editorial placeholder shown until a real hero image is configured
   (FASE 5.2B section 2) - never a bare empty rectangle, and never an
   invented photo. */
.csac-hero-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #FFFFFF, var(--land-tint) 120%);
	border: 1px solid var(--land-tint-border);
	border-radius: 24px;
	padding: 40px 32px;
	box-shadow: var(--land-shadow-lg);
}
.csac-hero-card::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(32,117,177,.14), transparent 70%);
}
.csac-hero-card__badge {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--land-accent);
	background: #FFFFFF;
	border: 1px solid var(--land-tint-border);
	padding: 7px 16px;
	border-radius: 999px;
	margin: 0 0 24px;
}
.csac-hero-card__title { position: relative; font-size: 23px; font-weight: 400; margin: 0 0 26px; color: var(--land-ink); }
.csac-hero-card__stats { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.csac-hero-card__stats li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--land-ink); }
.csac-hero-card__stats svg { width: 20px; height: 20px; color: var(--land-accent); flex-shrink: 0; }

/* ---------- Sections ---------- */

.csac-section { padding: 96px 24px; }
.csac-section--alt { background: var(--land-surface); }
.csac-section--soft { background: var(--land-bg-soft); }
.csac-section__inner { max-width: 1200px; margin: 0 auto; }
.csac-section__inner--narrow { max-width: 820px; }
.csac-section__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 20px; text-align: center; }
.csac-section__inner--narrow .csac-section__title { text-align: left; }
.csac-section__lead { text-align: center; color: var(--land-text-secondary); margin: -8px 0 28px; }
.csac-section__head { text-align: center; margin: 0 0 48px; }
.csac-prose { max-width: 65ch; font-size: 16px; line-height: 1.6; color: var(--land-text-secondary); }
.csac-prose p { margin: 0 0 16px; }

/* ---------- "Perché" (full-bleed dark statement section) ---------- */

.csac-perche { background: var(--land-ink); color: var(--land-bg); text-align: center; }
.csac-perche .csac-section__inner { max-width: 960px; }
.csac-perche__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--land-sage); margin: 0 0 24px; }
.csac-perche__title { font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.01em; font-weight: 400; margin: 0 0 56px; }
.csac-perche__title em { color: var(--land-orange-light); font-style: normal; }
.csac-perche__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; border-top: 1px solid rgba(245,250,243,.2); text-align: left; }
.csac-perche__grid p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--land-muted-on-ink); }
.csac-perche__grid em { color: var(--land-orange-light); font-style: normal; }

/* ---------- "Cosa imparerai" (alternating numbered cards) ---------- */

.csac-learning-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.csac-learning-card { border-radius: var(--land-radius); padding: 36px; min-height: 280px; display: flex; flex-direction: column; }
.csac-learning-card--0 { background: var(--land-surface); border: 1px solid var(--land-border); color: var(--land-ink); }
.csac-learning-card--1 { background: var(--land-tint); color: var(--land-ink); }
.csac-learning-card--2 { background: var(--land-accent); color: #fff; }
.csac-learning-card__num { font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 64px; line-height: 1; margin: 0 0 4px; opacity: .85; }
.csac-learning-card__label { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600; }
.csac-learning-card--0 .csac-learning-card__label { color: var(--land-orange); }
.csac-learning-card--1 .csac-learning-card__label { color: var(--land-accent); }
.csac-learning-card--2 .csac-learning-card__label { color: var(--land-sage); }
.csac-learning-card__title { font-size: 19px; font-weight: 600; margin: 8px 0 12px; }
.csac-learning-card__desc { font-size: 15px; line-height: 1.6; margin: 0; opacity: .9; }

/* ---------- "Per chi è" (sticky intro + row list) ---------- */

.csac-audience { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 48px; }
.csac-audience__intro { align-self: start; position: sticky; top: 110px; }
.csac-audience__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; font-weight: 400; margin: 0; }
.csac-audience__title em { color: var(--land-orange); font-style: normal; }
.csac-audience-list { list-style: none; margin: 0; padding: 0; }
.csac-audience-list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 20px;
	align-items: flex-start;
	padding: 32px 0;
	border-top: 1px solid var(--land-border);
}
.csac-audience-list li:last-child { border-bottom: 1px solid var(--land-border); }
.csac-audience-list__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1.5px solid var(--land-orange);
	color: var(--land-orange);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.csac-audience-list__icon svg { width: 20px; height: 20px; }
.csac-audience-list__title { display: block; font-weight: 600; font-size: 17px; color: var(--land-ink); }
.csac-audience-list__desc { margin: 10px 0 0; font-size: 15px; color: var(--land-text-secondary); line-height: 1.6; }

/* ---------- "Programma" (single white card, 2-col) ---------- */

.csac-programma-card {
	background: var(--land-surface);
	border-radius: 32px;
	padding: clamp(28px, 5vw, 64px);
	box-shadow: var(--land-shadow-lg);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.csac-programma-card__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--land-accent); margin: 0 0 16px; }
.csac-programma-card__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 20px; }
.csac-programma-card__title em { color: var(--land-orange); font-style: normal; }
.csac-programma-card__lead { font-size: 17px; line-height: 1.6; color: var(--land-text-secondary); margin: 0; max-width: 360px; }
.csac-programma-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.csac-programma-list li {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 24px;
	background: var(--land-bg);
	border-radius: 18px;
	font-size: 15px;
	font-weight: 500;
	color: var(--land-ink);
}
.csac-programma-list__number {
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 32px;
	color: var(--land-orange);
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
	width: 44px;
}
.csac-programma-list__title { flex: 1; }
.csac-programma-list__play {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--land-ink);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.csac-programma-list__play svg { width: 14px; height: 14px; }
.csac-programma-list__bonus { background: transparent; border: 1.5px dashed var(--land-orange); }
.csac-programma-list__bonus-note { font-size: 13px; font-weight: 600; color: var(--land-orange); }

/* ---------- Bonus (decorative dark card) ---------- */

.csac-bonus-card {
	position: relative;
	overflow: hidden;
	background: var(--land-accent);
	color: #fff;
	border-radius: 32px;
	padding: clamp(28px, 6vw, 80px);
}
.csac-bonus-card__ring { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; pointer-events: none; }
.csac-bonus-card__ring--lg { width: 420px; height: 420px; top: -140px; right: -140px; }
.csac-bonus-card__ring--sm { width: 260px; height: 260px; top: -60px; right: -60px; }
.csac-bonus-card__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.csac-bonus-card__badge {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(14,58,86,.35);
	padding: 8px 14px;
	border-radius: 999px;
	margin: 0 0 24px;
}
.csac-bonus-card__title { font-size: clamp(40px, 5.5vw, 72px); font-weight: 400; line-height: 1; letter-spacing: -0.02em; margin: 0 0 24px; }
.csac-bonus-card__title em { color: inherit; font-style: normal; }
.csac-bonus-card__lead { margin-top: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 540px; }
.csac-bonus-card__panel { background: var(--land-ink-soft); border-radius: 24px; padding: 32px; }
.csac-bonus-card__panel h3 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.csac-bonus-card__panel .csac-prose { font-size: 15px; line-height: 1.6; }
.csac-bonus-card__panel .csac-prose p { color: var(--land-muted-on-ink); }
.csac-bonus-card__panel .csac-prose p ~ p { color: var(--land-faint-on-ink); font-size: 14px; }
.csac-bonus-card__panel .csac-prose a { color: var(--land-orange-light); text-decoration: none; }

/* ---------- Docente e prezzo (merged 2-col) ---------- */

.csac-teacher-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }

.csac-teacher {
	background: var(--land-surface);
	border: 1px solid var(--land-border);
	border-radius: 32px;
	padding: 40px;
}
.csac-teacher__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--land-accent); margin: 0 0 24px; }
.csac-teacher__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin: 0 0 24px; }
.csac-teacher__initials {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: repeating-linear-gradient(135deg, var(--land-tint), var(--land-tint) 8px, var(--land-sage) 8px, var(--land-sage) 16px);
	color: var(--land-orange);
	font-size: 28px;
	font-weight: 600;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0 0 24px;
}
.csac-teacher__name { font-size: 32px; font-weight: 400; margin: 0; }
.csac-teacher__role { color: var(--land-accent); font-size: 15px; font-weight: 500; margin: 8px 0 20px; }
.csac-teacher__bio { color: var(--land-text-secondary); font-size: 15px; line-height: 1.65; }
.csac-teacher__bio p { margin: 0 0 14px; }
.csac-teacher__bio p:last-child { margin-bottom: 0; }

.csac-offer-card { background: var(--land-ink); color: var(--land-bg); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; }
.csac-offer-card__title { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--land-sage); margin: 0 0 16px; }
.csac-offer-card__price { font-size: 96px; font-weight: 400; color: #fff; margin: 0; line-height: .9; }
.csac-offer-card__price del { color: var(--land-faint-on-ink); font-size: 30px; margin-right: 8px; }
.csac-offer-card__price-note { font-size: 14px; color: var(--land-faint-on-ink); margin: 8px 0 28px; }
.csac-offer-card__includes { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #fff; }
.csac-offer-card__includes li { display: flex; align-items: center; gap: 10px; }
.csac-offer-card__includes svg { width: 18px; height: 18px; color: var(--land-orange-light); flex-shrink: 0; }
.csac-offer-card .csac-btn { margin-top: auto; }

.csac-trust-list { list-style: none; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid rgba(245,250,243,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; font-weight: 400; color: var(--land-faint-on-ink); }
.csac-trust-list li { display: flex; align-items: center; gap: 8px; }

/* ---------- FAQ ---------- */

.csac-faq { display: flex; flex-direction: column; }
.csac-faq__item { border-top: 1px solid var(--land-border); padding: 0; }
.csac-faq__item:last-child { border-bottom: 1px solid var(--land-border); }
.csac-faq__item summary {
	cursor: pointer;
	padding: 24px 0;
	font-weight: 600;
	font-size: 17px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.csac-faq__item summary::-webkit-details-marker { display: none; }
.csac-faq__item summary:focus-visible { outline: 2px solid var(--land-accent); outline-offset: 4px; border-radius: 4px; }
.csac-faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--land-orange);
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 26px;
}
.csac-faq__item[open] summary::after { content: "−"; }
.csac-faq__item p { max-width: 65ch; margin: 0 0 24px; color: var(--land-text-secondary); font-size: 15px; line-height: 1.6; }

.csac-final-cta { padding: 120px 24px; text-align: center; background: var(--land-accent); color: #fff; }
.csac-final-cta h2 { font-size: clamp(20px, 2.2vw, 26px); font-style: italic; font-weight: 400; line-height: 1.5; letter-spacing: 0; max-width: 46ch; margin: 0 auto 16px; opacity: .92; }
.csac-final-cta h2 em { color: var(--land-orange-light); font-style: italic; }
.csac-final-cta p { color: var(--land-muted-on-ink); font-size: 17px; margin: 0 0 30px; }

/* ---------- Sticky bottom CTA bar ---------- */

.csac-sticky-cta {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translate(-50%, 24px);
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 20px;
	background: var(--land-ink);
	color: #fff;
	padding: 14px 16px 14px 24px;
	border-radius: 999px;
	box-shadow: 0 20px 50px -16px rgba(18,56,42,.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.csac-sticky-cta.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.csac-sticky-cta__label { font-size: 14px; font-weight: 500; white-space: nowrap; }
.csac-sticky-cta__label strong { color: var(--land-orange-light); margin-left: 6px; }
.csac-sticky-cta .csac-btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Footer ---------- */

.csac-landing-footer { padding: 32px 24px 100px; background: var(--land-ink); }
.csac-landing-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.csac-landing-footer__brand { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--land-faint-on-ink); }
.csac-landing-footer__brand strong { color: #fff; font-size: 20px; font-weight: 400; font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.csac-landing-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.csac-landing-footer__links a { font-size: 13px; color: var(--land-faint-on-ink); text-decoration: none; }
.csac-landing-footer__links a:hover { color: #fff; }

/* ---------- Checkout branding (presentation layer only) ---------- */

.csac-checkout-topbar { max-width: 1180px; margin: 0 auto 8px; padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.csac-checkout-topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--land-text); }
.csac-checkout-topbar__brand img { height: 26px; }
.csac-checkout-topbar__secure { font-size: 13px; color: var(--land-text-secondary); display: flex; align-items: center; gap: 6px; }
.csac-checkout-topbar__secure::before { content: "🔒"; }

/* Checkout page, not the landing - .csac-checkout-note lives outside
   .csac-landing scope so it never had a working --land-accent to read
   (the accent color simply never applied there). Reuses the shared
   --csac-accent tokens from academy.css instead, which the checkout page
   does load and which now carries the same green as the rest of the
   platform. */
.csac-checkout-note { max-width: 1180px; margin: 0 auto 20px; padding: 0 24px; font-size: 14px; color: var(--csac-accent); background: var(--csac-accent-tint); border: 1px solid var(--csac-accent-tint-border); border-radius: var(--csac-radius-sm); padding: 12px 20px; }

.csac-checkout-trust { max-width: 1180px; margin: 32px auto 0; padding: 0 24px 40px; }

/* Restyle WooCommerce Checkout Blocks to match Academy tokens - CSS only,
   the block markup/behaviour itself is never touched. */
.wc-block-checkout { color: var(--land-text); }
.wc-block-checkout .wc-block-components-checkout-step__title { font-size: 17px; font-weight: 700; }
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-textarea textarea,
.wc-block-checkout select {
	border-radius: var(--csac-radius-sm) !important;
	border-color: var(--land-border) !important;
}
.wc-block-checkout .wc-block-components-checkout-step {
	background: var(--land-surface);
	border: 1px solid var(--land-border);
	border-radius: var(--land-radius);
	padding: 20px 22px !important;
}
.wc-block-components-checkout-order-summary,
.wp-block-woocommerce-checkout-order-summary-block {
	background: var(--land-surface);
	border: 1px solid var(--land-border);
	border-radius: var(--land-radius);
}
.wc-block-components-checkout-place-order-button,
.wc-block-checkout button[type="submit"] {
	background: var(--land-accent) !important;
	border-radius: var(--csac-radius-sm) !important;
	border-color: var(--land-accent) !important;
}
.wc-block-components-checkout-place-order-button:hover {
	background: var(--land-accent-hover) !important;
}

/* ---------- Thank-you ---------- */

.csac-thankyou { max-width: 640px; margin: 0 auto 32px; }
.csac-thankyou__card { text-align: center; padding: 40px 28px; border-radius: var(--land-radius); border: 1px solid var(--land-border); background: var(--land-surface); }
.csac-thankyou__card--success { background: linear-gradient(135deg, #F0FDF4, #FFFFFF); border-color: #BBF7D0; }
.csac-thankyou__card--pending { background: linear-gradient(135deg, #FFFBEB, #FFFFFF); border-color: #FDE68A; }
.csac-thankyou__card--failed { background: linear-gradient(135deg, #FEF2F2, #FFFFFF); border-color: #FECACA; }
.csac-thankyou__card h1 { font-size: 24px; font-weight: 800; margin: 0 0 10px; }
.csac-thankyou__card p { color: var(--land-text-secondary); margin: 0 0 22px; }
.csac-thankyou__card .csac-status-list { text-align: left; margin-top: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.csac-hero__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
	.csac-hero__media { order: -1; }
	.csac-hero { padding: 48px 20px 60px; }
	.csac-hero__title { max-width: none; margin-inline: auto; }
	.csac-hero__subtitle { margin-inline: auto; }
	.csac-hero-card { padding: 32px 26px; }
	.csac-hero__video-shape { inset: 16px -10px -10px 16px; }

	.csac-landing-header__toggle { display: inline-flex; }
	.csac-landing-nav {
		position: fixed;
		top: 72px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		background: var(--land-surface);
		border-bottom: 1px solid var(--land-border);
		padding: 12px 24px 20px;
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease, transform .2s ease;
	}
	.csac-landing-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
	.csac-landing-nav > a { padding: 10px 0; width: 100%; }
	.csac-landing-nav__actions { flex-direction: column; align-items: stretch; width: 100%; margin: 10px 0 0; }
	.csac-landing-nav__actions .csac-btn { width: 100%; }
	.csac-landing-nav__actions .csac-btn-primary { padding: 12px 20px; }

	.csac-section { padding: 56px 20px; }
	.csac-perche { padding: 56px 20px; }
	.csac-teacher { flex-direction: column; text-align: center; }

	.csac-learning-grid { grid-template-columns: 1fr; }
	.csac-audience { grid-template-columns: 1fr; gap: 24px; }
	.csac-audience__intro { position: static; }
	.csac-programma-card { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
	.csac-bonus-card__grid { grid-template-columns: 1fr; gap: 32px; }
	.csac-teacher-offer { grid-template-columns: 1fr; }

	.csac-trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; justify-items: start; }
	.csac-sticky-cta { left: 20px; right: 20px; transform: translateY(24px); width: auto; justify-content: space-between; }
	.csac-sticky-cta.is-visible { transform: translateY(0); }
}

@media (max-width: 480px) {
	.csac-hero__title { font-size: 30px; }
	.csac-hero-card { padding: 28px 22px; }
	.csac-offer-card { padding: 28px 22px; }
	.csac-offer-card__price { font-size: 44px; }
	.csac-bonus-card { padding: 26px 22px; }
	.csac-teacher { padding: 28px 22px; }
	.csac-checkout-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
	.csac-sticky-cta__label { white-space: normal; }
}

/* FASE 6.3: admin-only preview/status banners on a per-course landing. */
.csac-admin-preview-notice {
	background: #FFFBEB;
	color: #92400E;
	border-bottom: 1px solid #FDE68A;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}
