/* Geoffrey Gutter Quote Estimator
   Scoped under .gge-wrap; deliberately assertive so it survives arbitrary
   WordPress themes and page builders. */

.gge-wrap {
	--gge-ink: #1d242b;         /* Monument-ish charcoal */
	--gge-paper: #ffffff;
	--gge-zinc: #f1f3f4;        /* Surfmist-ish panel grey */
	--gge-line: #d7dcdf;
	--gge-steel: #2a5d7c;       /* deep steel blue accent */
	--gge-steel-ink: #1d4560;
	--gge-bonus-bg: #eaf6ee;
	--gge-bonus-ink: #1e6b3a;
	--gge-radius: 14px;

	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
	color: var(--gge-ink);
	line-height: 1.45;
	max-width: 880px;
	margin: 0 auto;
}

.gge-wrap *,
.gge-wrap *::before,
.gge-wrap *::after {
	box-sizing: inherit;
	font-family: inherit;
}

.gge-card {
	background: var(--gge-paper);
	border: 1px solid var(--gge-line);
	border-radius: var(--gge-radius);
	padding: 28px;
	box-shadow: 0 10px 30px rgba(29, 36, 43, 0.07);
}

/* ---------- Header ---------- */

.gge-header { margin-bottom: 22px; }

.gge-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gge-steel-ink);
	margin-bottom: 4px;
}

.gge-wrap .gge-heading {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 6px;
	padding: 0;
	color: var(--gge-ink);
	line-height: 1.2;
}

.gge-sub {
	margin: 0;
	font-size: 14px;
	color: #5b6770;
}

/* ---------- Layout ---------- */

.gge-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 700px) {
	.gge-grid { grid-template-columns: 1fr; }
	.gge-card { padding: 20px; }
}

/* ---------- Fields ---------- */

.gge-field { margin-bottom: 20px; }
.gge-field:last-child { margin-bottom: 0; }

.gge-wrap label,
.gge-wrap .gge-label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--gge-ink);
}

/* Profile picker */

.gge-profiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

@media (max-width: 420px) {
	.gge-profiles { grid-template-columns: 1fr; }
}

.gge-wrap .gge-profiles button {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	background: var(--gge-zinc);
	border: 2px solid var(--gge-line);
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	text-align: left;
	color: var(--gge-ink);
	transition: border-color 0.15s ease, background 0.15s ease;
	line-height: 1.3;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.gge-profiles button svg {
	width: 40px;
	height: 20px;
	color: #7a8791;
	transition: color 0.15s ease;
}

.gge-profiles button span {
	font-size: 13px;
	font-weight: 700;
}

.gge-profiles button em {
	font-style: normal;
	font-size: 12px;
	color: #5b6770;
}

.gge-wrap .gge-profiles button:hover { border-color: var(--gge-steel); }

.gge-wrap .gge-profiles button.is-active {
	border-color: var(--gge-steel);
	background: #eef4f8;
}

.gge-profiles button.is-active svg { color: var(--gge-steel); }

/* Inputs */

.gge-input-group {
	display: flex;
	align-items: center;
	background: var(--gge-zinc);
	border: 1px solid var(--gge-line);
	border-radius: 10px;
	padding: 0 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	max-width: 260px;
}

.gge-input-group:focus-within {
	border-color: var(--gge-steel);
	box-shadow: 0 0 0 3px rgba(42, 93, 124, 0.15);
}

.gge-wrap input[type="number"] {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 17px;
	font-weight: 700;
	color: var(--gge-ink);
	padding: 11px 4px;
	margin: 0;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.gge-wrap input::-webkit-outer-spin-button,
.gge-wrap input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.gge-suffix {
	font-size: 14px;
	font-weight: 600;
	color: #5b6770;
	flex: 0 0 auto;
}

.gge-hint {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b7780;
}

/* Stepper */

.gge-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--gge-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--gge-zinc);
}

.gge-stepper:focus-within {
	border-color: var(--gge-steel);
	box-shadow: 0 0 0 3px rgba(42, 93, 124, 0.15);
}

.gge-wrap .gge-stepper button {
	appearance: none;
	border: 0;
	background: transparent;
	font-size: 20px;
	font-weight: 700;
	color: var(--gge-steel-ink);
	width: 44px;
	cursor: pointer;
	line-height: 1;
	box-shadow: none;
	padding: 0;
}

.gge-wrap .gge-stepper button:hover { background: #e4e9ec; }

.gge-stepper input {
	width: 64px;
	text-align: center;
}

/* Checkbox */

.gge-wrap .gge-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin: 0;
}

.gge-wrap .gge-check input[type="checkbox"] {
	appearance: auto;
	-webkit-appearance: checkbox;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--gge-steel);
	cursor: pointer;
	flex: 0 0 auto;
}

/* ---------- Results ---------- */

.gge-results {
	background: var(--gge-ink);
	color: #fff;
	border-radius: 12px;
	padding: 22px;
}

.gge-results-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9fb0bc;
	margin-bottom: 6px;
}

.gge-figure span {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	color: #fff;
	white-space: nowrap;
}

@media (max-width: 380px) {
	.gge-figure span { font-size: 27px; }
}

.gge-figure-note {
	margin: 6px 0 16px;
	font-size: 13px;
	color: #b7c4cd;
}

.gge-bonus {
	background: var(--gge-bonus-bg);
	color: var(--gge-bonus-ink);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.gge-bonus-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--gge-bonus-ink);
	color: #fff;
	border-radius: 999px;
	padding: 3px 10px;
	margin-bottom: 6px;
}

.gge-bonus p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	font-weight: 600;
}

.gge-wrap .gge-includes {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.gge-includes li {
	position: relative;
	padding: 4px 0 4px 24px;
	font-size: 13.5px;
	color: #d4dde3;
}

.gge-includes li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 9px;
	width: 12px;
	height: 7px;
	border-left: 2.5px solid #6fd196;
	border-bottom: 2.5px solid #6fd196;
	transform: rotate(-45deg);
}

/* CTA */

.gge-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gge-wrap .gge-btn {
	display: inline-block;
	font-size: 14.5px;
	font-weight: 700;
	padding: 12px 18px;
	border-radius: 10px;
	text-decoration: none;
	line-height: 1.2;
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	border: 2px solid transparent;
	box-shadow: none;
}

.gge-wrap .gge-btn-primary {
	background: var(--gge-steel);
	color: #fff;
}

.gge-wrap .gge-btn-primary:hover {
	background: var(--gge-steel-ink);
	color: #fff;
}

.gge-wrap .gge-btn-ghost {
	border-color: #46535d;
	color: #fff;
	background: transparent;
}

.gge-wrap .gge-btn-ghost:hover {
	border-color: #fff;
	color: #fff;
}

.gge-wrap a.gge-btn:focus-visible,
.gge-wrap button:focus-visible {
	outline: 3px solid rgba(111, 209, 150, 0.6);
	outline-offset: 2px;
}

/* ---------- Disclaimer ---------- */

.gge-disclaimer {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--gge-line);
	font-size: 12px;
	line-height: 1.55;
	color: #6b7780;
}

@media (prefers-reduced-motion: reduce) {
	.gge-wrap * { transition: none !important; }
}
