/* Team Tutor AI marketing theme. One stylesheet. Tokens first, dark mode via prefers-color-scheme. */

:root {
	--ink: #14261C;
	--ink-2: #2B4134;
	--muted: #56675C;
	--fern: #3DBE6E;
	--fern-strong: #1F8A4A;
	--fern-deep: #17683A;
	--fern-light: #6BD993;
	--sage: #E6F0E8;
	--sage-2: #D5E5D9;
	--paper: #F8F6F0;
	--surface: #FFFFFF;
	--line: #DCE3DA;
	--line-2: #C9D4C8;
	--sun: #F5C343;
	--sun-soft: #FCEFC4;
	--clay: #D9734E;
	--clay-soft: #F6DED3;
	--danger: #B53A26;

	--bg: var(--paper);
	--bg-alt: #F0F4EE;
	--fg: var(--ink);
	--card: var(--surface);
	--accent: var(--fern-strong);
	--accent-fill: var(--fern);
	--on-accent: var(--ink);
	--header-bg: rgba(248, 246, 240, 0);
	--header-solid: #F8F6F0;
	--panel-bg: #FBFAF6;
	--hero-fg: #F4F8F3;
	--hero-muted: rgba(244, 248, 243, .82);
	--moss-1: #0F1F16;
	--moss-2: #1B3526;
	--moss-3: #24503A;

	--font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
	--font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--step--1: clamp(.84rem, .82rem + .1vw, .9rem);
	--step-0: clamp(1rem, .97rem + .14vw, 1.0625rem);
	--step-1: clamp(1.15rem, 1.1rem + .3vw, 1.3rem);
	--step-2: clamp(1.35rem, 1.22rem + .6vw, 1.7rem);
	--step-3: clamp(1.7rem, 1.45rem + 1.2vw, 2.4rem);
	--step-4: clamp(2.1rem, 1.6rem + 2.3vw, 3.4rem);
	--step-5: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

	--r-lg: 22px;
	--r: 14px;
	--r-sm: 9px;
	--shadow-1: 0 1px 2px rgba(20, 38, 28, .05), 0 2px 8px rgba(20, 38, 28, .05);
	--shadow-2: 0 2px 4px rgba(20, 38, 28, .05), 0 18px 40px -12px rgba(20, 38, 28, .18);
	--shadow-3: 0 30px 80px -20px rgba(8, 20, 13, .55);
	--header-h: 72px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--admin: 0px;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #E9F1EA;
		--ink-2: #C9D6CC;
		--muted: #9AAEA1;
		--fern-strong: #5BD58A;
		--fern-deep: #7EE0A3;
		--sage: #18291F;
		--sage-2: #213729;
		--paper: #0E1A13;
		--surface: #13231A;
		--line: #26392D;
		--line-2: #33503E;
		--sun-soft: #3A3117;
		--clay-soft: #3A2219;
		--danger: #F08A73;
		--bg: var(--paper);
		--bg-alt: #112018;
		--fg: var(--ink);
		--card: var(--surface);
		--accent: #5BD58A;
		--on-accent: #0E1A13;
		--header-solid: #0E1A13;
		--panel-bg: #112018;
		--shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .25);
		--shadow-2: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .6);
	}
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-ui);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.admin-bar { --admin: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin: 46px; } }
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em; color: var(--fg); font-optical-sizing: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: #14261C; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--sun); color: #14261C; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(var(--admin) + 12px); }

.page { overflow-x: clip; min-height: 100vh; position: relative; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); min-height: 44px; }
.logo-word { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; direction: ltr; unicode-bidi: isolate; font-weight: 750; font-size: 1.45rem; letter-spacing: -.035em; white-space: nowrap; }
.logo-mark { width: 40px; height: 40px; margin: -4px -2px -2px -4px; }

