/* HumAIn landing: visual language follows tensorgo.ai: lavender canvas, white panels,
   Outfit display type, Plus Jakarta Sans body, pill buttons, frosted floating cards. */

:root {
	--lavender: #f1eefb;
	--lavender-soft: #f6f4fd;
	--lavender-deep: #e9e4fa;
	--white: #ffffff;
	--ink: #0d0d12;
	--ink-soft: #2b2b36;
	--muted: #6d6d81;
	--muted-light: #8b8b9d;
	--purple: #6c4cf1;
	--purple-deep: #4c2ed4;
	--purple-tint: #ece7fe;
	--purple-tint-2: #f3effe;
	--green: #16a75c;
	--green-tint: #e6f6ed;
	--red: #d93c4a;
	--red-tint: #fcebed;
	--line: #e8e5f3;
	--line-soft: #efedf8;
	--code-bg: #fbfaff;
	--r-xl: 34px;
	--r-lg: 26px;
	--r-md: 18px;
	--r-sm: 12px;
	--r-pill: 999px;
	--shadow-card: 0 1px 2px rgba(20, 16, 55, .04), 0 12px 32px -18px rgba(28, 20, 80, .22);
	--shadow-float: 0 18px 44px -20px rgba(34, 22, 95, .35), 0 2px 6px rgba(34, 22, 95, .06);
	--shadow-btn: 0 10px 24px -12px rgba(13, 13, 18, .6);
	--font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-script: "Caveat", "Segoe Script", cursive;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--shell: 1200px;
	--gutter: 24px;
	--nav-h: 76px;
	color-scheme: light;
}
@media (max-width: 720px) {
	:root { --gutter: 16px; --r-xl: 26px; --r-lg: 20px; --nav-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--lavender);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.panel { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.eyebrow--light { color: #cbbcff; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 60ch; text-wrap: pretty; }
/* The hero headline stays in the display face; the accent is colour only. */
.accent { color: var(--purple); }
.script { font-family: var(--font-script); font-weight: 600; color: var(--purple); letter-spacing: 0; font-size: 1.08em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: var(--r-pill); font-size: 14px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

/* ─── buttons ─────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border-radius: var(--r-pill); font-size: 15px; font-weight: 500; padding: 14px 24px;
	transition: transform .22s ease, box-shadow .22s ease, background-color .2s ease, opacity .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__arrow { transition: transform .22s ease; }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--purple { background: var(--purple); color: var(--white); box-shadow: 0 10px 24px -12px rgba(76, 46, 212, .8); }
.btn--purple:hover { background: var(--purple-deep); }
.btn--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn--light:hover { border-color: #d6d0ee; }
.btn--white { background: var(--white); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn--ghost { padding: 14px 2px; color: var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; gap: 8px; }
.btn--sm { padding: 9px 16px; font-size: 14px; gap: 7px; }
.btn--icon { width: 36px; height: 36px; padding: 0; justify-content: center; color: var(--muted); }
.btn--icon:hover { color: var(--ink); }
.btn--lg { padding: 18px 30px; font-size: 16.5px; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ─── reveal on scroll ────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ─── nav ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s ease, box-shadow .3s ease; }
.nav--scrolled { background: #f1eefbd1; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px #1410370d; }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand-img { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 8px 14px; font-size: 14.5px; color: var(--ink-soft); border-radius: var(--r-pill); transition: background-color .2s ease; }
.nav__link:hover { background: #ffffffb3; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; background: var(--white); box-shadow: var(--shadow-card); }
.nav__burger-bars { display: grid; gap: 5px; width: 17px; }
.nav__burger-bars span { height: 1.6px; background: var(--ink); border-radius: 2px; }
.nav__mobile { display: none; }
@media (max-width: 900px) {
	.nav__links, .nav__cta { display: none; }
	.nav__burger { display: grid; }
	.nav__mobile.is-open {
		display: grid; gap: 4px;
		width: min(100% - (var(--gutter) * 2), var(--shell)); margin: 4px auto 12px; padding: 14px;
		background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
	}
	.nav__mobile .btn { margin-top: 8px; }
}

/* ─── hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; margin-top: 10px; padding: 56px 56px 60px; background: linear-gradient(176deg, #f7f5ff, #fbfaff 38%, #fff 78%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero__badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); background: linear-gradient(140deg, var(--purple-deep), #8a6bff); box-shadow: 0 8px 18px -10px #4c2ed4e6; }
.hero__badge-text { display: grid; gap: 1px; font-size: 13.5px; line-height: 1.35; }
.hero__title { font-size: clamp(42px, 6vw, 82px); font-weight: 400; letter-spacing: -.03em; line-height: .98; margin-bottom: 24px; text-wrap: balance; }
.hero__lead { max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); margin-bottom: 26px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.hero__avatars { display: flex; }
.hero__avatar { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -11px; border-radius: 50%; border: 2px solid var(--white); background: linear-gradient(150deg, #cfc2ff, #a58dff); color: #2a1a6b; font-size: 12px; font-weight: 600; }
.hero__avatar--code { background: var(--ink); color: var(--white); font-size: 10.5px; font-family: var(--font-mono); }
.hero__proof-text { display: grid; gap: 1px; font-size: 13.5px; line-height: 1.4; padding-left: 8px; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--muted-light); }

.hero__visual { position: relative; }
.hero__stage { position: relative; aspect-ratio: 1 / .97; max-width: 520px; margin-inline: auto; }
.hero__photo { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(150deg, #2e1d8f, #4b2bd6 45%, #7a53ff); box-shadow: 0 30px 60px -34px #26166ea6; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: #1b1150; }
.hero__photo-glow { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(70% 55% at 22% 18%, rgba(88,130,255,.35), transparent 60%), linear-gradient(180deg, transparent 62%, rgba(24,12,72,.22)); }
.hero__photo.is-playing .hero__photo-glow { opacity: 0; }
/* Real demo video: widescreen stage, nothing cropped, floating cards moved off the picture. */
.hero--video .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; }
.hero--video .hero__title { font-size: clamp(40px, 5vw, 70px); }
.hero--video .hero__stage { aspect-ratio: 16 / 9; max-width: none; }
.hero__photo.has-video { background: #0f1013; border-radius: 22px; }
.hero__photo.has-video .hero__photo-glow { display: none; }
.hero__photo.has-video .hero__video { object-fit: contain; background: #0f1013; }
/* `display` on these would otherwise beat the hidden attribute. */
.mock[hidden], .hero__play[hidden], .hero__video[hidden] { display: none; }
.hero--video .float--score { top: auto; bottom: calc(100% + 14px); right: 0; width: 168px; padding: 11px 14px; }
.hero--video .float__big { font-size: 26px; margin-bottom: 4px; }
.hero--video .float__bars { display: none; }
.hero--video .float--followup { top: calc(100% + 14px); bottom: auto; left: 0; width: min(60%, 290px); }
.hero--video .hero__scribble { bottom: auto; top: -44px; left: 2%; }
.hero__play { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #ffffffeb; color: var(--ink); box-shadow: 0 14px 30px -10px rgba(16, 8, 50, .55); transition: transform .25s ease; }
.hero__play:hover { transform: scale(1.06); }
.hero__play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid #ffffff80; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.hero__scribble { position: absolute; bottom: -38px; left: 12%; font-family: var(--font-script); font-size: 22px; color: var(--purple); transform: rotate(-4deg); }
.hero__scribble[hidden] { display: none; }

/* animated mock interview shown until a demo video is supplied */
.mock { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 22px; color: #fff; }
.mock__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.mock__rec { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: var(--r-pill); background: #ffffff1f; backdrop-filter: blur(8px); font-weight: 500; }
.mock__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5b6b; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mock__timer { font-family: var(--font-mono); opacity: .8; }
.mock__ai { flex: 1; display: grid; place-items: center; align-content: center; gap: 14px; }
.mock__orb { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #e6dcff 60%, #b9a4ff); box-shadow: 0 0 0 10px #ffffff14, 0 0 0 22px #ffffff0a, 0 20px 50px -10px #0d0630aa; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px #ffffff1c, 0 0 0 30px #ffffff0d, 0 20px 50px -10px #0d0630aa; } }
.mock__wave { display: flex; gap: 4px; align-items: center; height: 22px; }
.mock__wave i { width: 3.5px; border-radius: 3px; background: #ffffffd9; animation: wave 1s ease-in-out infinite; }
.mock__wave i:nth-child(1) { animation-delay: -.9s; } .mock__wave i:nth-child(2) { animation-delay: -.7s; }
.mock__wave i:nth-child(3) { animation-delay: -.5s; } .mock__wave i:nth-child(4) { animation-delay: -.3s; }
.mock__wave i:nth-child(5) { animation-delay: -.6s; } .mock__wave i:nth-child(6) { animation-delay: -.2s; }
.mock__wave i:nth-child(7) { animation-delay: -.8s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.mock__name { font-size: 12.5px; opacity: .8; letter-spacing: .02em; }
.mock__caption { min-height: 66px; margin: 0 6% 14px; padding: 12px 16px; border-radius: 16px; background: #0d063066; backdrop-filter: blur(10px); font-size: 14.5px; line-height: 1.45; }
.mock__cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #fff; animation: blink 1s steps(1) infinite; }
.mock__self { position: absolute; right: 18px; bottom: 102px; width: 74px; height: 92px; border-radius: 14px; background: linear-gradient(160deg, #8f7bd8, #5b45b8); border: 2px solid #ffffff59; display: grid; align-items: end; justify-items: center; padding-bottom: 6px; font-size: 11px; }

.float { position: absolute; z-index: 4; background: #ffffffe6; backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); border: 1px solid rgba(255,255,255,.85); border-radius: var(--r-md); box-shadow: var(--shadow-float); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.float__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.float__label { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.float__live { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--green); }
.float__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.float--score { top: 6%; right: -7%; width: min(44%, 210px); padding: 14px 16px; }
.float__big { font-family: var(--font-display); font-size: 34px; letter-spacing: -.03em; margin: 2px 0 8px; }
.float__big span { font-size: 15px; color: var(--muted); }
.float__bars { display: grid; gap: 6px; font-size: 11px; color: var(--muted); }
.float__bars div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; }
.float__bars b { height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--purple) var(--w), var(--line) var(--w)); }
.float--followup { bottom: 9%; left: -9%; width: min(56%, 250px); padding: 13px 16px; animation-delay: -3s; }
.float--followup p { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.hero__photo.is-playing ~ .float { opacity: 0; pointer-events: none; transition: opacity .3s; }

@media (max-width: 960px) {
	.hero { padding: 40px 28px 64px; }
	.hero__grid { grid-template-columns: 1fr; gap: 44px; }
	.float--score { right: -2%; }
	.float--followup { left: -2%; }
}
@media (max-width: 960px) {
	.hero--video .hero__grid { grid-template-columns: 1fr; }
	.hero--video .hero__stage { margin-top: 40px; }
}
@media (max-width: 520px) {
	.hero--video .float { display: none; }
	.hero--video .hero__scribble { top: -34px; font-size: 19px; }
	.hero { padding: 30px 20px 56px; }
	.hero__actions { gap: 14px; }
	.hero__actions .btn--dark { width: 100%; }
	.float--score { width: 150px; padding: 10px 12px; top: -4%; right: -2%; }
	.float__big { font-size: 26px; }
	.float__bars { display: none; }
	.float--followup { width: 62%; bottom: -5%; }
	.mock__self { display: none; }
	.mock__caption { font-size: 13px; margin: 0 0 18px; }
}

/* ─── strip ───────────────────────────────────────────────────────────── */
.strip { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; padding: 44px 0 8px; }
.strip__label { font-size: 13px; color: var(--muted); }
.strip__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.strip__list li { padding: 8px 16px; border-radius: var(--r-pill); background: #ffffffb3; border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

/* ─── sections ────────────────────────────────────────────────────────── */
.section { padding: 96px 0 0; }
.section__head { margin-bottom: 40px; max-width: 720px; }
.section__title { font-size: clamp(32px, 4.2vw, 52px); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 16px; text-wrap: balance; }
@media (max-width: 720px) { .section { padding-top: 72px; } .section__head { margin-bottom: 28px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { padding: 32px 30px 34px; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple-tint); color: var(--purple-deep); font-weight: 600; font-size: 14px; margin-bottom: 22px; }
.step h3, .feature h3 { font-size: 22px; margin-bottom: 10px; }
.step p, .feature p { color: var(--muted); line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.feature { grid-column: span 2; padding: 32px 30px; }
.feature--wide { grid-column: span 3; background: linear-gradient(160deg, #fff 40%, var(--purple-tint-2)); }
.feature__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--purple-tint); color: var(--purple-deep); margin-bottom: 22px; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; }
	.features { grid-template-columns: 1fr; }
	.feature, .feature--wide { grid-column: auto; }
	.step, .feature { padding: 26px 22px; }
}

/* ─── try-it IDE ──────────────────────────────────────────────────────── */
.ide { border-radius: var(--r-lg); }
.ide__bar { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.ide__body { border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.ide__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--lavender-soft); }
.ide__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ide__tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--muted); }
.ide__tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.ide__controls { display: flex; gap: 8px; align-items: center; }
/* Language picker: a copy of the B2C app's Select (web-ui components/ui/select.tsx + field.tsx):
   32px field, 1px control border, 8px radius, brand focus line drawn inside, flat menu, brand-subtle
   highlight. Values are the app's own HSL tokens from styles/humain-ui.css. */
.lang {
	--b2c-foreground: hsl(222 47% 11%);
	--b2c-muted: hsl(240 9% 96%);
	--b2c-muted-foreground: hsl(215 16% 47%);
	--b2c-border: hsl(220 14% 91%);
	--b2c-border-control: hsl(218 13% 73%);
	--b2c-field-focus: hsl(262 55% 52%);
	--b2c-brand: hsl(257.48 57.99% 42.94%);
	--b2c-brand-subtle: hsl(258 100% 97%);
	--b2c-brand-subtle-foreground: hsl(257.48 57.99% 26.94%);
	--b2c-radius: 8px;
	position: relative;
	font-family: var(--font-body);
}
.lang__trigger {
	display: flex; align-items: center; justify-content: space-between;
	width: 160px; height: 32px; padding: 0 12px;
	border: 1px solid var(--b2c-border-control); border-radius: var(--b2c-radius);
	background: #fff; color: var(--b2c-foreground);
	font: 400 14px/20px var(--font-body); text-align: left;
	transition: background-color 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.lang__trigger:hover { background: hsl(240 9% 96% / .6); }
.lang__trigger:focus { outline: none; }
.lang__trigger:focus-visible,
.lang__trigger[aria-expanded="true"] {
	border-color: var(--b2c-field-focus); background: #fff;
	box-shadow: inset 0 0 0 1px var(--b2c-field-focus);
}
.lang__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang__chevron { flex-shrink: 0; margin-left: 8px; color: var(--b2c-muted-foreground); }
.lang__menu {
	position: absolute; top: calc(100% + 4px); left: 0; z-index: 50;
	min-width: 100%; max-height: 288px; overflow-y: auto; margin: 0; padding: 4px; list-style: none;
	background: #fff; color: var(--b2c-foreground);
	border: 1px solid var(--b2c-border); border-radius: var(--b2c-radius);
	transform-origin: top left; animation: langIn 150ms ease-out;
}
.lang__menu[hidden] { display: none; }
@keyframes langIn { from { opacity: 0; transform: translateY(-8px) scale(.95); } }
.lang__option {
	display: flex; align-items: center; width: 100%;
	margin-top: 4px; padding: 6px 8px; border-radius: var(--b2c-radius);
	font-size: 14px; line-height: 20px; cursor: default; user-select: none;
}
.lang__option:first-child { margin-top: 0; }
.lang__option.is-active { background: var(--b2c-brand-subtle); color: var(--b2c-brand-subtle-foreground); }
.lang__option[aria-selected="true"] { background: var(--b2c-brand-subtle); color: var(--b2c-brand); font-weight: 500; }

.ide__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 680px; }
.ide__problem { overflow: auto; padding: 26px 28px 32px; border-right: 1px solid var(--line); font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.ide__problem h3 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.ide__problem h4 { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin: 22px 0 8px; }
.ide__problem p { margin-bottom: 10px; white-space: pre-line; }
.ide__problem code { font-family: var(--font-mono); font-size: .9em; background: var(--purple-tint-2); padding: 1px 5px; border-radius: 5px; }
.ide__problem ul { margin: 0; padding-left: 18px; }
.ide__problem li { font-family: var(--font-mono); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; background: var(--lavender-soft); color: var(--muted); border: 1px solid var(--line-soft); }
.chip--easy { background: var(--green-tint); color: #0f7a43; border-color: transparent; }
.chip--medium { background: #fff3e2; color: #a35c00; border-color: transparent; }
.example { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 10px; }
.example pre { margin: 0; padding: 10px 14px; font: 13px/1.5 var(--font-mono); background: var(--code-bg); white-space: pre-wrap; }
.example__row { display: grid; grid-template-columns: 1fr 1fr; }
.example__row > div + div { border-left: 1px solid var(--line); }
.example__label { padding: 6px 14px 0; background: var(--code-bg); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.example__why { padding: 8px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

.ide__work { display: grid; grid-template-rows: minmax(0, 1fr) auto 210px; min-width: 0; }
.ide__editor { position: relative; min-height: 0; background: var(--white); }
.ide__textarea { position: absolute; inset: 0; width: 100%; height: 100%; resize: none; border: 0; outline: 0; padding: 16px 18px; font: 13.5px/1.6 var(--font-mono); color: var(--ink); background: var(--white); tab-size: 4; }
.ide__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--lavender-soft); }
.ide__hint { font-size: 12.5px; color: var(--muted); }
.ide__buttons { display: flex; gap: 8px; flex-shrink: 0; }
.ide__console { overflow: auto; border-top: 1px solid var(--line); background: var(--code-bg); padding: 14px 16px; font-size: 13.5px; }
.console__empty { color: var(--muted-light); display: grid; place-items: center; height: 100%; text-align: center; }
.console__summary { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.console__summary .pill { padding: 3px 10px; border-radius: var(--r-pill); font-size: 12.5px; }
.pill--pass { background: var(--green-tint); color: #0f7a43; }
.pill--fail { background: var(--red-tint); color: var(--red); }
.cases { display: grid; gap: 8px; }
.case { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.case summary { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; list-style: none; font-size: 13.5px; }
.case summary::-webkit-details-marker { display: none; }
.case summary:hover { background: var(--lavender-soft); border-radius: var(--r-sm); }
/* Every case is expandable, not just the one opened for you; the chevron says so. */
.case__chevron { flex-shrink: 0; color: var(--muted-light); transition: transform .2s ease; }
.case[open] .case__chevron { transform: rotate(180deg); }
.case__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.case--pass .case__dot { background: var(--green); }
.case--fail .case__dot { background: var(--red); }
.case__body { padding: 0 12px 12px; display: grid; gap: 8px; }
.case__body label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.case__body pre { margin: 2px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--code-bg); border: 1px solid var(--line-soft); font: 12.5px/1.5 var(--font-mono); white-space: pre-wrap; word-break: break-word; max-height: 140px; overflow: auto; }
.case__body pre.err { color: var(--red); background: var(--red-tint); border-color: transparent; }
.console__error { color: var(--red); background: var(--red-tint); border-radius: var(--r-sm); padding: 10px 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--purple); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
	.ide__body { grid-template-columns: 1fr; height: auto; }
	.ide__problem { border-right: 0; border-bottom: 1px solid var(--line); max-height: 420px; padding: 22px 20px; }
	.ide__work { grid-template-rows: 420px auto minmax(180px, auto); }
	.ide__hint { display: none; }
	.ide__actions { justify-content: flex-end; }
}
@media (max-width: 520px) {
	.example__row { grid-template-columns: 1fr; }
	.example__row > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.ide__controls { width: 100%; }
	.ide__controls .lang { flex: 1; }
	.ide__controls .lang__trigger { width: 100%; }
}

.nudge { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border: 1px solid var(--purple-tint); background: linear-gradient(120deg, #fff, var(--purple-tint-2)); animation: rise .5s cubic-bezier(.22,1,.36,1); }
.nudge[hidden] { display: none; }
.nudge__title { font-family: var(--font-display); font-size: 21px; margin-bottom: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 720px) { .nudge { flex-direction: column; align-items: stretch; padding: 22px; } }

/* ─── pricing CTA ─────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 64px 60px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(60% 80% at 85% 10%, #8a6bff 0%, transparent 60%), linear-gradient(140deg, #22146e, #3d22c4 55%, #6c4cf1); box-shadow: 0 30px 60px -34px #26166ea6; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; background: url("/assets/humain-mark.png") no-repeat center / contain; opacity: .08; filter: brightness(10); pointer-events: none; }
.cta__title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 400; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.cta__price { font-family: var(--font-script); font-weight: 600; color: #d9ccff; font-size: 1.15em; letter-spacing: 0; }
.cta__lead { font-size: 17.5px; line-height: 1.6; color: #e1d9ff; max-width: 44ch; margin-bottom: 22px; }
.cta__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cta__list li { display: flex; gap: 10px; align-items: flex-start; color: #f2eeff; }
.cta__list li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #ffffff26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") no-repeat center; }
.cta__action { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; text-align: center; }
.cta__fine { font-size: 13.5px; color: #cbbcff; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 44px 26px; } .cta__action { justify-items: stretch; } }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); line-height: 1.65; }

/* ─── footer (tensorgo.ai's footer, values copied) ─────────────────────── */
.footer { position: relative; margin-top: 110px; padding-bottom: 28px; overflow: hidden; }
.footer__card { position: relative; z-index: 2; padding: 52px 52px 30px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; }
.footer__logo { display: inline-flex; }
.footer__logo-img { width: auto; height: 22px; display: block; }
.footer__tagline { max-width: 42ch; margin-top: 26px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
.footer__cols h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 16px; }
.footer__cols ul { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; }
.footer__cols a { font-size: 13.5px; color: var(--muted); transition: color .2s ease; }
.footer__cols a:hover { color: var(--purple); }
.footer__contact ul { gap: 16px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact li svg { flex: none; margin-top: 3px; color: var(--purple); }
.footer__email { overflow-wrap: anywhere; }
.footer__contact address { display: grid; gap: 2px; font-style: normal; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.footer__contact address strong { color: var(--ink); font-weight: 600; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
/* The wordmark as a giant tinted watermark, masked from the logo file itself. */
.footer__watermark {
	position: relative; z-index: 1; width: min(100% - (var(--gutter) * 2), var(--shell)); margin: 26px auto 0;
	aspect-ratio: 1195 / 279; pointer-events: none; opacity: .45;
	background: linear-gradient(177deg, #b3a1f4, #c9bcf8 38%, #ddd6fb 68%, #e9e5fc);
	-webkit-mask: url("/assets/humain-wordmark.svg") no-repeat center / 100% 100%;
	mask: url("/assets/humain-wordmark.svg") no-repeat center / 100% 100%;
}
@media (max-width: 900px) {
	.footer__card { padding: 38px 30px 24px; }
	.footer__top { grid-template-columns: 1fr; gap: 32px; }
	.footer__watermark { margin-top: 20px; }
}
@media (max-width: 600px) {
	.footer { margin-top: 80px; }
	.footer__card { padding: 30px 22px 20px; }
	.footer__cols { grid-template-columns: 1fr; gap: 26px; }
	.footer__watermark { margin-top: 14px; }
}
