/* ============================================================
   What is ICOLI — "Why insurers choose ICOLI" (Figma 3020:532).
   Taupe-tinted hero + eight numbered editorial sections ruled by
   taupe hairlines. Page-specific styles only; tokens/shared
   chrome live in main.css.
   ============================================================ */

html {
	scroll-behavior: smooth;
}

.wii {
	background: var(--white);
}

/* ============================================================
   Hero (3171:5741) — rgba taupe band, centered Neuton stack,
   wrapped row of navy anchor pills.
   ============================================================ */
.wii-hero {
	background: rgba(199, 186, 178, 0.1);
	padding-top: clamp(130px, 15vw, 212px);
	padding-bottom: clamp(70px, 9vw, 128px);
}
.wii-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(40px, 6vw, 84px);
}
.wii-hero__title {
	font-size: var(--h1);
	color: var(--black);
	max-width: 561px;
}
.wii-hero__sub {
	font-size: clamp(24px, 2.8vw, 40px);
	color: var(--navy);
	max-width: 739px;
}
.wii-hero__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 919px;
}
.wii-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 41px;
	padding: 0 32.8px;
	border-radius: 24.6px;
	background: var(--navy);
	color: var(--white);
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 13.1px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
}
.wii-pill:hover {
	background: #313843;
}

/* ============================================================
   Section scaffolding — number gutter, Neuton title, uppercase
   meta on the right, taupe rule below each section.
   ============================================================ */
.wii-sections {
	padding-top: clamp(24px, 3vw, 40px);
}
.wii-sec {
	border-bottom: 1px solid var(--taupe);
	padding: clamp(20px, 2.5vw, 24px) 0 clamp(44px, 6vw, 88px);
	scroll-margin-top: 32px;
}
.wii-sec__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: clamp(24px, 4vw, 60px);
	align-items: start;
	margin-bottom: clamp(28px, 4vw, 62px);
}
.wii-sec__lead {
	position: relative;
	padding-left: 68px;
}
.wii-sec__num {
	position: absolute;
	left: 0;
	top: clamp(8px, 1.4vw, 18px);
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.07;
}
.wii-sec__title {
	font-size: var(--h2);
	color: var(--black);
	max-width: 526px;
}
.wii-sec__meta {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	padding-top: clamp(6px, 1vw, 14px);
}
.wii-sec__aside {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 4vw, 58px);
	padding-top: clamp(6px, 1vw, 14px);
}
.wii-sec__aside .wii-sec__meta {
	padding-top: 0;
}
.wii-sec__desc {
	max-width: 499px;
}
.wii-sec__body {
	margin-left: 48px;
}

/* ---------- Shared content atoms ---------- */
.wii-body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
	color: var(--black);
}
.wii-card {
	border: 1px solid var(--taupe);
	border-radius: 4px;
	background: var(--white);
	padding: 20px 21px 26px;
}
.wii-card__label {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0 0 clamp(16px, 2.4vw, 34px);
}
.wii-card .wii-body + .wii-body,
.wii-card .wii-body + .wii-ul,
.wii-card .wii-ul + .wii-body {
	margin-top: 19px;
}
.wii-ul {
	margin: 0;
	padding-left: 24px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
}
.wii-ul li + li {
	margin-top: 4px;
}
.wii-ul--plain {
	list-style: none;
	padding-left: 0;
}
.wii-ul--plain li + li {
	margin-top: 19px;
}
.wii-dl {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
}
.wii-dl dt {
	margin: 0;
}
.wii-dl dd {
	margin: 0 0 19px;
}
.wii-dl dd:last-child {
	margin-bottom: 0;
}
.wii-stack p + p {
	margin-top: 19px;
}
.wii-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.wii-footnote {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
	margin-top: clamp(28px, 4vw, 56px);
	max-width: 619px;
}
.wii-footnote--asterisk {
	margin-left: 48px;
	font-size: 14px;
	font-style: italic;
}

/* ============================================================
   01 · Allowable Employee Benefit Obligations (3321:2505)
   ============================================================ */
.wii-obligations {
	display: grid;
	grid-template-columns: 444fr 786fr;
	gap: 32px;
	align-items: start;
}

/* ============================================================
   03 · How it works (3171:5372) — chip rail + centered boxes
   joined by chevron arrows.
   ============================================================ */
