/* ==========================================================================
   Naoris — Technology & Products page (Figma node 39:2273, "Page 2")
   Needs css/base.css, css/header.css and css/footer.css loaded first.
   Class prefix "t-" = section blocks of this page.

   Widths: 1024–1439px the 1440px layout is scaled (js/site.js). From 1440px
   up the page follows the Contact page's wide-screen frame (Figma
   "CONTACT 2560", 38:1345): section backgrounds, the dark / blue panels and
   the outer guides run edge to edge (56px in), while the content grows up
   to Figma's 1600px max width and then stays centred (--page-x /
   --panel-x in css/base.css). Column guides and the artwork that belongs
   to the composition move with the content.
   ========================================================================== */

/* ---------- page-level shared bits ---------- */

/* sections linked from other pages (home hero buttons): land below the sticky header */
#core-protocol,
#products {
	scroll-margin-top: var(--header-h);
}

.t-heading {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.t-muted {
	color: var(--gray);
}
/* Figma "number 24" */
.t-num {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 24px;
	line-height: 0.85;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--brand-blue);
	white-space: nowrap;
}
/* heading on the left, intro paragraph bottom-right */
.t-split-head {
	display: flex;
	align-items: flex-end;
	padding: 0 8px;
}
.t-split-head > .t-heading {
	flex: 1 1 0;
	min-width: 0;
}
.t-split-head__intro {
	flex: 1 1 0;
	min-width: 0;
	text-align: right;
}

/* 25px ↗ arrow (Figma "Arrow"), drawn in the current text colour */
.arrow-ne {
	flex: none;
	width: 25px;
	height: 25px;
	background: currentColor;
	-webkit-mask: url("../assets/arrow-ne-25.svg") center / 100% 100% no-repeat;
	mask: url("../assets/arrow-ne-25.svg") center / 100% 100% no-repeat;
	transition: transform 0.25s ease;
}

/* ==========================================================================
   Hero — "The problem" (Figma 23:734)
   ========================================================================== */

.t-hero {
	position: relative;
	padding: 0 8px 8px;
}

.t-hero__frame {
	position: relative;
	display: flex;
	padding: 0 var(--panel-x); /* copy stays on the centred content column (max 1600px) */
	border-radius: 16px;
	overflow: hidden;
	background: #040613;
}
.t-hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}
/* the render spans the content column plus the 48px insets (max 1696px),
   centred; beyond that its side edges fade into the frame colour */
.t-hero__bg img {
	position: absolute;
	left: calc(50% - min(50%, 848px));
	top: -19.71%;
	width: min(100%, 1696px);
	height: 127.34%;
	object-fit: cover;
}
@media (min-width: 1713px) {
	.t-hero__bg img {
		-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
		mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	}
}
.t-hero .hline-grid--hero {
	--gy: 48px;
}

