/* ==========================================================================
   HN Theme 3 — tokens
   Header, drawer and mobile dock follow the MirrorORG pattern, in the site's red.
   ========================================================================== */
:root {
	--c-brand: #d71920;
	--c-brand-600: #c1141b;
	--c-brand-700: #a30f15;
	--c-brand-100: #fbd6d7;
	--c-brand-50: #fff1f1;
	--c-brand-soft: #ff9a9e;
	--c-deep: #5b0a0f;
	--c-night: #0c0d13;
	--c-night-800: #171823;
	--c-ink: #12131b;
	--c-body: #464958;
	--c-muted: #6b6f80;
	--c-line: #e8e9ef;
	--c-line-strong: #d5d7e1;
	--c-surface: #f6f7fa;
	--c-white: #fff;
	--c-ok: #0f8a4a;
	--c-ok-bg: #e9f7ef;
	--c-danger: #c8321f;
	--c-danger-bg: #fdf0ee;
	--c-wa: #1fae55;
	--c-wa-dark: #128c43;

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: 1.25rem;
	--fs-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
	--fs-h1: clamp(2.1rem, 1.3rem + 3vw, 3.75rem);

	--container: 1240px;
	--gutter: clamp(1rem, .4rem + 2.6vw, 2rem);
	--section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	--header-h: 84px;
	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-xl: 24px;
	--r-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(18, 19, 27, .06);
	--shadow-md: 0 1px 2px rgba(18, 19, 27, .04), 0 12px 32px -14px rgba(18, 19, 27, .18);
	--shadow-lg: 0 32px 64px -28px rgba(18, 19, 27, .35);
	--shadow-brand: 0 14px 30px -14px rgba(215, 25, 32, .65);
	--ring: 0 0 0 3px rgba(215, 25, 32, .3);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--spring: cubic-bezier(.3, .9, .3, 1);
	--dur: .2s;

	/* Older names still used by plugin pages and inline styles. */
	--hn-red: var(--c-brand);
	--hn-red-dark: var(--c-brand-700);
	--hn-red-soft: var(--c-brand-50);
	--hn-ink: var(--c-ink);
	--hn-text: var(--c-body);
	--hn-muted: var(--c-muted);
	--hn-line: var(--c-line);
	--hn-bg-muted: var(--c-surface);
	--hn-radius: var(--r-lg);
	--hn-font: var(--font);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.7; color: var(--c-body); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, iframe { max-width: 100%; height: auto; }
/* PDF lessons: the rule above removes the iframe's height="480" and leaves it at the browser's default 150px. */
.content-item-description iframe.igd-embed { display: block; width: 100%; height: 80vh; min-height: 480px; border: 0; }
a { color: var(--c-brand); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-brand-700); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--c-brand); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hn-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.hn-skip:focus { left: 8px; }
.hn-icon { flex-shrink: 0; vertical-align: middle; }

.hn-container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.hn-container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.hn-section { position: relative; padding-block: var(--section); }
.hn-section--tight { padding-block: calc(var(--section) * .55); }
.hn-section--first { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.hn-section--muted { background: var(--c-surface); }
.hn-center { text-align: center; }
.hn-mt { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.hn-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand); margin: 0 0 12px; }
.hn-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.hn-eyebrow--light { color: var(--c-brand-soft); }

.hn-grid { display: grid; gap: clamp(16px, 1rem + .6vw, 24px); }
.hn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .hn-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hn-grid--2, .hn-grid--3 { grid-template-columns: 1fr; } }

/* Scroll reveal (only once the script has marked the page, so nothing hides without JS). */
.hn-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.hn-js [data-reveal].is-in { opacity: 1; transform: none; }
.hn-js .hn-course.is-settled { transition: box-shadow .4s var(--ease), border-color .3s var(--ease), transform .25s var(--ease); transition-delay: 0s; }

/* ==========================================================================
   Buttons, links, pills
   ========================================================================== */
.hn-btn, .button, button.button, input[type="submit"], .lp-button {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent; isolation: isolate; overflow: hidden;
	font: 700 15px/1.2 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hn-btn:active, .lp-button:active { transform: scale(.97); }
.hn-btn .hn-icon--arrow { transition: transform .3s var(--spring); }
.hn-btn:hover .hn-icon--arrow { transform: translateX(4px); }
/* Light sweep on primary buttons. */
.hn-btn--primary::after, .hn-btn--wa-solid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%) -200% 0 / 200% 100% no-repeat; transition: background-position .8s var(--ease); }
.hn-btn--primary:hover::after, .hn-btn--wa-solid:hover::after { background-position: 200% 0; }
.hn-btn--primary, .lp-button, input[type="submit"] { background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-700) 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), var(--shadow-brand); }
.hn-btn--primary:hover, .lp-button:hover, input[type="submit"]:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 34px -14px rgba(215, 25, 32, .75); }
.hn-btn--ghost, .button { background: var(--c-white); color: var(--c-ink); border-color: var(--c-line-strong); }
.hn-btn--ghost:hover, .button:hover { border-color: var(--c-ink); color: var(--c-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hn-btn--wa-solid { background: linear-gradient(145deg, #2fd16b 0%, var(--c-wa-dark) 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 28px -14px rgba(18, 140, 67, .85); }
.hn-btn--wa-solid:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 34px -14px rgba(18, 140, 67, 1); }
.hn-btn--light { background: #fff; color: var(--c-brand); }
.hn-btn--lg { padding: 15px 28px; font-size: 16px; }
.hn-btn--block { width: 100%; }
.hn-wa-ico { color: var(--c-wa); }
.hn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.hn-link .hn-icon { transition: transform .3s var(--spring); }
.hn-link:hover .hn-icon { transform: translateX(4px); }
.hn-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; background: var(--c-surface); color: var(--c-ink); }
.hn-pill--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.hn-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--c-brand-100); border-radius: var(--r-pill); background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); color: var(--c-ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.hn-chip__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); }
.hn-chip__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-brand); animation: hn-ping 2s var(--ease) infinite; }

/* ==========================================================================
   Top bits: progress bar, announcement ticker
   ========================================================================== */
.hn-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; }
.hn-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--c-brand-soft), var(--c-brand)); }
.hn-announce { position: relative; z-index: 51; overflow: hidden; background: linear-gradient(90deg, var(--c-night), var(--c-deep), var(--c-night)); color: rgba(255, 255, 255, .88); font-size: 13.5px; font-weight: 600; }
.hn-announce__track { display: flex; width: max-content; animation: hn-marquee 40s linear infinite; }
.hn-announce__track span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 36px; white-space: nowrap; }
.hn-announce .hn-icon { color: var(--c-brand-soft); }
.hn-announce:hover .hn-announce__track { animation-play-state: paused; }

/* ==========================================================================
   Header — floating glass bar
   ========================================================================== */
.hn-header { position: sticky; top: 0; z-index: 50; margin-bottom: calc(-1 * var(--header-h)); padding-block: 10px; pointer-events: none; }
.admin-bar .hn-header { top: 32px; }
.hn-header-space { height: var(--header-h); }
.hn-header__inner {
	position: relative; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px;
	height: 64px; padding-inline: 18px 10px; border: 1px solid rgba(213, 215, 225, .7); border-radius: 20px;
	background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px -20px rgba(18, 19, 27, .3); pointer-events: auto;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease);
}
.hn-header__inner::after { content: ""; position: absolute; inset-inline: 28px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(215, 25, 32, .6), transparent); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.hn-header.is-scrolled .hn-header__inner { border-color: rgba(213, 215, 225, .95); background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 20px 44px -24px rgba(18, 19, 27, .4); }
.hn-header.is-scrolled .hn-header__inner::after { opacity: 1; }
.hn-header.is-hidden .hn-header__inner { transform: translateY(calc(-100% - 20px)); }
.hn-header__brand { justify-self: start; }
.hn-logo { display: block; line-height: 0; }
.hn-logo img { width: auto; height: 38px; }

.hn-nav { position: relative; min-width: 0; padding: 4px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-surface); }
.hn-nav__list { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hn-nav__list > li { position: relative; }
.hn-nav__list > li.has-mega { position: static; }
.hn-nav__list > li > a { display: flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: var(--r-pill); color: var(--c-body); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; transition: color var(--dur) var(--ease); }
.hn-nav__list > li > a:hover { color: var(--c-ink); }
.hn-nav__ico { opacity: .55; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hn-nav__list > li > a:hover .hn-nav__ico, .hn-nav__list > li.is-current > a .hn-nav__ico { opacity: 1; transform: translateY(-1px); }
.hn-nav__list > li.is-current > a { color: var(--c-brand-700); }
.hn-nav__list > .has-mega > a::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.hn-nav__list > .has-mega:hover > a::after, .hn-nav__list > .has-mega:focus-within > a::after { margin-top: 3px; transform: rotate(-135deg); }
.hn-nav__glider { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); border-radius: var(--r-pill); background: var(--c-white); box-shadow: 0 1px 2px rgba(18, 19, 27, .08), 0 6px 14px -8px rgba(215, 25, 32, .5); opacity: 0; transform: translateX(var(--x, 0)); pointer-events: none; }
.hn-nav__glider.is-on { opacity: 1; }
.hn-nav.is-ready .hn-nav__glider { transition: transform .4s var(--spring), width .4s var(--spring), opacity .2s var(--ease); }

/* Mega menu */
.hn-mega {
	position: absolute; top: calc(100% + 23px); left: 50%; z-index: 20; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .95fr); gap: 8px;
	width: min(1080px, calc(100vw - 48px)); padding: 8px; border: 1px solid var(--c-line); border-radius: 26px; background: var(--c-white);
	box-shadow: 0 50px 90px -40px rgba(18, 19, 27, .55), 0 12px 30px -18px rgba(18, 19, 27, .2);
	opacity: 0; visibility: hidden; transform: translate(-50%, 12px) scale(.985); transform-origin: 50% 0;
	transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.hn-mega::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 26px; }
