/* * { border: 1px solid red; } */

.co-hero {
	background:
		radial-gradient(1000px 500px at 10% -20%, rgba(56, 189, 248, 0.28), transparent 65%),
		radial-gradient(800px 500px at 90% 0%, rgba(147, 51, 234, 0.20), transparent 65%),
		linear-gradient(180deg, #0f172a 0%, #111827 58%, #1f2937 100%);
	color: #f8fafc;
	position: relative;
}

.co-hero .row {
	--bs-gutter-x: 1.5rem;
	margin-left: 0;
	margin-right: 0;
}

.co-hero .row > [class*="col-"] {
	max-width: 100%;
	min-width: 0;
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.co-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: #082f49;
	background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 100%);
}

.co-display {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.02;
	font-size: clamp(2.2rem, 4.8vw, 4rem);
	color: #ffffff;
}

.co-lead {
	margin-bottom: 0;
	color: #cbd5e1;
	font-size: clamp(1.02rem, 2vw, 1.25rem);
	line-height: 1.65;
	max-width: 740px;
}

.co-hero .btn-outline-light {
	border-width: 2px;
	border-color: rgba(248, 250, 252, 0.68);
	color: #f8fafc;
}

.co-hero .btn-outline-light:hover,
.co-hero .btn-outline-light:focus {
	background: #f8fafc;
	color: #0f172a;
}

.co-hero-notes {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.co-hero-notes span {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.34);
	color: #e2e8f0;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.co-hero-panel {
	background: rgba(15, 23, 42, 0.58);
	border: 1px solid rgba(148, 163, 184, 0.30);
	border-radius: 16px;
	padding: 24px;
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 56px rgba(2, 6, 23, 0.36);
}

.co-hero-panel h2 {
	margin-bottom: 12px;
	color: #ffffff;
	font-size: 1.35rem;
}

.co-hero-panel ul {
	margin: 0;
	padding-left: 18px;
	color: #cbd5e1;
}

.co-hero-panel li + li {
	margin-top: 6px;
}

.co-value {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.co-value-card {
	height: 100%;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.co-value-card h3 {
	margin-bottom: 10px;
	font-size: 1.15rem;
	color: #0f172a;
}

.co-value-card p {
	margin-bottom: 0;
	color: #475569;
}

.co-section-title {
	margin-bottom: 8px;
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: #0f172a;
	letter-spacing: -0.02em;
}

.co-section-sub {
	margin-bottom: 0;
	color: #475569;
	font-size: 1.06rem;
}

.co-calculator {
	font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
	background: linear-gradient(165deg, #06080d 0%, #0b0e11 100%);
	color: #e6e9ee;
	border-radius: 14px;
	padding: 20px;
	border: 1px solid #1f2937;
	box-shadow: 0 22px 58px rgba(2, 6, 23, 0.42);
	max-width: 960px;
	margin: 0 auto;
}

.co-calculator__topbar {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.co-calculator__kicker {
	color: #7d8794;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-size: 13px;
}

.co-calculator__type-toggle {
	display: inline-flex;
}

.co-calculator__type-btn {
	font-family: inherit;
	border: 1px solid #2a313a;
	background: transparent;
	color: #7d8794;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 14px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.co-calculator__type-btn:first-child {
	border-radius: 6px 0 0 6px;
}

.co-calculator__type-btn:last-child {
	border-radius: 0 6px 6px 0;
	margin-left: -1px;
}

.co-calculator__type-btn.is-active {
	background: #1f6feb;
	color: #ffffff;
}

.co-calculator__rule {
	height: 1px;
	background: #1c2128;
	margin: 10px 0 16px;
}

.co-contract-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.co-contract-toolbar__meta {
	font-size: 12px;
	color: #9ca3af;
	letter-spacing: 0.02em;
}

.co-contract-toolbar__actions {
	display: inline-flex;
	gap: 8px;
}

.co-contract-note {
	font-size: 11px;
	color: #6b7280;
}

.co-share-panel {
	border: 1px solid #1f2937;
	border-radius: 8px;
	padding: 10px;
	background: #0a1018;
}

.co-share-panel__label {
	font-size: 12px;
	color: #9ca3af;
	margin-bottom: 6px;
}

.co-share-panel__row {
	display: flex;
	gap: 8px;
}

.co-share-panel__row input {
	flex: 1;
	background: #090d13;
	border: 1px solid #2a313a;
	color: #dbe5f0;
	border-radius: 6px;
	padding: 7px 9px;
	font-size: 12px;
}

.co-share-panel__hint {
	margin-top: 6px;
	font-size: 11px;
	color: #8ba1ba;
}

.co-calculator__field {
	display: block;
	min-width: 0;
}

.co-calculator__field-label {
	display: block;
	margin-bottom: 4px;
	color: #7d8794;
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.co-calculator__field-label em {
	font-style: normal;
	color: #6f7886;
	margin-left: 3px;
}

.co-calculator input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	background: #0b0e11;
	border: 1px solid #2a313a;
	color: #e6e9ee;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.co-calculator input[type="date"],
.co-calculator textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	font-family: inherit;
	background: #0b0e11;
	border: 1px solid #2a313a;
	color: #e6e9ee;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 14px;
	outline: none;
}

.co-calculator textarea {
	resize: vertical;
}

.co-calculator input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
}

.co-calculator input[type="text"]:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.co-calculator input[type="text"].co-live {
	background: #242b35;
	border-color: #3a4350;
}

.co-calculator__snapshot {
	border: 1px solid #1c2128;
	border-radius: 8px;
	overflow: hidden;
}

.co-stat {
	padding: 12px 14px;
	border-right: 1px solid #1c2128;
	border-bottom: 1px solid #1c2128;
}

.co-stat:nth-child(2n) {
	border-right: 0;
}

.co-stat:last-child {
	border-right: 0;
	border-bottom: 0;
}

.co-stat__label {
	font-size: 10.5px;
	color: #7d8794;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.co-stat__value {
	font-size: 20px;
	font-weight: 600;
	color: #e6e9ee;
}

.co-stat__sub {
	font-size: 10.5px;
	color: #5a6470;
	margin-top: 2px;
}

.co-calculator__converter-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.co-calculator__link-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	letter-spacing: 0.5px;
	color: #7d8794;
	cursor: pointer;
	text-transform: uppercase;
}

.co-linked-on .co-calculator__link-toggle {
	color: #93c5fd;
}

.co-calculator__link-toggle input {
	accent-color: #1f6feb;
	cursor: pointer;
}

.co-converter-card {
	border: 1px solid #1c2128;
	border-radius: 8px;
	padding: 12px;
	background: #090c11;
}

.co-converter-card__label {
	font-size: 11px;
	color: #7d8794;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.co-converter-card input {
	font-size: 18px;
	margin-bottom: 10px;
}

.co-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	padding: 4px 0;
}

.co-row span:first-child {
	color: #7d8794;
}

.co-row strong {
	font-size: 16px;
	font-weight: 700;
	color: #e6e9ee;
}

.co-positive {
	color: #3fb950;
}

.co-negative {
	color: #f85149;
}

.co-calculator__disclaimer {
	margin: 14px 0 0;
	font-size: 10.5px;
	color: #5a6470;
	line-height: 1.6;
}

.co-contract-aging {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 12px;
	color: #93a0b2;
}

.co-saved-contracts {
	border-top: 1px solid #1f2937;
	padding-top: 14px;
}

.co-saved-contracts__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.co-saved-contracts__head h3 {
	margin: 0;
	font-size: 16px;
	color: #e5e7eb;
}

.co-empty {
	margin: 0;
	font-size: 12px;
	color: #93a0b2;
}

.co-saved-contracts__list {
	display: grid;
	gap: 8px;
}

.co-contract-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	border: 1px solid #1f2937;
	border-radius: 8px;
	padding: 10px;
	background: #0a0d13;
}