/* Buttons */
.btn {
	--b-bg: var(--accent-fill); --b-fg: #14261C; --b-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
	font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .25s var(--ease);
	position: relative;
}
.btn:hover { --b-bg: #57CB82; box-shadow: 0 8px 22px -8px rgba(31, 138, 74, .55); text-decoration: none; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bg: var(--card); --b-bd: var(--fg); box-shadow: none; }
.btn--ghost-light { --b-bg: rgba(255, 255, 255, .06); --b-fg: #F4F8F3; --b-bd: rgba(244, 248, 243, .45); }
.btn--ghost-light:hover { --b-bg: rgba(255, 255, 255, .14); --b-bd: #F4F8F3; box-shadow: none; }
.btn--sun { --b-bg: var(--sun); --b-fg: #14261C; }
.btn--sun:hover { --b-bg: #F8D066; box-shadow: 0 10px 26px -10px rgba(245, 195, 67, .7); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(127, 140, 130, .14); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: var(--admin); left: 0; right: 0; z-index: 100;
	background: var(--header-bg); color: var(--hero-fg);
	border-bottom: 1px solid transparent;
	transition: background-color .25s, color .25s, border-color .25s;
}
.site-header .logo { color: inherit; }
.site-header.is-solid, .site-header.is-open, body.no-hero .site-header {
	background: var(--header-solid); color: var(--fg); border-bottom-color: var(--line);
}
.site-header.is-open { transition: none; }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header-logo { margin-inline-end: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-signin { color: inherit; text-decoration: none; font-weight: 550; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.header-signin:hover { background: rgba(127, 140, 130, .16); }
.header-actions .btn { min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.menu-toggle { display: none; }

/* ---------- Mega menu ---------- */
.mega-nav { margin-inline-end: auto; }
.mega-list { display: flex; list-style: none; gap: 2px; }
.mega-item { display: flex; align-items: center; }
.mega-link {
	color: inherit; text-decoration: none; font-weight: 550; font-size: .97rem;
	padding-block: 10px; padding-inline: 12px 4px; border-radius: 0; border-start-start-radius: 10px; border-end-start-radius: 10px; min-height: 44px; display: inline-flex; align-items: center;
	position: relative;
}
.mega-link[aria-current]::after { content: ""; position: absolute; inset-inline: 12px 4px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--sun); }
.mega-chev {
	display: inline-grid; place-items: center; width: 30px; min-height: 44px; border: 0; background: transparent; color: inherit;
	border-radius: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; cursor: pointer; padding: 0;
}
.mega-chev .icon { transition: transform .2s var(--ease); opacity: .75; }
.mega-item.is-open .mega-chev .icon { transform: rotate(180deg); opacity: 1; }
.mega-item:hover .mega-link, .mega-item:hover .mega-chev, .mega-item.is-open .mega-link, .mega-item.is-open .mega-chev { background: rgba(127, 140, 130, .14); }

.mega-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--panel-bg); color: var(--fg);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 60px -30px rgba(10, 25, 16, .35);
	max-height: calc(100vh - var(--header-h) - var(--admin));
	overflow-y: auto; overscroll-behavior: contain;
	display: none; z-index: 2;
	--mx: 50%; --my: 50%;
}
.mega-item.is-open .mega-panel { display: block; }
.site-header.is-first .mega-item.is-open .mega-panel { animation: megaIn .18s ease-out both; }
@keyframes megaIn { from { opacity: 0; } to { opacity: 1; } }
.mega-pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-strong); opacity: var(--pattern-o); pointer-events: none;
	-webkit-mask-image: radial-gradient(360px circle at var(--mx) var(--my), #000 0%, transparent 70%);
	mask-image: radial-gradient(360px circle at var(--mx) var(--my), #000 0%, transparent 70%); }
.mega-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr .85fr; gap: 36px; padding-block: 28px 32px; }
.mega-rows { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; align-content: start; }
.mega-row { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: var(--fg); text-decoration: none; min-height: 44px; }
.mega-row:hover, .mega-row:focus-visible { background: var(--sage); }
.mega-row-icon { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--sage); color: var(--fern-strong); transition: background-color .2s, color .2s; }
.mega-row:hover .mega-row-icon, .mega-row:focus-visible .mega-row-icon { background: var(--fern); color: #14261C; }
.mega-row-text { display: flex; flex-direction: column; gap: 2px; }
.mega-row-title { font-weight: 600; font-size: .98rem; }
.mega-row-desc { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.mega-aside { border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.mega-aside-title { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 6px 0 12px; }
.mega-links { list-style: none; }
.mega-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; min-height: 44px; color: var(--fg); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line); }
.mega-links a .icon { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; color: var(--accent); }
.mega-links a:hover .icon, .mega-links a:focus-visible .icon { opacity: 1; transform: none; }
.mega-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: var(--sage); color: var(--fg); font-size: .82rem; font-weight: 550; }
.mega-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.mega-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mega-stats dt { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--fern-strong); }
.mega-stats dd { margin: 6px 0 0; color: var(--muted); font-size: .85rem; }
.mega-posts { list-style: none; }
.mega-posts a { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); min-height: 44px; }
.mega-post-title { font-weight: 600; line-height: 1.35; font-size: .95rem; }
.mega-posts a:hover .mega-post-title { color: var(--accent); }
.mega-post-date { color: var(--muted); font-size: .82rem; }
.mega-founder { display: flex; gap: 14px; align-items: center; }
.mega-founder-name { font-weight: 650; margin: 0; }
.mega-founder-role { color: var(--muted); font-size: .88rem; margin: 2px 0 0; line-height: 1.4; }
.mega-founder-quote { margin-top: 16px; font-family: var(--font-display); font-size: 1.04rem; line-height: 1.5; color: var(--ink-2); border-inline-start: 3px solid var(--sun); padding-inline-start: 14px; }
.mega-cards { display: flex; flex-direction: column; gap: 10px; }
.mega-card { display: block; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.mega-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--moss-2); }
.mega-preview { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.mega-preview.is-on { opacity: 1; }
.mega-preview .media { width: 100%; height: 100%; }
.mega-card-body { display: block; padding: 12px 14px 14px; }
.mega-card-title { display: flex; align-items: center; gap: 6px; font-weight: 650; }
.mega-card-title .icon { color: var(--accent); transition: transform .2s; }
.mega-card:hover .mega-card-title .icon { transform: translateX(3px); }
.mega-card-text { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.mega-mini { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px; border-radius: 12px; background: var(--sage); color: var(--fg); font-weight: 600; font-size: .92rem; text-decoration: none; }
.mega-mini .icon { color: var(--fern-strong); }
.mega-mini:hover { background: var(--sage-2); }
.mega-backdrop {
	position: absolute; left: 0; right: 0; top: calc(100% + 1px); height: 100vh;
	background: rgba(0, 0, 0, .3); display: none; z-index: 1;
}
.site-header.is-open .mega-backdrop { display: block; }
/* Row stagger only on first open, only with motion. */
.motion .site-header.is-first .mega-item.is-open .mega-stagger { animation: megaRow .32s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes megaRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: var(--admin) 0 0 0; z-index: 150; background: rgba(8, 18, 12, .45); }
.drawer[hidden] { display: none; }
.drawer-panel {
	position: absolute; inset-block: 0; inset-inline: auto 0; width: min(100%, 440px); background: var(--bg); color: var(--fg);
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
}
.motion .drawer.is-open .drawer-panel { animation: drawerIn .28s var(--ease) both; }
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-search { margin: 14px 16px 4px; position: relative; display: flex; align-items: center; }
.drawer-search .icon { position: absolute; inset-inline-start: 14px; color: var(--muted); }
.drawer-search input { width: 100%; min-height: 48px; padding-block: 10px; padding-inline: 42px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); }
.drawer-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 16px; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; cursor: pointer; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary .icon { transition: transform .2s; color: var(--muted); }
.drawer-group[open] summary .icon { transform: rotate(180deg); }
.drawer-group ul { list-style: none; padding-bottom: 12px; }
.drawer-group a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px; color: var(--fg); text-decoration: none; border-radius: 10px; font-weight: 500; }
.drawer-group a .icon { color: var(--fern-strong); }
.drawer-group a:hover { background: var(--sage); }
.drawer-overview { font-weight: 650 !important; color: var(--accent) !important; }
.drawer-cta { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.drawer-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	color: var(--hero-fg); background: var(--moss-1);
	display: flex; align-items: center;
	padding-top: calc(var(--header-h) + var(--admin));
	--mx: 30%; --my: 40%;
}
.hero--home { min-height: 88vh; min-height: 88svh; }
.hero--main { min-height: 66vh; min-height: 66svh; }
.hero--compact { min-height: 50vh; min-height: 50svh; }
.hero-media, .hero-pattern, .hero-canvas, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -4; }
.hero-photo { width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.motion .kenburns img, .motion .kenburns .fallback-motif { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1%, -1%, 0); } }
.hero-pattern { z-index: -3; color: var(--fern-light); opacity: var(--pattern-o);
	-webkit-mask-image: radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 55%, transparent 80%);
	mask-image: radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 55%, transparent 80%); }