.wii-flow {
	display: flex;
	flex-direction: column;
}
.wii-flow__row {
	display: grid;
	grid-template-columns: 171px minmax(0, 1fr);
	align-items: start;
}
.wii-step-chip {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	padding: 10px 15px;
	border: 1px solid var(--olive-text);
	border-radius: 40px;
	background: #f2f3ee;
	color: var(--olive-text);
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}
.wii-step-chip--blank {
	visibility: hidden;
}
.wii-flow__box {
	border: 1px solid var(--taupe);
	border-radius: 4px;
	padding: 22px 24px 26px;
	text-align: center;
}
.wii-flow__box--tint {
	background: rgba(199, 186, 178, 0.2);
}
.wii-flow__box--slim {
	padding: 18px 24px;
}
.wii-flow__t {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.25;
}
.wii-flow__s {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
	margin-top: 9px;
}
.wii-flow__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.wii-flow__arrow {
	display: grid;
	grid-template-columns: 171px minmax(0, 1fr);
	padding: 11px 0;
}
.wii-flow__arrow img {
	grid-column: 2;
	justify-self: center;
	width: 29px;
	height: 9px;
}

/* ============================================================
   04 · Implementation Timeline (3171:5373) — 11-week gantt with
   taupe hairline columns and olive bars.
   ============================================================ */
.wii-gantt {
	--wii-weeks: 11;
}
.wii-gantt__row,
.wii-gantt__axis {
	display: grid;
	grid-template-columns: 90px 151px minmax(0, 335px) minmax(0, 1fr);
	column-gap: 22px;
	align-items: center;
}
.wii-gantt__axis {
	margin-bottom: 10px;
	overflow: hidden;
}
.wii-gantt__weeks {
	grid-column: 4;
	display: grid;
	grid-template-columns: repeat(var(--wii-weeks), minmax(0, 1fr));
}
.wii-gantt__weeks span {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: clamp(9px, 0.84vw, 12px);
	letter-spacing: -0.03em;
	color: var(--green);
	line-height: 1.6;
	white-space: nowrap;
}
.wii-gantt__row {
	border-bottom: 1px solid var(--taupe);
	padding: 25px 0;
}
.wii-gantt__row:first-of-type {
	border-top: 1px solid var(--taupe);
}
.wii-gantt__step {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 12px;
	color: var(--green);
	line-height: 1.6;
	align-self: center;
}
.wii-gantt__owner {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.25;
}
.wii-gantt__label {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.25;
}
.wii-gantt__note {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.15;
	margin-top: 2px;
}
.wii-gantt__track {
	position: relative;
	align-self: stretch;
	margin: -25px 0; /* run the week hairlines through the row padding */
	min-height: 38px;
	/* Week-boundary hairlines, drawn as taupe 1px stripes. */
	background-image: repeating-linear-gradient(
		to right,
		var(--taupe) 0,
		var(--taupe) 1px,
		transparent 1px,
		transparent calc(100% / var(--wii-weeks))
	);
	background-position: right top;
}
.wii-gantt__bar {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 38px;
	background: var(--olive);
	left: calc(var(--s) / var(--wii-weeks) * 100%);
	width: calc((var(--e) - var(--s)) / var(--wii-weeks) * 100%);
}

/* ============================================================
   05 · Mechanics of ICOLI over time (3171:5374)
   ============================================================ */
.wii-mech__chart {
	position: relative;
	height: clamp(320px, 40vw, 516px);
	margin-top: clamp(8px, 2vw, 24px);
}

/* ============================================================
   06 · Accounting treatment (3171:5375) — Stat/GAAP key rows,
   then STAT | GAAP journal columns on a split paper background.
   ============================================================ */
.wii-kv {
	margin: 19px 0 0;
}
.wii-kv__row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
}
.wii-kv__row + .wii-kv__row {
	margin-top: 19px;
}
.wii-kv dt {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
}
.wii-kv dd {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
}
.wii-journal {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(28px, 4.5vw, 55px);
	margin-top: clamp(28px, 3.5vw, 44px);
	padding: clamp(28px, 3.5vw, 40px) 0 clamp(16px, 2vw, 24px);
}
/* Paper wash behind the STAT half, bleeding out to the page edge. */
.wii-journal::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: calc(-1 * clamp(44px, 6vw, 88px)); /* run under the section's bottom padding */
	left: calc(-48px - var(--page-pad));
	width: calc(50% + 48px + var(--page-pad));
	background: var(--paper);
}
.wii-journal__col {
	position: relative;
}
.wii-journal__h {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 clamp(24px, 3.5vw, 56px);
}
.wii-journal__system {
	font-size: 36px;
	color: var(--black);
}
.wii-jtable {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: clamp(32px, 4.5vw, 64px);
}
.wii-jtable:last-child {
	margin-bottom: 0;
}
.wii-jtable th {
	text-align: left;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.25;
	padding: 0 10px 20px 0;
	vertical-align: top;
}
.wii-jtable__event {
	width: 58%;
}
.wii-jtable td {
	border-top: 1px solid var(--taupe);
	padding: 22px 10px 20px 0;
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	vertical-align: top;
}
.wii-jtable__caption {
	font-family: var(--font-body) !important;
	font-size: 12px;
	letter-spacing: 0;
	text-transform: none;
}
.wii-jtable tfoot td {
	font-family: var(--font-body);
	letter-spacing: 0;
	text-transform: none;
	padding-bottom: 0;
}