.hn-nav__list > .has-mega:hover > .hn-mega, .hn-nav__list > .has-mega:focus-within > .hn-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s var(--ease) .06s, transform .35s var(--spring) .06s, visibility 0s linear .06s; }
.hn-nav__list > .has-mega.is-closed > .hn-mega { opacity: 0; visibility: hidden; transition: none; }
.hn-mega a { white-space: normal; }
.hn-mega__col { padding: 18px 16px 16px; }
.hn-mega__col--soft { display: flex; flex-direction: column; border-radius: 20px; background: var(--c-surface); }
.hn-mega__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 6px 12px; color: var(--c-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hn-mega__eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.hn-mega__cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.hn-mega__cats a { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 16px; color: var(--c-ink); transition: background-color var(--dur) var(--ease); }
.hn-mega__cats a:hover { background: var(--c-surface); color: var(--c-ink); }
.hn-mega__ico { display: grid; flex-shrink: 0; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--c-brand-50); color: var(--c-brand); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform .3s var(--ease), box-shadow var(--dur) var(--ease); }
.hn-mega__cats a:hover .hn-mega__ico { background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; box-shadow: 0 10px 18px -10px rgba(215, 25, 32, .9); transform: translateY(-2px) rotate(-6deg); }
.hn-mega__txt { display: grid; gap: 2px; min-width: 0; line-height: 1.45; }
.hn-mega__txt strong { display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 800; }
.hn-mega__txt em { padding: 1px 7px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-muted); font-size: 11px; font-style: normal; font-weight: 700; }
.hn-mega__cats a:hover em { background: var(--c-white); }
.hn-mega__txt small { color: var(--c-muted); font-size: 12.5px; font-weight: 500; }
.hn-mega__picks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hn-mega__picks a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; color: var(--c-ink); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hn-mega__picks a:hover { background: var(--c-white); color: var(--c-ink); box-shadow: 0 10px 24px -16px rgba(18, 19, 27, .4); }
.hn-mega__thumb { flex-shrink: 0; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, var(--c-deep), var(--c-brand)); }
.hn-mega__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hn-mega__picks a:hover .hn-mega__thumb img { transform: scale(1.08); }
.hn-mega__pick { display: grid; gap: 2px; min-width: 0; line-height: 1.45; }
.hn-mega__pick strong { font-size: 13.5px; font-weight: 800; }
.hn-mega__pick small { color: var(--c-muted); font-size: 12.5px; }
.hn-nav .hn-mega .hn-mega__more { display: flex; justify-content: space-between; align-items: center; margin: auto 6px 0; padding: 10px 14px; border-radius: 14px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: 13.5px; font-weight: 700; }
.hn-nav .hn-mega .hn-mega__more:hover { background: var(--c-brand-100); }
.hn-mega__promo {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; overflow: hidden; border-radius: 20px; isolation: isolate; color: rgba(255, 255, 255, .78);
	background: linear-gradient(rgba(255, 154, 158, .07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255, 154, 158, .07) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(260px 200px at 100% 0%, rgba(215, 25, 32, .6), transparent 70%), linear-gradient(160deg, var(--c-deep) 0%, var(--c-night) 100%);
}
.hn-mega__promo::after { content: ""; position: absolute; left: -40px; bottom: -60px; z-index: -1; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 174, 85, .35), transparent 70%); }
.hn-mega__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; font-size: 11.5px; font-weight: 700; }
.hn-mega__badge .hn-icon { color: #ffc861; }
.hn-mega__promo-title { margin: 4px 0 0; color: #fff; font-size: 1.2rem; font-weight: 800; line-height: 1.35; }
.hn-mega__promo-text { margin: 0 0 6px; font-size: 13.5px; line-height: 1.7; }
.hn-nav .hn-mega .hn-mega__wa { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: auto; padding: 11px 14px; border-radius: 14px; background: linear-gradient(145deg, #2fd16b, var(--c-wa-dark)); color: #fff; font-size: var(--fs-sm); font-weight: 700; box-shadow: 0 12px 24px -12px rgba(18, 140, 67, .9); transition: transform var(--dur) var(--ease); }
.hn-nav .hn-mega .hn-mega__wa:hover { transform: translateY(-1px); }

/* Header tools */
.hn-header__tools { display: flex; justify-self: end; align-items: center; gap: 8px; }
.hn-icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-white); color: var(--c-ink); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hn-header__initial { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; font-weight: 800; font-size: 15px; }
.hn-acct { position: relative; }
.hn-acct:hover .hn-header__account, .hn-acct:focus-within .hn-header__account { border-color: var(--c-brand-100); background: var(--c-brand-50); color: var(--c-brand); }
.hn-acct__panel {
	position: absolute; top: calc(100% + 21px); right: -6px; z-index: 20; display: grid; gap: 4px; width: 320px; padding: 10px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white);
	box-shadow: 0 40px 80px -36px rgba(18, 19, 27, .55), 0 12px 30px -18px rgba(18, 19, 27, .2);
	opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: 90% 0; transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.hn-acct__panel::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 24px; }
.hn-acct:hover > .hn-acct__panel, .hn-acct:focus-within > .hn-acct__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease) .06s, transform .35s var(--spring) .06s, visibility 0s linear .06s; }
.hn-acct__hero { display: grid; place-items: center; width: 56px; height: 56px; margin: 10px auto 2px; border-radius: 18px; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; box-shadow: var(--shadow-brand); }
.hn-acct__title { margin: 6px 0 0; color: var(--c-ink); font-size: 1.05rem; font-weight: 800; text-align: center; }
.hn-acct__text { margin: 0 8px 8px; color: var(--c-muted); font-size: 13.5px; line-height: 1.6; text-align: center; }
.hn-acct__btn { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-700)); color: #fff; font-size: var(--fs-sm); font-weight: 700; box-shadow: var(--shadow-brand); }
.hn-acct__btn:hover { color: #fff; filter: brightness(1.05); }
.hn-acct__btn--ghost { background: var(--c-surface); color: var(--c-ink); box-shadow: none; }
.hn-acct__btn--ghost:hover { background: var(--c-brand-50); color: var(--c-brand-700); filter: none; }
.hn-acct__me { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 12px; border-radius: 18px; color: #fff; background: radial-gradient(160px 120px at 0% 0%, rgba(255, 154, 158, .45), transparent 70%), linear-gradient(135deg, var(--c-night) 0%, var(--c-deep) 55%, var(--c-brand) 100%); }
.hn-acct__me > span:last-child { display: grid; min-width: 0; line-height: 1.4; }
.hn-acct__me strong { overflow: hidden; font-size: var(--fs-sm); white-space: nowrap; text-overflow: ellipsis; }
.hn-acct__me small { color: rgba(255, 255, 255, .75); font-size: 12px; }
.hn-acct__avatar { display: grid; flex-shrink: 0; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 13px; background: rgba(255, 255, 255, .14); font-size: 1.1rem; font-weight: 800; }
.hn-acct__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; }
.hn-acct__link .hn-icon { color: var(--c-brand); }
.hn-acct__link:hover { background: var(--c-surface); color: var(--c-ink); }
.hn-acct__link.is-logout, .hn-acct__link.is-logout .hn-icon { color: var(--c-danger); }
.hn-acct__link.is-logout:hover { background: var(--c-danger-bg); }

.hn-hcta {
	display: inline-flex; align-items: center; gap: 10px; height: 44px; padding-inline: 5px 18px; border-radius: var(--r-pill); color: #fff; font-size: var(--fs-sm); font-weight: 800; white-space: nowrap;
	background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%) -200% 0 / 200% 100% no-repeat, linear-gradient(135deg, var(--c-night) 0%, var(--c-brand) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -12px rgba(215, 25, 32, .75);
	transition: background-position .8s var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hn-hcta:hover { background-position: 200% 0, 0 0; color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 28px -12px rgba(215, 25, 32, .85); }
.hn-hcta__icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-wa); color: #fff; }
.hn-hcta__icon::after, .hn-dock__fab .hn-dock__icon::after { content: ""; position: absolute; inset: -2px; border: 2px solid rgba(31, 174, 85, .65); border-radius: 50%; animation: hn-ring 2.6s var(--ease) infinite; pointer-events: none; }

.hn-menu-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--c-night), var(--c-deep)); color: #fff; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(91, 10, 15, .9); transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hn-menu-toggle:hover { background: var(--c-brand); }
.hn-menu-toggle:active { transform: scale(.94); }
.hn-burger { display: grid; justify-items: end; gap: 4px; width: 20px; }
.hn-burger i { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s var(--ease); }
.hn-burger i:nth-child(2) { width: 70%; }
.hn-burger i:nth-child(3) { width: 42%; }
.hn-menu-toggle:hover .hn-burger i { width: 100%; }

.hn-header.is-fit .hn-nav__ico { display: none; }
.hn-header.is-fit .hn-nav__list > li > a { padding-inline: 12px; }
.hn-header.is-fit .hn-hcta { padding-inline: 5px; }
.hn-header.is-fit .hn-hcta__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 1100px) {
	.hn-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
	.hn-nav { display: none; }
	.hn-menu-toggle { display: grid; }
}
@media (max-width: 782px) { .admin-bar .hn-header { top: 46px; } }
@media (max-width: 768px) {
	:root { --header-h: 74px; }
	.hn-header { padding-block: 8px; }
	.hn-header__inner { height: 58px; padding-inline: 14px 7px; border-radius: 18px; }
	.hn-logo img { height: 32px; }
	.hn-hcta, .hn-acct { display: none; }
}
@media (max-width: 600px) { .admin-bar .hn-header { top: 0; } }

/* ==========================================================================
   Drawer (mobile menu)
   ========================================================================== */
