/* ── Module pages (v3.dfirst.ai/landing/modules/*) ─────────────────────────
   One rich page per module of the app's sidebar (D-MODULE-PAGES, rev. 2
   2026-10-16: "duży header z lekką animacją", screens, the agent, the team).
   The landing's own system: white paper, ink #1d1d1f with a grey second
   line, hairlines, Inter, lime only on the actions that start something.
   Generated pages: scripts/landing/build-module-pages.mjs. The hero scenes
   live in scenes.css; the timeline runner in modules.js. */
:root {
	--ink: #1d1d1f;
	--ink-2: #3a3a3e;
	--muted: #68686e;
	--faint: #9a9aa1;
	--line: #e3e3e8;
	--line-2: #ececf0;
	--paper: #f5f5f7;
	--paper-2: #fafafa;
	--dark: #0f0f10;
	--lime: #e2ff52;
	--lime-ink: #202022;
	--wrap: 1280px;
	--radius: 24px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	font-family: Inter, Arial, sans-serif;
	color: var(--ink);
	background: #fff;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}
body {
	margin: 0;
	background: #fff;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
}
ul,
ol {
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
img,
video,
svg {
	display: block;
	max-width: 100%;
}
button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	padding: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid #5289f6;
	outline-offset: 4px;
	border-radius: 6px;
}
[hidden] {
	display: none !important;
}
.wrap {
	width: min(var(--wrap), calc(100% - 112px));
	margin-inline: auto;
}
.ui-icon {
	width: 1em;
	height: 1.5em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.grey {
	color: var(--faint);
}

/* ── Buttons, the landing's two calls to action ── */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	min-height: 48px;
	padding: 14px 22px;
	border-radius: 5px;
	background: var(--lime);
	color: var(--lime-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition:
		background 0.2s,
		transform 0.2s var(--ease);
}
.button:hover {
	background: #d5f343;
	transform: translateY(-2px);
}
.button.small {
	min-height: 40px;
	padding: 11px 16px;
	gap: 16px;
	font-size: 13px;
}
.button.dark {
	background: #151515;
	color: #fff;
}
.button.dark:hover {
	background: #333;
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 500;
}
.text-link:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 30px;
}

/* ── Hero: the module, its promise, the scene that explains it ── */
.mp-hero {
	padding: 54px 0 0;
}
.mp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.mp-kicker svg {
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 7px;
	background: var(--ink);
	color: #fff;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.mp-kicker a {
	color: var(--muted);
	font-weight: 500;
}
.mp-kicker a:hover {
	color: var(--ink);
}
.mp-kicker .sep {
	color: var(--line);
	font-weight: 400;
}
.mp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 40px 72px;
	align-items: end;
}
.mp-hero h1 {
	font-size: clamp(42px, 4.7vw, 68px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.06em;
	text-wrap: balance;
}
.mp-hero h1 .grey {
	display: block;
}
.mp-lede {
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
	max-width: 520px;
}
.mp-hero .actions {
	margin-top: 28px;
}
.stage-wrap {
	position: relative;
	margin-top: 56px;
}
.stage {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid var(--line-2);
	background: var(--paper-2);
	isolation: isolate;
}
.stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(#d9d9de 1px, transparent 1.2px);
	background-size: 22px 22px;
	opacity: 0.55;
	z-index: -1;
}
.stage.plain::before {
	display: none;
}
.stage-canvas {
	position: absolute;
	left: var(--x, 0);
	top: 0;
	width: var(--w);
	height: var(--h);
	transform: scale(var(--k));
	transform-origin: 0 0;
}
.stage-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}
.stage-pause {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 7px 12px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
}
.stage-pause:hover {
	background: var(--paper);
	color: var(--ink);
}
.stage-pause svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}
.stage-pause .when-paused,
.stage-pause[aria-pressed="true"] .when-playing {
	display: none;
}
.stage-pause[aria-pressed="true"] .when-paused {
	display: block;
}