/* ============================================================
   07 · Consent process (3171:5376)
   ============================================================ */
.wii-consent {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
}
.wii-consent__timeline {
	grid-row: 1 / 3;
}
.wii-consent__steps {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wii-consent__steps li + li {
	margin-top: clamp(24px, 3vw, 40px);
}
.wii-consent__t {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 11px;
}

/* ============================================================
   08 · NAIC regulatory affirmation (3171:5377)
   ============================================================ */
.wii-affirm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
}
.wii-source {
	background: rgba(126, 136, 81, 0.1);
	border-radius: 4px;
	padding: 12px 20px 15px 24px;
	font-family: var(--font-body);
	font-size: 14.5px;
	line-height: 1.15;
	margin-top: 20px;
}
.wii-affirm__cites {
	padding: 20px 21px 0;
}
.wii-cites__label {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.6;
	margin-top: 19px;
}
.wii-cites {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.6;
}
.wii-cites a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.wii-cites a:hover {
	color: #8a6420;   /* 5.4:1 on white — --gold (#c18e3a) is 2.9:1 as text */
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
	.wii-obligations {
		grid-template-columns: 1fr;
	}
	.wii-gantt__row,
	.wii-gantt__axis {
		grid-template-columns: 72px 110px minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 14px;
	}
	.wii-gantt__weeks span {
		font-size: 10px;
		letter-spacing: -0.02em;
	}
}

@media (max-width: 900px) {
	.wii-sec__head {
		grid-template-columns: 1fr;
		row-gap: 16px;
	}
	.wii-sec__lead {
		padding-left: 0;
	}
	.wii-sec__num {
		position: static;
		display: block;
		margin-bottom: 10px;
	}
	.wii-sec__body {
		margin-left: 0;
	}
	.wii-footnote--asterisk {
		margin-left: 0;
	}
	.wii-consent,
	.wii-affirm {
		grid-template-columns: 1fr;
	}
	.wii-consent__timeline {
		grid-row: auto;
	}

	/* Flow: chips stack above their boxes. */
	.wii-flow__row,
	.wii-flow__arrow {
		grid-template-columns: 1fr;
	}
	.wii-step-chip {
		margin-bottom: 10px;
	}
	.wii-step-chip--blank {
		display: none;
	}
	.wii-flow__arrow img {
		grid-column: 1;
	}
	.wii-flow__split {
		grid-template-columns: 1fr;
	}

	/* Gantt: text stacks, the track becomes a slim full-width row. */
	.wii-gantt__axis {
		display: none;
	}
	.wii-gantt__row {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			'step  owner'
			'text  text'
			'track track';
		row-gap: 10px;
		padding: 20px 0;
	}
	.wii-gantt__step  { grid-area: step; }
	.wii-gantt__owner { grid-area: owner; }
	.wii-gantt__text  { grid-area: text; }
	.wii-gantt__track {
		grid-area: track;
		margin: 0;
		min-height: 14px;
	}
	.wii-gantt__bar {
		height: 14px;
	}

	/* Journal: columns stack; the paper wash hugs the STAT column. */
	.wii-journal {
		grid-template-columns: 1fr;
		row-gap: clamp(32px, 6vw, 48px);
		padding-top: 0;
	}
	.wii-journal::before {
		display: none;
	}
	.wii-journal__col--stat {
		background: var(--paper);
		margin: 0 calc(-1 * var(--page-pad));
		padding: 28px var(--page-pad) 32px;
	}

	.wii-mech__chart {
		height: clamp(300px, 90vw, 430px);
	}
}

@media (max-width: 640px) {
	/* Benefit cards drop to one column only on phones */
	.wii-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.wii-pill {
		height: 36px;
		padding: 0 18px;
		font-size: 11px;
	}
	.wii-jtable__event {
		width: 50%;
	}
	.wii-jtable th,
	.wii-jtable td {
		font-size: 11px;
	}
}
