/* Restaurant Enterprise Index — everything scoped under .rei so it can't
   leak onto the rest of the site (which has its own h1-h3, .btn, a{}). */
.rei-page-bg {
	background: #eef1f5;
	padding: 28px 0;
}

.rei {
	--rei-navy: #17365d;
	--rei-navy-deep: #0d223d;
	--rei-blue: #3559d9;
	--rei-blue-soft: #eef2ff;
	--rei-gold: #e6c554;
	--rei-gold-soft: #fff8dc;
	--rei-ink: #1e2938;
	--rei-muted: #657083;
	--rei-line: #dfe5ec;
	--rei-panel: #f6f8fb;
	--rei-white: #ffffff;
	--rei-max: 1180px;
	--rei-shadow: 0 22px 60px rgba(13, 34, 61, .12);
	--rei-radius-xl: 30px;
	--rei-radius-lg: 22px;

	color: var(--rei-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.66;
}

.rei, .rei * {
	box-sizing: border-box;
}

.rei a {
	color: inherit;
	text-decoration: none;
}

.rei button,
.rei input,
.rei select {
	font: inherit;
}

.rei.site-shell {
	width: min(calc(100% - 32px), var(--rei-max));
	margin: 28px auto;
	background: var(--rei-white);
	border-radius: var(--rei-radius-xl);
	overflow: hidden;
	box-shadow: var(--rei-shadow);
}

.rei .section {
	padding: 72px 56px;
}

.rei .section.alt {
	background: var(--rei-panel);
}

.rei .section-head {
	max-width: 820px;
	margin-bottom: 32px;
}

.rei .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--rei-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.rei .eyebrow:before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--rei-gold);
	border-radius: 999px;
}

.rei h1,
.rei h2,
.rei h3 {
	margin: 0;
	letter-spacing: -.03em;
	line-height: 1.12;
}

.rei h1 {
	font-size: clamp(42px, 7vw, 72px);
	max-width: 940px;
}

.rei h2 {
	font-size: clamp(30px, 4vw, 45px);
	margin-bottom: 16px;
}

.rei h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.rei p {
	margin: 0;
}

.rei .lead {
	max-width: 880px;
	margin-top: 22px;
	color: #d8e1ee;
	font-size: 19px;
}

.rei .intro {
	color: var(--rei-muted);
	font-size: 18px;
}

.rei .body-copy {
	color: var(--rei-muted);
	font-size: 16px;
}

.rei .body-copy + .body-copy {
	margin-top: 17px;
}

.rei .inline-link {
	color: var(--rei-blue);
	font-weight: 750;
	border-bottom: 1px solid rgba(53, 89, 217, .28);
}

.rei .hero {
	position: relative;
	padding: 44px 56px 82px;
	color: #fff;
	background:
		radial-gradient(circle at 84% 14%, rgba(53, 89, 217, .30), transparent 28%),
		linear-gradient(135deg, #17365d 0%, #18385f 50%, #102b4c 100%);
	overflow: hidden;
}

.rei .hero:after {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	right: -150px;
	bottom: -180px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow:
		0 0 0 52px rgba(255, 255, 255, .025),
		0 0 0 108px rgba(255, 255, 255, .018);
}

.rei .hero-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 64px;
}

.rei .brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .05em;
}

.rei .brand-mark {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rei-gold);
	box-shadow: 0 0 0 6px rgba(230, 197, 84, .12);
}

.rei .launch {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	color: #dce5f1;
	font-size: 13px;
	background: rgba(255, 255, 255, .05);
}

.rei .hero-content {
	position: relative;
	z-index: 1;
	max-width: 980px;
}

.rei .hero-kicker {
	color: var(--rei-gold);
	font-weight: 800;
	margin-bottom: 12px;
	font-size: 15px;
}

.rei .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.rei .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 800;
	transition: .2s ease;
}

.rei .btn:hover {
	transform: translateY(-1px);
}

.rei .btn-primary {
	background: var(--rei-blue);
	color: #fff;
	box-shadow: 0 12px 26px rgba(53, 89, 217, .28);
}

.rei .btn-secondary {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .06);
}

.rei .what-grid,
.rei .atlas-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 44px;
	align-items: start;
}

.rei .statement {
	padding: 28px;
	background: var(--rei-blue-soft);
	border: 1px solid #dbe2ff;
	border-radius: var(--rei-radius-lg);
}