.co-contract-row.is-active {
	border-color: #2563eb;
	box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
	background: #0b1320;
}

.co-contract-row__text h4 {
	margin: 0 0 3px;
	color: #f8fafc;
	font-size: 14px;
}

.co-contract-row__text p {
	margin: 0;
	font-size: 12px;
	color: #cbd5e1;
}

.co-contract-row__text small {
	color: #8ea0b4;
}

.co-contract-row__actions {
	display: inline-flex;
	gap: 6px;
}

.co-toast {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	min-width: 220px;
	max-width: 360px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: #e5e7eb;
	background: #111827;
	border: 1px solid #374151;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.co-toast.is-show {
	opacity: 1;
	transform: translateY(0);
}

.co-toast.is-success {
	border-color: #14532d;
	background: #052e16;
}

.co-toast.is-error {
	border-color: #7f1d1d;
	background: #450a0a;
}

.co-confirm {
	position: fixed;
	inset: 0;
	z-index: 70;
}

.co-confirm[hidden] {
	display: none;
}

.co-confirm__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.co-confirm__card {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(94vw, 360px);
	border-radius: 10px;
	border: 1px solid #1f2937;
	background: #0b111a;
	padding: 14px;
}

.co-confirm__card h4 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #f9fafb;
}

.co-confirm__card p {
	margin: 0;
	color: #cbd5e1;
	font-size: 13px;
}

.co-confirm__actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.co-how {
	background: #ffffff;
}

.co-step-card {
	height: 100%;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	padding: 20px;
}

.co-step-index {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
	background: #e2e8f0;
	margin-bottom: 10px;
}

.co-step-card h3 {
	margin-bottom: 8px;
	font-size: 1.12rem;
	color: #0f172a;
}

.co-step-card p {
	margin-bottom: 0;
	color: #475569;
}

.co-faq {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.co-faq-card {
	height: 100%;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	padding: 18px;
}

.co-faq-card h3 {
	font-size: 1.05rem;
	margin-bottom: 8px;
	color: #0f172a;
}

.co-faq-card p {
	margin-bottom: 0;
	color: #475569;
}

.co-final-cta {
	background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
	color: #f8fafc;
}

.co-final-cta h2 {
	color: #ffffff;
}

.co-final-cta .lead {
	color: #cbd5e1;
}

@media (max-width: 991.98px) {
	.co-hero-panel {
		padding: 20px;
	}
}

@media (max-width: 767.98px) {
	.co-hero .row {
		--bs-gutter-x: 1rem;
	}

	.co-hero-notes {
		gap: 8px;
	}

	.co-calculator {
		padding: 16px;
	}

	.co-calculator__topbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.co-contract-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.co-stat,
	.co-stat:nth-child(2n) {
		border-right: 0;
	}
}
