:root {
	color-scheme: light;
	--bg: #f8f6f2;
	--surface: #ffffff;
	--fg: #18231f;
	--muted: #5e6a65;
	--accent: #1f5c50;
	--accent-ink: #15443b;
	--accent-soft: #e7f0ec;
	--sky: #eef1ec;
	--tint: #f0ede6;
	--border: #e5e1d8;
	--danger: #b42318;
	--radius: 20px;
	--radius-sm: 12px;
	--space: 1rem;
	--shadow: 0 1px 2px rgba(24, 35, 31, 0.04), 0 14px 36px -12px rgba(24, 35, 31, 0.14);
	--shadow-sm: 0 1px 2px rgba(24, 35, 31, 0.04), 0 6px 16px -8px rgba(24, 35, 31, 0.12);
	--font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.shell {
	max-width: 42rem;
	margin: 0 auto;
	padding: calc(var(--space) * 3) var(--space);
}

h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	letter-spacing: -0.02em;
}

.lede {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.hint {
	margin: 0;
	color: var(--muted);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

.btn:hover {
	filter: brightness(1.05);
}

.btn-secondary {
	background: transparent;
	color: var(--fg);
	border-color: var(--border);
}

.card {
	padding: var(--space);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
}

.input,
.select,
.textarea {
	width: 100%;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
	font: inherit;
}

.field {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem;
	margin-bottom: var(--space);
}

.field > label {
	font-size: 0.875rem;
	color: var(--muted);
}

/*
 * 390px-safe, like .grid below. A grid with no column list gets one implicit
 * auto column, and an auto column is never narrower than its widest item's
 * min-content width. One nowrap scrolling strip (days, time slots) anywhere
 * inside an item therefore widened the whole column past the screen: the page
 * scrolled sideways instead of the strip scrolling on its own. minmax(0, 1fr)
 * caps the column at the container; the min-width rule keeps a child from
 * bringing the same floor back if an app redefines the columns. :where() adds
 * no specificity, so a min-width the app sets on a child still wins.
 */
.stack {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space);
}

:where(.field, .stack, .list) > * {
	min-width: 0;
}

.row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/*
 * 390px-safe. An unclamped minmax track overflows a 390px viewport once the
 * shell padding is subtracted, and nothing in the pipeline ever looked at a
 * phone-width layout, so every generated app inherited the horizontal scroll.
 * min() clamps the track to the container instead.
 */
.grid {
	display: grid;
	gap: var(--space);
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

.list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 0.6rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.table th {
	font-size: 0.8125rem;
	color: var(--muted);
	font-weight: 600;
}

.empty {
	padding: calc(var(--space) * 2);
	text-align: center;
	color: var(--muted);
}

.empty-title {
	margin: 0 0 0.25rem;
	color: var(--fg);
	font-weight: 600;
}

/* Loading. Every fetch has one; without a primitive each app invented its own. */
.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: calc(var(--space) * 1.5);
	color: var(--muted);
}

.spinner {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--border);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: fab-spin 0.7s linear infinite;
}

@keyframes fab-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Placeholder for content whose shape is known before its data arrives. */
.skeleton {
	display: block;
	height: 1rem;
	border-radius: calc(var(--radius) / 2);
	background: linear-gradient(90deg, var(--border), transparent, var(--border));
	background-size: 200% 100%;
	animation: fab-shimmer 1.2s linear infinite;
}

@keyframes fab-shimmer {
	to {
		background-position: -200% 0;
	}
}

/* Error strip: a failure the user can see and retry, never a silent no-op. */
.alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-left: 3px solid var(--muted);
	border-radius: var(--radius);
}

.alert-error {
	border-left-color: var(--danger);
	color: var(--danger);
}

.badge {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 0.8125rem;
	color: var(--muted);
}

/*
 * The scaffold had exactly one @media rule (prefers-color-scheme) and no width
 * breakpoint at all, so the shell was a 42rem column at every size.
 * Mobile-first stays the default; these only widen it.
 */
@media (min-width: 48rem) {
	.shell {
		max-width: 52rem;
		padding: calc(var(--space) * 3) calc(var(--space) * 1.5);
	}
}