.rei .statement strong {
	display: block;
	margin-bottom: 10px;
	font-size: 20px;
	color: var(--rei-navy);
}

.rei .statement p {
	color: var(--rei-muted);
}

.rei .lifecycle {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin-top: 36px;
}

.rei .stage {
	min-height: 165px;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid var(--rei-line);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.rei .stage.highlight {
	background: var(--rei-navy);
	color: #fff;
	border-color: var(--rei-navy);
}

.rei .stage-number {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--rei-gold-soft);
	color: #6b5712;
	font-size: 13px;
	font-weight: 800;
}

.rei .highlight .stage-number {
	background: var(--rei-gold);
	color: #2f2a18;
}

.rei .stage-label {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.rei .stage-sub {
	margin-top: 8px;
	color: var(--rei-muted);
	font-size: 12px;
	line-height: 1.45;
}

.rei .highlight .stage-sub {
	color: #d4deec;
}

.rei .stage-arrow {
	position: absolute;
	right: -12px;
	top: 50%;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--rei-line);
	display: grid;
	place-items: center;
	color: var(--rei-blue);
	z-index: 2;
	font-weight: 900;
}

.rei .difference-grid,
.rei .threshold-grid,
.rei .method-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 28px;
}

.rei .difference-card,
.rei .threshold-card,
.rei .method-card {
	padding: 26px;
	border: 1px solid var(--rei-line);
	border-radius: var(--rei-radius-lg);
	background: #fff;
}

.rei .difference-card.enterprise {
	border-top: 4px solid var(--rei-gold);
}

.rei .difference-label {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rei-blue);
}

.rei .difference-card p,
.rei .threshold-card p,
.rei .method-card p {
	color: var(--rei-muted);
}

.rei .note {
	margin-top: 20px;
	padding: 18px 20px;
	border-left: 4px solid var(--rei-gold);
	background: var(--rei-gold-soft);
	color: #5f5426;
	border-radius: 0 14px 14px 0;
	font-size: 14px;
}

.rei .coverage-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 30px;
}

.rei .coverage-card {
	min-height: 205px;
	padding: 24px;
	border: 1px solid var(--rei-line);
	border-radius: var(--rei-radius-lg);
	background: #fff;
}

.rei .coverage-icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	background: var(--rei-gold-soft);
	color: #6d5812;
	font-weight: 900;
}

.rei .coverage-card p {
	color: var(--rei-muted);
	font-size: 14px;
}

/* browse-shell is a plain structural wrapper — its own card border/shadow
   is omitted since rdc-table already renders one (.rdc-table__scroll). */
.rei .browse-shell {
	padding-top: 4px;
}

.rei .hierarchy-wrap {
	max-width: 820px;
	margin: 10px auto 0;
}

.rei .hierarchy-node {
	padding: 18px 22px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: #fff;
	border: 1px solid var(--rei-line);
}

.rei .hierarchy-node.dark {
	background: var(--rei-navy);
	color: #fff;
	border-color: var(--rei-navy);
}

.rei .hierarchy-node.primary {
	background: var(--rei-blue-soft);
	border-color: #d9e0ff;
}

.rei .node-kicker {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--rei-blue);
}

.rei .dark .node-kicker {
	color: #d9e4f1;
}

.rei .node-title {
	font-size: 18px;
	font-weight: 800;
	margin-top: 3px;
}

.rei .node-note {
	font-size: 12px;
	color: var(--rei-muted);
	text-align: right;
}

.rei .dark .node-note {
	color: #d5deea;
}

.rei .hierarchy-line {
	width: 2px;
	height: 34px;
	margin: 0 auto;
	background: var(--rei-line);
}

.rei .audience-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 30px;
}

.rei .audience-card {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--rei-line);
	border-radius: 18px;
	min-height: 150px;
}

.rei .audience-card h3 {
	font-size: 17px;
}

.rei .audience-card p {
	color: var(--rei-muted);
	font-size: 13px;
}

.rei .change-list {
	display: grid;
	gap: 14px;
}

.rei .change-item {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--rei-line);
}

.rei .change-dot {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--rei-gold-soft);
	color: #6d5812;
	font-weight: 900;
	font-size: 12px;
}

.rei .change-item strong {
	display: block;
	margin-bottom: 4px;
}

.rei .change-item span {
	color: var(--rei-muted);
	font-size: 14px;
}

.rei .atlas-panel {
	padding: 30px;
	border-radius: var(--rei-radius-lg);
	background: var(--rei-navy);
	color: #fff;
}

