/* Grosik 1.3 — proof-first product presentation. */
.container--workflow {
	width: min(calc(100% - 48px), 1240px);
	max-width: 1240px;
}

.hero--proof-first {
	min-height: 0;
	padding-block: 48px 78px;
	overflow: hidden;
}

.hero--proof-first .hero-orb--one {
	top: 80px;
	right: 14%;
	width: 520px;
	height: 520px;
	opacity: .65;
}

.hero__content--center,
.product-hero__content--center {
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.hero__content--center h1,
.product-hero__content--center h1,
.hero__content--center .hero__lead,
.product-hero__content--center .hero__lead {
	max-width: 820px;
	margin-inline: auto;
}

.hero__content--center h1 {
	margin-bottom: 18px;
	font-size: clamp(3.2rem, 5.1vw, 4.75rem);
}

.hero__content--center .hero__lead {
	margin-bottom: 23px;
}

.hero__content--center .button-row,
.product-hero__content--center .product-hero__labels,
.hero-values--center {
	justify-content: center;
}

.workflow-intro {
	max-width: 760px;
	margin: 42px auto 24px;
	text-align: center;
}

.workflow-intro h2 {
	margin: 8px 0 0;
	font-size: clamp(1.85rem, 2.55vw, 2.65rem);
}

.spreadsheet-story {
	background: #fffdf9;
}

.spreadsheet-story .section-heading p + p {
	margin-top: 14px;
}

.product-story__grid--home {
	margin-top: 52px;
}

.product-hero--proof-first {
	padding-bottom: 46px;
}

.product-hero--proof-first .breadcrumbs {
	padding-top: 18px;
}

.product-hero--proof-first .product-hero__content {
	padding-top: 34px;
}

.product-hero--proof-first .product-hero__content h1 {
	margin-bottom: 16px;
	font-size: clamp(2.8rem, 4.2vw, 4.15rem);
}

.product-hero--proof-first .product-hero__content .hero__lead {
	margin-bottom: 20px;
}

.product-hero--proof-first .hero-values {
	margin-top: 22px;
}

.product-proof {
	padding-top: 52px;
}

.product-proof .section-heading {
	max-width: 920px;
	margin-bottom: 32px;
}

.product-proof .section-heading h2 {
	font-size: clamp(2rem, 3vw, 2.7rem);
}

.product-proof .section-heading > p {
	font-size: .96rem;
}

@media (min-width: 681px) {
	.product-proof .section-heading {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
		align-items: end;
		gap: 8px 54px;
		max-width: 1180px;
		text-align: left;
	}

	.product-proof .section-heading .eyebrow {
		grid-column: 1;
	}

	.product-proof .section-heading h2 {
		grid-column: 1;
		margin: 0;
	}

	.product-proof .section-heading > p {
		grid-column: 2;
		grid-row: 1 / 3;
		margin: 0 0 4px;
	}
}

/* One application surface: source, rows, inspector and cart. */
.b2b-workflow {
	--phase-duration: 3000ms;
	width: 100%;
	min-height: 604px;
	margin-inline: auto;
	overflow: hidden;
	background: #fffdfb;
	border: 1px solid rgba(96, 63, 47, .16);
	border-radius: 24px;
	box-shadow: 0 34px 90px rgba(75, 45, 32, .16);
	color: #3f342f;
}

.b2b-workflow__chrome {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(180px, auto) minmax(180px, 1fr);
	align-items: center;
	min-height: 72px;
	padding: 10px 24px;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid #e9dfd7;
}

.b2b-workflow__brand strong {
	font-size: .82rem;
}

.b2b-workflow__brand small {
	font-size: .62rem;
}

.b2b-workflow__phase {
	position: relative;
	min-width: 190px;
	height: 28px;
}

.b2b-workflow__phase span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--muted);
	font-size: .68rem;
	font-weight: 800;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .25s ease, transform .25s ease;
}

.b2b-workflow__phase span.is-active {
	opacity: 1;
	transform: none;
}