/* ── The three things it does, right under the scene ── */
.mp-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px;
	padding: 72px 0 24px;
}
.mp-points article {
	padding-top: 22px;
	border-top: 1px solid var(--line);
}
.mp-points h3 {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.25;
}
.mp-points p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* ── Sections ── */
.mp-section {
	padding: 120px 0 0;
}
.mp-section.tight {
	padding-top: 88px;
}
.mp-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px 80px;
	margin-bottom: 52px;
}
.mp-head h2,
.mp-feature h2,
.mp-band h2,
.mp-dark h2 {
	font-size: clamp(34px, 3.9vw, 56px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.055em;
	text-wrap: balance;
}
.mp-head h2 {
	max-width: 760px;
}
.mp-head > p {
	max-width: 380px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
}

/* A feature: words on one side, the product on the other. */
.mp-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 56px 80px;
	align-items: center;
}
.mp-feature.flip {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.mp-feature.flip .mp-feature-copy {
	order: 2;
}
.mp-feature-copy > p {
	margin-top: 22px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.65;
	max-width: 480px;
}
.mp-list {
	margin-top: 30px;
	border-top: 1px solid var(--line);
}
.mp-list li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.5;
}
.mp-list li b {
	font-weight: 600;
}
.mp-list li span {
	color: var(--muted);
}
.mp-list svg {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.mp-feature .text-link {
	margin-top: 22px;
}

/* The product card a feature shows. */
.mp-visual {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line-2);
	isolation: isolate;
}
.mp-visual.dots::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(#d9d9de 1px, transparent 1.2px);
	background-size: 20px 20px;
	opacity: 0.5;
	z-index: -1;
}
.mp-visual.white {
	background: #fff;
}
.mp-visual > img,
.mp-visual > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mp-visual.film {
	background: #111;
	border-color: #111;
}
.mp-visual figcaption,
.mp-caption {
	margin-top: 12px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Full-width product film or screen. */
.mp-screen {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid var(--line-2);
	background: #fff;
}
.mp-screen video,
.mp-screen img {
	width: 100%;
	height: auto;
}

/* Tabs that change the picture beside them. */
.mp-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 30px;
}
.mp-switch button {
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}
.mp-switch button:hover {
	color: var(--ink);
	border-color: #cfcfd5;
}
.mp-switch button[aria-selected="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* Bento grid of smaller capabilities. */
.mp-bento {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}
.mp-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
	isolation: isolate;
	grid-column: span 2;
}
.mp-tile.w3 {
	grid-column: span 3;
}
.mp-tile.w4 {
	grid-column: span 4;
}
.mp-tile.w6 {
	grid-column: span 6;
}
.mp-tile-copy {
	position: relative;
	z-index: 2;
	padding: 28px 28px 0;
}
.mp-tile h3 {
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
}
.mp-tile p {
	margin-top: 8px;
	max-width: 420px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}
.mp-tile-art {
	position: relative;
	flex: 1;
	min-height: 170px;
	margin-top: 22px;
}
.mp-tile.dark {
	background: var(--dark);
	color: #f5f5f7;
}
.mp-tile.dark p {
	color: #a8a8ae;
}
.mp-tile.photo {
	color: #fff;
	background: #222;
}
.mp-tile.photo p {
	color: rgb(255 255 255 / 0.82);
}
.mp-tile.photo > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.mp-tile.photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(0 0 0 / 0.42), transparent 48%);
	z-index: -1;
}

/* A worked example: what went in, what you decided, what came out. */
.mp-story {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.mp-story li {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper);
}
.mp-story-art {
	position: relative;
	aspect-ratio: 4 / 3.3;
	overflow: hidden;
}
.mp-story-art > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mp-story-copy {
	padding: 24px 26px 28px;
}
.mp-story h3 {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}
.mp-story p {
	margin-top: 8px;
	font-size: 17px;
	line-height: 1.45;
	letter-spacing: -0.015em;
}