.t-hero__col {
	position: relative;
	flex: 1;
	min-width: 0;
	border-right: 1px solid var(--brand-blue-32);
}
.t-hero__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 800px;
	padding: 130px 8px;
	border-right: 1px solid var(--brand-blue-32);
}
.t-hero__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.t-hero__title {
	font-weight: 500;
	font-size: 64px;
	line-height: 1; /* tighter than Figma's 1.1, which left the two lines too far apart */
	/* background-clip: text only paints inside the box, so give the gradient
	   room for the ascenders / descenders (the "g" of "single") without moving
	   the layout: padding grows the painted box, the negative margins cancel it */
	padding: 0.1em 0 0.25em;
	margin: -0.1em 0 -0.25em;
	background-image: linear-gradient(88.36deg, #ffffff 3.45%, #5f8aff 99.75%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.t-hero__lead {
	max-width: 560px;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.36;
	letter-spacing: 0.32px;
	background-image: linear-gradient(to right, #ffffff, var(--blue-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-top: 20px;
}

/* ==========================================================================
   The Naoris difference (Figma 23:742)
   ========================================================================== */

.t-diff__row {
	position: relative;
	display: flex;
	align-items: flex-start;
	height: 480px;
}
.t-diff__copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 0 32px 0 8px;
}
.t-diff__visual {
	flex: 0 0 calc(200% / 3 - 0.333px); /* 885px at 1440px */
	height: 100%;
	padding: 8px;
	display: flex;
	flex-direction: column;
}

/* three overlapping circles — the 869 × 464 Figma frame, centred */
.venn {
	position: relative;
	flex: 1;
	border-radius: 8px;
	overflow: hidden;
}
.venn__stage {
	position: absolute;
	top: 0;
	left: 50%;
	width: 869px;
	height: 464px;
	list-style: none;
	transform: translateX(-50%);
}
.venn__circle {
	position: absolute;
	top: 75px;
	width: 315px;
	height: 315px;
}
.venn__circle--1 {
	left: 28px;
	border-radius: 50%;
	overflow: hidden;
}
.venn__circle--2 {
	left: 275px;
	border-radius: 50%;
	overflow: hidden;
}
.venn__circle--3 {
	left: 527px; /* not clipped: its glow spills over the dark circle */
}

/* blurred brand-blue glows (SVG boxes include the blur bleed) */
.venn__glow {
	position: absolute;
	pointer-events: none;
}
.venn__glow img {
	width: 100%;
	height: 100%;
}
.venn__glow--lg {
	left: 102.5px;
	top: -17.5px;
	width: 388px;
	height: 388px;
}
.venn__glow--a,
.venn__glow--b,
.venn__glow--c {
	width: 321px;
	height: 321px;
}
.venn__glow--a {
	left: -160.5px;
	top: -2.5px;
}
.venn__glow--b {
	left: 177.5px;
	top: 16.5px;
}
.venn__glow--c {
	left: -109.5px;
	top: -7.5px;
}

.venn__disc {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 32px;
	border-radius: 50%;
}
.venn__disc--glass {
	background: rgba(205, 205, 205, 0.07);
	-webkit-backdrop-filter: blur(35px);
	backdrop-filter: blur(35px);
}
.venn__disc--dark {
	background: var(--black);
	-webkit-backdrop-filter: blur(8.3px);
	backdrop-filter: blur(8.3px);
}
.venn__label {
	position: relative;
	width: 100%;
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	text-align: center;
	color: #000000;
}
.venn__disc--dark .venn__label {
	color: var(--white);
}

/* ==========================================================================
   How it works (Figma 23:766)
   ========================================================================== */

.t-how {
	background: var(--bg);
}
.t-how__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.t-how__head {
	display: flex;
	align-items: flex-start;
	padding: 0 8px;
}
.t-how__head .eyebrow {
	flex: 0 0 434px;
}
.t-how__title {
	flex: 1;
	min-width: 0;
	text-align: right;
}

.t-how__grid {
	display: flex;
	align-items: flex-start;
}
.t-how__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.t-how__col--1,
.t-how__col--3 {
	height: 410px;
}
.t-how__col--2 {
	justify-content: flex-end;
}

/* concave fillets that weld the cards into one shape */
.t-how__fillets {
	display: flex;
}
.t-how__fillets img {
	flex: none;
	width: 28px;
	height: 28px;
}
.t-how__fillets--below {
	height: 1px;
	justify-content: flex-end;
}
.t-how__col--3 .t-how__fillets--below {
	justify-content: flex-start;
}
.t-how__fillets--above {
	height: 281px;
	align-items: flex-end;
	justify-content: space-between;
}

.how-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 300px;
	padding: 32px;
	overflow: hidden;
	background: var(--white);
}
.how-card--1 {
	border-radius: 44px 44px 0 44px;
}
.how-card--2 {
	border-radius: 0 0 44px 44px;
}
.how-card--3 {
	border-radius: 44px 44px 44px 0;
}
/* Figma 56px icon frame */
.how-card__icon {
	flex: none;
	width: 56px;
	height: 56px;
}
/* consensus mark: 55.28 × 58.09, offset inside the clipped 56px frame */
.how-card__icon--clip {
	position: relative;
	overflow: hidden;
}
.how-card__icon--clip img {
	position: absolute;
	left: 0.717px;
	top: -1.21px;
	width: 55.2821px;
	height: 58.0893px;
}
.how-card__text {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--black);
}
.how-card__title {
	font-weight: 400;
	font-size: 32px;
	line-height: 1.24;
}
.how-card__body {
	font-weight: 500;
	font-size: 16px;
	line-height: 1.32;
}

