/* ==========================================================================
   EduTech Global — inner pages (Figma "Revamp" page, 1440px frames)
   Loaded after main.css and uses its tokens.
   ========================================================================== */

/* The Revamp designs set headings in Poppins. */
.is-inner { --font-head: var(--font-body); --font-display: "Bricolage Grotesque", var(--font-body); }
.is-inner .section-title { font-weight: 700; letter-spacing: -.025em; }
.is-inner .cta__title { font-weight: 800; }
.is-inner .cta.section { padding-bottom: 64px; }

.container--wide { max-width: calc(1278px + var(--gutter) * 2); }

/* <em> in formatted text means "brand red", not italics. */
.is-inner em { font-style: normal; color: var(--red-deep); }

/* Page hero: 448px tall at 1440 ------------------------------------------ */
.page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(320px, 31.1vw, 448px);
	overflow: hidden;
	color: #fff;
	background: #2a2c33;
	isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img,
.page-hero__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero__media .media-placeholder { background: linear-gradient(120deg, #33363d, #6b6e75); animation: none; }
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(104deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 84%);
}
.page-hero__inner { padding-block: 56px; }
.page-hero__title { color: #fff; font-family: var(--font-body); font-size: clamp(36px, 4.17vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.page-hero__text { max-width: 664px; margin-top: 16px; font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; line-height: 1.56; color: #fff; }

/* Who We Are: intro + business cards ------------------------------------- */
.who-intro { padding-block: clamp(56px, 6vw, 87px) clamp(64px, 6.9vw, 99px); }
.who-intro__grid { display: grid; grid-template-columns: minmax(0, 603px) minmax(0, 607px); justify-content: space-between; gap: 32px 68px; }
.who-intro .eyebrow,
.split-stats .eyebrow { gap: 5px; margin-bottom: 23px; }
.who-intro__title { max-width: 617px; }
.who-intro__text { margin-top: clamp(32px, 4.5vw, 65px); }
.who-intro__text,
.who-intro__aside { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--text); }
.who-intro__text strong { font-weight: 600; }

.biz-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 4.3vw, 62px); }
.biz-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 569px;
	padding: 16px 32px;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(201, 187, 187, .25);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(201, 187, 187, .45); }
.biz-card__logo { position: relative; z-index: 1; width: auto; max-width: 190px; height: 25px; margin-top: 14px; object-fit: contain; object-position: left center; }
.biz-card--2 .biz-card__logo { height: 38px; margin-top: 8px; }
.biz-card--3 .biz-card__logo,
.biz-card--4 .biz-card__logo { height: 72px; margin-top: 0; }
.biz-card__art { position: absolute; max-width: none; pointer-events: none; transition: transform .8s var(--ease); }
.biz-card:hover .biz-card__art { transform: scale(1.04); }
.biz-card--1 .biz-card__art { top: 83px; left: 79px; width: 377px; height: 196px; }
.biz-card--2 .biz-card__art { top: 55px; left: 187px; width: 211px; height: 259px; }
.biz-card--3 .biz-card__art { top: 53px; left: 79px; width: 340px; height: 258px; }
.biz-card--4 .biz-card__art { top: 18px; left: 124px; width: 238px; height: 343px; }
.biz-card__body { position: relative; z-index: 1; display: grid; gap: 16px; margin-top: auto; }
.biz-card__title { font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 0; color: var(--text); }
.biz-card__text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: #6b6a66; }
.biz-card__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--red); }
.biz-card__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.biz-card__link:hover .icon { transform: translate(2px, -2px); }