/* Dark band, used once per page for the big idea. */
.mp-dark {
	margin-top: 120px;
	padding: 110px 0;
	background: var(--dark);
	color: #f5f5f7;
}
.mp-dark .mp-head > p {
	color: #a8a8ae;
}
.mp-dark .grey {
	color: #6b6b72;
}

/* Works with: the neighbouring modules. */
.mp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.mp-cards.is-index {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mp-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 20px;
	background: var(--paper);
	transition: transform 0.35s var(--ease);
}
.mp-card:hover {
	transform: translateY(-4px);
}
.mp-card-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e9e9ee;
}
.mp-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.mp-card:hover .mp-card-media img {
	transform: scale(1.04);
}
.mp-card-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px 24px;
}
.mp-card-copy b {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.mp-card-copy b svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}
.mp-card-copy span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Good to know: plain answers. */
.mp-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 40px 80px;
}
.mp-faq h2 {
	font-size: clamp(34px, 3.9vw, 56px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.055em;
}
.mp-faq > div > p {
	margin-top: 20px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
	max-width: 360px;
}
.mp-faq details {
	border-bottom: 1px solid var(--line);
}
.mp-faq details:first-child {
	border-top: 1px solid var(--line);
}
.mp-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.02em;
	cursor: pointer;
	list-style: none;
}
.mp-faq summary::-webkit-details-marker {
	display: none;
}
.mp-faq summary::after {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
	transition: transform 0.3s var(--ease);
}
.mp-faq details[open] summary::after {
	transform: rotate(45deg);
}
.mp-faq details p {
	padding: 0 40px 24px 0;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.65;
}