/* Figma "pattern bg" */
.t-how__rings {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}
.t-how__ring {
	position: absolute;
}
.t-how__ring--1 {
	left: calc(50% - 720px - 414px);
	top: -49px;
	width: 986px;
	height: 986px;
}
.t-how__ring--2 {
	left: calc(50% - 720px + 129px);
	top: 349px;
	width: 1530.337px;
	height: 1530.337px;
}
.t-how__ring--3 {
	left: calc(50% - 720px + 679px);
	top: 589px;
	width: 1037.835px;
	height: 1037.835px;
}

/* ==========================================================================
   Enterprise control (Figma 23:788)
   ========================================================================== */

.t-ent {
	background: #023ad2;
}
.t-ent__blobs {
	left: 50%;
	top: 50%;
	width: 1440px;
	height: 1200px;
	transform: translate(-50%, -50%);
}
/* guides at the gutters and the second column third */
.t-ent__vgrid::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% + min(100%, 1600px) / 6);
	width: 1px;
	background: var(--blue-36);
}

.t-ent__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.t-ent__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 0 8px;
}
.t-ent__heading {
	flex: 1;
	min-width: 0;
}
.t-ent__title {
	color: var(--white);
}
.t-ent__intro {
	flex: 0 0 433px;
	text-align: right;
	color: var(--white);
}

.t-ent__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 220px;
}

/* Figma "card" — hover variant: brand-blue panel inset 8px, larger dot */
.ent-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	min-height: 200px;
	min-width: 0;
	padding: 32px;
	overflow: hidden;
	border: 1px solid var(--blue-36);
	background: rgba(30, 90, 255, 0.01);
	color: var(--white);
}
.ent-card::before {
	content: "";
	position: absolute;
	inset: 8.5px 7.5px 7.5px;
	border-radius: 16px;
	background: var(--brand-blue);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.ent-card__title {
	position: relative;
	font-weight: 400;
	font-size: 32px;
	line-height: 1.32;
}
.ent-card__body {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.32;
}
.ent-card__dot {
	position: absolute;
	right: 15.17px;
	top: 15.5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--white);
	transition:
		width 0.2s ease,
		height 0.2s ease,
		right 0.2s ease,
		top 0.2s ease;
}
@media (hover: hover) {
	.ent-card:hover {
		gap: 24px;
	}
	.ent-card:hover::before {
		opacity: 1;
	}
	.ent-card:hover .ent-card__title {
		font-weight: 500;
	}
	.ent-card:hover .ent-card__dot {
		right: 20.5px;
		top: 19.5px;
		width: 20px;
		height: 20px;
	}
}

/* ==========================================================================
   Core protocol (Figma 23:811)
   ========================================================================== */

.t-core__row {
	position: relative;
	display: flex;
	align-items: flex-start;
}
.t-core__intro {
	flex: 0 0 calc(100% / 3 - 0.667px); /* 442px at 1440px */
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 0 32px 0 8px;
}
.t-core__grid {
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-columns: calc(50% + 1px) 1fr; /* 444 / 442px at 1440px */
	grid-auto-rows: 164px;
}
.core-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 24px 32px;
	border: 1px solid var(--blue-36);
	color: var(--black);
}
/* brand-blue rule on the left edge of filled cells */
.core-cell:not(.core-cell--empty)::before {
	content: "";
	position: absolute;
	left: -1.5px;
	top: -1.5px;
	bottom: -1.5px;
	width: 2px;
	background: var(--brand-blue);
}
.core-cell__title {
	font-weight: 600;
	font-size: 24px;
	line-height: 1.32;
}
.core-cell__body {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}

/* ==========================================================================
   Built around what you already have (Figma 23:829)
   ========================================================================== */

.t-cta {
	position: relative;
	padding: 48px 8px;
}
.t-cta__vgrid {
	top: 2px;
	bottom: 1px;
}
.t-cta__vgrid::before {
	background: linear-gradient(to bottom, var(--blue-36), rgba(148, 172, 216, 0) 75.19%);
}