.hero-canvas { z-index: -2; pointer-events: none; }
.no-js .hero-canvas { display: none; }
.hero-scrim { z-index: -1;
	background:
		linear-gradient(90deg, rgba(12, 26, 18, .92) 0%, rgba(12, 26, 18, .86) 40%, rgba(12, 26, 18, .62) 62%, rgba(12, 26, 18, .30) 100%),
		linear-gradient(0deg, rgba(12, 26, 18, .75) 0%, rgba(12, 26, 18, 0) 40%);
}
.hero-copy { position: relative; }
.hero--home .hero-scrim {
	background:
		linear-gradient(90deg, rgba(12, 26, 18, .93) 0%, rgba(12, 26, 18, .82) 45%, rgba(12, 26, 18, .55) 100%),
		linear-gradient(0deg, rgba(12, 26, 18, .7) 0%, rgba(12, 26, 18, 0) 45%);
}
@media (max-width: 900px) {
	.hero-scrim, .hero--home .hero-scrim {
		background:
			linear-gradient(180deg, rgba(12, 26, 18, .84) 0%, rgba(12, 26, 18, .80) 55%, rgba(12, 26, 18, .90) 100%);
	}
}
.hero-skyline { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; color: rgba(245, 195, 67, .16); z-index: -1; }
.hero-inner { position: relative; padding-block: clamp(40px, 7vh, 80px); }
.hero-inner.has-extra { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 720px; }
.hero--compact .hero-copy { max-width: 820px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--fern-light); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.hero-title { font-size: var(--step-5); color: var(--hero-fg); font-weight: 520; line-height: 1.04; letter-spacing: -.022em; margin-bottom: 22px; text-wrap: balance; }
.hero--main .hero-title { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); }
.hero--compact .hero-title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); }
.hl-wrap { white-space: nowrap; }
.hl { color: var(--fern-light); position: relative; white-space: nowrap; display: inline-block; }
.hl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; min-height: 3px; border-radius: 3px;
	background: var(--sun); transform-origin: left center;
}
.motion .hl::after { transform: scaleX(0); animation: hlDraw .9s .55s var(--ease) forwards; }
@keyframes hlDraw { to { transform: scaleX(1); } }
.hero-lead { font-size: var(--step-1); color: var(--hero-muted); max-width: 60ch; line-height: 1.6; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -8px 0 28px; color: var(--hero-muted); font-size: .94rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { color: var(--sun); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px 0; margin-bottom: 20px; font-size: .88rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--hero-muted); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-block: 0; margin-inline: 6px 10px; opacity: .6; }
.crumbs a { color: var(--hero-fg); text-decoration: none; display: inline-flex; min-height: 24px; align-items: center; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--hero-muted); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; }
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid rgba(244, 248, 243, .55); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--sun); }
.motion .scroll-cue span::after { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Media fallbacks: gradient plus pattern plus motif */
.media { position: relative; display: block; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--fallback { width: 100%; height: 100%; min-height: 100%; color: var(--fern-light); }
.media--fallback .fallback-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--pattern-o); }
.fallback-motif { position: absolute; inset-inline-end: 8%; top: 50%; width: min(40%, 360px); aspect-ratio: 1; translate: 0 -50%; opacity: .28; }
.fallback-motif svg { width: 100%; height: 100%; }
.tone-moss { background: radial-gradient(120% 90% at 78% 30%, #2E6A48 0%, #1D3D2B 38%, #12251A 70%, #0D1B13 100%); color: #7EE0A3; }
.tone-fern { background: radial-gradient(110% 100% at 80% 20%, #8FE3AE 0%, #4FC57D 40%, #2C9857 100%); color: #0F3D23; }
.tone-sage { background: radial-gradient(120% 100% at 75% 25%, #F4F8F2 0%, #DCEADF 50%, #BFD7C5 100%); color: #1F8A4A; }
.tone-sun { background: radial-gradient(110% 100% at 80% 20%, #FFF1C6 0%, #F7D576 45%, #E7B53B 100%); color: #5C4508; }
.tone-clay { background: radial-gradient(110% 100% at 80% 20%, #F9E0D3 0%, #EBA685 50%, #D9734E 100%); color: #5A2410; }
.tone-sage .fallback-motif, .tone-sun .fallback-motif, .tone-clay .fallback-motif, .tone-fern .fallback-motif { opacity: .35; }
.hero .media--fallback .fallback-motif { inset-inline-end: 6%; width: min(38%, 520px); opacity: .22; }
.hero--home .media--fallback .fallback-motif { opacity: 0; }

/* Home mock card */
.hero-extra { position: relative; perspective: 1200px; }
.mock {
	position: relative; border-radius: 22px; padding: 0; overflow: hidden;
	background: rgba(248, 246, 240, .94); color: #14261C;
	border: 1px solid rgba(255, 255, 255, .5);
	box-shadow: var(--shadow-3), 0 0 0 8px rgba(244, 248, 243, .06);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease);
	max-width: 460px; margin-inline-start: auto;
}
@supports (backdrop-filter: blur(1px)) { .mock { background: rgba(248, 246, 240, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); } }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(20, 38, 28, .08); background: rgba(255, 255, 255, .5); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5DCD3; }
.mock-dots i:first-child { background: #E9A387; }
.mock-dots i:nth-child(2) { background: #F5C343; }
.mock-url { font-size: .76rem; color: #5A6B60; background: rgba(20, 38, 28, .05); padding: 3px 10px; border-radius: 6px; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-small { font-size: .8rem; color: #56675C; margin: 0; }
.mock-strong { font-weight: 650; margin: 0; font-size: .96rem; line-height: 1.3; }
.mock-hello { display: flex; align-items: center; gap: 12px; }
.mock-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #14261C; color: #F5C343; font-weight: 700; font-size: .82rem; }
.mock-path { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 38, 28, .08); }
.mock-ring { flex: none; }
.mock-ring-label { position: absolute; inset-inline-start: 14px; width: 76px; height: 76px; display: grid; place-items: center; font-size: .95rem; }
.mock-steps { display: flex; gap: 4px; margin-top: 8px; }
.mock-steps i { width: 26px; height: 6px; border-radius: 3px; background: #E2E8E0; }
.mock-steps i.on { background: #3DBE6E; }
.mock-steps i.now { background: linear-gradient(90deg, #3DBE6E 50%, #E2E8E0 50%); }
.ring-track { fill: none; stroke: #E2E8E0; stroke-width: 4; }
.ring-fill { fill: none; stroke: #3DBE6E; stroke-width: 4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.motion .mock .ring-fill { animation: ringFill 1.6s .5s var(--ease) both; }
@keyframes ringFill { from { stroke-dashoffset: var(--c); } to { stroke-dashoffset: var(--o); } }
.mock-prompt { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 38, 28, .08); }
.mock-prompt-head { display: flex; align-items: center; gap: 6px; }
.mock-chip { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #E6F0E8; color: #1F5C37; }
.mock-chip--safe { background: #DDF3E5; color: #17683A; }
.mock-copy { margin-inline-start: auto; position: relative; display: inline-grid; font-size: .76rem; font-weight: 650; }
.mock-copy > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; }
.mock-copy-a { background: #14261C; color: #fff; }
.mock-copy-b { background: #3DBE6E; color: #14261C; opacity: 0; }
.motion .mock-copy-a { animation: copyA 6s 1.8s infinite; }
.motion .mock-copy-b { animation: copyB 6s 1.8s infinite; }
@keyframes copyA { 0%, 30% { opacity: 1; } 34%, 80% { opacity: 0; } 84%, 100% { opacity: 1; } }
@keyframes copyB { 0%, 30% { opacity: 0; } 34%, 80% { opacity: 1; } 84%, 100% { opacity: 0; } }
.mock-prompt-title { font-weight: 650; margin: 10px 0 4px; font-size: .92rem; }
.mock-prompt-text { font-size: .82rem; color: #3A4D41; margin: 0; line-height: 1.5; }
.mock-prompt-text mark { background: #FCEFC4; color: #5C4508; padding: 0 4px; border-radius: 4px; }
.mock-policy { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #14261C; color: #F4F8F3; }
.mock-policy .mock-small { color: rgba(244, 248, 243, .7); }
.mock-check { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F5C343; color: #14261C; flex: none; }
.mock-check-path { stroke-dasharray: 22; stroke-dashoffset: 0; }
.motion .mock-check-path { animation: checkDraw .6s 2.2s var(--ease) both; }
@keyframes checkDraw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
.mock-badge { margin-inline-start: auto; font-size: .72rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(245, 195, 67, .18); color: #F5C343; }

/* ---------- Sections ---------- */
.site-main { position: relative; }
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section + .section { padding-top: clamp(24px, 4vw, 48px); }
.section--alt { background: var(--bg-alt); }
.section--alt + .section, .section + .section--alt, .founder-section + .section, .stats-strip + .section { padding-top: clamp(64px, 9vw, 120px); }
.section-pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-strong); opacity: var(--pattern-o); pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); position: relative; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker { color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: var(--step-4); text-wrap: balance; margin-bottom: 14px; }
.section-lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; margin: 0; }
.section-head--center .section-lead { margin-inline: auto; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.split-head .section-head { margin-bottom: 0; }
.split-head .btn { flex: none; }
.center-link { text-align: center; margin: 32px 0 0; }

/* Stats strip */
.stats-strip { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-value { font-family: var(--font-display); font-size: var(--step-3); font-weight: 560; line-height: 1.05; margin: 0 0 6px; color: var(--fg); }
.stat-label { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.4; }

/* Shift (before / after) */
.shift-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.shift-copy .section-head { margin-bottom: 0; }
.shift-compare { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.shift-col { padding: clamp(22px, 3vw, 34px); }
.shift-col ul { list-style: none; display: grid; gap: 14px; }
.shift-col li { display: flex; gap: 10px; line-height: 1.4; }
.shift-label { font-weight: 650; margin-bottom: 18px; font-size: .95rem; }
.shift-col--before { background: var(--bg-alt); color: var(--muted); }
.shift-col--before li { text-decoration: line-through; text-decoration-color: rgba(217, 115, 78, .55); text-decoration-thickness: 1.5px; }
.shift-col--after { background: var(--moss-2); color: #F4F8F3; }
.shift-col--after .shift-label { color: var(--sun); }
.shift-col--after .icon { color: var(--fern-light); margin-top: 2px; }

/* Bento */
.pillars-section { overflow: hidden; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.bento-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); overflow: hidden; --mx: 50%; --my: 50%; }
.bento-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61, 190, 110, .10), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bento-item:hover::before { opacity: 1; }
.bento-item h3 { font-size: var(--step-2); margin: 16px 0 10px; }
.bento-item p { color: var(--muted); margin-bottom: 0; }
.bento-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--sage); color: var(--fern-strong); }
.bento-item--paths { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.bento-item--policy { grid-column: span 2; background: var(--moss-2); color: #F4F8F3; border-color: var(--moss-2); }
.bento-item--policy h3 { color: #F4F8F3; }
.bento-item--policy p { color: rgba(244, 248, 243, .78); }
.bento-item--policy .bento-icon { background: rgba(255, 255, 255, .08); color: var(--sun); }
.bento-item--prompts { grid-column: span 2; }
.bento-item--dash { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.bento-text .text-link { margin-top: 12px; }
.bento-steps { list-style: none; display: grid; gap: 4px; background: var(--bg-alt); border-radius: var(--r); padding: 12px; border: 1px solid var(--line); }
.bento-steps li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; font-size: .9rem; line-height: 1.3; border-radius: 8px; }
.bento-steps li.now { background: var(--card); box-shadow: var(--shadow-1); }
.step-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.bento-steps .done .step-dot { background: var(--fern); border-color: var(--fern); color: #14261C; }
.bento-steps .now .step-dot { border-color: var(--fern); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 11px var(--fern); }
.step-min { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.bento-steps .done .step-title { color: var(--muted); }
.sign-demo { margin-top: 22px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px dashed rgba(244, 248, 243, .25); display: grid; gap: 10px; }
.sign-line { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; font-weight: 400; border-bottom: 1px solid rgba(244, 248, 243, .35); padding-bottom: 4px; }
.sign-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--sun); }
.risk-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.risk { font-size: .78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; }
.risk--safe { background: #DDF3E5; color: #145E33; }
.risk--review { background: var(--sun-soft); color: #6B4E00; }
.risk--never, .risk--never_client { background: var(--clay-soft); color: #8A3517; }
@media (prefers-color-scheme: dark) {
	.risk--safe { background: #173823; color: #8FE3AE; }
	.risk--review { color: #F5D27A; }
	.risk--never, .risk--never_client { color: #F2A98C; }
}
.dash-demo { display: grid; gap: 12px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.dash-row { display: grid; grid-template-columns: 92px 1fr 30px; gap: 12px; align-items: center; font-size: .88rem; }
.dash-row b { text-align: end; font-variant-numeric: tabular-nums; }
.dash-bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.dash-bar i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: var(--fern); transform-origin: left; }
.dash-row:first-child .dash-bar i { background: var(--sun); }
.motion .reveal .dash-bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.motion .reveal.is-in .dash-bar i { transform: scaleX(1); }

/* Steps line (a real sequence, so numbers are meaningful) */
.steps-line { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps-line::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.steps-line li { position: relative; padding-inline-end: 20px; }
.steps-num { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fern); color: var(--fg); font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 18px; }
.steps-line li:last-child .steps-num { background: var(--sun); border-color: var(--sun); color: #14261C; }
.steps-line h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps-line p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.steps-time { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--sage); padding: 3px 9px; border-radius: 999px; }

/* Path cards */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color .2s, box-shadow .25s; scroll-margin-top: calc(var(--header-h) + 24px); }
.path-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.path-card:target { border-color: var(--fern); box-shadow: 0 0 0 3px rgba(61, 190, 110, .25); }
.path-card-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.path-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--sage); color: var(--fern-strong); }
.path-steps { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.path-steps i { width: 7px; height: var(--h); background: var(--fern); border-radius: 3px; opacity: .85; }
.path-steps i:last-child { background: var(--sun); opacity: 1; }
.path-title { font-size: 1.32rem; margin-bottom: 8px; }
.path-summary { color: var(--muted); font-size: .95rem; flex: 1; }
.path-meta { display: flex; align-items: center; gap: 6px; color: var(--fg); font-size: .88rem; font-weight: 600; margin: 4px 0 0; }
.path-meta .icon { color: var(--accent); }
.path-fr { display: none; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.path-fr span { font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--sage); color: var(--accent); }
.path-lessons { margin-top: 14px; border-top: 1px solid var(--line); }
.path-lessons summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--accent); }
.path-lessons summary::-webkit-details-marker { display: none; }
.path-lessons summary .icon { transition: transform .2s; }
.path-lessons[open] summary .icon { transform: rotate(180deg); }
.path-lessons ol { list-style: none; display: grid; gap: 2px; padding-bottom: 4px; }
.path-lessons li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: baseline; font-size: .87rem; padding: 6px 0; border-bottom: 1px dashed var(--line); line-height: 1.35; }
.lesson-type { font-size: .72rem; font-weight: 700; color: var(--accent); }
.lesson-type.type-quiz { color: #9A6B00; }
.lesson-type.type-exercise { color: var(--clay); }
@media (prefers-color-scheme: dark) { .lesson-type.type-quiz { color: var(--sun); } .lesson-type.type-exercise { color: #F2A98C; } }
.lesson-min { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* Roles section */
.roles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.roles-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-2); }
.roles-photo { width: 100%; height: 100%; }
.roles-photo .fallback-motif { right: 50%; translate: 50% -50%; width: 60%; opacity: .32; }
.role-list { list-style: none; border-top: 1px solid var(--line); }
.role-list a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; min-height: 64px; transition: padding .25s var(--ease), background-color .2s; }
.role-list a:hover { padding-inline-start: 12px; background: linear-gradient(90deg, var(--sage), transparent); }
.role-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage); color: var(--fern-strong); flex: none; }
.role-text { display: flex; flex-direction: column; flex: 1; }
.role-text b { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; }
.role-text span { color: var(--muted); font-size: .92rem; }
.role-arrow { color: var(--accent); transition: transform .25s; }
.role-list a:hover .role-arrow { transform: translateX(4px); }

/* Founder */
.founder-section { background: var(--moss-1); color: #F4F8F3; overflow: hidden; padding-bottom: clamp(110px, 14vw, 170px) !important; padding-top: clamp(64px, 9vw, 120px) !important; }
.founder-skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; color: rgba(245, 195, 67, .14); }
.founder-quote { margin: 0 auto; max-width: 880px; text-align: center; position: relative; }
.quote-mark { color: var(--sun); margin: 0 auto 18px; }
.founder-quote blockquote { margin: 0; }
.founder-quote blockquote p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem); line-height: 1.3; font-weight: 420; letter-spacing: -.01em; color: #F4F8F3; text-wrap: balance; }
.founder-quote figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; text-align: start; }
.founder-quote figcaption > span { display: flex; flex-direction: column; }
.founder-quote figcaption span span { color: rgba(244, 248, 243, .72); font-size: .9rem; }
.avatar { width: var(--s, 56px); height: var(--s, 56px); border-radius: 50%; object-fit: cover; flex: none; }
.avatar--initials { display: grid; place-items: center; background: linear-gradient(140deg, #F5C343, #E7B53B); color: #14261C; font-family: var(--font-display); font-weight: 650; font-size: calc(var(--s, 56px) * .36); letter-spacing: .02em; line-height: 1; padding-top: .08em; }

/* Pricing teaser */
.mini-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-plan { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.mini-plan:hover { border-color: var(--fern); box-shadow: var(--shadow-2); }
.mini-plan.is-featured { border-color: var(--fern); box-shadow: 0 0 0 1px var(--fern) inset; }
.mini-plan-name { font-weight: 650; }
.mini-plan-price { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: .86rem; flex-wrap: wrap; }
.mini-plan-price b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 560; color: var(--fg); line-height: 1; }
.mini-plan-blurb { color: var(--muted); font-size: .92rem; }
.mini-plan--partner { background: var(--bg-alt); border-style: dashed; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow-2); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-media .media, .post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media .media, .post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-media .fallback-motif { width: 34%; inset-inline-end: 10%; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.post-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--fern); vertical-align: middle; margin-inline-end: 10px; }
.post-card-title { font-size: 1.28rem; line-height: 1.25; margin-bottom: 10px; }
.post-card-title a { color: var(--fg); text-decoration: none; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card--large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--large .post-card-media { aspect-ratio: auto; min-height: 320px; }
.post-card--large .post-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card--large .post-card-title { font-size: var(--step-3); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--moss-2); color: #F4F8F3; padding-block: clamp(64px, 9vw, 110px); --mx: 70%; --my: 50%; }
.cta-pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-light); opacity: var(--pattern-o); }
.cta-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-steps { display: flex; align-items: flex-end; gap: 6px; height: 88px; }
.cta-steps i { width: 14px; border-radius: 7px; background: var(--fern); }
.cta-steps i:nth-child(1) { height: 30%; opacity: .6; }
.cta-steps i:nth-child(2) { height: 52%; opacity: .75; }
.cta-steps i:nth-child(3) { height: 74%; }
.cta-steps i:nth-child(4) { height: 100%; background: var(--sun); }
.cta-title { color: #F4F8F3; font-size: var(--step-4); margin-bottom: 10px; text-wrap: balance; }
.cta-text { color: rgba(244, 248, 243, .8); font-size: var(--step-1); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--moss-1); color: rgba(244, 248, 243, .8); padding-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-light); opacity: var(--pattern-o); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-logo { color: #F4F8F3; }
.footer-tagline { font-family: var(--font-display); font-size: 1.3rem; color: #F4F8F3; margin: 14px 0 8px; }
.footer-blurb { font-size: .94rem; max-width: 40ch; }
.footer-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.footer-signin { color: #F4F8F3; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
.footer-signin:hover { text-decoration: underline; }
.footer-col-title { color: #F4F8F3; font-weight: 650; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: rgba(244, 248, 243, .78); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #F4F8F3; text-decoration: underline; }
.footer-skyline { position: relative; margin-top: 40px; color: rgba(245, 195, 67, .18); height: 120px; }
.footer-skyline .skyline { width: 100%; height: 100%; }
.footer-base { position: relative; background: #0A160F; padding-block: 18px; }
.footer-base-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-base a { color: #F4F8F3; display: inline-flex; min-height: 44px; align-items: center; }
.footer-social { display: flex; gap: 6px; }
.social { display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #F4F8F3; }
.social:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Inner page building blocks ---------- */
.intro-band { padding-block: clamp(48px, 7vw, 88px) 0; }
.lede { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; font-weight: 420; max-width: 34ch; color: var(--fg); text-wrap: pretty; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin: 1.6em 0 .5em; }
.prose h3 { font-size: var(--step-2); margin: 1.4em 0 .4em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; font-size: 1.06rem; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--fern-strong); }
.prose strong { color: var(--fg); }
.prose blockquote { margin: 1.6em 0; padding-block: 4px; padding-inline: 20px 0; border-inline-start: 3px solid var(--sun); font-family: var(--font-display); font-size: 1.2rem; color: var(--fg); }
.prose a { font-weight: 550; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Feature rows (features page) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.feature-row:first-child { border-top: 0; padding-top: 0; }
.feature-row:nth-child(even) .feature-media { order: -1; }
.feature-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.feature-media .media { width: 100%; height: 100%; }
.feature-media .fallback-motif { right: 50%; translate: 50% -50%; width: 46%; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sage); color: var(--fern-strong); margin-bottom: 18px; }
.feature-row h2 { font-size: var(--step-3); }
.feature-row p { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.check-list .icon { color: var(--fern-strong); margin-top: 2px; }

/* Wins grid (solutions) */
.wins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.win { padding: clamp(24px, 3vw, 36px); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.win-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sage); color: var(--fern-strong); margin-bottom: 16px; }
.win h3 { font-size: 1.3rem; margin-bottom: 8px; }
.win p { color: var(--muted); margin: 0; }
.problem { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--clay-soft); color: var(--fg); }
.problem p:last-child { margin: 0; }
.problem-label { font-weight: 650; color: #8A3517; margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { .problem-label { color: #F2A98C; } }
.pull { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--moss-2); color: #F4F8F3; position: relative; overflow: hidden; }
.pull p { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; margin: 0 0 14px; }
.pull cite { font-style: normal; color: rgba(244, 248, 243, .75); font-size: .92rem; display: flex; align-items: center; gap: 10px; }

/* Solutions hub */
.sol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sol-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--fg); transition: box-shadow .25s, border-color .2s; }
.sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 3; }
.sol-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.sol-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.sol-card-media .media { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.sol-card:hover .sol-card-media .media { transform: scale(1.03); }
.sol-card-media .fallback-motif { width: 30%; inset-inline-end: 10%; }
.sol-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.sol-card-body h3 { font-size: 1.35rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.sol-card-body h3 .icon { color: var(--fern-strong); }
.sol-card-body p { color: var(--muted); flex: 1; }
.sol-card-body .text-link { min-height: 0; }

/* Pricing */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin: 0 auto 32px; }
.billing-toggle button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.billing-save { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: #14261C; }
.toggle-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; padding-top: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.plan.is-featured { border: 2px solid var(--fern); box-shadow: var(--shadow-2); }
.plan-flag { position: absolute; top: -13px; white-space: nowrap; line-height: 1.3; inset-inline-start: 24px; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--fern); color: #14261C; }
.plan-name { font-size: 1.5rem; margin-bottom: 6px; }
.plan-blurb { color: var(--muted); font-size: .94rem; min-height: 4.6em; margin-bottom: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; }
.plan-price b { font-family: var(--font-display); font-size: 3rem; font-weight: 560; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: .9rem; }
.plan-note { color: var(--muted); font-size: .84rem; min-height: 1.4em; margin-bottom: 18px; }
.plan .btn { width: 100%; margin-bottom: 20px; }
.plan .check-list { margin-top: 0; font-size: .93rem; }
.plan--partner { background: var(--bg-alt); border-style: dashed; }
.plan--partner .plan-price { min-height: 3rem; align-items: center; }
.plan--partner .plan-price b { font-size: 1.7rem; }

.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); background: var(--card); }
.calc-controls { padding: clamp(24px, 4vw, 44px); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; margin-bottom: 8px; }
.calc-seats-out { font-family: var(--font-display); font-size: 2rem; font-weight: 560; color: var(--fg); font-variant-numeric: tabular-nums; }
.calc-range { width: 100%; height: 44px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; --p: 10%; }
.calc-range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--fern) var(--p), var(--line) var(--p)); }
.calc-range::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--fern) var(--p), var(--line) var(--p)); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--surface); border: 3px solid var(--fern-strong); box-shadow: var(--shadow-1); }
.calc-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--fern-strong); }
.calc-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-top: -4px; }
.calc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; border: 0; padding: 0; }
.calc-plans legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.calc-plan { position: relative; }
.calc-plan input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.calc-plan span { display: flex; flex-direction: column; min-height: 64px; justify-content: center; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 650; }
.calc-plan span small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.calc-plan input:checked + span { border-color: var(--fern-strong); background: var(--sage); box-shadow: 0 0 0 1px var(--fern-strong) inset; }
.calc-plan input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.calc-billing { display: flex; align-items: center; gap: 10px; margin-top: 20px; min-height: 44px; cursor: pointer; font-weight: 550; }
.calc-billing input { width: 20px; height: 20px; accent-color: var(--fern-strong); }
.calc-result { background: var(--moss-2); color: #F4F8F3; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-result .pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-light); opacity: var(--pattern-o); }
.calc-result > *:not(.pattern) { position: relative; }
.calc-total-label { color: rgba(244, 248, 243, .75); margin-bottom: 4px; }
.calc-total { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); font-weight: 560; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.calc-sub { color: rgba(244, 248, 243, .8); font-size: .95rem; margin-bottom: 4px; }
.calc-save { color: var(--sun); font-weight: 650; font-size: .95rem; min-height: 1.5em; }
.calc-result .btn { margin-top: 20px; align-self: flex-start; }

.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: start; }
.compare thead th { position: sticky; top: 0; background: var(--card); font-family: var(--font-display); font-size: 1.15rem; font-weight: 560; }
.compare thead th.is-featured { color: var(--accent); }
.compare .group th { background: var(--bg-alt); font-weight: 650; font-size: .88rem; text-align: start; color: var(--muted); }
.compare .yes { color: var(--fern-strong); }
.compare .no { color: var(--line-2); }
.compare td.featured { background: rgba(61, 190, 110, .06); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 60px; cursor: pointer; font-weight: 600; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sage); color: var(--fern-strong); transition: transform .25s var(--ease); }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; max-width: 68ch; }
.faq-groups { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); display: grid; gap: 4px; }
.faq-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--fg); font-weight: 550; }
.faq-nav a:hover { background: var(--sage); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-3); scroll-margin-top: calc(var(--header-h) + 24px); }

/* Library page */
.lib-totals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.lib-total { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.lib-total b { font-family: var(--font-display); font-size: 1.2rem; color: var(--fg); }
.prompt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prompt-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.prompt-card-head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.prompt-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.prompt-card .use { color: var(--muted); font-size: .92rem; }
.prompt-text { position: relative; margin: 6px 0 0; padding: 16px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .86rem; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; max-height: 210px; overflow: hidden; font-family: var(--font-ui); }
.prompt-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--bg-alt)); }
.ph { background: var(--sun-soft); color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .ph { color: #F5D27A; } }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.role-tab { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; cursor: pointer; color: var(--fg); }
.role-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.prompt-card[hidden] { display: none; }

/* Policy page (lead capture) */
.lead-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.doc-preview { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 36px 32px; box-shadow: var(--shadow-2); max-width: 440px; }
.doc-preview::before, .doc-preview::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); z-index: -1; }
.doc-preview::before { transform: rotate(-3deg) translate(-8px, 6px); }
.doc-preview::after { transform: rotate(2deg) translate(10px, 10px); z-index: -2; }
.doc-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.doc-sub { color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.doc-lines { display: grid; gap: 9px; }
.doc-lines i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.doc-lines i.h { height: 11px; width: 45%; background: var(--fern); opacity: .6; margin-top: 10px; }
.doc-lines i:nth-child(3n) { width: 82%; }
.doc-lines i:nth-child(4n) { width: 68%; }
.doc-sign { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--accent); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-2); position: relative; }
.form-card h2 { font-size: var(--step-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--fg); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fern-strong); box-shadow: 0 0 0 3px rgba(61, 190, 110, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; margin: 6px 0 0; font-weight: 550; }
.check-field { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fern-strong); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .btn { border: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 550; }
.notice--ok { background: #DDF3E5; color: #145E33; }
.notice--error { background: var(--clay-soft); color: #7F2F14; }
@media (prefers-color-scheme: dark) { .notice--ok { background: #173823; color: #A9EBC1; } .notice--error { color: #F7C2AE; } }
.downloads { display: grid; gap: 10px; margin-top: 8px; }
.download { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); text-decoration: none; color: var(--fg); min-height: 64px; background: var(--bg); }
.download:hover { border-color: var(--fern-strong); }
.download-type { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--sage); color: var(--fern-strong); font-weight: 700; font-size: .78rem; }
.download b { display: block; }
.download small { color: var(--muted); }
.download .icon { margin-inline-start: auto; color: var(--accent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ways { list-style: none; display: grid; gap: 4px; margin-top: 24px; }
.contact-ways li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-ways .icon { color: var(--fern-strong); margin-top: 2px; }
.contact-ways b { display: block; }
.contact-ways span, .contact-ways a { color: var(--muted); }
.contact-ways a { display: inline-flex; min-height: 44px; align-items: center; }

/* About */
.founder-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.founder-card .avatar { --s: 120px; }
.founder-card h2 { font-size: var(--step-3); margin-bottom: 4px; }
.founder-role { color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.founder-card p { color: var(--ink-2); }
.cred-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.cred-list li { padding: 6px 12px; border-radius: 999px; background: var(--sage); font-size: .86rem; font-weight: 550; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding-block: 28px; padding-inline: 0 28px; }
.value + .value { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.value h3 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.value h3 .icon { color: var(--fern-strong); }
.value p { color: var(--muted); margin: 0; }

/* Why page */
.vs { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.vs > div { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.vs .vs-head { font-family: var(--font-display); font-weight: 560; font-size: 1.1rem; background: var(--bg-alt); }
.vs .vs-ff { background: rgba(61, 190, 110, .08); font-weight: 600; }
.vs .vs-head.vs-ff { background: var(--moss-2); color: #F4F8F3; }
.vs .icon-yes { color: var(--fern-strong); }
.vs .icon-no { color: var(--clay); }
.vs-wrap { overflow-x: auto; }
.vs-wrap .vs { min-width: 720px; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-item { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.sec-item .icon { color: var(--fern-strong); margin-bottom: 14px; }
.sec-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sec-item p { color: var(--muted); margin: 0; font-size: .95rem; }
.log-table { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.log-col { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.log-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.log-col--no { background: var(--moss-2); color: #F4F8F3; border-color: var(--moss-2); }
.log-col--no h3 { color: #F4F8F3; }
.log-col--no .check-list .icon { color: var(--sun); }

/* Help */
.help-search { position: relative; max-width: 620px; margin-top: 8px; }
.help-search input { width: 100%; min-height: 56px; padding-block: 14px; padding-inline: 50px 18px; border-radius: 999px; border: 0; background: #FFFFFF; color: #14261C; font-size: 1.02rem; box-shadow: var(--shadow-3); }
.help-search .icon { position: absolute; inset-inline-start: 18px; top: 50%; translate: 0 -50%; color: #56675C; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.help-card .icon-wrap { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sage); color: var(--fern-strong); margin-bottom: 14px; }
.help-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.help-card p { color: var(--muted); font-size: .95rem; }
.help-card ul { list-style: none; border-top: 1px solid var(--line); }
.help-card li a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px dashed var(--line); color: var(--fg); text-decoration: none; font-size: .94rem; }
.help-card li a:hover { color: var(--accent); }
.help-card li a .icon { color: var(--muted); }

/* How it works timeline */
.timeline { list-style: none; position: relative; max-width: 900px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 27px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; padding-bottom: 36px; }
.timeline .t-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 2px solid var(--fern); color: var(--fern-strong); }
.timeline li:last-child .t-num { background: var(--sun); border-color: var(--sun); color: #14261C; }
.timeline h3 { font-size: var(--step-2); margin: 10px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline .steps-time { margin-top: 14px; align-self: start; }

/* Legal + post body */
.legal-body, .post-body { padding-block: clamp(48px, 7vw, 88px); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 64px); }
.legal-toc { position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); align-self: start; display: grid; gap: 2px; font-size: .92rem; }
.legal-toc a { display: flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; padding: 4px 10px; border-inline-start: 2px solid var(--line); }
.legal-toc a:hover { color: var(--fg); border-inline-start-color: var(--fern); }
.legal-updated { color: var(--muted); font-size: .9rem; }

.read-progress { position: fixed; top: var(--admin); left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(0); }
.no-js .read-progress { display: none; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-figure { margin: -120px 0 40px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-2); position: relative; z-index: 2; }
.post-figure .media, .post-figure img { width: 100%; height: 100%; object-fit: cover; }
.post-aside { position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 10px; }
.aside-card p { color: var(--muted); font-size: .92rem; }
.aside-card .btn { width: 100%; }
.aside-card--dark { background: var(--moss-2); color: #F4F8F3; border-color: var(--moss-2); }
.aside-card--dark h2 { color: #F4F8F3; }
.aside-card--dark p { color: rgba(244, 248, 243, .8); }
.post-faq { margin-top: 48px; }
.post-faq h2 { font-size: var(--step-3); }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box p { margin: 0; }
.author-box .muted { color: var(--muted); font-size: .92rem; }
.hero-post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--hero-muted); font-size: .94rem; }
.hero-post-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Archive / search / 404 */
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); }
.search-form button { border: 0; cursor: pointer; }
.hero .search-form input { border: 0; background: #fff; color: #14261C; }
.empty { text-align: center; padding: 48px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--card); position: relative; overflow: hidden; }
.empty .pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--fern-strong); opacity: var(--pattern-o); }
.empty > *:not(.pattern) { position: relative; }
.empty h2 { font-size: var(--step-2); }
.empty p { color: var(--muted); }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; min-height: 64px; }
.quick-link .icon { color: var(--fern-strong); }
.quick-link:hover { border-color: var(--fern); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Generic band with image */
.image-band { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 8; position: relative; box-shadow: var(--shadow-2); }
.image-band .media { width: 100%; height: 100%; }

/* ---------- Reveals (only hidden once JS + motion classes exist) ---------- */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.motion .reveal[data-reveal="mask"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease), opacity .5s; }
.motion .reveal[data-reveal="blur"] { transform: none; filter: blur(8px); transition: filter .8s var(--ease), opacity .8s; }
.motion .reveal[data-reveal="grow"] { transform: scale(.96); }
.motion .reveal.is-in { opacity: 1; transform: none; filter: none; }
.motion .reveal[data-reveal="mask"].is-in { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); }
.motion .reveal .icon path, .motion .reveal .icon circle, .motion .reveal .icon rect { stroke-dasharray: 80; stroke-dashoffset: 0; }
.motion .reveal:not(.is-in) .bento-icon .icon *, .motion .reveal:not(.is-in) .win-icon .icon *, .motion .reveal:not(.is-in) .feature-icon .icon * { stroke-dashoffset: 80; }
.motion .bento-icon .icon *, .motion .win-icon .icon *, .motion .feature-icon .icon * { transition: stroke-dashoffset 1.2s var(--ease) .2s; }
[data-drift] { will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.mega-grid { grid-template-columns: 1.35fr 1fr; }
	.mega-cards { display: none; }
	.plans { grid-template-columns: repeat(2, 1fr); }
	.steps-line { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
	.steps-line::before { display: none; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
	.mega-nav, .header-signin { display: none; }
	.menu-toggle { display: inline-grid; }
	.hero-inner.has-extra { grid-template-columns: 1fr; }
	.mock { margin: 0; max-width: 520px; }
	.hero--home { min-height: auto; }
	.hero--home .hero-inner { padding-bottom: 72px; }
	.bento-item--paths, .bento-item--dash { grid-column: span 6; }
	.bento-item--policy, .bento-item--prompts { grid-column: span 3; }
	.path-grid, .post-grid, .help-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
	.mini-plans { grid-template-columns: repeat(2, 1fr); }
	.shift-grid, .roles-grid, .two-col, .lead-grid, .contact-grid, .calc { grid-template-columns: 1fr; }
	.roles-media { aspect-ratio: 16 / 10; max-height: 460px; }
	.post-layout { grid-template-columns: 1fr; }
	.post-aside { position: static; grid-template-columns: 1fr 1fr; }
	.cta-inner { grid-template-columns: 1fr; }
	.cta-steps { height: 56px; }
	.faq-groups, .legal-layout { grid-template-columns: 1fr; }
	.faq-nav, .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
	.legal-toc a { border: 1px solid var(--line); border-radius: 999px; }
	.sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 3; }
	.quick-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	:root { --header-h: 64px; }
	.plan-blurb { min-height: 0; }
	.plans { row-gap: 28px; }
	.header-actions .btn { display: none; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.stat { padding: 22px 16px; border-inline-start: 0; border-top: 1px solid var(--line); }
	.stat:nth-child(odd) { padding-inline-start: 0; }
	.stat:nth-child(even) { border-inline-start: 1px solid var(--line); }
	.stat:nth-child(-n+2) { border-top: 0; }
	.shift-compare { grid-template-columns: 1fr; }
	.bento-item--paths, .bento-item--dash { grid-template-columns: 1fr; }
	.bento-item--policy, .bento-item--prompts { grid-column: span 6; }
	.steps-line { grid-template-columns: 1fr; }
	.steps-line li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-inline-end: 0; }
	.steps-line li > *:not(.steps-num) { grid-column: 2; }
	.steps-line .steps-time { justify-self: start; }
	.steps-num { grid-row: 1 / span 3; margin: 0; }
	.path-grid, .post-grid, .help-grid, .sec-grid, .prompt-grid, .mini-plans, .plans, .log-table, .wins, .values, .form-grid { grid-template-columns: 1fr; }
	.value, .value + .value { padding: 24px 0; border-inline-start: 0; border-top: 1px solid var(--line); }
	.value:first-child { border-top: 0; }
	.split-head { flex-direction: column; align-items: flex-start; }
	.feature-row { grid-template-columns: 1fr; }
	.feature-row:nth-child(even) .feature-media { order: 0; }
	.post-card--large { grid-template-columns: 1fr; }
	.post-card--large .post-card-media { min-height: 0; aspect-ratio: 16 / 9; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.post-aside { grid-template-columns: 1fr; }
	.sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 6; }
	.founder-card { grid-template-columns: 1fr; }
	.calc-plans { grid-template-columns: 1fr; }
	.timeline li { grid-template-columns: 56px 1fr; gap: 16px; }
	.timeline .steps-time { grid-column: 2; margin-top: 0; justify-self: start; }
	.hero-actions .btn { flex: 1 1 auto; }
	.scroll-cue { display: none; }
	.hero-skyline { height: 70px; color: rgba(245, 195, 67, .10); }
	.hero:has(.hero-skyline) .hero-inner { padding-bottom: 88px; }
	.search-form .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.search-form .btn { padding-inline: 16px; }
	.post-figure { margin-top: -64px; }
	.quick-links { grid-template-columns: 1fr; }
	.image-band { aspect-ratio: 16 / 10; }
	.hero-title { font-size: clamp(2.3rem, 1.6rem + 3.6vw, 3rem); }
	.dash-row { grid-template-columns: 84px 1fr 28px; }
}
@media (max-width: 420px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.mock-body { padding: 14px; }
	.mock-url { display: none; }
}

/* Reduced motion: show everything at once. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
	.hl::after { transform: none !important; }
	.hero-canvas { display: none; }
}

/* Print */
@media print {
	.site-header, .site-footer, .hero-canvas, .cta-band, .drawer, .scroll-cue { display: none !important; }
	.hero { min-height: 0; color: #000; background: none; padding: 20px 0; }
	.hero-media, .hero-scrim, .hero-pattern { display: none; }
	.hero-title, .hero-lead { color: #000; }
}

/* Brand: Team Tutor AI wordmark (bold sans, green AI) */
.logo-word .ai { font-weight: inherit; color: var(--logo-green, #16A34A); }
.site-header, .site-footer { --logo-green: #22C55E; }
.site-header.is-solid, .site-header.is-open, body.no-hero .site-header, .drawer { --logo-green: #16A34A; }
@media (prefers-color-scheme: dark) { :root, .site-header.is-solid, .site-header.is-open, body.no-hero .site-header, .drawer { --logo-green: #22C55E; } }

/* ---------- Languages: switcher, lists, suggestion bar ---------- */
.lang-switch { position: relative; }
.lang-switch-btn { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 650; font-size: .86rem; letter-spacing: .02em; color: inherit; user-select: none; }
.lang-switch-btn::-webkit-details-marker { display: none; }
.lang-switch-btn::marker { content: ""; }
.lang-switch-btn:hover, .lang-switch[open] .lang-switch-btn { background: rgba(127, 140, 130, .16); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; list-style: none; padding: 6px; margin: 0; background: var(--panel-bg); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); z-index: 5; }
.lang-option { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-weight: 550; }
.lang-option:hover, .lang-option:focus-visible { background: var(--sage); text-decoration: none; }
.lang-option.is-current { color: var(--accent); font-weight: 650; }
.lang-option.is-current::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--fern); flex: none; }
.lang-code { flex: none; min-width: 28px; padding: 2px 5px; border-radius: 6px; background: var(--sage); color: var(--accent); font-family: "Inter", system-ui, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-align: center; }
.lang-list ul { list-style: none; margin: 0; padding: 0; }
.lang-list--drawer { padding: 12px 16px 4px; border-top: 1px solid var(--line); }
.lang-list--drawer ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-list--drawer .lang-option { min-height: 48px; border: 1px solid var(--line); background: var(--card); }
.lang-list--drawer .lang-option.is-current { border-color: var(--fern); }
.lang-list--footer { display: flex; align-items: center; gap: 4px; color: rgba(244, 248, 243, .7); }
.lang-list--footer ul { display: flex; flex-wrap: wrap; gap: 2px; }
.lang-list--footer .lang-option { color: #F4F8F3; padding: 6px 10px; gap: 0; font-weight: 500; }
.lang-list--footer .lang-option:hover { background: rgba(255, 255, 255, .08); }
.lang-list--footer .lang-option.is-current { color: #6BD993; }
.lang-list--footer .lang-option.is-current::after { display: none; }
.lang-list--footer .lang-code { display: none; }
.lang-suggest { position: fixed; z-index: 140; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 600px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; padding-inline: 16px 8px; border-radius: 16px; background: #14261C; color: #F4F8F3; box-shadow: var(--shadow-3); }
.lang-suggest[hidden] { display: none; }
.lang-suggest p { margin: 0; flex: 1; font-size: .95rem; line-height: 1.4; display: flex; align-items: center; gap: 8px; }
.lang-suggest p .icon { color: #6BD993; }
.lang-suggest .btn { min-height: 44px; padding: 8px 16px; }
.lang-suggest .icon-btn { color: #F4F8F3; }
.lang-suggest .icon-btn:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 520px) {
	.lang-suggest { flex-wrap: wrap; }
	.lang-suggest p { flex-basis: calc(100% - 54px); }
	.lang-suggest .btn { flex: 1; }
}

/* ---------- Answer-first summary and key facts ---------- */
.answer { position: relative; padding-block: clamp(40px, 5vw, 64px) 0; }
.answer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.answer--facts .answer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.answer-main { border-inline-start: 4px solid var(--fern); padding-inline-start: clamp(18px, 2.5vw, 28px); max-width: 820px; }
.answer-q { font-size: var(--step-2); margin-bottom: 10px; }
.answer-a { font-size: var(--step-1); line-height: 1.65; color: var(--ink-2); margin: 0; max-width: 68ch; }
.key-facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-1); }
.key-facts-title { font-family: var(--font-ui); font-size: .9rem; font-weight: 700; color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.key-facts ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.key-facts li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; line-height: 1.4; color: var(--fg); }
.key-facts li .icon { color: var(--fern-strong); margin-top: 1px; }
.answer + .stats-strip { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1040px) { .answer--facts .answer-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .key-facts ul { grid-template-columns: 1fr; } }

/* ---------- Related links ---------- */
.related { padding-block: clamp(48px, 6vw, 80px); }
.related-title { font-size: var(--step-2); margin-bottom: 18px; }
.related-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; line-height: 1.35; }
.related-list a > .icon:first-child { color: var(--fern-strong); }
.related-list a:hover { border-color: var(--fern); }
.related-arrow { margin-inline-start: auto; color: var(--accent); transition: transform .2s var(--ease); }
.related-list a:hover .related-arrow { transform: translateX(3px); }
@media (max-width: 720px) { .related-list { grid-template-columns: 1fr; } }

/* ---------- Posts: author box, dates ---------- */
.author-box { align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.author-kicker { font-size: .8rem; font-weight: 650; color: var(--muted); }
.author-name a { font-weight: 700; color: var(--fg); text-decoration: none; font-size: 1.08rem; }
.author-name a:hover { text-decoration: underline; }
.author-role { font-size: .92rem; color: var(--ink-2); margin: 2px 0 6px !important; }
.hero-author { color: inherit; text-decoration: none; }
.hero-author:hover { text-decoration: underline; }
ul.lib-totals { list-style: none; padding: 0; }

/* ---------- Why: comparison table ---------- */
.vs-table .compare th[scope="row"] { text-align: start; font-weight: 550; font-family: var(--font-ui); font-size: .95rem; }
.vs-table .yes, .vs-table .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.vs-table .no { color: var(--muted); }
.vs-build { color: var(--muted); }

/* ---------- Arabic: Noto Sans Arabic for text and headings ---------- */
html[lang="ar"] {
	--font-display: "Noto Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-ui: "Noto Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .hero-title, html[lang="ar"] .section-title, html[lang="ar"] .lede, html[lang="ar"] .founder-quote blockquote p { letter-spacing: 0; line-height: 1.35; font-weight: 650; }
html[lang="ar"] .hero-title { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .logo-word, html[lang="ar"] .lang-code { letter-spacing: -.035em; }
html[lang="ar"] .lang-code { letter-spacing: .04em; }
html[lang="ar"] .sign-line, html[lang="ar"] .prose em { font-style: normal; }
html[lang="ar"] .hero .eyebrow, html[lang="ar"] .kicker, html[lang="ar"] .chip { letter-spacing: 0; }

/* ---------- Right to left ---------- */
[dir="rtl"] .icon-arrow, [dir="rtl"] .icon-arrow-up-right { scale: -1 1; }
[dir="rtl"] .hl::after { transform-origin: right center; }
[dir="rtl"] .dash-bar i, [dir="rtl"] .read-progress span { transform-origin: right; }
[dir="rtl"] .crumbs li + li::before { transform: rotate(-135deg); }
[dir="rtl"] .hero { --mx: 70%; }
[dir="rtl"] .hero-photo img { object-position: 35% 50%; }
[dir="rtl"] .motion .kenburns img, [dir="rtl"] .kenburns img { transform-origin: 40% 50%; }
[dir="rtl"] .role-list a:hover { background: linear-gradient(270deg, var(--sage), transparent); }
[dir="rtl"] .calc-range::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--fern) var(--p), var(--line) var(--p)); }
[dir="rtl"] .calc-range::-moz-range-track { background: linear-gradient(270deg, var(--fern) var(--p), var(--line) var(--p)); }
.motion[dir="rtl"] .drawer.is-open .drawer-panel { animation-name: drawerInRtl; }
@keyframes drawerInRtl { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 901px) {
	[dir="rtl"] .hero-scrim {
		background:
			linear-gradient(270deg, rgba(12, 26, 18, .92) 0%, rgba(12, 26, 18, .86) 40%, rgba(12, 26, 18, .62) 62%, rgba(12, 26, 18, .30) 100%),
			linear-gradient(0deg, rgba(12, 26, 18, .75) 0%, rgba(12, 26, 18, 0) 40%);
	}
	[dir="rtl"] .hero--home .hero-scrim {
		background:
			linear-gradient(270deg, rgba(12, 26, 18, .93) 0%, rgba(12, 26, 18, .82) 45%, rgba(12, 26, 18, .55) 100%),
			linear-gradient(0deg, rgba(12, 26, 18, .7) 0%, rgba(12, 26, 18, 0) 45%);
	}
}
/* Latin snippets (prompt placeholders, URLs, emails) keep their own direction. */
[dir="rtl"] .mock-url, [dir="rtl"] .footer-contact a, [dir="rtl"] .ph { unicode-bidi: isolate; }

/* Home: starter paths right under the hero (all nine, each links to its lessons) */
.path-grid--home .path-card { padding: 20px 22px; }
.path-grid--home .path-card-top { margin-bottom: 12px; }
.path-grid--home .path-title { font-size: 1.16rem; margin-bottom: 6px; }
.path-grid--home .path-summary { font-size: .92rem; margin-bottom: 8px; }
.path-link { color: inherit; text-decoration: none; }
.path-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.path-link:hover { color: var(--accent); }
.path-link:focus-visible { outline: none; }
.path-card:has(.path-link:focus-visible) { outline: 3px solid var(--fern); outline-offset: 2px; }

/* Home: founder block with a large photo */
.founder-section--block { padding-top: clamp(64px, 8vw, 112px) !important; }
.founder-block { display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.founder-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.founder-portrait--initials { display: grid; place-items: center; background: linear-gradient(150deg, var(--moss-2), #0B1610); border: 1px solid rgba(255, 255, 255, .1); color: #F4F8F3; font: 750 clamp(4rem, 9vw, 7rem)/1 var(--font-ui); letter-spacing: -.04em; }
.founder-kicker { color: var(--fern-light); }
.founder-name { color: #F4F8F3; font-size: var(--step-4, clamp(2rem, 1.4rem + 2.4vw, 3rem)); margin: 0 0 6px; }
.founder-cred { color: var(--sun); font-weight: 600; margin: 0 0 18px; }
.founder-bio { color: rgba(244, 248, 243, .82); max-width: 62ch; margin: 0 0 22px; }
.founder-pull { margin: 0 0 22px; padding-inline-start: 18px; border-inline-start: 3px solid var(--sun); }
.founder-pull .quote-mark { display: none; }
.founder-pull p { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; color: #F4F8F3; margin: 0; text-wrap: pretty; }
.founder-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
.text-link--light { color: var(--fern-light); }
@media (max-width: 860px) {
	.founder-block { grid-template-columns: 1fr; }
	.founder-photo { max-width: 320px; }
}
@media (max-width: 640px) {
	.path-grid--home { gap: 10px; }
	.path-grid--home .path-summary { display: none; }
	.path-grid--home .path-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 14px 16px; }
	.path-grid--home .path-card-top { grid-row: span 2; margin: 0; align-self: center; }
	.path-grid--home .path-steps { display: none; }
	.path-grid--home .path-title { font-size: 1.05rem; margin: 0 0 2px; }
	.path-grid--home .path-meta { margin: 0; font-size: .82rem; }
}
html[lang="ar"] .founder-name, html[lang="ar"] .founder-pull p { letter-spacing: 0; line-height: 1.4; }

/* About: founder experience list */
.cred-h { font-size: 1rem; margin: 22px 0 10px; }
.cred-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0 0 16px; padding: 0; }
.cred-facts li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.cred-facts .icon { color: var(--accent); flex: none; margin-top: 3px; }
.founder-giving { font-size: .92rem; margin-bottom: 14px; }
@media (max-width: 720px) { .cred-facts { grid-template-columns: 1fr; } }
.founder-portrait { aspect-ratio: 1 / 1; }
.founder-block { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); }
@media (max-width: 860px) { .founder-block { grid-template-columns: 1fr; } .founder-photo { max-width: 260px; } }