/* Closing call to action. */
.mp-cta {
	padding: 120px 0 0;
}
.mp-cta-box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	overflow: hidden;
	min-height: 460px;
	padding: 64px;
	border-radius: 32px;
	background: var(--dark);
	color: #fff;
	isolation: isolate;
}
.mp-cta-box h2 {
	font-size: clamp(38px, 4.4vw, 64px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.058em;
	text-wrap: balance;
}
.mp-cta-box h2 .grey {
	color: #75757c;
}
.mp-cta-box p {
	margin-top: 22px;
	max-width: 440px;
	color: #b4b4ba;
	font-size: 16px;
	line-height: 1.6;
}
.mp-cta-box .actions {
	margin-top: 32px;
}
.mp-cta-box .text-link {
	color: #fff;
}
.mp-cta-art {
	position: relative;
	align-self: stretch;
	min-height: 330px;
}
.mp-cta-art img {
	position: absolute;
	width: 38%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 30px 60px rgb(0 0 0 / 0.45);
}
.mp-cta-art img:nth-child(1) {
	left: 4%;
	top: 14%;
	transform: rotate(-6deg);
}
.mp-cta-art img:nth-child(2) {
	left: 32%;
	top: 0;
	z-index: 2;
	transform: rotate(2deg);
}
.mp-cta-art img:nth-child(3) {
	left: 60%;
	top: 18%;
	transform: rotate(7deg);
}

/* ── Footer: the site's one footer lives in /landing/site-footer.css; the
   module frame only keeps it clear of the last section. ── */
.mp-footer {
	margin-top: 120px;
}

/* ── Reveal on scroll (set by modules.js only when motion is allowed) ── */
.reveal-ready {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity 0.9s var(--ease),
		transform 1.1s var(--ease);
}
.reveal-ready.is-in {
	opacity: 1;
	transform: none;
}

/* ── Smaller screens ── */
@media (max-width: 980px) {
	.wrap {
		width: calc(100% - 64px);
	}
	.mp-hero-grid,
	.mp-feature,
	.mp-feature.flip,
	.mp-faq,
	.mp-cta-box {
		grid-template-columns: minmax(0, 1fr);
	}
	.mp-feature.flip .mp-feature-copy {
		order: 0;
	}
	.mp-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.mp-points {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-top: 48px;
	}
	.mp-points article {
		padding: 20px 0 22px;
	}
	.mp-bento {
		grid-template-columns: minmax(0, 1fr);
	}
	.mp-tile,
	.mp-tile.w3,
	.mp-tile.w4,
	.mp-tile.w6 {
		grid-column: auto;
	}
	.mp-story,
	.mp-cards,
	.mp-cards.is-index {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.mp-cta-box {
		padding: 44px 36px;
	}
	.mp-cta-art {
		min-height: 280px;
	}
}
@media (max-width: 640px) {
	.wrap {
		width: calc(100% - 32px);
	}
	.mp-hero {
		padding-top: 34px;
	}
	.mp-kicker {
		margin-bottom: 18px;
	}
	.mp-hero h1 {
		font-size: 42px;
		letter-spacing: -0.055em;
	}
	.mp-lede {
		font-size: 16px;
	}
	.mp-hero .actions .button {
		width: 100%;
	}
	.stage-wrap {
		margin-top: 36px;
	}
	.stage {
		border-radius: 20px;
	}
	.mp-section {
		padding-top: 84px;
	}
	.mp-head {
		margin-bottom: 32px;
	}
	.mp-feature-copy > p {
		font-size: 16px;
	}
	.mp-story,
	.mp-cards,
	.mp-cards.is-index {
		grid-template-columns: minmax(0, 1fr);
	}
	.mp-tile {
		min-height: 260px;
	}
	.mp-tile-copy {
		padding: 24px 22px 0;
	}
	.mp-dark {
		margin-top: 84px;
		padding: 76px 0;
	}
	.mp-faq summary {
		font-size: 16px;
	}
	.mp-cta {
		padding-top: 84px;
	}
	.mp-cta-box {
		padding: 36px 24px;
		border-radius: 24px;
	}
	.mp-cta-box .button {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ── Phones and tablets, round 2 (2026-10-17 phone review) ── */
@media (min-width: 641px) and (max-width: 980px) {
	/* Three cards stay three across, so none is left alone on a row. */
	.mp-cards,
	.mp-cards.is-index,
	.mp-story {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mp-card-copy {
		padding: 16px 16px 20px;
	}
	.mp-card-copy b {
		font-size: 15.5px;
	}
	.mp-card-copy span {
		font-size: 13px;
	}
}
@media (max-width: 640px) {
	/* The hero scene runs to the screen edges: its text gets 9% bigger. */
	.mp-hero .stage {
		margin-inline: -16px;
		border-radius: 0;
		border-inline: 0;
	}
	/* Screen recordings of the desktop app: crop to the middle so the app
	   reads at phone size. */
	.mp-screen {
		border-radius: 18px;
	}
	.mp-screen video,
	.mp-screen img {
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}
	/* Tool cards two across, short, so the tools hub is half as long. */
	.mp-cards.is-index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.mp-cards.is-index .mp-card {
		border-radius: 16px;
	}
	.mp-cards.is-index .mp-card-copy {
		gap: 4px;
		padding: 12px 12px 14px;
	}
	.mp-cards.is-index .mp-card-copy b {
		font-size: 14px;
		line-height: 1.25;
	}
	.mp-cards.is-index .mp-card-copy b svg {
		display: none;
	}
	.mp-cards.is-index .mp-card-copy span {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		font-size: 12.5px;
		line-height: 1.4;
	}
	/* Tap targets of at least 40 px. */
	.mp-switch button,
	.stage-pause {
		min-height: 40px;
	}
	.mp-kicker a {
		display: inline-block;
		padding-block: 10px;
		margin-block: -10px;
	}
}

/* ── Solution and resource pages (D-SITE-NAV, waitlist period) ── */
.sp-hero-visual {
	margin-top: 56px;
}
.sp-pic {
	margin: 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 20px;
	background: var(--paper);
}
.sp-pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sp-wall {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	grid-template-rows: 250px 250px;
	gap: 14px;
}
.sp-wall .tall {
	grid-row: span 2;
}
.sp-wall .wide {
	grid-column: span 2;
}
.sp-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}
.sp-tools a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 500;
	transition: background 0.2s;
}
.sp-tools a:hover {
	background: var(--lime);
}
.sp-grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 24px;
}
.sp-grid3 .sp-pic {
	aspect-ratio: 4 / 5;
	border-radius: 14px;
}
.sp-sizes {
	display: grid;
	grid-template-columns: 1.6fr 0.9fr;
	grid-template-rows: auto auto;
	gap: 12px;
	padding: 28px;
}
.sp-sizes .w {
	aspect-ratio: 16 / 9;
}
.sp-sizes .t {
	grid-row: span 2;
	aspect-ratio: 9 / 16;
}
.sp-sizes .s {
	aspect-ratio: 16 / 9;
}
.sp-sizes .sp-pic {
	border-radius: 14px;
}
.sp-film video {
	display: block;
	width: 100%;
	max-height: 560px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.sp-v {
	display: grid;
	place-items: center;
	min-height: 420px;
	padding: 32px 24px;
}
.sp-doc {
	width: min(100%, 440px);
	padding: 24px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--line-2);
	box-shadow: 0 24px 50px -28px rgb(16 16 20 / 0.28);
}
.sp-doc small {
	color: var(--muted);
	font-size: 12px;
}
.sp-doc h4 {
	margin: 10px 0 8px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.sp-doc p {
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.55;
}
.sp-doc ul {
	margin: 14px 0 0;
	padding-left: 18px;
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.7;
}
.sp-doc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}
.sp-doc-tags span {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--paper);
	font-size: 12px;
	font-weight: 500;
}
@media (max-width: 980px) {
	.sp-wall {
		grid-template-rows: 200px 200px;
	}
}
@media (max-width: 640px) {
	.sp-hero-visual {
		margin-top: 36px;
	}
	.sp-wall {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 180px 180px;
		gap: 10px;
	}
	.sp-wall .tall {
		grid-row: span 2;
	}
	.sp-wall .wide {
		display: none;
	}
	.sp-pic {
		border-radius: 14px;
	}
	.sp-grid3,
	.sp-sizes {
		gap: 8px;
		padding: 14px;
	}
	.sp-tools a {
		min-height: 40px;
	}
}
.sp-share-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 14px 0 6px;
	padding: 6px 6px 6px 12px;
	border-radius: 10px;
	border: 1px solid var(--line);
	font-size: 13.5px;
}
.sp-share-field b {
	padding: 7px 12px;
	border-radius: 7px;
	background: var(--lime);
	font-size: 12.5px;
	font-weight: 600;
}
.sp-people {
	display: grid;
	gap: 0;
	margin: 6px 0 0 !important;
	padding: 0 !important;
	list-style: none;
}
.sp-people li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line-2);
	font-size: 14px;
}
.sp-people i {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e9e2ff;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
}
.sp-people i.b {
	background: #dff3e4;
}
.sp-people i.c {
	background: #ffe3cc;
}
.sp-people em {
	margin-left: auto;
	color: var(--muted);
	font-size: 12.5px;
	font-style: normal;
}
.sp-logos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: min(100%, 420px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.sp-logos li {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 18px 8px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--line-2);
	font-size: 12.5px;
	color: var(--ink-2);
}
.sp-logos img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}
.sp-plain li {
	gap: 12px;
}
/* Security: the summary under the title, the areas, the providers table. */
.sp-glance {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sp-glance li {
	display: grid;
	gap: 6px;
	padding: 22px;
	border-radius: 20px;
	background: var(--paper);
}
.sp-glance b {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.sp-glance span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}
.sp-areas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.sp-areas-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sp-areas article {
	padding: 28px;
	border-radius: var(--radius);
	border: 1px solid var(--line-2);
}
.sp-areas h3 {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.sp-areas ul {
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding-left: 18px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.55;
}
.sp-areas-3 ul {
	padding-left: 0;
	list-style: none;
}
.sp-table {
	overflow-x: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line-2);
}
.sp-table table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 14.5px;
}
.sp-table th,
.sp-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--line-2);
	text-align: left;
	vertical-align: top;
}
.sp-table th {
	background: var(--paper);
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.sp-table tr:last-child td {
	border-bottom: 0;
}
.sp-table td:first-child {
	font-weight: 600;
	white-space: nowrap;
}
.sp-table td:last-child {
	color: var(--ink-2);
}
.sp-on-dark {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}
/* Early access: the four steps and the waiting draft. */
.sp-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sp-steps li {
	padding: 26px;
	border-radius: var(--radius);
	background: var(--paper);
}
.sp-step-n {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--lime-ink);
	font-size: 15px;
	font-weight: 700;
}
.sp-steps h3 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.sp-steps p {
	margin-top: 8px;
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.55;
}
/* How early access works: the waitlist screen's share module, drawn. */
.sp-share {
	/* The link never wraps; without this the card keeps its full width on a phone. */
	min-width: 0;
}
.sp-share h4 {
	margin: 0 0 14px;
}
.sp-share-seats {
	display: flex;
	gap: 6px;
}
.sp-share-seats i {
	width: 48px;
	height: 6px;
	border-radius: 3px;
	background: var(--line-2);
}
.sp-share-seats i.on {
	background: var(--ink);
}
.sp-share .sp-share-status {
	margin-top: 10px;
	color: var(--ink);
	font-weight: 500;
}
.sp-share-link {
	display: flex;
	gap: 8px;
	margin: 16px 0 6px;
}
.sp-share-link span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	padding: 11px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-size: 13.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sp-share-link b {
	flex: none;
	padding: 11px 16px;
	border-radius: 12px;
	background: var(--lime);
	color: var(--lime-ink);
	font-size: 13.5px;
	font-weight: 600;
}
.sp-share-posts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-bottom: 4px;
}
.sp-share-posts span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	font-size: 14px;
	font-weight: 500;
}
.sp-share-posts svg {
	width: 16px;
	height: 16px;
}
/* Agencies: three clients side by side. */
.sp-clients {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.sp-client {
	display: grid;
	gap: 12px;
}
.sp-client .sp-pic {
	aspect-ratio: 4 / 5;
}
.sp-client span {
	display: grid;
	gap: 2px;
	padding-inline: 4px;
}
.sp-client b {
	font-size: 16px;
	font-weight: 600;
}
.sp-client small {
	color: var(--muted);
	font-size: 13px;
}
/* What's new: one row per week. */
.sp-week {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 32px;
	padding-block: 56px;
	border-top: 1px solid var(--line-2);
}
.sp-week:first-of-type {
	margin-top: 56px;
}
.sp-week-h {
	position: sticky;
	top: 96px;
	align-self: start;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.sp-news {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.sp-news article:last-child:nth-child(odd),
.sp-areas:not(.sp-areas-3) article:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
.sp-news article {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border-radius: 20px;
	background: var(--paper);
}
.sp-news h3 {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.sp-news p {
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.55;
}
.sp-news a {
	margin-top: auto;
	padding-top: 6px;
	font-size: 13.5px;
	font-weight: 600;
}
.sp-news a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.sp-also {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding-left: 18px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.5;
}
@media (max-width: 980px) {
	.sp-glance,
	.sp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sp-areas,
	.sp-areas-3 {
		grid-template-columns: minmax(0, 1fr);
	}
	.sp-week {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding-block: 40px;
	}
	.sp-week-h {
		position: static;
	}
}
@media (max-width: 640px) {
	.sp-glance,
	.sp-steps,
	.sp-news {
		grid-template-columns: minmax(0, 1fr);
	}
	.sp-clients {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}
	.sp-client b {
		font-size: 14px;
	}
	.sp-client small {
		display: none;
	}
	.sp-areas article,
	.sp-steps li,
	.sp-news article {
		padding: 22px;
	}
}