.hn-drawer[hidden] { display: none; }
.hn-drawer { position: fixed; inset: 0; z-index: 100; }
.admin-bar .hn-drawer { z-index: 100000; }
.hn-drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 13, 19, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.hn-drawer__panel {
	position: absolute; inset-block: 10px; right: 10px; display: flex; flex-direction: column; gap: 16px; width: min(380px, calc(100vw - 20px)); padding: 14px 14px 0; overflow: hidden; border-radius: 26px;
	background: radial-gradient(420px 240px at 50% -60px, rgba(215, 25, 32, .1), transparent 70%), var(--c-white); box-shadow: 0 40px 80px -30px rgba(12, 13, 19, .6);
	transform: translateX(calc(100% + 20px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); will-change: transform;
}
.hn-drawer__panel:focus { outline: none; }
.hn-drawer__panel > * { flex-shrink: 0; }
.hn-drawer.is-open .hn-drawer__backdrop { opacity: 1; }
.hn-drawer.is-open .hn-drawer__panel { transform: none; }
.hn-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.hn-drawer__head .hn-logo img { height: 32px; }
.hn-drawer__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 14px; background: var(--c-surface); color: var(--c-ink); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform .35s var(--ease); }
.hn-drawer__close:hover { background: var(--c-brand-50); color: var(--c-brand); transform: rotate(90deg); }
.hn-drawer__me { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; color: #fff; background: radial-gradient(180px 140px at 0% 0%, rgba(255, 154, 158, .45), transparent 70%), linear-gradient(135deg, var(--c-night) 0%, var(--c-deep) 55%, var(--c-brand) 100%); box-shadow: 0 16px 30px -18px rgba(91, 10, 15, .9); }
.hn-drawer__me:hover { color: #fff; }
.hn-drawer__avatar { display: grid; flex-shrink: 0; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 15px; background: rgba(255, 255, 255, .14); font-size: 1.2rem; font-weight: 800; }
.hn-drawer__me-text { display: grid; flex: 1; min-width: 0; line-height: 1.4; }
.hn-drawer__me-text small { color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); }
.hn-drawer__me-text strong { overflow: hidden; font-size: 1.05rem; white-space: nowrap; text-overflow: ellipsis; }
.hn-drawer__scroll { display: flex; flex: 1 1 auto; flex-direction: column; gap: 16px; min-height: 0; margin-inline: -14px; padding: 2px 14px 18px; overflow-y: auto; overscroll-behavior: contain; }
.hn-drawer__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hn-drawer__list > li > a { display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: 16px; color: var(--c-ink); font-size: 1.05rem; font-weight: 700; transition: background-color var(--dur) var(--ease); }
.hn-drawer__list > li > a:hover { background: var(--c-surface); color: var(--c-ink); }
.hn-drawer__ico { display: grid; flex-shrink: 0; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--c-brand-50); color: var(--c-brand); }
.hn-drawer__label { flex: 1; }
.hn-drawer__chev { color: var(--c-line-strong); }
.hn-drawer__list > li.is-current > a { background: var(--c-brand-50); color: var(--c-brand-700); }
.hn-drawer__list > li.is-current .hn-drawer__ico { background: var(--c-brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(215, 25, 32, .85); }
.hn-drawer__list > li.has-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 4px; }
.hn-drawer__toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 13px; background: var(--c-surface); color: var(--c-ink); cursor: pointer; }
.hn-drawer__toggle .hn-icon { transition: transform .3s var(--ease); }
.hn-drawer__toggle[aria-expanded="true"] { background: var(--c-brand); color: #fff; }
.hn-drawer__toggle[aria-expanded="true"] .hn-icon { transform: rotate(180deg); }
.hn-drawer__sub { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0 10px; padding: 0; list-style: none; animation: hn-sub-in .3s var(--ease); }
.hn-drawer__sub[hidden] { display: none; }
.hn-drawer__sub a { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px; border: 1px solid var(--c-line); border-radius: 14px; color: var(--c-ink); font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.hn-drawer__sub a:hover { border-color: var(--c-brand-100); background: var(--c-brand-50); color: var(--c-brand-700); }
.hn-drawer__sub .hn-icon { color: var(--c-brand); }
.hn-drawer__sub span { flex: 1; }
.hn-drawer__sub em { color: var(--c-muted); font-size: 11px; font-style: normal; }
.hn-drawer__quick { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hn-drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 14px; background: var(--c-surface); color: var(--c-ink); font-size: 12px; font-weight: 700; text-align: center; }
.hn-drawer__quick .hn-icon { color: var(--c-brand); }
.hn-drawer__quick a.is-logout, .hn-drawer__quick a.is-logout .hn-icon { background: var(--c-danger-bg); color: var(--c-danger); }
.hn-drawer__cta { display: grid; gap: 12px; margin-top: auto; padding: 16px; border-radius: 20px; background: var(--c-surface); }
.hn-drawer__cta p { display: grid; margin: 0; line-height: 1.5; }
.hn-drawer__cta strong { color: var(--c-ink); }
.hn-drawer__cta span { color: var(--c-muted); font-size: 13.5px; }
.hn-drawer-open { overflow: hidden; }
.hn-js .hn-drawer.is-open .hn-drawer__list > li { animation: hn-drawer-item .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }

/* ==========================================================================
   Mobile dock
   ========================================================================== */
.hn-dock { display: none; }
@media (max-width: 768px) {
	body .hn-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.hn-dock { position: fixed; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: block; border: 1px solid rgba(213, 215, 225, .75); border-radius: 24px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px -16px rgba(12, 13, 19, .45); transition: transform .4s var(--ease); }
	.hn-dock.is-hidden { transform: translateY(calc(100% + 20px)); }
	.hn-dock ul { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin: 0; padding: 0 4px; list-style: none; }
	.hn-dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; color: var(--c-muted); font-size: 11px; font-weight: 700; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
	.hn-dock__icon { display: grid; place-items: center; width: 50px; height: 30px; border-radius: var(--r-pill); transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
	.hn-dock a:hover { color: var(--c-ink); }
	.hn-dock a:active .hn-dock__icon { transform: scale(.9); }
	.hn-dock a[aria-current="page"] { color: var(--c-brand-700); }
	.hn-dock a[aria-current="page"] .hn-dock__icon { background: var(--c-brand-50); color: var(--c-brand); }
	.hn-dock__fab a, .hn-dock__fab a:hover { justify-content: flex-end; padding-bottom: 9px; color: var(--c-wa-dark); }
	.hn-dock__fab .hn-dock__icon { position: absolute; top: -22px; left: 50%; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; background: linear-gradient(145deg, #2fd16b 0%, var(--c-wa-dark) 100%); color: #fff; box-shadow: 0 0 0 5px var(--c-white), 0 14px 26px -8px rgba(18, 140, 67, .8); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hn-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.hn-hero--compact { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hn-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #fff7f7 0%, #fff 70%); }
.hn-hero__grid { position: absolute; inset: 0; background: linear-gradient(rgba(18, 19, 27, .05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(18, 19, 27, .05) 1px, transparent 1px) 0 0 / 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); }
.hn-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: hn-blob 18s ease-in-out infinite alternate; }
.hn-blob--1 { top: -120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(215, 25, 32, .35), transparent 65%); }
.hn-blob--2 { bottom: -160px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 168, 120, .35), transparent 65%); animation-duration: 22s; animation-direction: alternate-reverse; }
.hn-hero__wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hn-hero h1 { margin: 22px 0 14px; }
.hn-hl { position: relative; display: inline-block; color: var(--c-brand); white-space: nowrap; }
.hn-hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; z-index: -1; height: .32em; border-radius: 6px; background: var(--c-brand-100); transform-origin: 0 50%; animation: hn-underline 1s .6s var(--spring) both; }
.hn-hero__rotator { margin: 0 0 10px; color: var(--c-ink); font-size: var(--fs-lg); font-weight: 700; }
.hn-rotate { display: inline-block; min-width: 3ch; padding: 1px 12px; border-radius: 10px; background: var(--c-ink); color: #fff; transition: opacity .3s var(--ease), transform .4s var(--spring); }
.hn-rotate.is-out { opacity: 0; transform: translateY(-10px) rotateX(70deg); }
.hn-hero__lead { max-width: 560px; color: var(--c-muted); font-size: var(--fs-lg); }
.hn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.hn-hero__cta--center { justify-content: center; }
.hn-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.hn-stats div { display: flex; flex-direction: column-reverse; min-width: 120px; padding: 12px 18px; border: 1px solid var(--c-line); border-radius: 18px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); }
.hn-stats dt { color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-stats dd { margin: 0; color: var(--c-ink); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.hn-hero__visual { position: relative; perspective: 1200px; }
.hn-scan { position: relative; overflow: hidden; border-radius: 28px; background: var(--c-night); box-shadow: 0 50px 90px -40px rgba(18, 19, 27, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset; transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform .6s var(--ease); }
.hn-scan img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; opacity: .92; }
.hn-scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 13, 19, .45)); }
.hn-scan__line { position: absolute; inset-inline: 0; top: 0; z-index: 1; height: 90px; background: linear-gradient(180deg, transparent, rgba(255, 90, 95, .22) 70%, rgba(255, 120, 125, .9) 98%, transparent); mix-blend-mode: screen; animation: hn-scan 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
.hn-scan__corners i { position: absolute; z-index: 2; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .85); }
.hn-scan__corners i:nth-child(1) { top: 16px; left: 16px; border-width: 2px 0 0 2px; border-radius: 8px 0 0 0; }
.hn-scan__corners i:nth-child(2) { top: 16px; right: 16px; border-width: 2px 2px 0 0; border-radius: 0 8px 0 0; }
.hn-scan__corners i:nth-child(3) { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; border-radius: 0 0 0 8px; }
.hn-scan__corners i:nth-child(4) { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; border-radius: 0 0 8px 0; }
.hn-scan__hud { position: absolute; z-index: 2; padding: 4px 9px; border-radius: 6px; background: rgba(12, 13, 19, .55); color: #ffb3b6; font: 600 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; backdrop-filter: blur(6px); }
.hn-scan__hud--tl { top: 26px; left: 50px; }
.hn-scan__hud--br { right: 50px; bottom: 26px; }
.hn-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(18, 19, 27, .45); line-height: 1.35; animation: hn-float 6s ease-in-out infinite; }
.hn-float small { display: block; color: var(--c-brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hn-float strong { color: var(--c-ink); font-size: 14px; }
.hn-float__ico { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; }
.hn-float__ico--ok { background: linear-gradient(135deg, #2fd16b, var(--c-wa-dark)); }
.hn-float--a { left: -28px; bottom: 34px; }
.hn-float--b { top: 26px; right: -22px; animation-delay: -2s; }
.hn-float--c { right: 28px; bottom: -22px; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); color: var(--c-muted); font-size: 13px; animation-delay: -4s; }
.hn-float--c strong { color: var(--c-ink); }
.hn-avatars { display: flex; }
.hn-avatars i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.hn-avatars i:first-child { margin-left: 0; }
.hn-avatars i:nth-child(2) { background: linear-gradient(135deg, #3d4256, var(--c-night)); }
.hn-avatars i:nth-child(3) { background: linear-gradient(135deg, #ff9a6a, #d9480f); }
.hn-hero__visual--logo { display: grid; place-items: center; }
.hn-logo-card { padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform .6s var(--ease); }
.hn-logo-card img { display: block; width: min(360px, 100%); }
.hn-404__code { margin: 0; font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) {
	.hn-hero__wrap { grid-template-columns: 1fr; }
	.hn-hero__visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
	.hn-float--a { left: -6px; }
	.hn-float--b { right: -6px; }
}
@media (max-width: 560px) {
	.hn-stats { gap: 8px; }
	.hn-stats div { flex: 1; min-width: 0; padding: 10px 12px; }
	.hn-stats dd { font-size: 1.35rem; }
	.hn-float--b { top: 14px; right: 10px; padding: 8px 12px; }
	.hn-float--a { bottom: 22px; padding: 8px 12px; }
	.hn-float__ico { width: 32px; height: 32px; }
	.hn-float--c { display: none; }
	.hn-scan__hud { display: none; }
	.hn-hero__cta .hn-btn { flex: 1 1 100%; }
}

/* Marquee */
.hn-marquee { position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--c-line); background: var(--c-white); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hn-marquee__track { display: flex; gap: 12px; width: max-content; animation: hn-marquee 45s linear infinite; }
.hn-marquee:hover .hn-marquee__track { animation-play-state: paused; }
.hn-marquee span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.hn-marquee .hn-icon { color: var(--c-brand); }

/* ==========================================================================
   Page head
   ========================================================================== */
.hn-pagehead { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(2rem, 1.5rem + 2.5vw, 4rem)) 0 clamp(2.25rem, 1.75rem + 2vw, 3.5rem); background: linear-gradient(180deg, #fff6f6, var(--c-white)); border-bottom: 1px solid var(--c-line); }
.hn-pagehead__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 19, 27, .045) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(18, 19, 27, .045) 1px, transparent 1px) 0 0 / 40px 40px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 80% 0%, #000 20%, transparent 70%); }
.hn-pagehead__bg span { position: absolute; top: -140px; right: -60px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 25, 32, .25), transparent 65%); filter: blur(40px); animation: hn-blob 16s ease-in-out infinite alternate; }
.hn-pagehead__bg span + span { top: auto; right: auto; bottom: -200px; left: 10%; background: radial-gradient(circle, rgba(255, 168, 120, .22), transparent 65%); animation-direction: alternate-reverse; }
.hn-pagehead h1 { margin: 14px 0 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.hn-pagehead p { max-width: 680px; margin: 12px 0 0; color: var(--c-muted); font-size: var(--fs-lg); }
.hn-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: rgba(255, 255, 255, .8); color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); }
.hn-crumbs a:hover { color: var(--c-brand); }
.hn-crumbs [aria-current] { color: var(--c-ink); }
.hn-crumbs .hn-icon--chevron-side { color: var(--c-line-strong); }

/* ==========================================================================
   Sections & components
   ========================================================================== */
.hn-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 1rem + 1.5vw, 40px); }
.hn-section__head h2 { margin: 0; }
.hn-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.hn-section__head--center p:last-child { max-width: 620px; margin: 4px 0 0; color: var(--c-muted); font-size: var(--fs-lg); }
.hn-section__head--center .hn-eyebrow { margin: 0; }
@media (max-width: 640px) { .hn-section__head:not(.hn-section__head--center) { flex-direction: column; align-items: flex-start; } }

/* Spotlight that follows the pointer (set by JS through --mx/--my). */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(215, 25, 32, .1), transparent 60%); opacity: 0; transition: opacity .3s var(--ease); }
[data-spot]:hover::before { opacity: 1; }

/* Tracks (home) */
.hn-tracks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hn-track { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; min-height: 210px; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); color: var(--c-body); transition: border-color .3s var(--ease), transform .4s var(--spring), box-shadow .4s var(--ease); }
.hn-track:nth-child(1) { grid-column: span 3; background: linear-gradient(160deg, var(--c-deep) 0%, var(--c-night) 100%); border-color: transparent; color: rgba(255, 255, 255, .75); }
.hn-track:nth-child(2) { grid-column: span 3; }
.hn-track:hover { border-color: var(--c-brand-100); transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--c-body); }
.hn-track:nth-child(1):hover { color: rgba(255, 255, 255, .8); }
.hn-track strong { margin-top: auto; color: var(--c-ink); font-size: 1.35rem; letter-spacing: -.02em; }
.hn-track:nth-child(1) strong { color: #fff; font-size: 1.7rem; }
.hn-track__desc { font-size: 14.5px; }
.hn-track__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--c-brand-50); color: var(--c-brand); transition: transform .4s var(--spring); }
.hn-track:hover .hn-track__ico { transform: rotate(-8deg) scale(1.08); }
.hn-track:nth-child(1) .hn-track__ico { background: rgba(255, 255, 255, .1); color: #fff; }
.hn-track__count { position: absolute; top: 24px; right: 24px; padding: 4px 11px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-ink); font-size: 12.5px; font-weight: 800; }
.hn-track:nth-child(1) .hn-track__count { background: rgba(255, 255, 255, .12); color: #fff; }
.hn-track__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s var(--ease), transform .4s var(--spring); }
.hn-track:hover .hn-track__go { opacity: 1; transform: none; background: var(--c-brand); color: #fff; }
.hn-track:nth-child(1)::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(rgba(255, 154, 158, .07) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(255, 154, 158, .07) 1px, transparent 1px) 0 0 / 26px 26px, radial-gradient(320px 240px at 100% 0%, rgba(215, 25, 32, .55), transparent 70%); }
@media (max-width: 900px) { .hn-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hn-track, .hn-track:nth-child(n) { grid-column: span 1; } .hn-track:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hn-tracks { grid-template-columns: 1fr; } .hn-track { min-height: 0; } .hn-track__go { opacity: 1; transform: none; } }

/* Course cards */
.hn-course { position: relative; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--c-line); border-radius: 26px; background: var(--c-white); transform-style: preserve-3d; transition: box-shadow .4s var(--ease), border-color .3s var(--ease), transform .5s var(--ease); }
.hn-course:hover { border-color: var(--c-brand-100); box-shadow: 0 30px 60px -30px rgba(18, 19, 27, .4), 0 0 0 4px var(--c-brand-50); }
.hn-course::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .25), transparent 45%); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.hn-course:hover::after { opacity: 1; }
.hn-course[hidden] { display: none; }
.hn-course__media { position: relative; overflow: hidden; aspect-ratio: 5 / 3; border-radius: 19px; background: linear-gradient(135deg, var(--c-deep), var(--c-night)); }
.hn-course__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s var(--ease); }
.hn-course:hover .hn-course__media img { transform: scale(1.06); filter: saturate(1.1); }
.hn-course__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 19, .35) 0%, transparent 35%); pointer-events: none; }
.hn-course__tag { position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill); background: rgba(12, 13, 19, .55); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hn-course__tag .hn-icon { color: var(--c-brand-soft); }
.hn-course__free { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 5px 11px; border-radius: var(--r-pill); background: linear-gradient(145deg, #2fd16b, var(--c-wa-dark)); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 16px -8px rgba(18, 140, 67, .9); }
.hn-course__body { display: flex; flex-direction: column; flex: 1; padding: 16px 12px 10px; }
.hn-course__title { display: -webkit-box; margin: 0 0 12px; overflow: hidden; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.02em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hn-course__title a { color: var(--c-ink); transition: color var(--dur); }
.hn-course__title a::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.hn-course:hover .hn-course__title a { color: var(--c-brand-700); }
.hn-course__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.hn-course__facts li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-body); font-size: 12.5px; font-weight: 600; }
.hn-course__facts .hn-icon { color: var(--c-brand); }
.hn-course__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-line); }
.hn-course__access { display: inline-flex; align-items: center; gap: 7px; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-course__access .hn-icon { color: var(--c-brand); }
.hn-course__go { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--spring), box-shadow .3s; }
.hn-course:hover .hn-course__go { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-700)); color: #fff; transform: rotate(-45deg); box-shadow: var(--shadow-brand); }
.hn-course__progress { display: grid; flex: 1; gap: 6px; color: var(--c-muted); font-size: 12.5px; font-weight: 600; }
.hn-course__progress strong { color: var(--c-ink); font-size: 14px; }
.hn-course__progress i { position: relative; display: block; height: 6px; overflow: hidden; border-radius: var(--r-pill); background: var(--c-surface); }
.hn-course__progress i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--p), 4%); border-radius: inherit; background: linear-gradient(90deg, var(--c-brand-soft), var(--c-brand)); }
.hn-course.is-owned { border-color: rgba(31, 174, 85, .3); }
.hn-course.is-owned .hn-course__go { background: var(--c-ok-bg); color: var(--c-ok); }
@media (max-width: 640px) {
	.hn-course { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0; padding: 7px; border-radius: 22px; }
	.hn-course__media { aspect-ratio: auto; height: 100%; min-height: 118px; border-radius: 16px; }
	.hn-course__tag { display: none; }
	.hn-course__free { top: 6px; right: 6px; padding: 3px 8px; font-size: 10px; }
	.hn-course__body { padding: 8px 6px 4px 14px; }
	.hn-course__title { margin-bottom: 8px; font-size: 1rem; }
	.hn-course__facts { gap: 4px; margin-bottom: 10px; }
	.hn-course__facts li { padding: 3px 8px 3px 6px; font-size: 11.5px; }
	.hn-course__facts li:nth-child(n+3) { display: none; }
	.hn-course__foot { padding-top: 8px; }
	.hn-course__access { font-size: 12px; }
	.hn-course__go { width: 34px; height: 34px; }
	.hn-grid--3 { gap: 12px; }
}