@media (min-width: 64rem) {
	.shell {
		max-width: 64rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spinner,
	.skeleton {
		animation: none;
	}
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ---------- App ---------- */
body {
	font-size: 1rem;
}

a {
	color: var(--accent);
}

.demo-banner {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 0.3rem 0.75rem;
	background: #18231f;
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(0.66rem, 1.8vw, 0.74rem);
	letter-spacing: 0.01em;
	line-height: 1.35;
	text-align: center;
}

.wrap {
	max-width: 72rem;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.site-head {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.site-head-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 4.25rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--fg);
	text-decoration: none;
	min-width: 0;
}

.brand-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0;
}

.brand-name {
	display: grid;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.1;
}

.brand-name small {
	font-family: var(--font);
	font-weight: 500;
	font-size: 0.78rem;
	color: var(--muted);
}

.head-call {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: none;
	min-height: 44px;
	padding: 0 1rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--fg);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.head-call svg {
	color: var(--accent);
}

.head-call:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow-sm);
}

/* Hero: one photo, a soft overlay, one main button */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(78vh, 40rem);
	overflow: hidden;
	background: #2a2f2c;
	isolation: isolate;
}

.hero-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(14, 22, 19, 0.15) 0%, rgba(14, 22, 19, 0.35) 45%, rgba(14, 22, 19, 0.78) 100%);
}

.hero-inner {
	width: 100%;
	padding-top: 6rem;
	padding-bottom: 3rem;
	color: #fff;
}

.eyebrow {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.eyebrow-dark {
	color: var(--accent);
	margin-bottom: 0.6rem;
}

.hero h1 {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2.5rem, 8vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 0 0 1rem;
	max-width: 13ch;
}

.hero-lede {
	margin: 0 0 2rem;
	font-size: clamp(1.05rem, 2.4vw, 1.25rem);
	color: rgba(255, 255, 255, 0.9);
	max-width: 32rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.hero-call {
	color: #fff;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 4px;
	font-variant-numeric: tabular-nums;
}

.hero-call:hover {
	text-decoration-color: #fff;
}

/* Sections */
.section {
	padding: 4.5rem 0;
}

.section-tint {
	background: var(--tint);
}

.section-head {
	margin-bottom: 2.25rem;
	max-width: 36rem;
}

.section-head-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-head h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(1.9rem, 5vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.section-sub {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.card-tile {
	padding: 1.75rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s, box-shadow 0.2s;
}

.card-tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.card-tile h3,
.green-note h3,
.how h3 {
	margin: 0 0 0.3rem;
	font-size: 1.15rem;
	font-weight: 600;
}

.card-tile p,
.green-note p,
.how p {
	margin: 0;
	color: var(--muted);
}

.tile-icon {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.25rem;
	border-radius: 14px;
	background: var(--accent-soft);
	color: var(--accent);
}

.green-note {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin-top: 1rem;
	padding: 1.5rem 1.75rem;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
}

.green-note p {
	color: rgba(255, 255, 255, 0.82);
}

.tile-icon-light {
	flex: none;
	margin: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.how {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.how li {
	padding: 1.75rem;
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.how-num {
	display: inline-grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--fg);
	color: #fff;
	font-family: var(--display);
	font-weight: 600;
}

.estimate-wrap {
	max-width: 44rem;
	scroll-margin-top: 3rem;
}

#estimate {
	scroll-margin-top: 2rem;
}

.talk {
	margin: 1.5rem 0 0;
	text-align: center;
	color: var(--muted);
}

.talk a {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Estimate card */
.form-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.25rem;
	scroll-margin-top: 3.5rem;
}

.progress {
	margin-bottom: 0.5rem;
}

.progress-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	padding: 0;
	list-style: none;
}

.progress-steps li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 500;
}

.progress-dot {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	font-size: 0.78rem;
	font-weight: 700;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.progress-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.progress-steps .is-current {
	color: var(--fg);
	font-weight: 600;
}

.progress-steps .is-current .progress-dot {
	background: var(--fg);
	border-color: var(--fg);
	color: #fff;
}

.progress-steps .is-done .progress-dot {
	background: var(--accent-soft);
	border-color: var(--accent-soft);
	color: var(--accent);
}

.progress-bar {
	height: 4px;
	border-radius: 999px;
	background: var(--tint);
	overflow: hidden;
}

.progress-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--accent);
	transition: width 0.35s ease;
}

.step {
	animation: step-in 0.3s ease both;
}

@keyframes step-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.group {
	border: 0;
	margin: 0;
	padding: 1.4rem 0 0.4rem;
	min-width: 0;
}

.group legend {
	padding: 0;
	margin-bottom: 0.85rem;
	font-weight: 600;
	font-size: 1.1rem;
}

.options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem;
}

.option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 54px;
	padding: 0 1rem;
	cursor: pointer;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-weight: 500;
	transition: border-color 0.15s, background-color 0.15s;
}