/* Text + icon points + two photos (shared) -------------------------------- */
.split-stats { padding-block: clamp(56px, 6vw, 87px) clamp(56px, 6.1vw, 88px); background: var(--bg-muted); }
.split-stats__grid { display: grid; grid-template-columns: minmax(0, 618px) minmax(0, 575px); justify-content: space-between; gap: 48px 24px; max-width: calc(1201px + var(--gutter) * 2); }
.split-stats__content { display: grid; gap: 24px; align-content: start; }
.split-stats__text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--text); }
.split-stats__text strong { font-weight: 600; }
.split-stats__highlight { font-size: 18px; font-weight: 600; line-height: 1.56; color: var(--red-bright); }
.split-stats__closing { font-size: 18px; font-weight: 500; line-height: 1.56; color: #0c0c0c; }
.stat-list { display: grid; gap: 7px; max-width: 602px; }
.stat-row { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 24px 16px; border-radius: 16px; background: #fff; }
.stat-row__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1.375px solid var(--red-bright); border-radius: 11px; background: var(--red-deep); color: #fff; }
.stat-row__icon .icon { width: 24px; height: 24px; }
.stat-row__body { display: grid; }
.stat-row__title { font-size: 16px; font-weight: 600; line-height: 20px; color: #0c0c0c; }
.stat-row__text { font-size: 14px; line-height: 28px; color: var(--text); }
.split-stats__visual { display: grid; grid-template-columns: 114px minmax(0, 427px); gap: 34px; align-items: stretch; margin-top: 33px; }
.split-stats__deco { display: flex; flex-direction: column; justify-content: space-between; padding-block: 14px; color: var(--red-bright); }
.split-stats__deco .icon { width: 113px; height: 45px; }
.split-stats__photos { display: grid; gap: 20px; align-content: start; }
.split-stats__photo { overflow: hidden; border-radius: var(--radius-sm); }
.split-stats__photo:first-child { aspect-ratio: 427 / 392; }
.split-stats__photo:last-child { aspect-ratio: 427 / 408; }
.split-stats__photo img,
.split-stats__photo .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.split-stats__photo:hover img { transform: scale(1.04); }

/* Red band (shared) ------------------------------------------------------ */
.band { padding-block: clamp(48px, 4.5vw, 65px) clamp(48px, 5.6vw, 81px); background: var(--red-deep); color: #fff; text-align: center; }
.band .eyebrow { justify-content: center; margin-bottom: 24px; font-size: 16px; line-height: 31px; letter-spacing: .156em; color: #fff; }
.band .eyebrow__dot { width: 8px; height: 8px; }
.band__text strong { font-weight: 800; }
.band__text { max-width: 966px; margin-inline: auto; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.625; }

/* Who We Are: partnership table ------------------------------------------ */
.who-partners { padding-block: clamp(56px, 6vw, 87px) 62px; }
.who-partners__title { margin-bottom: 48px; font-size: clamp(28px, 2.78vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #0c0c0c; text-align: center; }
.partner-table-wrap { max-width: 950px; margin-inline: auto; overflow-x: auto; border: 1px solid var(--text-soft); border-radius: 16px; }
.partner-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.partner-table thead th { height: 56px; padding: 0 32px; background: var(--red-deep); color: #fff; font-weight: 800; text-align: left; text-transform: uppercase; }
.partner-table thead th:first-child { width: 31.5%; padding-inline: 16px; border-right: 1px solid #fff; }
.partner-table tbody th,
.partner-table tbody td { height: 80px; padding: 12px 24px; border-top: 1px solid var(--text-soft); text-align: left; vertical-align: middle; }
.partner-table tbody th { padding-inline: 16px; border-right: 1px solid var(--red-deep); font-weight: 500; color: #0c0c0c; }
.partner-table tbody td { color: var(--text); }
.partner-table tbody tr { transition: background-color .25s var(--ease); }
.partner-table tbody tr:hover { background: #fdf3f3; }

/* Our Leadership ---------------------------------------------------------- */
.lead-intro { padding-top: clamp(48px, 5.56vw, 80px); }
.lead-intro__grid { display: grid; grid-template-columns: minmax(0, 673px) minmax(0, 569px); gap: 24px 0; max-width: calc(1242px + var(--gutter) * 2); }
.lead-intro .eyebrow { margin-bottom: 24px; font-size: 11.5px; line-height: 1.5; letter-spacing: .22em; }
.lead-intro__title { max-width: 594px; font-family: var(--font-display); font-size: clamp(36px, 4.17vw, 60px); font-weight: 500; line-height: .98; letter-spacing: -.02em; color: var(--black); }
.lead-intro__title em { font-weight: 700; }
.lead-intro__text { padding-top: 24px; font-size: 16px; line-height: 24px; color: #6b6a66; }
.lead-team { padding-block: 48px 75px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 367px)); justify-content: space-between; gap: 40px clamp(24px, 4.86vw, 70px); max-width: 1242px; }
.person { overflow: hidden; }
.person__photo { aspect-ratio: 367 / 381; overflow: hidden; background: #d9d9d9; }
.person__photo img,
.person__photo .media-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__bar { display: grid; gap: 4px; min-height: 68px; padding: 8px 16px; background: #0c0c0c; color: #fff; transition: background-color .3s var(--ease); }
.person:hover .person__bar { background: var(--red-deep); }
.person__name { color: #fff; font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
.person__role { font-size: 14px; line-height: 28px; }

/* Subsidiary pages (EBAT, Vigilearn) -------------------------------------- */
.page--ebat .section-title,
.page--vigilearn .section-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; }

.btn--deep { min-width: 258px; min-height: 46px; background: var(--red-deep); color: #fafafa; }
.btn--deep:hover { background: #8c0a0a; box-shadow: 0 10px 24px rgba(171, 13, 13, .3); }

/* Hero: text left, framed photo right, floating chart card */
.sub-hero { padding-block: clamp(40px, 4.44vw, 64px) clamp(40px, 3.5vw, 50px); }
.sub-hero__grid { display: grid; grid-template-columns: minmax(0, 625px) minmax(0, 559px); justify-content: space-between; align-items: center; gap: 40px 42px; max-width: calc(1226px + var(--gutter) * 2); }
.sub-hero__logo { width: auto; height: 25px; margin: 14px 0 30px; }
.sub-hero__title { font-family: var(--font-display); font-size: clamp(44px, 4.44vw, 64px); font-weight: 600; line-height: .94; letter-spacing: -.023em; color: #0c0c0c; }
.sub-hero__subtitle { margin-top: 16px; font-size: clamp(20px, 1.67vw, 24px); font-weight: 600; line-height: 28px; color: var(--text); }
.sub-hero__text { max-width: 647px; margin-top: 8px; font-size: clamp(17px, 1.39vw, 20px); line-height: 28px; color: var(--text-soft); }
.sub-hero__media { position: relative; }
.sub-hero__photo { aspect-ratio: 559 / 493; overflow: hidden; border: 10px solid #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 50px rgba(121, 108, 108, .25); }
.sub-hero__photo img,
.sub-hero__photo .media-placeholder { width: 100%; height: 100%; object-fit: cover; }

.chart-card {
	position: absolute;
	top: 47px;
	left: -176px;
	width: 243px;
	padding: 10px 6px 6px;
	border: 1px solid var(--text-soft);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(11, 11, 31, .08);
	font-family: "DM Sans", var(--font-body);
	animation: float 5s var(--ease) infinite;
}
.chart-card__head { display: flex; align-items: flex-start; justify-content: space-between; padding-inline: 5px; }
.chart-card__label { font-size: 11.3px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: #2b3674; }
.chart-card__status { display: flex; align-items: center; gap: 3px; font-size: 6px; font-weight: 700; color: #05cd99; }
.chart-card__tick { display: grid; place-items: center; width: 7px; height: 7px; border-radius: 50%; background: #05cd99; color: #fff; font-size: 5px; }
.chart-card__btn { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 3.5px; background: #f4f7fe; }
.chart-card__btn svg { width: 8px; height: 8px; fill: none; stroke: #4318ff; stroke-width: 1.4; stroke-linecap: round; }
.chart-card__chart { display: block; width: 100%; height: 64px; margin-top: 4px; overflow: visible; }
.chart-card__line { fill: none; stroke: var(--red-bright); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart-card__line--soft { stroke: #c9c3c3; stroke-width: 1.5; }
.chart-card__dot { fill: #fff; stroke: var(--red-bright); stroke-width: 2; }
.chart-card__months { display: flex; justify-content: space-between; margin-top: 2px; padding-inline: 2px; font-size: 5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #a3aed0; }
.js [data-reveal] .chart-card__line { stroke-dashoffset: 1; }
.js .is-visible .chart-card__line { animation: draw calc(1.6s * var(--anim-draw, 1)) var(--ease) calc(.5s * var(--anim-draw, 1)) forwards; }
.js .is-visible .chart-card__line--soft { animation-delay: .3s; }
.js [data-reveal] .chart-card__area,
.js [data-reveal] .chart-card__dot { opacity: 0; }
.js .is-visible .chart-card__area,
.js .is-visible .chart-card__dot { animation: fadeIn .6s var(--ease) calc(1.8s * var(--anim-draw, 1)) forwards; }

/* Centred feature: eyebrow, large text, wide photo */
.sub-feature { padding-block: clamp(48px, 4.24vw, 61px) clamp(40px, 3.4vw, 49px); background: var(--bg-muted); text-align: center; }
.sub-feature .eyebrow,
.vigi-gallery .eyebrow { justify-content: center; margin-bottom: 24px; font-size: 16px; line-height: 31px; letter-spacing: .156em; color: var(--muted-text); }
.sub-feature .eyebrow__dot,
.vigi-gallery .eyebrow__dot { width: 8px; height: 8px; }
.sub-feature__text { max-width: 966px; margin-inline: auto; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.625; color: #6b6a66; }
.sub-feature__text strong { font-weight: 600; color: var(--text); }
.sub-feature__text em strong { color: var(--red-deep); }
.sub-feature__photo { max-width: 1036px; aspect-ratio: 1036 / 546; margin: 26px auto 0; overflow: hidden; border-radius: 16px; box-shadow: 0 4px 20px rgba(154, 144, 144, .25); }
.sub-feature__photo img,
.sub-feature__photo .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sub-feature__photo:hover img { transform: scale(1.03); }

/* Numbered cards (reuses the homepage .service-card) */
.numbered { padding-block: clamp(56px, 5.5vw, 79px) clamp(40px, 2.7vw, 39px); }
.numbered__head { display: grid; grid-template-columns: minmax(0, 617px) minmax(0, 618px); justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.numbered .eyebrow { gap: 5px; margin-bottom: 23px; }
.numbered__text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--text); }
.numbered__grid { row-gap: 48px; }
.numbered .service-card { min-height: 423px; }
.numbered .service-card__title { font-family: var(--font-body); font-weight: 600; letter-spacing: -.025em; }

/* Partnership model */
.model { padding-block: clamp(56px, 6.2vw, 89px) clamp(40px, 3.3vw, 47px); background: var(--bg-muted); }
.model__title { margin-bottom: 42px; font-family: var(--font-display); font-size: clamp(28px, 2.78vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #0c0c0c; text-align: center; }
.model__grid { display: grid; grid-template-columns: minmax(0, 299px) minmax(0, 242px) minmax(0, 299px); justify-content: center; align-items: center; gap: 41px; }
.model-box { overflow: hidden; border: 1px solid var(--text-soft); border-radius: var(--radius-sm); background: #fff; }
.model-box__head { display: flex; align-items: center; gap: 12px; min-height: 59px; padding: 8px 16px; background: var(--red-deep); color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 800; line-height: 24px; letter-spacing: 0; }
.model-box__badge { display: grid; flex: none; place-items: center; height: 42px; padding: 0 12px; border-radius: 5px; background: #fff; }
.model-box__badge img { width: auto; height: 20px; }
.model-box__badge--icon { width: 42px; padding: 0; color: var(--red-deep); }
.model-box__badge--icon .icon { width: 21px; height: 20px; }
.model-box__list li { display: flex; align-items: center; gap: 11px; min-height: 80px; padding: 0 16px; border-top: 1px solid var(--red-deep); font-size: 16px; font-weight: 500; line-height: 24px; color: #0c0c0c; transition: background-color .25s var(--ease); }
.model-box__list li:first-child { border-top: 0; }
.model-box__list li:hover { background: #fdf3f3; }
.model-box__icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid var(--red-deep); border-radius: 8px; color: var(--red-deep); }
.model-box__icon .icon { width: 16px; height: 16px; }
.model__middle { display: grid; justify-items: center; gap: 0; text-align: center; }
.model__ring { display: grid; place-items: center; width: 122px; height: 122px; margin-bottom: 24px; border: 4.6px solid var(--red-deep); border-radius: 50%; color: var(--red-deep); animation: ring 2.6s var(--ease) infinite; }
.model__ring .icon { width: 49px; height: 49px; }
.model__middle-title { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--red-deep); }
.model__middle-text { font-size: 14px; line-height: 28px; color: #0c0c0c; }
.model__action { margin-top: 42px; text-align: center; }

/* Split-stats spacing on subsidiary pages */
.page--ebat .split-stats,
.page--vigilearn .split-stats { padding-block: clamp(56px, 6.9vw, 99px) clamp(48px, 5vw, 72px); }

@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(171, 13, 13, .25); } 50% { box-shadow: 0 0 0 14px rgba(171, 13, 13, 0); } }

@media (max-width: 1200px) {
	/* Both chart styles move to the photo's bottom corner (higher specificity than .chart-card--bar). */
	.sub-hero__media .chart-card { top: auto; right: 16px; bottom: -28px; left: auto; }
}

@media (max-width: 1080px) {
	.numbered__head { grid-template-columns: 1fr; }
	.sub-hero__media { max-width: 600px; }
	.model__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
}

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

@media (max-width: 860px) {
	.model__grid { grid-template-columns: minmax(0, 420px); }
	.model__middle { padding-block: 8px; }
	.model__ring { width: 88px; height: 88px; margin-bottom: 12px; transform: rotate(90deg); }
	.model__ring .icon { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
	.chart-card { display: none; }
	.btn--deep { min-width: 0; width: 100%; }
}

/* Vigilearn ---------------------------------------------------------------- */
.page--vigilearn .sub-hero__title { font-family: var(--font-body); }
.page--vigilearn .sub-hero__logo { height: 38px; margin: 0 0 17px; }

/* Bar chart card */
.chart-card--bar { top: 45px; left: -97px; width: 193px; padding: 13px 14px 12px; font-family: Roboto, var(--font-body); border: 0; border-radius: 9px; box-shadow: 0 1px 3.5px rgba(0, 0, 0, .19), 0 8px 24px rgba(0, 0, 0, .1); }
.chart-card__title { font-size: 12px; font-weight: 600; line-height: 13.5px; color: #000; }
.chart-card__sub { margin-top: 1px; font-size: 7.9px; line-height: 11.3px; letter-spacing: .02em; color: rgba(0, 0, 0, .6); }
.chart-card__bars { display: flex; align-items: flex-end; justify-content: space-between; height: 111px; margin: 12px 18px 16px; }
.chart-card__bar { position: relative; width: 20px; height: var(--h); background: #f26628; transform-origin: bottom; }
.chart-card__value { position: absolute; top: 2px; left: 0; width: 100%; font-size: 6.75px; font-weight: 500; text-align: center; color: #fff; }
.chart-card__axis { position: absolute; top: calc(100% + 4px); left: 0; width: 100%; font-size: 6.75px; text-align: center; color: rgba(0, 0, 0, .6); }
.js [data-reveal] .chart-card__bar { transform: scaleY(0); }
.js .is-visible .chart-card__bar { animation: grow calc(.9s * var(--anim-draw, 1)) var(--ease) calc((.5s + var(--i) * .12s) * var(--anim-draw, 1)) forwards; }

/* Ecosystem intro + scrolling photo wall */
.vigi-gallery { padding-block: clamp(48px, 5vw, 72px) 0; background: linear-gradient(var(--bg-muted) 0 60%, #fff 60%); text-align: center; }
.photo-wall {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	height: 969px;
	margin-top: 4px;
	padding: 8px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent);
	mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent);
}
.photo-wall__track { display: grid; gap: 12px; animation: wall-up var(--anim-wall, 60s) linear infinite; }
.photo-wall__col--down .photo-wall__track { animation-name: wall-down; }
@media (hover: hover) and (pointer: fine) {
	.photo-wall:hover .photo-wall__track { animation-play-state: paused; } /* Mouse only: a touch swipe counted as hover and froze the wall. */
}
.photo-wall__item { aspect-ratio: 235 / 315; overflow: hidden; border: 3.8px solid #fff; border-radius: 12px; background: #e9e9ec; box-shadow: 0 4px 15px rgba(154, 144, 144, .25); }
.photo-wall__item img,
.photo-wall__item .media-placeholder { width: 100%; height: 100%; object-fit: cover; }

/* Product switcher */
.vigi-products { padding-block: clamp(64px, 10.9vw, 157px) clamp(48px, 3vw, 44px); }
.vigi-products .numbered__head { margin-bottom: 71px; }
.vigi-products .eyebrow { gap: 5px; margin-bottom: 23px; }
.product-tabs { display: grid; grid-template-columns: minmax(0, 436px) minmax(0, 783px); justify-content: space-between; gap: 24px; }
.product-tabs__list { display: grid; gap: 32px; align-content: start; }
.product-tabs__tab {
	position: relative;
	min-height: 123px;
	padding: 16px 16px 16px 33px;
	border: 0;
	border-radius: 16px;
	background: none;
	font: 600 clamp(24px, 2.22vw, 32px) / 1.1 var(--font-body);
	text-align: left;
	color: #768396;
	cursor: pointer;
	transition: color .3s var(--ease), background-color .3s var(--ease);
}
.product-tabs__tab::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 16px; width: 1px; background: #d4d4d4; }
.product-tabs__tab::after { content: ""; position: absolute; top: 16px; bottom: 16px; left: 15px; width: 3px; border-radius: 3px; background: var(--red); transform: scaleY(0); transition: transform .35s var(--ease); }
.product-tabs__tab:hover { color: #0c0c0c; background: rgba(255, 255, 255, .6); }
.product-tabs__tab[aria-selected="true"] { color: #0c0c0c; }
.product-tabs__tab[aria-selected="true"]::after { transform: scaleY(1); }
/* Autoplay timer: the active line fills from top to bottom. */
.product-tabs.is-playing .product-tabs__tab[aria-selected="true"]::after { transform-origin: top; animation: tab-fill var(--tab-duration, 5s) linear forwards; }
.product-tabs__panel { display: grid; gap: 20px; animation: fadeUp .5s var(--ease); }
.product-tabs__panel[hidden] { display: none; }
.product-tabs__shot { position: relative; aspect-ratio: 782 / 471; overflow: hidden; border-radius: 36px; background: #e9e9ec; }
.product-tabs__shot > img,
.product-tabs__shot > .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
/* Uploaded screenshots from Figma carry their own frame and rounded corners. */
.product-tabs__shot.has-image { border-radius: 0; background: none; }
.product-tabs__shot.has-image > img { object-fit: contain; }
.product-tabs__badge {
	position: absolute;
	top: 47%;
	left: 35%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 32px 24px;
	border: 8px solid #fff;
	border-radius: 16px;
	background: linear-gradient(#fff, #eee);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	font-size: clamp(16px, 1.56vw, 22.5px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
}
.product-tabs__badge img { width: 22px; height: 22px; border-radius: 4px; }
.product-tabs__card { position: relative; display: grid; gap: 16px; justify-items: start; min-height: 323px; padding: 31px 24px 16px; overflow: hidden; border: 1px solid var(--text-soft); background: #fff; }
.product-tabs__watermark { position: absolute; top: 7px; right: 0; width: 310px; height: 310px; opacity: .1; object-fit: contain; object-position: right center; pointer-events: none; }
.product-tabs__name { position: relative; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 0; color: var(--text); }
.product-tabs__text { position: relative; max-width: 550px; font-size: 16px; line-height: 24px; color: var(--text-soft); }
.product-tabs__card .link-arrow { position: relative; align-self: end; }

@keyframes grow { to { transform: scaleY(1); } }
@keyframes tab-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tab-fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wall-up { to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (max-width: 1080px) {
	.product-tabs { grid-template-columns: 1fr; }
	.product-tabs__list { display: flex; gap: 8px; overflow-x: auto; }
	.product-tabs__tab { flex: none; min-height: 0; padding: 12px 18px; border: 1px solid #d4d4d4; border-radius: 999px; font-size: 16px; }
	.product-tabs__tab { overflow: hidden; }
	.product-tabs__tab::before { display: none; }
	.product-tabs__tab::after { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 3px; border-radius: 0; background: rgba(255, 255, 255, .7); transform: scaleX(0); transform-origin: left; }
	.product-tabs__tab[aria-selected="true"] { border-color: var(--red); background: var(--red); color: #fff; }
	.product-tabs__tab[aria-selected="true"]::after { transform: scaleX(0); }
	.product-tabs.is-playing .product-tabs__tab[aria-selected="true"]::after { transform-origin: left; animation-name: tab-fill-x; }
	.photo-wall { height: 720px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.photo-wall__col:nth-child(n+4) { display: none; }
}

@media (max-width: 640px) {
	.photo-wall { height: 520px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.photo-wall__col:nth-child(n+3) { display: none; }
	.product-tabs__shot { border-radius: 20px; }
	.product-tabs__badge { left: 50%; top: 50%; padding: 14px 16px; border-width: 5px; transform: translate(-50%, -50%); }
	.product-tabs__card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.photo-wall__track { animation: none; }
}

/* Page headings shared by FAQs, Contact and Ecosystem (Poppins 700, 60px) */
.faqs__title,
.contact__title,
.eco__title { font-family: var(--font-body); font-size: clamp(38px, 4.17vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.025em; color: var(--black); }
.faqs__title em,
.eco__title em { color: var(--red-deep); }
.faqs .eyebrow,
.contact .eyebrow,
.eco .eyebrow { gap: 8px; margin-bottom: 24px; font-size: 11.5px; line-height: 1.5; letter-spacing: .22em; }

.btn--white { width: 100%; min-height: 44px; background: #fff; color: var(--red); }
.btn--white:hover { background: #fff5f5; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* FAQs ---------------------------------------------------------------------- */
.faqs { padding-block: clamp(48px, 6.2vw, 89px) clamp(48px, 3.6vw, 52px); }
.faqs__grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 700px); justify-content: space-between; gap: 40px; }
.faqs__side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.help-card { max-width: 414px; padding: 16px; border-radius: 16px; background: var(--red-deep); color: #fff; }
.help-card__title { margin-bottom: 4px; color: #fff; font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.help-card__text { margin-bottom: 16px; font-size: 16px; line-height: 28px; }
.faq-list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.faq {
	display: grid;
	grid-template-columns: 43px 1fr;
	gap: 16px;
	padding: 27px 24px 27px 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.faq:hover { border-color: #f1c7c7; box-shadow: 0 14px 34px rgba(171, 13, 13, .08); transform: translateY(-2px); }
.faq__num { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 8px; background: var(--red-deep); color: #fff; font-family: var(--font-body); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.faq__q { margin-bottom: 2px; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--black); }
.faq__a { font-size: 14px; line-height: 28px; color: var(--text); }

/* Contact ------------------------------------------------------------------- */
.contact { padding-block: clamp(48px, 6.7vw, 96px) clamp(64px, 12vw, 175px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 650px); justify-content: space-between; gap: 48px; align-items: start; }
.contact__text { max-width: 440px; margin-top: 24px; font-size: 16px; line-height: 24px; color: var(--text-soft); }
.contact__blocks { display: grid; gap: 36px; margin: 48px 0 0; }
.contact-block { padding-left: 14px; border-left: 1px solid #d4d4d4; transition: border-color .3s var(--ease); }
.contact-block:hover { border-color: var(--red); }
.contact-block__label { margin-bottom: 4px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #6b6a66; }
.contact-block__value { margin: 0; font-size: 16px; font-weight: 600; line-height: 26px; color: var(--black); }
.contact-block__value a:hover { color: var(--red); }

.contact-form { display: grid; gap: 30px; padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #f8f9fa; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 14px; margin: 0; }
.field label { font-size: 14px; font-weight: 500; color: #0c0c0c; }
.field label span { font-weight: 400; color: #6b7280; }
.field input,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	font: 15px / 1.5 var(--font-body);
	color: var(--ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9ca3af; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(218, 17, 17, .12); }
.contact-form__submit { width: 100%; margin-top: 19px; border-radius: 6px; font-size: 15px; }
.contact-form__captcha { min-height: 65px; margin-top: 4px; }
.contact-form__captcha + .contact-form__submit { margin-top: 0; }
.contact-form__trap { position: absolute; left: -9999px; }
.contact-form__notice { padding: 12px 16px; border-radius: 8px; font-size: 15px; }
.contact-form__notice--ok { background: #ecfdf3; color: #05603a; }
.contact-form__notice--error { background: #fef3f2; color: #b42318; }

/* WPForms on the Contact page: the card comes from .contact-form; field styles are in forms.css. */
.contact-form--wpforms { display: block; }

/* How the Ecosystem Works ---------------------------------------------------- */
.eco { padding-block: clamp(48px, 7vw, 105px) clamp(64px, 11.5vw, 166px); }
.eco__head { grid-template-columns: minmax(0, 560px) minmax(0, 568px); margin-bottom: clamp(48px, 7.6vw, 109px); }
.eco__text { font-size: 16px; line-height: 24px; color: var(--text-soft); }
.wheel { position: relative; height: 1000px; max-width: 1240px; margin-inline: auto; }
.wheel__arrows { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel__arrow,
.wheel__head { stroke: #f0c4c4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.js [data-reveal] .wheel__arrow { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-visible .wheel__arrow { animation: draw calc(.8s * var(--anim-draw, 1)) var(--ease) calc((.4s + var(--i) * .45s) * var(--anim-draw, 1)) forwards; }
.js [data-reveal] .wheel__head { opacity: 0; }
.js .is-visible .wheel__head { animation: fadeIn .3s var(--ease) calc((1.1s + var(--i) * .45s) * var(--anim-draw, 1)) forwards; }
.wheel__hub { position: absolute; top: 303px; left: 481px; display: grid; place-items: center; width: 232px; height: 232px; border: 1px solid #ececec; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px rgba(11, 11, 31, .06); }
.wheel__hub img { width: 140px; height: auto; }
.wheel__ring { position: absolute; inset: -14px; border: 2px dashed #f0c4c4; border-radius: 50%; animation: spin calc(40s * var(--anim-bg, 1)) linear infinite; }
.wheel__steps { margin: 0; padding: 0; list-style: none; }
.wheel__step {
	position: absolute;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 16px;
	padding: 24px 28px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 30px rgba(11, 11, 31, .08);
	text-align: center;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wheel__step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(171, 13, 13, .12); }
.js [data-reveal] .wheel__step { opacity: 0; transform: scale(.94); }
.js .is-visible .wheel__step { animation: pop calc(.6s * var(--anim-draw, 1)) var(--ease) calc(var(--i) * .45s * var(--anim-draw, 1)) forwards; }
.wheel__step--1 { top: 0; left: 392px; width: 407px; height: 210px; }
.wheel__step--2 { top: 291px; left: 793px; width: 427px; height: 234px; }
.wheel__step--3 { top: 758px; left: 716px; width: 430px; height: 235px; }
.wheel__step--4 { top: 770px; left: 52px; width: 427px; height: 207px; }
.wheel__step--5 { top: 291px; left: 0; width: 427px; height: 234px; }
.wheel__logos { display: flex; align-items: center; gap: 14px; min-height: 28px; }
.wheel__logos img { width: auto; max-width: 150px; height: 28px; object-fit: contain; }
.wheel__plus { font-size: 18px; font-weight: 600; color: var(--ink); }
.wheel__text { max-width: 340px; font-size: 14px; line-height: 24px; color: var(--text-soft); }
.wheel__text strong { font-weight: 700; color: var(--ink); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1320px) {
	/* Below the design width the wheel becomes a vertical cycle. */
	.wheel { display: grid; justify-items: center; gap: 0; height: auto; max-width: 560px; }
	.wheel__arrows { display: none; }
	.wheel__hub { position: relative; inset: auto; order: -1; width: 180px; height: 180px; margin-bottom: 40px; }
	.wheel__hub img { width: 110px; }
	.wheel__steps { display: grid; gap: 48px; width: 100%; counter-reset: step; }
	.wheel__step { position: relative; inset: auto; width: auto; height: auto; }
	.wheel__step + .wheel__step::before { content: ""; position: absolute; top: -40px; left: 50%; width: 4px; height: 32px; margin-left: -2px; border-radius: 4px; background: #f0c4c4; }
	.wheel__step + .wheel__step::after { content: ""; position: absolute; top: -18px; left: 50%; width: 12px; height: 12px; margin-left: -7px; border: solid #f0c4c4; border-width: 0 4px 4px 0; transform: rotate(45deg); }
}

@media (max-width: 1080px) {
	.faqs__grid,
	.contact__grid { grid-template-columns: 1fr; }
	.faqs__side { gap: 24px; }
	.help-card { order: 2; max-width: 520px; }
	.eco__head { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.contact-form { padding: 24px; gap: 22px; }
	.contact-form__row { grid-template-columns: 1fr; }
	.faq { grid-template-columns: 36px 1fr; padding: 20px 16px; }
	.faq__num { width: 36px; height: 36px; font-size: 16px; }
}

/* Articles (no Figma design: follows the homepage article styles) ---------- */
.blog-list { padding-block: clamp(48px, 5.56vw, 80px) clamp(48px, 4.4vw, 64px); }
.blog__head { margin-bottom: 40px; }
.blog-list .eyebrow,
.article .eyebrow { gap: 8px; margin-bottom: 20px; font-size: 11.5px; line-height: 1.5; letter-spacing: .22em; }
.blog__title { font-family: var(--font-body); font-size: clamp(38px, 4.17vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.025em; color: var(--black); }
.blog__empty { font-size: 18px; color: var(--text-soft); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.post-card { display: grid; align-content: start; gap: 20px; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: #e9e9ec; }
.post-card__media img,
.post-card__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-text); }
.post-card__title { margin-top: 6px; font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.post-card__title a:hover { color: var(--red); background-size: 100% 1px; }
.post-card__excerpt { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-soft); }
.post-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.post-card--featured .post-card__media { aspect-ratio: 588 / 360; }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.blog__pagination { margin-top: 56px; }
.blog__pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.blog__pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.blog__pagination .page-numbers.current,
.blog__pagination a.page-numbers:hover { border-color: var(--red); background: var(--red); color: #fff; }
.blog-list--more { background: var(--bg-soft); }
.blog__more-title { margin-bottom: 32px; font-family: var(--font-display); font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; }

/* Single article */
.article { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 5vw, 72px); }
.article__head,
.article__content { max-width: calc(760px + var(--gutter) * 2); }
.article__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 14px; font-weight: 500; color: var(--text-soft); }
.article__back:hover { color: var(--red); }
.article__back-icon { width: 16px; height: 16px; transform: rotate(180deg); }
.article__title { font-family: var(--font-body); font-size: clamp(32px, 3.34vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--black); }
.article__media { max-width: calc(1040px + var(--gutter) * 2); margin-block: 40px; }
.article__media img { width: 100%; border-radius: 16px; }
.article__content { margin-top: 40px; font-size: 18px; line-height: 1.75; color: var(--text); }
.article__content > * + * { margin-top: 1.2em; }
.article__content h2,
.article__content h3 { margin-top: 1.8em; font-family: var(--font-body); font-weight: 700; letter-spacing: -.015em; }
.article__content h2 { font-size: 28px; }
.article__content h3 { font-size: 22px; }
.article__content ul,
.article__content ol { padding-left: 1.4em; list-style: revert; }
.article__content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red-deep); font-size: 20px; color: var(--ink); }
.article__content img { border-radius: var(--radius-sm); }
.article__content em { font-style: italic; color: inherit; }

@media (max-width: 1080px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-card--featured { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
	.post-grid { grid-template-columns: 1fr; }
	.article__content { font-size: 17px; }
}

/* Legal pages (Privacy, Terms, Cookies) -------------------------------------- */
.legal__head { padding-block: clamp(48px, 5.56vw, 80px) clamp(32px, 3.4vw, 48px); border-bottom: 1px solid var(--line); background: var(--bg-muted); }
.legal__head .container { text-align: center; }
.legal__head .eyebrow { justify-content: center; gap: 8px; margin-bottom: 20px; font-size: 11.5px; line-height: 1.5; letter-spacing: .22em; }
.legal__title { font-family: var(--font-body); font-size: clamp(34px, 3.34vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--black); }
.legal__updated { margin-top: 12px; font-size: 14px; color: var(--text-soft); }
.legal__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); padding-block: clamp(40px, 4.4vw, 64px) clamp(56px, 6.9vw, 100px); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh / var(--zoom, 1) - var(--header-h) - 48px); overflow-y: auto; }
.admin-bar .legal__toc { top: calc(var(--header-h) + 56px); }
.legal__toc-title { margin-bottom: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-text); }
.legal__toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 7px 12px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--text-soft); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; line-height: 20px; color: #a3a3a3; }
.legal__toc a:hover { color: var(--ink); background: var(--bg-muted); }
.legal__toc a.is-current { border-color: var(--red); color: var(--ink); font-weight: 500; }
.legal__toc a.is-current::before { color: var(--red); }
.legal__content { font-size: 17px; line-height: 1.75; color: var(--text); }
.legal__content > * + * { margin-top: 1.1em; }
.legal__content h2 { margin-top: 2.2em; padding-top: 4px; font-family: var(--font-body); font-size: clamp(21px, 1.67vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--black); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { margin-top: 1.6em; font-family: var(--font-body); font-size: 19px; font-weight: 600; }
.legal__content ul,
.legal__content ol { display: grid; gap: 8px; padding-left: 1.3em; list-style: revert; }
.legal__content li::marker { color: var(--red); }
.legal__content li > ul { margin-top: 8px; list-style-type: circle; }
.legal__content strong { font-weight: 600; color: var(--ink); }
.legal__content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
.legal__content a:hover { color: var(--red-hover); }
.legal__content code { padding: 1px 6px; border-radius: 4px; background: var(--bg-muted); font-family: var(--font-mono); font-size: .82em; }
.legal__content { counter-reset: legal; }
.legal__content > .legal__section + .legal__section { margin-top: 20px; }
.legal__intro { padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.5vw, 32px); border-left: 3px solid var(--red); border-radius: 0 14px 14px 0; background: var(--bg-muted); font-size: 18px; color: var(--ink); }
.legal__intro > * + * { margin-top: 1em; }
.legal__intro + .legal__section { margin-top: 24px; }
.legal__section { counter-increment: legal; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(2, 6, 23, .04); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.legal__section:hover { border-color: #f0d6d6; box-shadow: 0 18px 40px -24px rgba(171, 13, 13, .28); }
.legal__section > * + * { margin-top: 1.1em; }
.legal__content .legal__section > h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.legal__section > h2::before { content: counter(legal, decimal-leading-zero); flex: none; padding: 5px 9px; border-radius: 8px; background: #fdf3f3; font-family: var(--font-mono); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .04em; color: var(--red); }
.legal__section > h2 + * { margin-top: 0; }
.legal__section h3 { padding-left: 14px; border-left: 2px solid var(--red); line-height: 1.3; }
@media (min-width: 1081px) {
	/* Lists use two columns on wide screens so short items don't leave the card half empty. */
	.legal__section > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 640px) {
	.legal__section { padding: 20px 18px; border-radius: 14px; }
	.legal__content .legal__section > h2 { gap: 10px; margin-bottom: 16px; padding-bottom: 14px; }
	.legal__intro { font-size: 16.5px; }
}

@media (max-width: 1080px) {
	.legal__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.legal__toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-muted); }
	.legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

@media (max-width: 640px) {
	.legal__toc ol { grid-template-columns: 1fr; }
	.legal__content { font-size: 16px; }
}

/* Responsive ------------------------------------------------------------- */
/* Tablets (641–1080px) ------------------------------------------------------ */
/* Landscape tablets keep the subsidiary hero side by side. */
@media (min-width: 901px) and (max-width: 1080px) {
	.sub-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sub-hero__media { max-width: none; }
}

@media (min-width: 641px) and (max-width: 1080px) {
	/* Paired photos sit side by side instead of stacking into a tall column. */
	.split-stats__visual { grid-template-columns: 1fr; margin-top: 8px; }
	.split-stats__deco { display: none; }
	.split-stats__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split-stats__photo:first-child,
	.split-stats__photo:last-child { aspect-ratio: 4 / 4.2; }
	/* A lone last card in a two-column grid spans the row. */
	.biz-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.biz-card { min-height: 500px; }
	.sub-hero__grid { gap: 40px; }
	.sub-hero__media { width: 100%; max-width: 640px; margin-inline: auto; }
	.sub-hero__content { max-width: 640px; }
	.who-intro__grid { grid-template-columns: 1fr; }
	.model__grid { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 16px; }
	.model__ring { width: 96px; height: 96px; }
	.model__ring .icon { width: 38px; height: 38px; }
	.model-box__list li { min-height: 68px; font-size: 15px; }
	.team-grid { gap: 32px 24px; }
	.product-tabs__card { min-height: 0; }
	.photo-wall { height: 760px; }
	/* FAQs: heading, then questions, then the help card. */
	.faqs__side { display: contents; }
	.faqs__side > div { order: 0; }
	.faq-list { order: 1; }
	.help-card { order: 2; }
	.contact-form { max-width: 720px; }
	.wheel { max-width: 640px; }
	.post-card--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 1080px) {
	.lead-intro__grid { grid-template-columns: 1fr; }
	.lead-intro__text { padding-top: 0; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.biz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split-stats__grid { grid-template-columns: 1fr; }
	.split-stats__visual { margin-top: 0; }
}

@media (max-width: 860px) {
	.who-intro__grid { grid-template-columns: 1fr; }
	.split-stats__visual { grid-template-columns: 1fr; }
	.split-stats__deco { display: none; }
}

@media (max-width: 640px) {
	.team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
	.biz-cards { grid-template-columns: 1fr; }
	.biz-card { min-height: 480px; }
	.partner-table thead th:first-child { width: 40%; }
	.partner-table tbody th,
	.partner-table tbody td { padding: 12px 14px; font-size: 15px; }
}

/*
 * VigiLearn → "Why Vigilearn": the photos look exactly like EBAT's "Why
 * institutions choose EABT" (same sizes, 33px offset and 20px gap from the
 * shared split-stats styles); on large screens they also stay pinned 24px
 * under the header while the text scrolls past. A sticky element can't leave
 * its own grid area, so the photos stop at the end of the section and never
 * reach the next one. Who We Are and EBAT are unchanged.
 */
@media (min-width: 1081px) {
	.page--vigilearn #vigi_why .split-stats__grid { align-items: start; }
	.page--vigilearn #vigi_why .split-stats__visual { position: sticky; top: calc(var(--header-h) + 24px); }
	.admin-bar.page--vigilearn #vigi_why .split-stats__visual { top: calc(var(--header-h) + 56px); }
}