.rei .atlas-stat {
	font-size: 52px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: -.04em;
	color: var(--rei-gold);
	margin-bottom: 10px;
}

.rei .atlas-panel p {
	color: #d4deeb;
}

.rei .faq {
	display: grid;
	gap: 12px;
	margin-top: 30px;
}

.rei details {
	border: 1px solid var(--rei-line);
	border-radius: 16px;
	background: #fff;
	padding: 0 20px;
}

.rei summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 34px 20px 0;
	font-weight: 800;
	position: relative;
}

.rei summary::-webkit-details-marker {
	display: none;
}

.rei summary:after {
	content: "+";
	position: absolute;
	right: 0;
	top: 16px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--rei-blue-soft);
	color: var(--rei-blue);
}

.rei details[open] summary:after {
	content: "\2013";
}

.rei details p {
	padding: 0 0 20px;
	color: var(--rei-muted);
	font-size: 14px;
}

.rei .links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 30px;
}

.rei .link-card {
	padding: 22px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--rei-line);
	transition: .2s ease;
	display: block;
}

.rei .link-card:hover {
	transform: translateY(-2px);
	border-color: #cdd7e5;
	box-shadow: 0 12px 28px rgba(13, 34, 61, .08);
}

.rei .link-card p {
	color: var(--rei-muted);
	font-size: 13px;
	margin-top: 6px;
}

.rei .link-arrow {
	margin-top: 16px;
	color: var(--rei-blue);
	font-weight: 800;
	font-size: 13px;
}

/*
 * A compact bridge between the index table and the explanatory sections:
 * hairlines instead of a tinted band, so it reads as a footnote to the table
 * rather than a section competing with the ones around it.
 */
.rei .data-model {
	padding-top: 34px;
	padding-bottom: 34px;
	border-top: 1px solid var(--rei-line);
	border-bottom: 1px solid var(--rei-line);
}

.rei .data-model__row {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.rei .data-model__icon {
	flex-shrink: 0;
	display: inline-flex;
	color: var(--rei-blue);
}

.rei .data-model__icon svg {
	display: block;
}

/* The icon already carries the eye here, so the gold dash would be noise. */
.rei .data-model .eyebrow:before {
	display: none;
}

.rei .data-model .eyebrow {
	margin-bottom: 8px;
}

.rei .data-model h2 {
	font-size: 21px;
}

.rei .data-model .body-copy {
	margin-top: 10px;
	font-size: 14px;
}

.rei .data-model .link-arrow {
	display: inline-block;
	margin-top: 12px;
}

.rei .cta {
	text-align: center;
	padding: 74px 56px 80px;
	background:
		radial-gradient(circle at 82% 18%, rgba(53, 89, 217, .28), transparent 27%),
		var(--rei-navy-deep);
	color: #fff;
}

.rei .cta h2 {
	max-width: 780px;
	margin: 0 auto 16px;
}

.rei .cta p {
	max-width: 740px;
	margin: 0 auto;
	color: #b8c5d6;
}

.rei .cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.rei .research-note {
	margin-top: 28px;
	font-size: 12px;
	color: #7f8ea2;
}

@media (max-width: 1000px) {
	.rei .what-grid,
	.rei .atlas-grid {
		grid-template-columns: 1fr;
	}

	.rei .lifecycle {
		grid-template-columns: 1fr 1fr;
	}

	.rei .stage:nth-child(2) .stage-arrow,
	.rei .stage:nth-child(4) .stage-arrow {
		display: none;
	}

	.rei .coverage-grid,
	.rei .links-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rei .audience-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.rei.site-shell {
		width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.rei .hero,
	.rei .section,
	.rei .cta {
		padding-left: 24px;
		padding-right: 24px;
	}

	.rei .hero-top {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 46px;
	}

	.rei .data-model__row {
		flex-direction: column;
		gap: 14px;
	}

	.rei .data-model__icon svg {
		width: 40px;
		height: 40px;
	}

	.rei .lifecycle,
	.rei .difference-grid,
	.rei .threshold-grid,
	.rei .coverage-grid,
	.rei .method-grid,
	.rei .links-grid,
	.rei .audience-grid {
		grid-template-columns: 1fr;
	}

	.rei .stage-arrow {
		display: none;
	}

	.rei .hierarchy-node {
		align-items: flex-start;
		flex-direction: column;
	}

	.rei .node-note {
		text-align: left;
	}
}