.t-cta__card {
	--ax: max(0px, calc(50% - 848px)); /* card edge → content column + 48px insets (max 1696px) */
	position: relative;
	display: flex;
	align-items: flex-start;
	padding: 80px var(--panel-x);
	border-radius: 16px;
	overflow: hidden;
	isolation: isolate;
	background: var(--brand-blue);
}
/* black vignette + ring, anchored to the card's bottom-right corner */
.t-cta__shadow,
.t-cta__ring,
.t-cta__shapes {
	position: absolute;
	pointer-events: none;
}
.t-cta__shadow img,
.t-cta__ring img {
	width: 100%;
	height: 100%;
}
.t-cta__shadow {
	right: calc(var(--ax) - 1119px);
	bottom: -1306px;
	width: 2144px;
	height: 2144px;
}
.t-cta__ring {
	right: calc(var(--ax) - 1612.5px);
	bottom: -2266.5px;
	width: 3831px;
	height: 3831px;
}
.t-cta__hlines {
	--gx: 48px;
	--gy: 48px;
}
.t-cta__dots {
	top: -113px;
	height: 777px;
}
/* brand-blue liquid shapes showing through the black vignette */
.t-cta__shapes {
	right: calc(var(--ax) - 805.85px);
	bottom: -974.97px;
	width: 2358.851px;
	height: 2010.972px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.t-cta__shapes img {
	flex: none;
	width: 2126.057px;
	height: 1047.518px;
	transform: rotate(148.18deg) scaleY(-1);
}

.t-cta__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
	width: 664px;
	max-width: 100%;
	padding: 8px;
}
.t-cta__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	color: var(--white);
}
.t-cta__title {
	font-weight: 400;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}
.t-cta__lead {
	width: 312px;
	max-width: 100%;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.36;
	letter-spacing: 0.32px;
}

/* ==========================================================================
   Architecture diagram (Figma 23:850)
   ========================================================================== */

.t-arch__glow {
	position: absolute;
	left: calc(50% + 57.5px - 930.5px);
	bottom: -1431px;
	width: 1861px;
	height: 1861px;
	pointer-events: none;
}
.t-arch__glow img {
	width: 100%;
	height: 100%;
}
.t-arch__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.t-arch__head {
	gap: 8px;
}
.t-arch__layers {
	display: flex;
	align-items: center;
	overflow: hidden;
	list-style: none;
}
.layer-card {
	flex: 0 0 calc((100% - 4px) / 4); /* 331px at 1440px */
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 180px;
	height: 374px;
	padding: 24px;
	overflow: hidden;
	border-left: 1px solid var(--brand-blue);
}
.layer-card__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 141px;
	color: var(--black);
}
.layer-card__title {
	font-weight: 600;
	font-size: 24px;
	line-height: 1.32;
}
.layer-card__body {
	flex: 1;
	min-height: 0;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}

/* ==========================================================================
   Products (Figma 39:2407)
   ========================================================================== */

.t-products {
	padding-top: 80px;
	padding-bottom: 80px;
	background: linear-gradient(to bottom, #f3f7ff, #ffffff);
}
/* blurred brand-blue ellipse peeking over the top edge */
.t-products__glow {
	position: absolute;
	left: calc(50% + 31px - 784px);
	top: -645px;
	width: 1568px;
	height: 1169px;
	pointer-events: none;
}
.t-products__glow img {
	width: 100%;
	height: 100%;
}
.t-products__hlines {
	--gy: 80px;
}
.t-products__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

/* four 332 × 520 cards */
.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
}

/* Figma "PRODUCT CARD". Hover / focus ("Hover state"): the card keeps its
   look and the product's large logo fades in behind it as a 5% ghost,
   cropped by the card (size / offset per card in the markup). */
.product {
	--pt: 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 520px;
	padding: 32px;
	overflow: hidden;
	border: 1px solid var(--blue-36);
	color: var(--black);
	outline: none;
}
.product__ghost {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--pt);
}
.product__ghost img {
	width: 100%;
	height: 100%;
}
/* keyboard focus ring (Figma "Focus ring") */
.product:focus-visible::after {
	content: "";
	position: absolute;
	inset: 7.5px;
	border: 2px solid var(--black);
	border-radius: 12px;
	pointer-events: none;
}
.product__head {
	position: relative;
	flex-shrink: 0;
	height: 145px;
}
.product .t-num {
	display: block;
	transition: color var(--pt);
}
/* Figma product logo component: mark + wordmark on a 227.556 × 160 box,
   each SVG at its own size and offset */