/* Catalogue toolbar */
.hn-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.hn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-chip-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-body); font: 700 14px/1.2 var(--font); cursor: pointer; transition: all .25s var(--ease); }
.hn-chip-btn .hn-icon { color: var(--c-brand); }
.hn-chip-btn em { padding: 1px 7px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-muted); font-size: 11.5px; font-style: normal; }
.hn-chip-btn:hover { border-color: var(--c-ink); color: var(--c-ink); transform: translateY(-1px); }
.hn-chip-btn.is-active { border-color: var(--c-ink); background: var(--c-ink); color: #fff; box-shadow: 0 10px 20px -12px rgba(18, 19, 27, .7); }
.hn-chip-btn.is-active .hn-icon { color: var(--c-brand-soft); }
.hn-chip-btn.is-active em { background: rgba(255, 255, 255, .15); color: #fff; }
.hn-search { position: relative; flex: 0 1 320px; }
.hn-search .hn-icon { position: absolute; top: 50%; left: 16px; margin-top: -9px; color: var(--c-muted); pointer-events: none; }
.hn-search input[type="search"] { padding: 12px 18px 12px 46px; border-radius: var(--r-pill); }
.hn-catalog .hn-course.is-entering { animation: hn-card-in .5s var(--spring) both; animation-delay: calc(var(--n, 0) * 40ms); }
.hn-empty { display: grid; justify-items: center; gap: 10px; padding: 48px 0; color: var(--c-muted); text-align: center; }
.hn-empty[hidden] { display: none; }
.hn-empty .hn-icon { color: var(--c-line-strong); }
@media (max-width: 640px) { .hn-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; } .hn-chips::-webkit-scrollbar { display: none; } .hn-chip-btn { flex-shrink: 0; } .hn-search { flex: 1 1 100%; } }

/* Dark offer band (home) */
.hn-section--dark { overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .78); background: var(--c-night); }
.hn-section--dark h2 { color: #fff; }
.hn-section__glow { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(600px 400px at 85% 20%, rgba(215, 25, 32, .45), transparent 70%), radial-gradient(500px 360px at 0% 100%, rgba(91, 10, 15, .9), transparent 70%); }
.hn-offerband { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hn-checks { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.hn-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-lg); }
.hn-checks .hn-icon { flex-shrink: 0; margin-top: 4px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(47, 209, 107, .18); color: #4be38a; }
.hn-pricecard { position: relative; display: grid; gap: 12px; padding: 32px; border-radius: 28px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(16px); text-align: center; isolation: isolate; }
/* Rotating light around the price card. */
.hn-pricecard::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--c-brand-soft) 75%, #fff 80%, var(--c-brand) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hn-spin 5s linear infinite; }
.hn-pricecard::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .12); }
.hn-pricecard__label { justify-self: center; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(215, 25, 32, .25); color: #ffc2c4; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hn-pricecard__price { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hn-pricecard__note { margin-bottom: 8px; color: rgba(255, 255, 255, .65); font-size: 14px; }
.hn-pricecard__more { display: inline-flex; justify-content: center; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; }
.hn-pricecard__more:hover { color: #fff; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (max-width: 860px) { .hn-offerband { grid-template-columns: 1fr; } }

/* Steps */
.hn-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.hn-split__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.hn-split__intro p { color: var(--c-muted); font-size: var(--fs-lg); }
@media (max-width: 860px) { .hn-split { grid-template-columns: 1fr; gap: 28px; } .hn-split__intro { position: static; } }
.hn-steps { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hn-steps::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 41px; width: 2px; background: var(--c-line); }
.hn-steps::after { content: ""; position: absolute; top: 30px; bottom: 30px; left: 41px; width: 2px; background: linear-gradient(var(--c-brand), var(--c-brand-soft)); transform-origin: 0 0; transform: scaleY(var(--progress, 0)); transition: transform .2s linear; }
.hn-steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); counter-increment: s; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--spring); }
.hn-steps li:hover { border-color: var(--c-brand-100); box-shadow: var(--shadow-md); transform: translateX(6px); }
.hn-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-brand-50); color: var(--c-brand); font-weight: 800; transition: background-color .3s, color .3s; }
.hn-steps li.is-in::before { background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; box-shadow: var(--shadow-brand); }
.hn-steps strong { color: var(--c-ink); font-size: 1.05rem; }
.hn-steps span { color: var(--c-muted); font-size: 15px; }

/* Teleradiology strip */
.hn-tele { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; padding: clamp(22px, 1rem + 2vw, 40px); border: 1px solid var(--c-line); border-radius: 28px; background: linear-gradient(120deg, var(--c-white) 40%, #fff5f5); box-shadow: var(--shadow-md); }
.hn-tele__logo { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); }
.hn-tele__logo img { width: 120px; }
.hn-tele h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.hn-tele__copy > p:not(.hn-eyebrow) { margin-bottom: 14px; color: var(--c-muted); }
.hn-tele__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hn-tele__facts span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-muted); font-size: 13.5px; font-weight: 600; }
.hn-tele__facts strong { color: var(--c-ink); }
.hn-tele__facts .hn-icon { color: var(--c-brand); }
@media (max-width: 900px) { .hn-tele { grid-template-columns: 1fr; } .hn-tele__logo { width: 110px; height: 110px; } .hn-tele__logo img { width: 86px; } .hn-tele > .hn-btn { justify-self: start; } }