.b2b-workflow__phase i {
	width: 7px;
	height: 7px;
	background: var(--success);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--success-bg);
}

.b2b-workflow__secure {
	justify-self: end;
	font-size: .62rem;
}

.b2b-workflow__workspace {
	display: grid;
	grid-template-columns: 222px minmax(0, 1fr) 286px;
	gap: 0;
	min-height: 530px;
	margin: 0;
	background: #fbf8f4;
}

.b2b-workflow__source,
.b2b-workflow__table,
.b2b-workflow__inspector {
	min-width: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.b2b-workflow__source,
.b2b-workflow__table {
	border-right: 1px solid #e9dfd7;
}

.b2b-workflow__source {
	padding: 20px 16px;
	background: #f8f2ec;
}

.workspace-label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	margin-bottom: 16px;
	color: #8c786c;
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.workspace-label > span {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	background: #eaded4;
	border-radius: 7px;
	color: var(--brown-3);
	font-size: .54rem;
}

.workspace-label em {
	margin-left: auto;
	color: var(--muted);
	font-size: .56rem;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
}

.source-drop {
	display: flex;
	min-height: 176px;
	padding: 24px 12px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .72);
	border: 1px dashed #d3bca9;
	border-radius: 14px;
	text-align: center;
	transition: opacity .3s ease, background .3s ease;
}

.source-drop__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 15px;
	background: var(--sand-soft);
	border-radius: 13px;
	color: var(--brown-3);
}

.source-drop__icon svg {
	width: 23px;
}

.source-drop strong {
	font-size: .78rem;
}

.source-drop small {
	margin-top: 7px;
	color: var(--muted);
	font-size: .58rem;
}

.b2b-workflow:not([data-phase="0"]) .source-drop {
	background: rgba(255, 255, 255, .45);
	opacity: .64;
}

.b2b-workflow__file {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 22px;
	gap: 9px;
	min-height: 70px;
	margin-top: 14px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e2d5ca;
	border-radius: 12px;
	box-shadow: 0 9px 24px rgba(77, 47, 34, .07);
}

.b2b-workflow__file strong {
	font-size: .66rem;
}

.b2b-workflow__file small {
	font-size: .55rem;
}

.b2b-workflow.is-running[data-phase="0"] .b2b-workflow__file {
	animation: source-file-arrive .6s cubic-bezier(.2, .8, .2, 1) both;
}