.option::before {
	content: "";
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	border: 1.5px solid var(--muted);
	background: var(--surface);
	transition: border 0.15s;
}

.option:hover {
	border-color: var(--accent);
}

.option.is-on {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.option.is-on::before {
	border: 5px solid var(--accent);
}

.option:has(input:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.opt {
	margin-left: 0.25rem;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.82rem;
}

.form-nav {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}

.btn-next {
	flex: 1;
}

.btn-ghost {
	background: transparent;
	color: var(--fg);
	border-color: var(--border);
	min-height: 54px;
	padding: 0 1.25rem;
}

.btn-ghost:hover {
	border-color: var(--fg);
	filter: none;
}

.group-hint {
	margin: -0.4rem 0 0.75rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.group input[type="radio"],
.group input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.seg-opt,
.chip,
.day,
.level,
.green {
	position: relative;
	cursor: pointer;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	transition: border-color 0.15s, background-color 0.15s;
}

.seg-opt {
	display: grid;
	place-items: center;
	min-height: 52px;
	font-weight: 600;
	font-size: 1.05rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.9rem;
	font-weight: 500;
}

.levels {
	display: grid;
	gap: 0.5rem;
}

.level {
	display: grid;
	gap: 0.1rem;
	padding: 0.8rem 0.95rem;
}

.level span,
.green small {
	color: var(--muted);
	font-size: 0.9rem;
}

.green {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
	padding: 0.8rem 0.95rem;
}

.green span {
	display: grid;
}

.green::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 1.5px solid var(--muted);
	border-radius: 4px;
	background: var(--surface) center / 0.85rem no-repeat;
}

.green.is-on::before {
	border-color: var(--accent);
	background-color: var(--accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}

.days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.35rem;
}

.day {
	display: grid;
	place-items: center;
	min-height: 48px;
	font-weight: 600;
	font-size: 0.9rem;
}

.seg-opt:hover,
.chip:hover,
.day:hover,
.level:hover,
.green:hover {
	border-color: var(--accent);
}

.is-on.seg-opt,
.is-on.chip,
.is-on.day,
.is-on.level,
.is-on.green {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.is-on.seg-opt,
.is-on.day {
	background: var(--accent);
	color: #fff;
}

.seg-opt:has(input:focus-visible),
.chip:has(input:focus-visible),
.day:has(input:focus-visible),
.level:has(input:focus-visible),
.green:has(input:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 0.75rem;
}

.field > label {
	font-weight: 600;
	color: var(--fg);
}

.input,
.select,
.textarea {
	min-height: 46px;
	border-width: 1.5px;
	border-radius: var(--radius-sm);
	font-size: 1rem;
}

.textarea {
	resize: vertical;
}

.btn {
	justify-content: center;
	min-height: 44px;
	padding: 0 1.25rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
	filter: none;
	background: var(--accent-ink);
	box-shadow: 0 8px 20px -8px rgba(31, 92, 80, 0.6);
}

.btn-primary:active {
	transform: translateY(1px);
}

.btn-lg {
	padding: 0 2rem;
}

.btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

.btn-primary {
	min-height: 54px;
	font-size: 1.08rem;
}

.btn-block {
	display: flex;
	width: 100%;
	margin-top: 0.5rem;
}

.fine {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

.done {
	text-align: center;
	padding: 2.5rem 1.25rem;
	scroll-margin-top: 3rem;
}

.done h2 {
	font-family: var(--display);
	font-size: 1.9rem;
	margin: 0.75rem 0 0.5rem;
	scroll-margin-top: 4rem;
}

.done p {
	color: var(--muted);
	max-width: 30rem;
	margin: 0 auto 1.5rem;
}

.done-mark {
	display: inline-grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
}

/* Footer */
.site-foot {
	background: var(--fg);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
}

.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	padding-top: 3.5rem;
	padding-bottom: 2.5rem;
}

.foot-brand {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.foot-brand p {
	margin: 0;
	line-height: 1.5;
}

.foot-brand strong {
	color: #fff;
	font-family: var(--display);
	font-weight: 500;
	font-size: 1.15rem;
}

.foot-brand .brand-mark {
	background: rgba(255, 255, 255, 0.1);
}

.foot-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
	margin: 0;
}

.foot-info dt {
	margin-bottom: 0.3rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.foot-info dd {
	margin: 0;
	color: #fff;
}

.site-foot a {
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.foot-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 1.25rem;
	padding-bottom: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}

.site-foot .foot-owner {
	color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 40rem) {
	.fields {
		grid-template-columns: 1fr 1fr;
	}
	.field-wide {
		grid-column: 1 / -1;
	}
	.levels,
	.cards,
	.how {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.options {
		grid-template-columns: 1fr 1fr;
	}
	.form-card {
		padding: 2.25rem;
	}
	.section {
		padding: 6rem 0;
	}
}

@media (min-width: 56rem) {
	.wrap {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.hero-inner {
		padding-bottom: 5rem;
	}
	.foot-grid {
		grid-template-columns: 1fr 1.6fr;
	}
	.foot-info {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.head-call span {
		font-size: 0.88rem;
	}
	.brand-name {
		font-size: 1rem;
	}
	.brand-name small {
		font-size: 0.72rem;
	}
	.head-call {
		padding: 0 0.75rem;
	}
	.progress-name {
		font-size: 0.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.step,
	.progress-bar span,
	.card-tile {
		animation: none;
		transition: none;
	}
}

/* ---------- Owner ---------- */
.owner-shell {
	max-width: 30rem;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.owner-wide {
	max-width: 56rem;
}

.owner-h1 {
	font-family: var(--display);
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	letter-spacing: -0.02em;
	margin: 0.25rem 0 0.5rem;
}

.owner-login .hint {
	margin-bottom: 1rem;
}

.back {
	display: inline-block;
	margin-bottom: 0.75rem;
	font-weight: 500;
	text-decoration: none;
}

.owner-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.filter {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0 0.8rem;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--fg);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.filter.is-on {
	background: var(--fg);
	border-color: var(--fg);
	color: #fff;
}

.count {
	font-variant-numeric: tabular-nums;
	opacity: 0.7;
	font-weight: 500;
}

.req-list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.req {
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
	padding: 1rem 1.1rem;
	min-width: 0;
}

.req-contacted { border-left-color: #b7791f; }
.req-scheduled { border-left-color: #2b6cb0; }
.req-done { border-left-color: #9aaab0; }

.req-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
}

.req-head h2 {
	margin: 0;
	font-size: 1.15rem;
}

.req-when {
	margin: 0.1rem 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.status {
	flex: none;
	padding: 0.15rem 0.55rem;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--accent-soft);
	color: var(--accent-ink);
}

.status-contacted { background: #fbefd9; color: #7a4d0b; }
.status-scheduled { background: #e1ecf8; color: #1e4e80; }
.status-done { background: #edf1f2; color: #4f6670; }

.req-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0.6rem 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.req-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	gap: 0.5rem 1rem;
	margin: 0;
}

.req-facts dt {
	font-size: 0.78rem;
	color: var(--muted);
	font-weight: 600;
}

.req-facts dd {
	margin: 0;
}

.req-notes {
	margin: 0.75rem 0 0;
	padding: 0.6rem 0.75rem;
	background: var(--bg);
	border-radius: var(--radius-sm);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.req-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.9rem;
}

.mark {
	min-height: 40px;
	padding: 0 0.8rem;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--fg);
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.mark:hover {
	border-color: var(--accent);
}

.mark.is-on {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