/* FAQ */
.hn-faqwrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.hn-faqwrap__intro p:not(.hn-eyebrow) { color: var(--c-muted); }
@media (max-width: 860px) { .hn-faqwrap { grid-template-columns: 1fr; gap: 20px; } }
.hn-faq { display: grid; gap: 10px; }
.hn-faq details { border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-white); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.hn-faq details:hover { border-color: var(--c-line-strong); }
.hn-faq details[open] { border-color: var(--c-brand-100); box-shadow: var(--shadow-md); }
.hn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--c-ink); font-weight: 700; cursor: pointer; list-style: none; }
.hn-faq summary::-webkit-details-marker { display: none; }
.hn-faq__ico { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand-50); transition: background-color .3s, transform .4s var(--spring); }
.hn-faq__ico::before, .hn-faq__ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--c-brand); transition: transform .3s var(--ease), background-color .3s; }
.hn-faq__ico::after { transform: rotate(90deg); }
.hn-faq details[open] .hn-faq__ico { background: var(--c-brand); transform: rotate(180deg); }
.hn-faq details[open] .hn-faq__ico::before, .hn-faq details[open] .hn-faq__ico::after { background: #fff; }
.hn-faq details[open] .hn-faq__ico::after { transform: rotate(0); }
.hn-faq__a { overflow: hidden; }
.hn-faq__a p { margin: 0; padding: 0 20px 20px; color: var(--c-muted); }

/* Features, contact, callout, perks */
.hn-feature { position: relative; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--spring); }
.hn-feature:hover { border-color: var(--c-brand-100); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.hn-feature--plain:hover { transform: none; }
.hn-feature--plain h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.hn-feature p { color: var(--c-muted); }
.hn-feature__ico, .hn-contact__ico, .hn-callout__ico, .hn-perk__ico { display: grid; flex-shrink: 0; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--c-brand-50); color: var(--c-brand); transition: transform .4s var(--spring), background-color .3s, color .3s; }
.hn-feature:hover .hn-feature__ico, .hn-contact:hover .hn-contact__ico { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; }
.hn-feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hn-contact { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); color: var(--c-body); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--spring); }
.hn-contact:hover { border-color: var(--c-brand-100); box-shadow: var(--shadow-lg); color: var(--c-body); transform: translateY(-6px); }
.hn-contact--wa .hn-contact__ico { background: #e8f8ef; color: var(--c-wa-dark); }
.hn-contact--wa:hover .hn-contact__ico { background: linear-gradient(145deg, #2fd16b, var(--c-wa-dark)); }
.hn-contact--fb .hn-contact__ico { background: #ebf2ff; color: #1877f2; }
.hn-contact--fb:hover .hn-contact__ico { background: #1877f2; }
.hn-contact__label { color: var(--c-brand); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hn-contact strong { color: var(--c-ink); font-size: 1.2rem; word-break: break-word; }
.hn-contact__sub { color: var(--c-muted); font-size: 14px; }
.hn-contact__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); transition: background-color .3s, color .3s, transform .4s var(--spring); }
.hn-contact:hover .hn-contact__go { background: var(--c-ink); color: #fff; transform: rotate(45deg); }
.hn-callout { display: flex; align-items: center; gap: 22px; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: clamp(22px, 1rem + 1.5vw, 34px); border-radius: 26px; color: rgba(255, 255, 255, .75); background: radial-gradient(400px 260px at 100% 0%, rgba(215, 25, 32, .55), transparent 70%), linear-gradient(135deg, var(--c-night), var(--c-deep)); }
.hn-callout > div { flex: 1; }
.hn-callout h2 { margin-bottom: 4px; color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.hn-callout p { margin: 0; }
.hn-callout__ico { margin: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.hn-callout--soft { color: var(--c-muted); background: var(--c-surface); }
.hn-callout--soft h2 { color: var(--c-ink); }
.hn-callout--soft .hn-callout__ico { background: var(--c-white); color: var(--c-brand); }
@media (max-width: 760px) { .hn-callout { flex-direction: column; align-items: flex-start; } .hn-callout .hn-btn { width: 100%; } }
.hn-pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.hn-pricing__side { display: grid; gap: 12px; }
.hn-perk { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); transition: border-color .3s, transform .4s var(--spring), box-shadow .3s; }
.hn-perk:hover { border-color: var(--c-brand-100); transform: translateX(6px); box-shadow: var(--shadow-md); }
.hn-perk__ico { margin: 0; width: 46px; height: 46px; }
.hn-perk strong { color: var(--c-ink); }
.hn-perk p { margin: 2px 0 0; color: var(--c-muted); font-size: 14.5px; }
@media (max-width: 900px) { .hn-pricing { grid-template-columns: 1fr; } }

.hn-post { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white); transition: box-shadow .3s, transform .4s var(--spring); }
.hn-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.hn-post__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hn-post__body { padding: 18px 20px; }
.hn-post h2 { font-size: 1.15rem; }
.hn-post h2 a { color: var(--c-ink); }

/* ==========================================================================
   Offer card (pricing page, [pmpro_levels1]) and the course page box
   ========================================================================== */
.hn-btn--wa::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.3.1.1.1.6-.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.5.3.1.1.1.6-.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hn-btn--primary.hn-btn--wa, .lp-button.hn-btn--wa { background: linear-gradient(145deg, #2fd16b 0%, var(--c-wa-dark) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 28px -14px rgba(18, 140, 67, .85); }

.hn-offer { position: relative; margin: 0 auto; padding: clamp(26px, 1rem + 2vw, 44px); border-radius: 30px; background: var(--c-white); box-shadow: var(--shadow-lg); text-align: left; isolation: isolate; }
.hn-offer::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--c-brand-100) 0 55%, var(--c-brand) 75%, var(--c-brand-soft) 85%, var(--c-brand-100) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hn-spin 6s linear infinite; }
.hn-offer h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.hn-offer__price { margin-bottom: 22px; padding: 18px 22px; border-radius: 20px; background: linear-gradient(135deg, var(--c-night), var(--c-deep)); color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.hn-offer__list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.hn-offer__list li { position: relative; padding-left: 34px; color: var(--c-ink); font-weight: 500; }
.hn-offer__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hn-offer .hn-btn { width: 100%; }
.hn-offer__note { margin: 16px 0 0; color: var(--c-muted); font-size: 14px; }

.hn-cta-box { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; text-align: center; color: rgba(255, 255, 255, .7); background: radial-gradient(260px 180px at 100% 0%, rgba(215, 25, 32, .55), transparent 70%), linear-gradient(150deg, var(--c-deep), var(--c-night)); }
.hn-cta-box__label { color: #ffc2c4; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hn-cta-box__price { color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.hn-cta-box .hn-btn, .hn-cta-box .lp-button { width: 100%; margin: 8px 0 2px; color: #fff !important; }
.hn-cta-box small { font-size: 12.5px; }
.hn-included { color: var(--c-ink) !important; font-weight: 800; }

/* Profile cards [lp_profile_cards] */
.hn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.hn-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); transition: box-shadow .3s, transform .4s var(--spring); }
.hn-card:first-child { border-color: transparent; color: rgba(255, 255, 255, .75); background: radial-gradient(240px 160px at 100% 0%, rgba(215, 25, 32, .5), transparent 70%), linear-gradient(135deg, var(--c-night), var(--c-deep)); }
.hn-card:first-child .hn-card__value { color: #fff; }
.hn-card:first-child .hn-card__label { color: #ffc2c4; }
.hn-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hn-card__label { color: var(--c-brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hn-card__value { margin-bottom: 10px; color: var(--c-ink); font-size: 1.3rem; }
.hn-card__note { display: block; margin: -4px 0 10px; color: var(--c-muted); font-size: 13px; }
.hn-card .hn-btn { align-self: flex-start; margin-top: auto; padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { .hn-cards { grid-template-columns: 1fr; } }

/* Lesson files under the player */
.hn-resources { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hn-resource { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-ink); font-weight: 700; transition: border-color .2s, transform .3s var(--spring), box-shadow .2s; }
.hn-resource:hover { border-color: var(--c-brand-100); color: var(--c-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hn-resource__icon { display: grid; place-items: center; height: 30px; padding: 0 9px; border-radius: var(--r-pill); background: var(--c-brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.hn-resource--ppt .hn-resource__icon { background: #e8590c; }

/* ==========================================================================
   Prose and forms (page content, plugin pages)
   ========================================================================== */
.hn-prose { font-size: 16.5px; }
.hn-prose > *:first-child { margin-top: 0; }
.hn-prose h2 { margin-top: 1.4em; }
.hn-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.hn-prose th, .hn-prose td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.hn-prose th { color: var(--c-ink); font-weight: 700; background: var(--c-surface); }
.hn-featured { margin: 0 0 28px; }
.hn-featured img { border-radius: var(--r-xl); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
	width: 100%; max-width: 100%; padding: 12px 16px; border: 1px solid var(--c-line-strong); border-radius: 14px; font: inherit; color: var(--c-ink); background: #fff;
	transition: border-color var(--dur), box-shadow var(--dur);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(215, 25, 32, .12); }
label { color: var(--c-ink); font-size: 15px; font-weight: 600; }
.learn-press-message { list-style: none; margin: 0 0 20px !important; padding: 14px 18px !important; border: 1px solid var(--c-line) !important; border-radius: 14px; background: var(--c-surface) !important; color: var(--c-body); }

/* ==========================================================================
   LearnPress: single course, profile, lesson popup
   ========================================================================== */
.lp-content-area, .learn-press-profile-course__tab, #learn-press-profile { max-width: calc(var(--container) + 2 * var(--gutter)) !important; margin: 0 auto; padding-inline: var(--gutter) !important; }
.course-summary, .lp-single-course, .lp-profile-content-area, .lp-user-profile .lp-profile-content, body.course-item-popup #learn-press-course-curriculum { font-family: var(--font); }
.lp-archive-courses .learn-press-breadcrumb { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto !important; padding: 18px var(--gutter) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.lp-archive-courses .learn-press-breadcrumb a { color: var(--c-muted); }
.lp-archive-courses .learn-press-breadcrumb a:hover { color: var(--c-brand); }
.lp-archive-courses .learn-press-breadcrumb li:last-child a { color: var(--c-ink); }
.course-summary .course-detail-info { position: relative; overflow: hidden; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 clamp(4rem, 3rem + 3vw, 6rem) !important; background: radial-gradient(600px 400px at 85% 0%, rgba(215, 25, 32, .5), transparent 70%), linear-gradient(135deg, var(--c-night) 0%, var(--c-deep) 100%) !important; isolation: isolate; }
.course-summary .course-detail-info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 44px 44px; }
.course-summary .course-detail-info .course-title { margin: 14px 0 22px; color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
.course-summary .course-meta label { color: rgba(255, 255, 255, .6) !important; font-size: 12px; }
.course-summary .course-meta a, .course-summary .course-meta .instructor-display-name { color: #fff !important; font-weight: 700; }
.course-summary .course-meta-secondary { border-top: 1px solid rgba(255, 255, 255, .12) !important; padding-top: 22px; }
.course-summary .course-meta-secondary .course-meta__pull-left { display: flex; flex-wrap: wrap; gap: 10px !important; }
.course-summary .course-meta-secondary .meta-item { margin: 0 !important; padding: 7px 14px !important; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); color: #fff !important; font-size: 13.5px; font-weight: 600; }
.course-summary .course-meta-secondary .meta-item::before { color: var(--c-brand-soft) !important; }
.course-summary .course-meta-secondary .meta-item-quiz { display: none !important; }
.course-summary .instructor-avatar img { border: 2px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.lp-entry-content { padding-top: 10px; }
.course-summary-sidebar .course-sidebar-preview, .lp-single-course__sidebar .course-sidebar-preview { overflow: hidden; border: 1px solid var(--c-line) !important; border-radius: 26px !important; background: #fff; box-shadow: var(--shadow-lg) !important; padding: 10px !important; }
.course-sidebar-preview .media-preview { overflow: hidden; border-radius: 18px; }
.course-sidebar-preview .media-preview img { display: block; width: 100%; transition: transform .8s var(--ease); }
.course-sidebar-preview:hover .media-preview img { transform: scale(1.05); }
.course-sidebar-preview .course-price { padding: 12px 0 4px; text-align: center; }
.course-summary-sidebar .course-sidebar-preview .lp-course-buttons { margin: 0 !important; }
.course-summary-sidebar__inner { position: sticky; top: calc(var(--header-h) + 20px); }
.course-sidebar-secondary { display: none; }
.course-tabs .learn-press-nav-tabs { gap: 6px; border-bottom: 0 !important; padding: 4px; border-radius: var(--r-pill); background: var(--c-surface); display: inline-flex !important; }
.course-tabs .learn-press-nav-tabs .course-nav { margin: 0 !important; }
.course-tabs .learn-press-nav-tabs .course-nav label { margin: 0 !important; padding: 9px 20px !important; border-radius: var(--r-pill); color: var(--c-body); font-size: 15px !important; font-weight: 700 !important; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.course-tabs .learn-press-nav-tabs .course-nav label::after, .course-tabs .learn-press-nav-tabs .course-nav::after, .course-tabs .learn-press-nav-tabs .course-nav::before { display: none !important; }
#tab-overview-input:checked ~ .wrapper-course-nav-tabs .course-nav-tab-overview label,
#tab-curriculum-input:checked ~ .wrapper-course-nav-tabs .course-nav-tab-curriculum label,
#tab-instructor-input:checked ~ .wrapper-course-nav-tabs .course-nav-tab-instructor label { background: #fff; color: var(--c-brand-700) !important; box-shadow: 0 1px 2px rgba(18, 19, 27, .08), 0 6px 14px -8px rgba(215, 25, 32, .5); }
.course-tab-panels { padding-top: 22px; }
.lp-course-curriculum .course-section, .course-curriculum .course-section { margin-bottom: 12px !important; overflow: hidden; border: 1px solid var(--c-line) !important; border-radius: 18px !important; transition: box-shadow .3s; }
.lp-course-curriculum .course-section:hover { box-shadow: var(--shadow-md); }
.lp-course-curriculum .course-section-header, .course-curriculum .section-header { padding: 16px 20px !important; background: var(--c-surface) !important; }
.lp-course-curriculum .course-section__title { color: var(--c-ink); font-weight: 800; }
.lp-course-curriculum .section-count-items { color: var(--c-muted); font-size: 13px; }
.lp-course-curriculum .course-item { border-top: 1px solid var(--c-line); transition: background-color .2s; }
.lp-course-curriculum .course-item:hover { background: var(--c-brand-50); }
.course-item .item-name, .course-item__link { color: var(--c-ink); }
.lp-course-author { padding: 20px; border: 1px solid var(--c-line); border-radius: 20px; }
.lp-course-author img.avatar { border-radius: 18px; }
.lp-user-profile #profile-nav .lp-profile-nav-tabs > li.active > a, .lp-user-profile #profile-nav .lp-profile-nav-tabs > li:hover > a { color: var(--c-brand) !important; }
body.course-item-popup #popup-header { background: var(--c-night) !important; }
body.course-item-popup #popup-footer .course-item-nav a:hover { color: var(--c-brand); }
body.course-item-popup #popup-content .content-item-wrap { max-width: 1000px; }
@media (max-width: 768px) { .course-tabs .learn-press-nav-tabs { display: flex !important; overflow-x: auto; } }

/* The lesson view is LearnPress's full-screen popup; the site chrome underneath is never visible. */
body.course-item-popup .hn-header, body.course-item-popup .hn-footer, body.course-item-popup .hn-announce, body.course-item-popup .hn-dock, body.course-item-popup .hn-header-space, body.course-item-popup .hn-progress { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hn-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 2rem + 3vw, 5rem) 0 0; background: var(--c-night); color: rgba(255, 255, 255, .65); font-size: 15px; }
.hn-footer__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0%, rgba(215, 25, 32, .28), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(91, 10, 15, .7), transparent 70%); }
.hn-footer__cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); padding: clamp(26px, 1rem + 3vw, 48px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 30px; isolation: isolate; color: rgba(255, 255, 255, .8); background: linear-gradient(rgba(255, 154, 158, .06) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255, 154, 158, .06) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(120deg, var(--c-brand) 0%, var(--c-deep) 100%); box-shadow: 0 40px 80px -40px rgba(215, 25, 32, .6); }
.hn-footer__cta::after { content: ""; position: absolute; top: -50%; right: -10%; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); animation: hn-blob 14s ease-in-out infinite alternate; }
.hn-footer__cta h2 { margin-bottom: 6px; color: #fff; }
.hn-footer__cta p { max-width: 540px; margin: 0; }
.hn-footer__cta .hn-eyebrow--light { color: #ffd2d4; }
.hn-footer__cta-buy { display: grid; flex-shrink: 0; justify-items: end; gap: 12px; }
.hn-footer__price { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 860px) { .hn-footer__cta { flex-direction: column; align-items: flex-start; } .hn-footer__cta-buy { justify-items: start; width: 100%; } .hn-footer__cta-buy .hn-btn { width: 100%; } }
.hn-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.hn-footer__logo { display: inline-block; margin-bottom: 16px; padding: 8px 12px; border-radius: 14px; background: #fff; line-height: 0; }
.hn-footer__logo img { height: 36px; width: auto; }
.hn-footer__brand p { max-width: 340px; }
.hn-footer__social { display: flex; gap: 8px; }
.hn-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; color: rgba(255, 255, 255, .8); transition: background-color .25s, color .25s, transform .3s var(--spring), border-color .25s; }
.hn-footer__social a:hover { border-color: var(--c-brand); background: var(--c-brand); color: #fff; transform: translateY(-3px); }
.hn-footer h4 { margin-bottom: 16px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hn-footer__col a { display: block; width: fit-content; padding: 5px 0; color: rgba(255, 255, 255, .65); background: linear-gradient(var(--c-brand-soft), var(--c-brand-soft)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s var(--ease), transform .3s var(--spring); }
.hn-footer__col a:hover { color: #fff; background-size: 100% 1px; transform: translateX(3px); }
.hn-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.hn-footer__bottom a { color: #fff; font-weight: 700; }
.hn-footer__bottom { align-items: center; }
.hn-footer__sig { display: inline-flex; align-items: center; min-height: 36px; }
@media (max-width: 860px) { .hn-footer__grid { grid-template-columns: 1fr 1fr; } .hn-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .hn-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* ==========================================================================
   Security overlays (MirrorORG suite)
   ========================================================================== */
#hn-cover { position: fixed; inset: 0; z-index: 2147483647; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; background: #0d1117; color: #fff; font-size: 20px; text-align: center; }
#hn-cover[hidden] { display: none; }
#hn-cover small { font-size: 14px; opacity: .7; }
.hn-warn-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: #0d1117; color: #fff; text-align: center; font-family: system-ui, sans-serif; }
.hn-warn { max-width: 640px; padding: 30px; border: 2px solid #ff5555; border-radius: 12px; background: #161b22; }
.hn-warn h1 { color: #fff; font-size: 26px; }
.hn-warn a { display: inline-block; margin: 6px; padding: 12px 20px; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 700; text-decoration: none; }
.hn-warn a.wa { background: #25d366; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes hn-ping { 0% { opacity: .8; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes hn-ring { 0% { opacity: .9; transform: scale(.95); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes hn-marquee { to { transform: translateX(-50%); } }
@keyframes hn-blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.1); } 100% { transform: translate(30px, -20px) scale(.95); } }
@keyframes hn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hn-scan { 0% { transform: translateY(-100px); } 100% { transform: translateY(560px); } }
@keyframes hn-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hn-spin { to { --a: 360deg; } }
@keyframes hn-sub-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes hn-drawer-item { from { opacity: 0; transform: translateX(24px); } }
@keyframes hn-card-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hn-js [data-reveal] { opacity: 1; transform: none; }
	.hn-scan, .hn-logo-card { transform: none; }
}

/* ==========================================================================
   LearnPress single course: the dark hero runs under the floating header
   ========================================================================== */
body.single-lp_course .hn-header-space { display: none; }
body.single-lp_course .lp-archive-courses { position: relative; }
body.single-lp_course .lp-archive-courses > .learn-press-breadcrumb { position: absolute; top: calc(var(--header-h) + 18px); left: 0; right: 0; z-index: 2; padding-block: 0 !important; }
body.single-lp_course .lp-archive-courses > .learn-press-breadcrumb a, body.single-lp_course .lp-archive-courses > .learn-press-breadcrumb li { color: rgba(255, 255, 255, .65); }
body.single-lp_course .lp-archive-courses > .learn-press-breadcrumb li:last-child a { color: #fff; }
body.single-lp_course .lp-archive-courses > .learn-press-breadcrumb a:hover { color: #fff; }
body.single-lp_course .course-summary .course-detail-info { padding-top: calc(var(--header-h) + 70px) !important; }
.course-summary .course-detail-info h1.course-title { margin: 14px 0 22px !important; color: #fff !important; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem) !important; line-height: 1.1 !important; }
.course-summary .course-meta-primary { border: 0 !important; }
.course-summary .course-meta-secondary { padding-top: 0 !important; border-top: 0 !important; }
.course-summary .course-detail-info .lp-content-area { border: 0 !important; }
.course-summary-sidebar, .course-summary-sidebar__inner { background: transparent !important; box-shadow: none !important; }
.course-summary-sidebar__inner { padding: 0 !important; }
.course-sidebar-preview .course-price { display: none !important; }
.course-sidebar-preview .lp-badge.featured-course { display: none; }
.hn-cta-box { margin-top: 10px; }
.hn-cta-box .lp-button, .hn-cta-box .hn-btn { height: auto !important; padding: 13px 16px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: linear-gradient(145deg, #2fd16b 0%, var(--c-wa-dark) 100%) !important; color: #fff !important; font: 700 15px/1.2 var(--font) !important; text-transform: none !important; white-space: normal !important; }
.course-summary-sidebar .course-sidebar-top { padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.hn-cta-box { padding: 18px 14px; }
.hn-cta-box__price { font-size: 1.25rem; }
.hn-cta-box .lp-button, .hn-cta-box .hn-btn { font-size: 14.5px !important; white-space: nowrap !important; }
.course-summary .course-meta-secondary .meta-item { width: auto !important; flex: 0 0 auto !important; }

/* Support page: the technical card carries the MirrorORG logo. */
.hn-feature__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hn-feature__top .hn-feature__ico { margin: 0; }
.hn-feature__brand { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; line-height: 0; transition: border-color .25s, box-shadow .25s, transform .3s var(--spring); }
.hn-feature__brand:hover { border-color: #cfdcff; box-shadow: 0 10px 24px -14px rgba(8, 102, 255, .55); transform: translateY(-2px); }
.hn-feature__brand img { width: auto; height: 34px; }
.hn-feature--mirror .hn-feature__ico { background: #eef4ff; color: #0866ff; }
.hn-feature--mirror:hover .hn-feature__ico { background: linear-gradient(135deg, #0866ff, #00307e); color: #fff; }

/* ==========================================================================
   Course page v2: hero meta, enrolled sidebar, at-a-glance, curriculum
   ========================================================================== */
/* LearnPress' 1095-day duration and the passing grade don't match how access works here (one date set by the doctor). */
.course-summary .meta-item-duration, .course-summary .meta-item-categories, .course-curriculum-info .course-duration, #popup-header .course-duration,
.info-learning .course-progress__label ~ .course-progress__label, .info-learning .will-end-date { display: none !important; }
.course-summary .course-meta-primary .course-meta__pull-left { display: flex; align-items: center; gap: 12px; }
.course-summary .meta-item-instructor .meta-item__value label { display: block; }

.lp-course-buttons { display: grid; gap: 10px; }
.lp-course-buttons > a, .lp-course-buttons > div[style] { margin: 0 !important; }
.lp-course-buttons a .course-btn-continue, .lp-course-buttons .lp-button:not(.hn-btn) { width: 100%; height: auto !important; padding: 14px 18px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-700) 100%) !important; color: #fff !important; font: 800 15.5px/1.2 var(--font) !important; text-transform: none !important; box-shadow: var(--shadow-brand); transition: transform .2s var(--ease), box-shadow .2s; }
.lp-course-buttons a .course-btn-continue:hover, .lp-course-buttons .lp-button:not(.hn-btn):hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(215, 25, 32, .75); }
.lp-course-buttons a .course-btn-continue::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 10px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; vertical-align: 0; }
.info-learning { display: grid; gap: 8px; margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--c-surface); color: var(--c-muted); font-size: 13.5px; }
.info-learning .course-progress { display: grid; gap: 8px; }
.info-learning .course-progress__label { display: flex; justify-content: space-between; color: var(--c-ink); font-weight: 700; }
.info-learning .course-progress__number .number { color: var(--c-brand-700); }
.info-learning .course-progress__line { height: 8px !important; overflow: hidden; border-radius: var(--r-pill) !important; background: #fff !important; }
.info-learning .course-progress__line__active { height: 100%; min-width: 4%; border-radius: inherit; background: linear-gradient(90deg, var(--c-brand-soft), var(--c-brand)) !important; }
.info-learning .start-date span { color: var(--c-ink); font-weight: 600; }

.hn-glance { margin: 0 0 28px; padding: clamp(18px, 1rem + 1vw, 28px); border: 1px solid var(--c-line); border-radius: 24px; background: linear-gradient(160deg, #fff 50%, #fff6f6); }
.hn-glance__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.hn-glance__stats div { display: grid; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--c-line); }
.hn-glance__stats strong { color: var(--c-ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hn-glance__stats span { color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-glance__title { margin: 0 0 12px; font-size: 1.1rem; }
.hn-glance__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: g; }
.hn-glance__list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--c-line); color: var(--c-ink); font-weight: 700; font-size: 14.5px; counter-increment: g; }
.hn-glance__list li::before { content: counter(g, decimal-leading-zero); display: grid; flex-shrink: 0; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--c-brand-50); color: var(--c-brand); font-size: 12px; font-weight: 800; }
.hn-glance__list span { flex: 1; min-width: 0; }
.hn-glance__list em { color: var(--c-muted); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.hn-glance__perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; color: var(--c-body); font-size: 14px; font-weight: 600; }
.hn-glance__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hn-glance__perks .hn-icon { color: var(--c-ok); }
@media (max-width: 640px) { .hn-glance__list { grid-template-columns: 1fr; } .hn-glance__stats strong { font-size: 1.3rem; } }

/* Curriculum (course page tab and lesson sidebar) */
.lp-course-curriculum__title { display: none; }
#popup-sidebar .lp-course-curriculum__title { display: block; }
.course-curriculum-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.course-curriculum-info__left { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.course-curriculum-info__left li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-ink); font-size: 13px; font-weight: 700; }
.course-curriculum-info__left li::before, .course-curriculum-info__left li::after { display: none !important; }
.course-toggle-all-sections { color: var(--c-brand); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.lp-course-curriculum .course-section-header { display: flex; align-items: center; cursor: pointer; }
.lp-course-curriculum .course-section-info { flex: 1; }
.lp-course-curriculum .course-section__title { font-size: 15px !important; letter-spacing: .02em; }
.lp-course-curriculum .course-item { position: relative; }
.lp-course-curriculum .course-item__link { display: flex !important; align-items: center; gap: 12px; padding: 13px 20px !important; color: var(--c-ink) !important; }
.lp-course-curriculum .course-item-title { font-weight: 600; font-size: 14.5px; }
.lp-course-curriculum .course-item-ico.lp_lesson::before { color: var(--c-brand); }
.lp-course-curriculum .course-item.current, .lp-course-curriculum .course-item.current:hover { background: var(--c-brand-50) !important; }
.lp-course-curriculum .course-item.current::before { content: ""; position: absolute; inset: 8px auto 8px 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-brand); }
.lp-course-curriculum .course-item.current .course-item-title { color: var(--c-brand-700); font-weight: 800; }
.lp-course-curriculum .course-item__status .course-item-ico.passed::before, .lp-course-curriculum .course-item__status .course-item-ico.completed::before { color: var(--c-ok) !important; }

/* ==========================================================================
   Lesson view (LearnPress full-screen popup)
   ========================================================================== */
body.course-item-popup { background: var(--c-surface); }
#popup-course #popup-header { height: 72px; padding: 0; border: 0 !important; background: radial-gradient(500px 160px at 90% 0%, rgba(215, 25, 32, .55), transparent 70%), linear-gradient(120deg, var(--c-night) 0%, var(--c-deep) 100%) !important; box-shadow: 0 10px 30px -18px rgba(12, 13, 19, .7); }
#popup-header .popup-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
#popup-header .course-title { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; line-height: 1.25; }
#popup-header .course-title a { color: #fff !important; font-size: 18px !important; font-weight: 800; letter-spacing: -.01em; }
#popup-header .course-title a:hover { color: var(--c-brand-soft) !important; }
#popup-header .curriculum-info { display: flex; gap: 10px; }
#popup-header .curriculum-info > span { color: rgba(255, 255, 255, .6) !important; font-size: 12.5px !important; font-weight: 600; }
#popup-header .curriculum-info > span::after, #popup-header .curriculum-info > span::before { color: rgba(255, 255, 255, .3) !important; }
#popup-header .items-progress { display: grid; gap: 6px; min-width: 200px; margin: 0 !important; }
#popup-header .items-progress .number { color: rgba(255, 255, 255, .78) !important; font-size: 12.5px !important; font-weight: 700; text-align: right; }
#popup-header .items-completed { color: #fff; }
#popup-header .learn-press-progress { height: 6px !important; overflow: hidden; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14) !important; }
#popup-header .learn-press-progress__active { border-radius: inherit; background: linear-gradient(90deg, var(--c-brand-soft), #fff) !important; }
#popup-header .back-course { display: grid !important; place-items: center; width: 44px !important; height: 44px !important; margin: 0 16px !important; border-radius: 14px; background: rgba(255, 255, 255, .1) !important; color: #fff !important; line-height: 1 !important; transition: background-color .2s, transform .3s var(--ease); }
#popup-header .back-course:hover { background: var(--c-brand) !important; transform: rotate(90deg); }
#popup-header .back-course i { font-size: 18px; color: #fff; }
#popup-course #popup-sidebar { border-right: 1px solid var(--c-line) !important; background: #fff !important; box-shadow: none !important; }
#popup-sidebar .search-course { position: relative; margin: 14px; }
#popup-sidebar .search-course input[name="s"] { height: 44px; padding: 0 44px 0 16px !important; border: 1px solid var(--c-line) !important; border-radius: var(--r-pill) !important; background: var(--c-surface) !important; font: 500 14px var(--font) !important; }
#popup-sidebar .lp-course-curriculum__title { padding: 0 18px; font-size: 1.05rem; }
#popup-sidebar .lp-course-curriculum .course-section { margin: 0 12px 10px !important; }
#popup-sidebar .course-curriculum-info { padding: 0 14px; }
#popup-course #popup-content { background: var(--c-surface) !important; }
#popup-content .content-item-wrap { max-width: 1040px !important; padding: 32px clamp(16px, 3vw, 40px) 120px !important; }
#popup-content .course-item-title.lesson-title { margin: 0 0 22px !important; color: var(--c-ink); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem) !important; font-weight: 800; letter-spacing: -.03em; }
#popup-content .content-item-description { color: var(--c-body); font-size: 16px; }
#popup-content .content-item-description > .iframe-wrapper, #popup-content .content-item-description > .egsbi-iframe-wrapper, #popup-content .mirror-sv-box { overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12, 13, 19, .55); }
#popup-content .mirror-sv-box { display: flex; flex-direction: column; justify-content: center; margin: 18px 0; padding: 20px; background: var(--c-night); color: rgba(255, 255, 255, .8); text-align: center; }
#popup-content .hn-resources { padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--c-line); }
#popup-content form[name="learn-press-form-complete-lesson"] { margin-top: 18px; }
#popup-content .lp-btn-complete-item, #popup-content .button-complete-lesson { display: inline-flex !important; align-items: center; gap: 8px; height: auto !important; padding: 13px 24px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: linear-gradient(145deg, #2fd16b, var(--c-wa-dark)) !important; color: #fff !important; font: 800 15px/1.2 var(--font) !important; box-shadow: 0 14px 28px -14px rgba(18, 140, 67, .85); }
#popup-content .lp-btn-complete-item::before { content: ""; width: 12px; height: 7px; margin: -4px 2px 0 0; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
#popup-content .lp-btn-complete-item:hover { transform: translateY(-2px); }
#popup-course #popup-footer { height: 72px; border-top: 1px solid var(--c-line) !important; background: rgba(255, 255, 255, .9) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#popup-footer .course-item-nav { height: 100%; align-items: center; }
#popup-footer .course-item-nav a, #popup-footer .course-item-nav__name { color: var(--c-ink) !important; font-weight: 700 !important; }
#popup-footer .course-item-nav .prev, #popup-footer .course-item-nav .next { display: flex; align-items: center; }
#popup-footer .course-item-nav .prev a, #popup-footer .course-item-nav .next a { display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 18px !important; border-radius: var(--r-pill); background: var(--c-surface); transition: background-color .2s, color .2s; }
#popup-footer .course-item-nav .next a { background: var(--c-ink); color: #fff !important; }
#popup-footer .course-item-nav .prev a:hover, #popup-footer .course-item-nav .next a:hover { background: var(--c-brand); color: #fff !important; }
.popup-right-sidebar__items .popup-right-sidebar__item { border-radius: 12px; }
.popup-right-sidebar__item:hover, .popup-right-sidebar__item[aria-expanded="true"] { background: var(--c-brand-50) !important; color: var(--c-brand) !important; }
@media (max-width: 768px) {
	#popup-course #popup-header { height: 64px; }
	#popup-header .curriculum-info, #popup-header .items-progress .number { display: none !important; }
	#popup-header .items-progress { min-width: 0; width: 34vw; }
	#popup-header .back-course { margin: 0 8px !important; width: 40px !important; height: 40px !important; }
	#popup-content .content-item-wrap { padding: 22px 16px 120px !important; }
	#popup-content .content-item-description > .iframe-wrapper, #popup-content .content-item-description > .egsbi-iframe-wrapper { border-radius: 16px; }
}

/* ==========================================================================
   Student profile
   ========================================================================== */
.hn-btn--glass { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hn-btn--glass:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.hn-me { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(2rem, 1.5rem + 2vw, 3.5rem)) 0 clamp(2.25rem, 1.75rem + 2vw, 3.25rem); color: rgba(255, 255, 255, .75); background: radial-gradient(600px 380px at 85% 0%, rgba(215, 25, 32, .55), transparent 70%), linear-gradient(135deg, var(--c-night) 0%, var(--c-deep) 100%); }
.hn-me__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 154, 158, .05) 1px, transparent 1px) 0 0 / 44px 44px; }
.hn-me__wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hn-me__who { display: flex; align-items: center; gap: 20px; }
.hn-me__avatar { display: grid; flex-shrink: 0; place-items: center; width: 84px; height: 84px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 26px; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; font-size: 2.1rem; font-weight: 800; box-shadow: 0 20px 40px -18px rgba(215, 25, 32, .9); }
.hn-me__hello { margin: 0; color: var(--c-brand-soft); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hn-me h1 { margin: 2px 0 10px; color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hn-me__status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); font-size: 13.5px; }
.hn-me__status strong { color: #fff; }
.hn-me__status .hn-icon { color: #ffc861; }
.hn-me__status.is-full .hn-icon { color: #4be38a; }
.hn-me__status.is-expired { border-color: rgba(255, 120, 120, .5); background: rgba(200, 50, 31, .25); }
.hn-me__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .hn-me__avatar { width: 64px; height: 64px; border-radius: 20px; font-size: 1.6rem; } .hn-me__actions .hn-btn { flex: 1 1 calc(50% - 10px); padding-inline: 14px; } }

/* LearnPress profile: our header replaces its avatar/name block. */
.hn-profile #learn-press-profile { padding: 0 !important; }
.hn-profile #learn-press-profile > .lp-content-area { display: grid !important; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; max-width: none !important; padding: 0 !important; }
.hn-profile .wrapper-profile-header, .hn-profile .lp-user-cover-image_background { display: none !important; }
.hn-profile #profile-sidebar { position: sticky; top: calc(var(--header-h) + 16px); width: auto !important; margin: 0 !important; padding: 8px; border: 1px solid var(--c-line) !important; border-radius: 22px; background: #fff; box-shadow: var(--shadow-md); }
.hn-profile #profile-content { width: auto !important; margin: 0 !important; padding: 0 !important; }
.hn-profile .lp-profile-nav-tabs { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.hn-profile .lp-profile-nav-tabs > li { margin: 0 !important; border: 0 !important; background: none !important; }
.hn-profile .lp-profile-nav-tabs > li > a { display: flex !important; align-items: center; gap: 12px; padding: 11px 14px !important; border: 0 !important; border-radius: 14px; background: none !important; color: var(--c-ink) !important; font: 700 14.5px/1.3 var(--font) !important; transition: background-color .2s, color .2s; }
.hn-profile .lp-profile-nav-tabs > li > a > i { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 !important; border-radius: 10px; background: var(--c-surface); color: var(--c-brand) !important; font-size: 15px; transition: background-color .2s, color .2s; }
.hn-profile .lp-profile-nav-tabs > li > a:hover { background: var(--c-surface) !important; }
.hn-profile .lp-profile-nav-tabs > li.active > a { background: var(--c-brand-50) !important; color: var(--c-brand-700) !important; }
.hn-profile .lp-profile-nav-tabs > li.active > a > i { background: var(--c-brand) !important; color: #fff !important; box-shadow: 0 8px 16px -8px rgba(215, 25, 32, .85); }
.hn-profile .lp-profile-nav-tabs > li.logout > a, .hn-profile .lp-profile-nav-tabs > li.logout > a > i { color: var(--c-danger) !important; }
.hn-profile .lp-profile-nav-tabs > li.logout > a > i { background: var(--c-danger-bg); }
.hn-profile .lp-profile-nav-tabs > li.has-child > a::after { display: none !important; }
.hn-profile .profile-tab-sections { position: static !important; display: none; margin: 2px 0 6px 46px !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.hn-profile .lp-profile-nav-tabs > li.active .profile-tab-sections { display: grid; }
.hn-profile .profile-tab-sections a { display: flex; gap: 8px; padding: 7px 10px !important; border-radius: 10px; color: var(--c-body) !important; font-size: 13.5px; font-weight: 600; }
.hn-profile .profile-tab-sections li.active a, .hn-profile .profile-tab-sections a:hover { background: var(--c-surface); color: var(--c-brand-700) !important; }
.hn-profile .lp-profile-content form, .hn-profile .lp-profile-content .lp-table-wrap, .hn-profile .learn-press-profile-course__tab { padding: 20px; border: 1px solid var(--c-line); border-radius: 22px; background: #fff; }
.hn-profile .lp-profile-content table { width: 100%; border-collapse: collapse; }
.hn-profile .lp-profile-content th, .hn-profile .lp-profile-content td { padding: 12px !important; border: 0 !important; border-bottom: 1px solid var(--c-line) !important; background: none !important; text-align: left; }
.hn-profile .lp-profile-content th { color: var(--c-muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.hn-profile .learn-press-filters { display: inline-flex !important; gap: 4px; margin: 0 0 16px !important; padding: 4px !important; border: 0 !important; border-radius: var(--r-pill); background: var(--c-surface); }
.hn-profile .learn-press-filters li { margin: 0 !important; }
.hn-profile .learn-press-filters a, .hn-profile .learn-press-filters span { display: block; padding: 8px 16px !important; border-radius: var(--r-pill); color: var(--c-body) !important; font-weight: 700; font-size: 14px; cursor: pointer; }
.hn-profile .learn-press-filters a::after, .hn-profile .learn-press-filters li::after { display: none !important; }
.hn-profile .learn-press-filters .active, .hn-profile .learn-press-filters a.active { background: #fff; color: var(--c-brand-700) !important; box-shadow: var(--shadow-sm); }
.hn-profile .lp-profile-content .lp-button, .hn-profile .lp-profile-content button[type="submit"] { padding: 12px 24px !important; border: 0 !important; border-radius: var(--r-pill) !important; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-700)) !important; color: #fff !important; font: 700 15px var(--font) !important; }
.hn-mycourses__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.hn-mycourses__stats > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--c-line); border-radius: 20px; background: #fff; }
.hn-mycourses__stats .hn-mycourses__ico { grid-row: span 2; }
.hn-mycourses__stats strong { color: var(--c-ink); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.hn-mycourses__stats small { color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-mycourses__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--c-brand-50); color: var(--c-brand); }
.hn-mycourses__stats > div:nth-child(3) .hn-mycourses__ico { background: var(--c-ok-bg); color: var(--c-ok); }
.hn-mycourses__empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; border: 1px dashed var(--c-line-strong); border-radius: 22px; text-align: center; }
.hn-mycourses__empty h3 { margin: 6px 0 0; }
.hn-mycourses__empty p { color: var(--c-muted); }
@media (max-width: 900px) {
	.hn-profile #learn-press-profile > .lp-content-area { grid-template-columns: 1fr; gap: 16px; }
	.hn-profile #profile-sidebar { position: static; padding: 6px; overflow-x: auto; }
	.hn-profile .lp-profile-nav-tabs { display: flex; gap: 4px; }
	.hn-profile .lp-profile-nav-tabs > li > a { white-space: nowrap; padding: 8px 12px 8px 8px !important; }
	.hn-profile .profile-tab-sections { display: none !important; }
}
@media (max-width: 560px) { .hn-mycourses__stats { gap: 8px; } .hn-mycourses__stats > div { grid-template-columns: 1fr; padding: 12px; text-align: center; justify-items: center; } .hn-mycourses__stats .hn-mycourses__ico { grid-row: auto; width: 38px; height: 38px; margin-bottom: 6px; } }

#popup-sidebar .lp-course-curriculum .course-item__link { padding: 11px 16px !important; min-height: 0 !important; }
#popup-sidebar .lp-course-curriculum .course-item { min-height: 0 !important; }
#popup-footer .course-item-nav a::before, #popup-footer .course-item-nav a::after { border: 0 !important; background: none !important; color: inherit !important; box-shadow: none !important; }
#popup-footer .course-item-nav__name { display: none !important; }
/* Phones and tablets: the course box (Continue, progress, WhatsApp) comes first, not after the whole overview. */
@media (max-width: 991px) {
	.course-summary .lp-entry-content { display: flex !important; flex-direction: column; }
	.course-summary .lp-entry-content > .course-summary-sidebar { order: -1; width: 100% !important; margin: 0 0 24px !important; }
	.course-summary-sidebar__inner { position: static; }
	.course-summary-sidebar .course-sidebar-preview .media-preview { display: none; }
}

/* ==========================================================================
   Course page: one page instead of tabs
   ========================================================================== */
.course-tabs > input[type="radio"], .course-tabs .wrapper-course-nav-tabs { display: none !important; }
.course-tabs .course-tab-panels { padding-top: 0; }
.course-tabs .course-tab-panel { display: block !important; opacity: 1 !important; visibility: visible !important; height: auto !important; }
.course-tabs .course-tab-panel + .course-tab-panel { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.course-tab-panel-overview .course-description:empty { display: none; }
.hn-course-sec { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.hn-course-sec::before { content: ""; width: 6px; height: 1.1em; border-radius: 4px; background: linear-gradient(var(--c-brand), var(--c-brand-soft)); }
.course-tab-panel-curriculum .lp-course-curriculum__title { display: none !important; }
.lp-entry-content { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem) !important; }

.hn-btn--fb { background: #1877f2; color: #fff; box-shadow: 0 14px 28px -14px rgba(24, 119, 242, .85); }
.hn-btn--fb:hover { background: #0f63d4; color: #fff; transform: translateY(-2px); }
.hn-teacher { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 26px; padding: clamp(20px, 1rem + 1.5vw, 32px); border: 1px solid var(--c-line); border-radius: 26px; background: radial-gradient(420px 220px at 100% 0%, rgba(215, 25, 32, .07), transparent 70%), #fff; }
.hn-teacher__photo { position: relative; width: 120px; height: 120px; }
.hn-teacher__photo::before { content: ""; position: absolute; inset: -5px; border-radius: 34px; background: conic-gradient(from var(--a, 0deg), var(--c-brand), var(--c-brand-soft), #1877f2, var(--c-brand)); animation: hn-spin 8s linear infinite; }
.hn-teacher__photo img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border: 4px solid #fff; border-radius: 30px; }
.hn-teacher__role { margin: 0 0 4px; color: var(--c-brand); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hn-teacher h3 { margin: 0 0 8px; font-size: 1.5rem; }
.hn-teacher__bio { max-width: 560px; color: var(--c-muted); }
.hn-teacher__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hn-teacher__fb { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #f2f6ff; color: var(--c-ink); transition: background-color .25s, transform .3s var(--spring); }
.hn-teacher__fb:hover { background: #e4edff; color: var(--c-ink); transform: translateY(-2px); }
.hn-teacher__fb > span:nth-child(2) { display: grid; flex: 1; line-height: 1.4; }
.hn-teacher__fb small { color: var(--c-muted); font-size: 13px; }
.hn-teacher__fb > .hn-icon { color: #1877f2; transition: transform .3s var(--spring); }
.hn-teacher__fb:hover > .hn-icon { transform: rotate(45deg); }
.hn-teacher__fb-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #1877f2; color: #fff; }
@media (max-width: 640px) { .hn-teacher { grid-template-columns: 1fr; text-align: center; justify-items: center; } .hn-teacher__actions { justify-content: center; } .hn-teacher__actions .hn-btn { flex: 1 1 100%; } .hn-teacher__fb { text-align: left; width: 100%; } }

.lp-course-curriculum .course-item__status .course-item-ico.in-progress { opacity: .25; }
/* Once the suite's player has loaded, it fills the box edge to edge. */
#popup-content .mirror-sv-box:has(iframe) { display: block; padding: 0; background: #000; text-align: left; }
#popup-content .mirror-sv-box .aiovg-player-container { width: 100%; }
#popup-content .mirror-sv-box iframe { display: block; width: 100%; }

/* ==========================================================================
   Login popup
   ========================================================================== */
.hn-login[hidden] { display: none; }
.hn-login { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; }
.hn-login__backdrop { position: absolute; inset: 0; background: rgba(12, 13, 19, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.hn-login__panel { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); width: min(920px, 100%); height: min(680px, calc(100vh - 40px)); overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 50px 100px -40px rgba(12, 13, 19, .7); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s var(--ease), transform .45s var(--spring); }
.hn-login__panel:focus { outline: none; }
.hn-login.is-open .hn-login__backdrop { opacity: 1; }
.hn-login.is-open .hn-login__panel { opacity: 1; transform: none; }
.hn-login__side { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 30px; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .75); background: linear-gradient(rgba(255, 154, 158, .06) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255, 154, 158, .06) 1px, transparent 1px) 0 0 / 30px 30px, radial-gradient(360px 280px at 100% 0%, rgba(215, 25, 32, .6), transparent 70%), linear-gradient(160deg, var(--c-deep) 0%, var(--c-night) 100%); }
.hn-login__side::after { content: ""; position: absolute; bottom: -80px; left: -60px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 174, 85, .3), transparent 70%); animation: hn-blob 14s ease-in-out infinite alternate; }
.hn-login__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 700; }
.hn-login__badge .hn-icon { color: #4be38a; }
.hn-login__side h2 { margin: 18px 0 0; color: #fff; font-size: 1.9rem; }
.hn-login__side p { margin: 0; font-size: 15px; }
.hn-login__side ul { display: grid; gap: 12px; margin: auto 0 0; padding: 0; list-style: none; }
.hn-login__side li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14.5px; font-weight: 600; }
.hn-login__side li .hn-icon { display: grid; place-items: center; width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--c-brand-soft); }
.hn-login__main { position: relative; min-height: 0; background: #fff; }
.hn-login__frame { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s var(--ease); }
.hn-login.is-loaded .hn-login__frame { opacity: 1; }
.hn-login__loading { position: absolute; inset: 0; display: grid; place-items: center; }
.hn-login__loading span { width: 34px; height: 34px; border: 3px solid var(--c-brand-100); border-top-color: var(--c-brand); border-radius: 50%; animation: hn-spin-r .8s linear infinite; }
.hn-login.is-loaded .hn-login__loading { display: none; }
.hn-login__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: var(--c-surface); color: var(--c-ink); cursor: pointer; transition: background-color .2s, color .2s, transform .35s var(--ease); }
.hn-login__close:hover { background: var(--c-brand-50); color: var(--c-brand); transform: rotate(90deg); }
.hn-login__done { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; background: rgba(255, 255, 255, .94); color: var(--c-ok); font-weight: 800; font-size: 1.05rem; }
.hn-login__done[hidden] { display: none; }
.hn-login-open { overflow: hidden; }
@keyframes hn-spin-r { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
	.hn-login { place-items: end center; padding: 0; }
	.hn-login__panel { grid-template-columns: 1fr; width: 100%; height: min(92vh, 760px); border-radius: 26px 26px 0 0; transform: translateY(100%); }
	.hn-login__side { display: none; }
	.hn-login__panel::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 3; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: var(--c-line-strong); }
	.hn-login__main { padding-top: 18px; }
	.hn-login__close { top: 12px; }
}

/* ==========================================================================
   WordPress toolbar (admins only, on the website)
   ========================================================================== */
.admin-bar .hn-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .hn-progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hn-progress { top: 0; } }
#wpadminbar { background: linear-gradient(90deg, var(--c-night) 0%, #1a0d12 60%, var(--c-deep) 100%) !important; font-family: var(--font) !important; box-shadow: 0 6px 20px -12px rgba(12, 13, 19, .8); }
#wpadminbar *, #wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon { font-family: var(--font) !important; }
#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label { color: rgba(255, 255, 255, .82) !important; font-weight: 600; }
#wpadminbar .quicklinks .ab-top-menu > li > .ab-item { padding: 0 10px !important; }
#wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item, #wpadminbar .ab-top-menu > li > .ab-item:focus { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
#wpadminbar .ab-icon::before, #wpadminbar .ab-item::before { color: rgba(255, 255, 255, .55) !important; }
#wpadminbar li:hover .ab-icon::before, #wpadminbar li:hover .ab-item::before { color: var(--c-brand-soft) !important; }
#wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input { overflow: hidden; border-radius: 0 0 14px 14px; background: #fff !important; box-shadow: 0 24px 50px -20px rgba(12, 13, 19, .55) !important; }
#wpadminbar .ab-submenu { padding: 6px 0 !important; }
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a { color: var(--c-ink) !important; font-weight: 600; }
#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus { background: var(--c-brand-50) !important; color: var(--c-brand-700) !important; }
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary { background: var(--c-surface) !important; }
/* Dashboard: the doctor's main entry, as a red pill. */
#wpadminbar #wp-admin-bar-hn-panel > .ab-item { display: flex !important; align-items: center; gap: 6px; height: 24px !important; margin: 4px 6px 0 !important; padding: 0 12px 0 8px !important; border-radius: 999px; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-700)) !important; color: #fff !important; line-height: 24px !important; box-shadow: 0 6px 14px -8px rgba(215, 25, 32, .9); }
#wpadminbar #wp-admin-bar-hn-panel > .ab-item .ab-icon { margin: 0 !important; padding: 0 !important; }
#wpadminbar #wp-admin-bar-hn-panel > .ab-item .ab-icon::before { content: "\f226"; top: 0 !important; color: #fff !important; font-size: 16px; }
#wpadminbar #wp-admin-bar-hn-panel:hover > .ab-item { filter: brightness(1.1); }
#wpadminbar #wp-admin-bar-hn-panel .ab-sub-wrapper { border-radius: 14px; margin-top: 4px; }
#wpadminbar #wp-admin-bar-hn-staging > .ab-item { height: 24px !important; margin: 4px 4px 0 !important; padding: 0 10px !important; border-radius: 999px; line-height: 24px !important; font-size: 11px !important; letter-spacing: .06em; }
#wpadminbar #wp-admin-bar-my-account > .ab-item { display: flex !important; align-items: center; gap: 8px; }
#wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, #wpadminbar #wp-admin-bar-my-account.with-avatar > a img { border: 0 !important; border-radius: 50%; }
@media (max-width: 782px) {
	#wpadminbar #wp-admin-bar-hn-panel { display: block !important; }
	#wpadminbar #wp-admin-bar-hn-panel > .ab-item { height: 34px !important; margin: 6px 4px 0 !important; padding: 0 12px !important; line-height: 34px !important; }
	#wpadminbar #wp-admin-bar-hn-panel > .ab-item .ab-label { display: inline !important; }
	#wpadminbar #wp-admin-bar-hn-panel > .ab-item .ab-icon::before { font-size: 20px; }
}

/* Lesson header buttons: curriculum toggle (phones) and close, as matching glass tiles. */
#popup-header .back-course { border: 1px solid rgba(255, 255, 255, .2) !important; background: rgba(255, 255, 255, .12) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
#popup-header .back-course:hover { border-color: transparent !important; background: var(--c-brand) !important; }
@media (max-width: 768px) {
	#popup-course #popup-header { background: radial-gradient(300px 120px at 0% 0%, rgba(215, 25, 32, .45), transparent 70%), linear-gradient(120deg, var(--c-night) 0%, #24090e 100%) !important; }
	#popup-course #sidebar-toggle { width: 40px !important; height: 40px !important; line-height: 40px !important; border-radius: 12px !important; background: rgba(255, 255, 255, .12) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 18px -10px rgba(0, 0, 0, .6) !important; color: #fff !important; font-size: 18px !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
	#popup-course #sidebar-toggle:not(:checked) { background: rgba(255, 255, 255, .24) !important; }
	#popup-course #sidebar-toggle::before { color: #fff !important; }
	#popup-header .course-title a { font-size: 17px !important; }
}

/* Locked lesson card (theme's learnpress/single-course/content-protected.php) */
.hn-locked { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: clamp(10px, 4vh, 48px) auto; padding: clamp(26px, 1rem + 3vw, 44px) clamp(20px, 1rem + 2vw, 40px); overflow: hidden; border: 1px solid var(--c-line); border-radius: 28px; background: radial-gradient(360px 200px at 50% 0%, rgba(215, 25, 32, .09), transparent 70%), #fff; box-shadow: 0 30px 60px -32px rgba(18, 19, 27, .35); text-align: center; isolation: isolate; }
.hn-locked__ico { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 6px; border-radius: 22px; background: linear-gradient(135deg, var(--c-brand), var(--c-deep)); color: #fff; box-shadow: 0 18px 34px -14px rgba(215, 25, 32, .85); animation: hn-float 5s ease-in-out infinite; }
.hn-locked__ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-locked__title { margin: 4px 0 0; color: var(--c-ink); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.hn-locked__text { max-width: 420px; margin: 0; color: var(--c-muted); font-size: 15.5px; }
.hn-locked__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.hn-locked__actions .hn-btn { padding: 13px 22px; }
.hn-locked__note { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.hn-locked__note .hn-icon { color: var(--c-ok); }
.hn-locked__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; }
@media (max-width: 480px) { .hn-locked { margin: 8px 0; border-radius: 22px; } .hn-locked__actions .hn-btn { flex: 1 1 100%; } }

/* Lesson header on phones: toggle and close evenly spaced, title clear of the toggle. */
@media (max-width: 768px) {
	#popup-course #sidebar-toggle { position: fixed !important; top: 12px !important; left: 12px !important; margin: 0 !important; }
	.admin-bar #popup-course #sidebar-toggle { top: 58px !important; }
	#popup-header .popup-header__inner { padding-left: 64px !important; }
	#popup-header .course-title { padding-left: 0 !important; }
	#popup-header .back-course { margin: 0 12px 0 8px !important; }
}
/* Login popup: way out to the full login page, in its own row under the form. */
.hn-login__main { display: flex; flex-direction: column; }
.hn-login__frame { flex: 1; height: auto; min-height: 0; }
.hn-login__full { align-self: center; margin: 6px 0 12px; padding: 4px 12px; color: var(--c-muted); font-size: 12.5px; font-weight: 600; }
.hn-login__full:hover { color: var(--c-brand); }
@media (max-width: 760px) { .hn-login__full { margin-bottom: calc(10px + env(safe-area-inset-bottom)); } }