.source-meta {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.source-meta span {
	display: block;
	color: var(--muted);
	font-size: .57rem;
	line-height: 1.45;
}

.source-meta b {
	display: block;
	margin-bottom: 2px;
	color: var(--ink);
	font-size: .58rem;
}

.b2b-workflow__table {
	position: relative;
	padding-top: 20px;
	background: #fff;
}

.b2b-workflow__table > .workspace-label {
	margin: 0 18px 14px;
}

.b2b-workflow__thead,
.b2b-row {
	grid-template-columns: minmax(118px, 1fr) 48px minmax(130px, 1.18fr) minmax(112px, .86fr);
	gap: 12px;
}

.b2b-workflow__thead {
	min-height: 42px;
	padding-inline: 18px;
	border-radius: 0;
	font-size: .55rem;
}

.b2b-row {
	min-height: 99px;
	padding: 14px 18px 28px;
}

.b2b-row__code {
	flex-wrap: wrap;
}

.b2b-row__code code {
	font-size: .68rem;
}

.b2b-row__code small {
	width: 100%;
	padding-left: 14px;
	color: var(--muted);
	font-size: .48rem;
}

.b2b-row__qty i,
.b2b-row__qty em {
	font-style: normal;
}

.b2b-row__qty em {
	display: none;
	color: var(--success);
}

.b2b-workflow[data-phase="3"] .b2b-row--issue .b2b-row__qty i,
.b2b-workflow[data-phase="4"] .b2b-row--issue .b2b-row__qty i {
	display: none;
}

.b2b-workflow[data-phase="3"] .b2b-row--issue .b2b-row__qty em,
.b2b-workflow[data-phase="4"] .b2b-row--issue .b2b-row__qty em {
	display: inline;
}

.b2b-row__product strong {
	font-size: .7rem;
}

.b2b-row__product small {
	font-size: .53rem;
}

.row-state {
	font-size: .51rem;
}

.b2b-row__rules {
	right: 18px;
	left: calc(25% + 78px);
	bottom: 9px;
}

.b2b-row__rules i {
	font-size: .44rem;
}

.b2b-workflow__inspector {
	position: relative;
	min-height: 530px;
	overflow: hidden;
	background: #fbf8f4;
}

.b2b-workflow__inspector > .workspace-label {
	height: 49px;
	margin: 0;
	padding: 10px 16px;
	border-bottom: 1px solid #e9dfd7;
}

.inspector-panel {
	inset: 49px 0 0;
	padding: 24px 20px;
}

.inspector-panel > strong {
	margin-bottom: 20px;
	font-size: .92rem;
}

.inspector-panel > span {
	min-height: 44px;
	font-size: .68rem;
}

.inspector-panel--validation > p {
	margin: 18px 0 0;
	color: var(--muted);
	font-size: .63rem;
	line-height: 1.55;
}

.inspector-panel--resolve label {
	height: 44px;
}

.resolution-result {
	margin-top: 14px;
	padding: 14px;
}

.resolution-result b {
	font-size: .65rem;
}

.resolution-result small {
	font-size: .5rem;
}

.ready-metrics span {
	padding: 12px;
	font-size: .5rem;
}

.ready-metrics b {
	font-size: 1.05rem;
}

.demo-cart-button {
	margin-top: 17px;
	padding: 13px;
}

.demo-cart-button span {
	font-size: .68rem;
}

.b2b-workflow__cart-line i {
	right: 20px;
	bottom: calc(38px + var(--token) * 90px);
}

@keyframes source-file-arrive {
	from { opacity: 0; transform: translateY(-18px) scale(.97); }
	to { opacity: 1; transform: none; }
}

/* Canonical explanatory sections stay visible independently of optional meta. */
.step-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.step-grid--5 li {
	padding: 26px 22px;
}

.step-grid--5 li::after {
	display: none;
}

.step-grid--5 .step-number {
	margin-bottom: 28px;
}

.source-truth-grid article > p {
	color: var(--muted);
	font-size: .86rem;
	line-height: 1.65;
}

.audience-grid article h3 {
	margin-top: 0;
}

.edition-grid article > span {
	display: inline-flex;
	padding: 7px 10px;
	background: var(--sand-soft);
	border-radius: 999px;
	color: var(--brown-3);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.edition-grid article:nth-child(2) > span {
	background: var(--success-bg);
	color: var(--success);
}

.edition-grid article h3 {
	margin: 22px 0 12px;
}

.edition-grid article p {
	margin: 0;
	color: var(--muted);
	font-size: .88rem;
	line-height: 1.7;
}

/* Product Promise uses one large, persistent calculation workspace. */
.promise-flow {
	width: 100%;
	max-width: 1180px;
	min-height: 610px;
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid rgba(96, 63, 47, .16);
	border-radius: 24px;
	box-shadow: 0 34px 90px rgba(75, 45, 32, .15);
}

.promise-flow__header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 72px;
	padding: 0 24px;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid #e9dfd7;
}

.promise-flow__header > span b {
	font-size: .82rem;
}

.promise-flow__header > strong {
	justify-self: end;
	padding: 7px 10px;
	background: #f3e8d8;
	border-radius: 999px;
	color: #805034;
	font-size: .6rem;
}

.promise-flow__status {
	position: relative;
	min-width: 210px;
	height: 28px;
}

.promise-flow__status em {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: .66rem;
	font-style: normal;
	font-weight: 800;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .25s ease, transform .25s ease;
}

.promise-flow__status em.is-active {
	opacity: 1;
	transform: none;
}

.promise-canvas {
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 16px;
	min-height: 538px;
	padding: 22px 24px 24px;
}

.promise-order,
.promise-calendar,
.promise-capacity {
	padding: 17px;
}

.promise-block-title small,
.promise-equation,
.promise-capacity > p {
	font-size: .54rem;
}

.promise-block-title strong,
.promise-order__line > strong {
	font-size: .72rem;
}

.promise-order__line b {
	font-size: .66rem;
}

.promise-order__line small {
	font-size: .52rem;
}

.calendar-strip span {
	min-height: 48px;
}

.calendar-strip small {
	font-size: .46rem;
}

.calendar-strip b {
	font-size: .64rem;
}

.capacity-legend,
.promise-ledger small,
.promise-result small,
.promise-result em {
	font-size: .5rem;
}

.promise-ledger strong {
	font-size: .64rem;
}

.promise-result {
	min-height: 96px;
}

.promise-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 50px;
}