.product__logo {
	position: relative;
	flex-shrink: 0;
	width: 227.556px;
	height: 160px;
}
.product__logo img {
	position: absolute;
}
.product__desc {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	display: flex;
	align-items: flex-end;
	padding-bottom: 16px;
	border-bottom: 1px solid currentColor;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}
.product__desc > span {
	opacity: 0.85;
}
.product__link {
	position: relative;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	height: 32px;
	margin-top: 12px; /* Figma: 16px gap + 12px top padding under the rule */
	font-weight: 500;
	font-size: 14px;
	line-height: normal;
}
.product__link .arrow-ne {
	margin-left: auto;
}

@media (hover: hover) {
	.product:hover .product__ghost {
		opacity: 0.05;
	}
	.product:hover .arrow-ne {
		transform: translate(2px, -2px);
	}
}
.product:focus-visible .product__ghost {
	opacity: 0.05;
}

/* ==========================================================================
   Responsive — tablet & mobile (< 1024px)
   No mobile frame exists in Figma; this re-flows the desktop design in the
   same way as the home page: stacked columns, 16–24px gutters.
   ========================================================================== */

@media (max-width: 1023px) {
	.t-heading {
		gap: 16px;
	}
	.t-split-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.t-split-head > .t-heading {
		flex: none;
		width: 100%;
	}
	.t-split-head__intro {
		flex: none;
		width: auto;
		max-width: 480px;
		text-align: left;
	}

	/* hero */
	.t-hero__frame {
		padding: 0 calc(var(--gutter) - 8px);
	}
	.t-hero .hline-grid--hero {
		--gx: calc(var(--gutter) - 8px);
		--gy: 40px;
	}
	.t-hero__col {
		padding: 40px 0 24px;
		border-right: 0;
	}
	.t-hero__main {
		gap: 20px;
		padding: 32px 8px 48px;
		border-right: 0;
	}
	.t-hero__bg img {
		left: 0;
		width: 100%;
		object-position: 70% 50%;
	}
	.t-hero__title {
		font-size: clamp(36px, 8.4vw, 64px);
	}
	.t-hero__lead {
		font-size: 15px;
	}

	/* the Naoris difference — circles scaled to the column (--k from js/site.js) */
	.t-diff__row {
		flex-direction: column;
		gap: 32px;
		height: auto;
	}
	.t-diff__copy {
		flex: none;
		width: 100%;
		max-width: 560px;
		gap: 24px;
		padding: 0 8px;
	}
	.t-diff__visual {
		flex: none;
		width: 100%;
		height: auto;
		padding: 0;
	}
	.venn {
		flex: none;
		height: calc(330px * var(--k, 0.4));
	}
	.venn__stage {
		top: calc(-67px * var(--k, 0.4));
		transform: translateX(-50%) scale(var(--k, 0.4));
		transform-origin: 50% 0;
	}
	.venn__disc {
		padding: 0 16px;
	}
	.venn__label {
		/* stays readable once scaled, but clear of the neighbouring circle */
		font-size: min(24px, calc(20px / var(--k, 1)));
	}

	/* how it works */
	.t-how__inner {
		gap: 32px;
	}
	.t-how__head {
		flex-direction: column;
		gap: 16px;
	}
	.t-how__head .eyebrow {
		flex: none;
	}
	.t-how__title {
		text-align: left;
	}
	.t-how__grid {
		flex-direction: column;
		gap: 8px;
	}
	.t-how__col,
	.t-how__col--1,
	.t-how__col--3 {
		flex: none;
		width: 100%;
		height: auto;
	}
	.t-how__fillets {
		display: none;
	}
	/* rings keep their left-edge placement on narrow screens */
	.t-how__ring--1 {
		left: -414px;
	}
	.t-how__ring--2 {
		left: 129px;
	}
	.t-how__ring--3 {
		left: 679px;
	}
	.how-card {
		height: auto;
		padding: 28px 24px;
	}
	.how-card--1,
	.how-card--2,
	.how-card--3 {
		border-radius: 32px;
	}
	.how-card__title {
		font-size: 26px;
	}

	/* enterprise control */
	.t-ent__inner {
		gap: 32px;
	}
	.t-ent__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.t-ent__heading {
		flex: none;
		width: 100%;
	}
	.t-ent__intro {
		flex: none;
		max-width: 480px;
		text-align: left;
	}
	.t-ent__vgrid::after {
		display: none;
	}
	.t-ent__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: auto;
	}
	.ent-cell--empty {
		display: none;
	}
	.ent-card {
		padding: 28px 24px;
	}
	.ent-card__title {
		padding-right: 24px;
		font-size: 26px;
	}

	/* core protocol */
	.t-core__row {
		flex-direction: column;
		gap: 32px;
	}
	.t-core__intro {
		flex: none;
		width: 100%;
		max-width: 560px;
		gap: 24px;
		padding: 0 8px;
	}
	.t-core__grid {
		width: 100%;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}
	.core-cell--empty {
		display: none;
	}
	.core-cell {
		padding: 24px;
	}
	.core-cell__title {
		font-size: 22px;
	}

	/* built around… — the decoration stays pinned to the bottom-right corner, smaller */
	.t-cta {
		padding: var(--section-y) 8px;
	}
	.t-cta__card {
		padding: 72px calc(var(--gutter) - 8px) 96px;
	}
	.t-cta__hlines {
		--gx: calc(var(--gutter) - 8px);
		--gy: 40px;
	}
	.t-cta__shadow {
		transform: scale(0.6);
		transform-origin: calc(100% - 1119px) calc(100% - 1306px);
	}
	.t-cta__ring {
		transform: scale(0.6);
		transform-origin: calc(100% - 1612.5px) calc(100% - 2266.5px);
	}
	.t-cta__shapes {
		transform: scale(0.6);
		transform-origin: calc(100% - 805.85px) calc(100% - 974.97px);
	}
	.t-cta__content {
		width: 100%;
		gap: 32px;
		padding: 8px 0;
	}
	.t-cta__title {
		font-size: clamp(26px, 6.2vw, 40px);
	}

	/* architecture */
	.t-arch__inner,
	.t-products__inner {
		gap: 32px;
	}
	.t-arch__head {
		gap: 16px;
	}
	.t-arch__layers {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		row-gap: 24px;
		overflow: visible;
	}
	.layer-card {
		height: auto;
		gap: 72px;
	}
	.layer-card__text {
		height: auto;
		gap: 12px;
	}
	.layer-card__title {
		font-size: 22px;
	}

	/* products: 2 x 2 cards, shorter number row */
	.t-products__hlines {
		--gy: var(--section-y);
	}
	.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.product {
		height: auto;
		min-height: 420px;
		padding: 28px 24px;
	}
	.product__head {
		height: 72px;
	}
	.product__desc {
		flex: 1 0 auto;
		min-height: 72px;
	}
}

/* phones */
@media (max-width: 599px) {
	.t-hero__main {
		padding-bottom: 40px;
	}

	/* the circles turn a quarter so they stack vertically at (near) full size;
	   the labels turn back so they stay upright */
	.venn {
		--fit-w: 420; /* ≈ 85% of the circle size on a 390px phone */
		height: calc(814px * var(--k, 1));
	}
	.venn__stage {
		top: 50%;
		transform: translate(-50%, -50%) scale(var(--k, 1)) rotate(90deg);
		transform-origin: 50% 50%;
	}
	.venn__label {
		font-size: 20px;
		transform: rotate(-90deg);
	}

	/* built around… — decoration moves below the copy */
	.t-cta__card {
		padding-bottom: 200px;
	}
	.t-cta__shapes {
		transform: scale(0.5);
	}
	.t-ent__grid,
	.t-arch__layers,
	.products {
		grid-template-columns: 1fr;
	}
	.ent-card {
		min-height: 180px;
	}
	.layer-card {
		gap: 40px;
	}
	.product {
		min-height: 360px;
	}
	.product__head {
		height: 48px;
	}
}