.promise-detail-grid article {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
}

.promise-detail-grid article > span {
	color: #b49785;
	font-size: .64rem;
	font-weight: 800;
}

.promise-detail-grid h3 {
	margin: 18px 0 10px;
	font-size: 1.1rem;
}

.promise-detail-grid p {
	margin: 0;
	color: var(--muted);
	font-size: .84rem;
	line-height: 1.65;
}

.promise-readiness {
	padding-top: 0;
}

.promise-readiness__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 26px;
	max-width: 960px;
	margin-inline: auto;
	padding: 36px;
	background: #f7efe6;
	border: 1px solid var(--line);
	border-radius: 18px;
}

.promise-readiness__card h2 {
	margin: 0 0 10px;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.promise-readiness__card p {
	margin: 0;
	color: var(--muted);
}

.stock-section .stock-focus {
	margin-bottom: 42px;
}

@media (max-width: 1080px) {
	.b2b-workflow__workspace {
		grid-template-columns: 190px minmax(0, 1fr) 250px;
	}

	.b2b-workflow__thead,
	.b2b-row {
		grid-template-columns: minmax(104px, 1fr) 40px minmax(112px, 1fr) 102px;
		gap: 8px;
	}

	.b2b-row__rules {
		left: 31%;
	}

	.step-grid--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.b2b-workflow__workspace {
		grid-template-columns: 210px minmax(0, 1fr);
	}

	.b2b-workflow__table {
		border-right: 0;
	}

	.b2b-workflow__inspector {
		grid-column: 1 / -1;
		min-height: 330px;
		border-top: 1px solid #e9dfd7;
	}

	.promise-canvas {
		grid-template-columns: minmax(0, 1fr) 260px;
	}

	.promise-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.container,
	.container--workflow {
		width: min(calc(100% - 28px), var(--container));
	}

	.section {
		padding-block: 78px;
	}

	.hero--proof-first {
		padding-block: 34px 52px;
	}

	.hero__content--center h1,
	.product-hero--proof-first .product-hero__content h1 {
		font-size: clamp(2.45rem, 11vw, 3.35rem);
	}

	.hero__content--center .hero__lead,
	.product-hero--proof-first .product-hero__content .hero__lead {
		margin-bottom: 18px;
		font-size: .96rem;
	}

	.hero--home .button-row,
	.product-hero .button-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		align-items: stretch;
		flex-direction: initial;
	}

	.hero--home .button-row .button,
	.product-hero .button-row .button {
		width: auto;
		min-height: 54px;
		padding: 11px 10px;
		font-size: .72rem;
	}

	.product-hero--product-promise .button-row {
		grid-template-columns: minmax(180px, 220px);
	}

	.workflow-intro {
		margin-top: 34px;
	}

	.workflow-intro h2 {
		font-size: 1.78rem;
	}

	.product-hero--proof-first .product-hero__content {
		padding-top: 30px;
	}

	.product-hero--proof-first {
		padding-bottom: 34px;
	}

	.product-proof {
		padding-top: 38px;
	}

	.product-proof .section-heading {
		margin-bottom: 24px;
	}

	.product-proof .section-heading h2 {
		font-size: 1.82rem;
	}

	.product-proof .section-heading > p {
		font-size: .86rem;
	}

	.product-hero__labels,
	.hero-values--center {
		gap: 9px;
	}

	.b2b-workflow,
	.promise-flow {
		border-radius: 17px;
	}

	.b2b-workflow__chrome {
		grid-template-columns: 1fr auto;
		min-height: 64px;
		padding: 8px 12px;
	}

	.b2b-workflow__phase {
		min-width: 132px;
	}

	.b2b-workflow__phase span {
		justify-content: flex-end;
		font-size: .58rem;
	}

	.b2b-workflow__secure {
		display: none;
	}

	.b2b-workflow__brand strong {
		font-size: .7rem;
	}

	.b2b-workflow__brand small {
		display: none;
	}

	.b2b-workflow__workspace {
		grid-template-columns: 1fr;
	}

	.b2b-workflow__source,
	.b2b-workflow__table {
		border-right: 0;
		border-bottom: 1px solid #e9dfd7;
	}

	.b2b-workflow__source {
		padding: 16px 14px 18px;
	}

	.source-drop {
		min-height: 105px;
		padding: 14px;
	}

	.source-drop__icon {
		width: 38px;
		height: 38px;
		margin-bottom: 8px;
	}

	.b2b-workflow__file {
		min-height: 64px;
	}

	.source-meta {
		display: none;
	}

	.b2b-workflow__table {
		padding-top: 16px;
	}

	.b2b-workflow__thead {
		display: none;
	}

	.b2b-row {
		grid-template-columns: minmax(0, 1fr) 42px;
		gap: 8px;
		min-height: 116px;
		padding: 12px 14px 29px;
	}

	.b2b-row__product {
		grid-column: 1;
		grid-row: 2;
	}

	.b2b-row__status {
		grid-column: 2;
		grid-row: 2;
	}

	.b2b-row__rules {
		right: 14px;
		left: 14px;
	}

	.b2b-workflow__inspector {
		grid-column: 1;
		min-height: 350px;
	}

	.inspector-panel {
		padding: 20px 17px;
	}

	.step-grid--5,
	.promise-detail-grid,
	.method-grid,
	.source-truth-grid,
	.edition-grid,
	.audience-grid {
		grid-template-columns: 1fr;
	}

	.audience-grid article {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.audience-grid article:last-child {
		border-bottom: 0;
	}

	.promise-flow__header {
		grid-template-columns: minmax(0, 1fr) auto;
		height: 64px;
		padding: 0 13px;
	}

	.promise-flow__header > span b {
		font-size: .66rem;
	}

	.promise-flow__header > strong {
		font-size: .52rem;
	}

	.promise-flow__status {
		grid-column: 1 / -1;
		grid-row: 2;
		display: none;
	}

	.promise-canvas {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 12px;
	}

	.promise-order,
	.promise-calendar,
	.promise-capacity,
	.promise-ledger,
	.promise-result {
		grid-column: 1;
		grid-row: auto;
	}

	.promise-ledger {
		display: grid;
		grid-template-columns: 1fr;
	}

	.promise-result {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.promise-result__next {
		grid-column: 2;
		margin-top: 8px;
		padding: 8px 0 0;
		border-top: 1px solid #e8ded5;
		border-left: 0;
	}

	.promise-readiness__card {
		grid-template-columns: 1fr;
		padding: 28px 22px;
	}
}

@media (max-width: 400px) {
	.b2b-workflow__brand > i {
		width: 28px;
		height: 28px;
	}

	.b2b-workflow__phase {
		min-width: 116px;
	}

	.b2b-workflow__phase span {
		font-size: .52rem;
	}

	.ready-metrics {
		grid-template-columns: 1fr 1fr;
	}

	.calendar-strip {
		gap: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.b2b-workflow__cart-line,
	.promise-ledger__pulse {
		display: none !important;
	}
}
