/* Marketing pages: /, /how-it-works/, /pricing/, /faq/, /about/. Owner: marketing agent.
   Builds on the tokens and components in /assets/site.css. Mobile-first; no inline styles (CSP).
   Visual idea: the vernacular of a landlord's punch list. Findings look like work-order slips, things to check are
   ruled rows with empty check boxes, in-person items use the amber dashed note, and one slip is clipped to the
   hero photo. Everything else stays quiet. */

:root {
	--teal-edge: #b7e4dc;
	--slip-shadow: 0 1px 2px rgb(15 23 42 / 0.08), 0 22px 44px -18px rgb(15 23 42 / 0.38);
	--radius-media: 12px;
}

/* ---------- Shared ---------- */

.section.m-top {
	padding-top: var(--sp-4);
}

.m-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-2) var(--sp-5);
	margin-bottom: var(--sp-5);
}

.m-head > h2 {
	margin: 0;
}

.m-head__link {
	font-weight: 650;
}

.m-intro {
	max-width: 60ch;
	font-size: var(--fs-lg);
	line-height: 1.5;
}

.m-credit {
	margin: var(--sp-2) 0 0;
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.45;
}

.m-sources {
	margin: var(--sp-4) 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.m-sources a {
	color: var(--ink-2);
}

.m-picture img {
	width: 100%;
	height: auto;
}

@media (max-width: 35.99rem) {
	.hero__actions .btn,
	.closing__actions .btn,
	.page-head__actions .btn {
		width: 100%;
	}
}

/* ---------- Deadline strip ---------- */

.deadline {
	background: var(--teal-50);
	border-bottom: 1px solid var(--teal-edge);
	color: var(--teal-900);
	font-size: var(--fs-sm);
}

.deadline__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.125rem var(--sp-3);
	padding-block: var(--sp-3);
}

.deadline__icon {
	margin-top: 0.125rem;
	color: var(--teal-700);
}

.deadline__text {
	margin: 0;
	font-weight: 600;
}

.deadline__text a {
	color: var(--teal-900);
	font-weight: 700;
}

.deadline__sources {
	grid-column: 2;
	margin: 0;
	color: var(--teal-800);
	font-size: var(--fs-xs);
}

.deadline__sources a {
	color: var(--teal-800);
}

@media (min-width: 64rem) {
	.deadline__bar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
	}

	.deadline__icon {
		margin-top: 0;
	}

	.deadline__sources {
		grid-column: auto;
		text-align: right;
	}
}

/* ---------- Hero ---------- */

.hero {
	padding-block: clamp(1.75rem, 4.5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero__grid {
	display: grid;
	gap: var(--sp-6);
}

.hero__eyebrow {
	margin-bottom: var(--sp-3);
	color: var(--teal-800);
	font-size: var(--fs-sm);
	font-weight: 650;
}

.hero__title {
	max-width: 16ch;
	margin-bottom: var(--sp-4);
	font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.625rem);
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -0.032em;
}

.hero__lead {
	max-width: 36rem;
	color: var(--ink-2);
	font-size: var(--fs-lg);
	line-height: 1.55;
}

.hero__actions {
	margin-top: var(--sp-5);
}

.hero__actions .btn--lg {
	font-size: var(--fs-md);
}

.hero__note {
	max-width: 42ch;
	margin: var(--sp-4) 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.hero__visual {
	position: relative;
	min-width: 0;
}

.hero__photo {
	margin: 0;
}

.hero__photo img {
	border-radius: var(--radius-media);
	background: var(--wash);
}

.hero__credit {
	margin-top: var(--sp-3);
}

/* The slip: a finding card clipped to the photo, with a tab that says where it came from. */
.slip {
	position: relative;
	z-index: 1;
	margin: -2rem var(--sp-3) 0;
}

.slip__label {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
	padding: 0.375rem 0.75rem;
	background: var(--teal-900);
	border-radius: 8px 8px 0 0;
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 650;
}

.slip .finding {
	border-top-left-radius: 0;
	box-shadow: var(--slip-shadow);
}

.slip .finding__title {
	font-size: var(--fs-lg);
}

.slip__ai {
	margin: var(--sp-3) 0 0;
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.45;
}

.slip__link {
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-sm);
	font-weight: 650;
}

@media (min-width: 60rem) {
	.hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: start;
	}

	.hero__copy {
		padding-top: var(--sp-5);
	}

	.slip {
		max-width: 30rem;
		margin: -6rem 0 0 -2.75rem;
	}

	.slip .finding__row {
		grid-template-columns: 7rem 1fr;
	}
}

/* ---------- How it works (3 steps) ---------- */

.steps3 {
	display: grid;
	gap: var(--sp-6) var(--sp-5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps3__img img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	margin-bottom: var(--sp-4);
	border-radius: 10px;
	background: var(--wash);
}

.steps3__title {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: var(--sp-2);
	font-size: var(--fs-lg);
	letter-spacing: 0;
}

.steps3__num {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 1.875rem;
	height: 1.875rem;
	background: var(--teal-700);
	border-radius: 50%;
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.steps3__body {
	max-width: 40ch;
	margin: 0;
}

/* ---------- What it looks for: ruled punch lists ---------- */

.lookfor {
	display: grid;
	gap: var(--sp-6) var(--sp-6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
	margin-top: var(--sp-5);
}

.lookfor__area {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding-bottom: var(--sp-3);
	border-bottom: 2px solid var(--ink);
	font-size: var(--fs-lg);
	letter-spacing: 0;
}

.lookfor__icon {
	color: var(--teal-700);
}

.punch {
	margin: 0;
	padding: 0;
	list-style: none;
}

.punch li {
	position: relative;
	padding: 0.6875rem 0 0.6875rem 1.875rem;
	border-bottom: 1px dashed var(--rule-strong);
	line-height: 1.45;
}

/* An empty check box: something for the owner to look at, not a claim that it is done. */
.punch li::before {
	content: "";
	position: absolute;
	top: 0.9375rem;
	left: 0.125rem;
	width: 1rem;
	height: 1rem;
	background: var(--surface);
	border: 1.5px solid var(--line);
	border-radius: 3px;
}

.punch--lg li {
	padding-block: 0.875rem;
	font-size: var(--fs-md);
}

.punch--lg li::before {
	top: 1.0625rem;
}

.lookfor__note {
	display: flex;
	gap: var(--sp-2);
	max-width: 52rem;
	margin: var(--sp-6) 0 0;
	padding: var(--sp-3) var(--sp-4);
	background: #fffbeb;
	border: 1px dashed #b45309;
	border-radius: var(--radius-control);
	color: #78350f;
}

.lookfor__note .icon {
	margin-top: 0.15rem;
}

/* ---------- Why small items matter ---------- */

.why {
	display: grid;
	gap: var(--sp-6);
}

.why__copy > p {
	max-width: 58ch;
}

.why__copy .why__kicker {
	color: var(--ink);
	font-size: var(--fs-lg);
	font-weight: 650;
}

.why__figure {
	margin: 0;
}

.why__figure img {
	border-radius: var(--radius-media);
	background: var(--wash);
}

@media (min-width: 56rem) {
	.why {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: var(--sp-7);
		align-items: center;
	}
}

/* ---------- Who it is for / what it is not ---------- */

.fit {
	display: grid;
	gap: var(--sp-5);
}

.fit__col > h2 {
	font-size: var(--fs-xl);
}

.fit__col--not {
	padding: var(--sp-5);
	background: var(--wash);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
}

.ticks {
	display: grid;
	gap: var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticks li {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	line-height: 1.5;
}

.ticks .icon {
	margin-top: 0.125rem;
	color: var(--teal-700);
}

.ticks--not .icon {
	color: var(--muted);
}

@media (min-width: 56rem) {
	.fit {
		grid-template-columns: 1fr 1fr;
		gap: var(--sp-6);
		align-items: start;
	}

	.fit__col:first-child {
		padding-top: var(--sp-5);
	}
}

/* ---------- Pilot ---------- */

.pilot {
	display: grid;
	gap: var(--sp-5);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background: var(--teal-50);
	border: 1px solid var(--teal-edge);
	border-radius: 14px;
}

.pilot__copy > h2 {
	color: var(--teal-900);
}

.pilot__copy > p {
	max-width: 52ch;
}

.pilot__copy > :last-child {
	margin-bottom: 0;
}

.pilot__status {
	padding: var(--sp-5);
	background: var(--surface);
	border: 1px solid var(--teal-edge);
	border-radius: var(--radius-card);
}

.pilot__mine {
	margin-bottom: var(--sp-4);
	font-size: var(--fs-sm);
}

.pilot__note {
	margin: var(--sp-3) 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.pilot-meter__text {
	margin-bottom: var(--sp-2);
	color: var(--ink);
	font-size: var(--fs-lg);
	font-weight: 700;
}

.pilot-meter__bar {
	display: block;
	width: 100%;
	height: 0.5rem;
	margin-bottom: var(--sp-4);
	overflow: hidden;
	background: var(--teal-100);
	border: 0;
	border-radius: 999px;
	color: var(--teal-700);
	-webkit-appearance: none;
	appearance: none;
}

.pilot-meter__bar::-webkit-progress-bar {
	background: var(--teal-100);
	border-radius: 999px;
}

.pilot-meter__bar::-webkit-progress-value {
	background: var(--teal-700);
	border-radius: 999px;
}

.pilot-meter__bar::-moz-progress-bar {
	background: var(--teal-700);
	border-radius: 999px;
}

@media (min-width: 56rem) {
	.pilot {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: var(--sp-7);
		align-items: center;
	}
}

/* ---------- Waitlist form ---------- */

.waitlist {
	scroll-margin-top: var(--sp-5);
}

.waitlist__title {
	font-size: var(--fs-lg);
	letter-spacing: 0;
}

.waitlist__body {
	font-size: var(--fs-sm);
}

.waitlist__row {
	display: grid;
	gap: var(--sp-3);
	align-items: end;
}

.waitlist__row > .field {
	margin: 0;
}

.waitlist__status {
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-sm);
}

.waitlist__status[data-tone="error"] {
	color: var(--sev-lt);
	font-weight: 600;
}

.waitlist__done:focus {
	outline: none;
}

.waitlist__done:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* Honeypot: off-screen, out of the tab order and hidden from assistive tech. */
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (min-width: 30rem) {
	.waitlist__row {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}

/* ---------- Closing band ---------- */

.closing {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--teal-900);
	color: #d5f5ef;
}

.closing h2 {
	max-width: 24ch;
	color: #fff;
}

.closing p {
	max-width: 56ch;
	color: #d5f5ef;
	font-size: var(--fs-lg);
}

.closing__actions {
	margin-top: var(--sp-5);
}

.closing :focus-visible {
	outline-color: var(--teal-200);
}

.closing--compact h2 {
	font-size: var(--fs-2xl);
}

.btn--inverse {
	background: #fff;
	color: var(--teal-900);
}

.btn--inverse:hover {
	background: var(--teal-50);
	color: var(--teal-900);
}

.btn--inverse-outline {
	background: transparent;
	border-color: var(--teal-200);
	color: #fff;
}

.btn--inverse-outline:hover {
	background: rgb(255 255 255 / 0.08);
	color: #fff;
}

/* ---------- How it works page ---------- */

.walk {
	margin: var(--sp-6) 0 0;
	padding: 0;
	list-style: none;
}

.walk__step {
	position: relative;
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0 var(--sp-4);
	padding-bottom: var(--sp-6);
	scroll-margin-top: var(--sp-4);
}

/* Dashed thread linking the numbers: the steps happen in this order. */
.walk__step::before {
	content: "";
	position: absolute;
	top: 3rem;
	bottom: 0.5rem;
	left: calc(1.25rem - 1px);
	border-left: 2px dashed var(--rule-strong);
}

.walk__step:last-child::before {
	display: none;
}

.walk__num {
	display: grid;
	grid-row: 1 / span 2;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--teal-700);
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.walk__body {
	grid-column: 2;
}

.walk__body > p {
	max-width: 62ch;
}

.walk__body > :last-child {
	margin-bottom: 0;
}

.walk__title {
	margin-top: 0.3rem;
	font-size: var(--fs-xl);
}

.walk__media {
	grid-column: 2;
	max-width: 34rem;
	margin: var(--sp-4) 0 0;
}

.walk__media img {
	border-radius: 10px;
	background: var(--wash);
}

.tips {
	display: grid;
	gap: 0.375rem;
	margin: var(--sp-3) 0 0;
	padding: 0;
	list-style: none;
}

.tips li {
	position: relative;
	max-width: 62ch;
	padding-left: 1.25rem;
}

.tips li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0.2rem;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--teal-700);
	border-radius: 50%;
}

@media (min-width: 56rem) {
	.walk__step {
		grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 26rem);
		gap: 0 var(--sp-6);
	}

	.walk__step::before {
		top: 3.5rem;
		left: calc(1.5rem - 1px);
	}

	.walk__num {
		width: 3rem;
		height: 3rem;
		font-size: var(--fs-lg);
	}

	.walk__media {
		grid-column: 3;
		grid-row: 1 / span 2;
		margin-top: 0;
	}
}

/* Demo loop */
.loop {
	position: relative;
}

.loop__video {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--wash);
	border-radius: 10px;
}

.loop img {
	border-radius: 10px;
}

.loop__toggle {
	position: absolute;
	right: var(--sp-2);
	bottom: var(--sp-2);
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 2.25rem;
	padding: 0.25rem 0.75rem;
	background: rgb(15 23 42 / 0.8);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font: inherit;
	font-size: var(--fs-sm);
	font-weight: 650;
	cursor: pointer;
}

.loop__toggle:hover {
	background: rgb(15 23 42 / 0.92);
}

.loop__toggle:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--ink);
}

.loop__toggle .icon {
	width: 1.1em;
	height: 1.1em;
}

.byhand {
	display: grid;
	gap: var(--sp-6);
}

.byhand__privacy {
	padding: var(--sp-5);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius-card);
	scroll-margin-top: var(--sp-4);
}

.byhand__privacy > h2 {
	font-size: var(--fs-xl);
}

.byhand__privacy > :last-child {
	margin-bottom: 0;
}

@media (min-width: 56rem) {
	.byhand {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: var(--sp-7);
		align-items: start;
	}
}

/* ---------- Pricing ---------- */

.price {
	display: grid;
	gap: var(--sp-6);
}

.price__points {
	margin: 0;
	border-top: 2px solid var(--ink);
}

.price__point {
	display: grid;
	gap: 0.25rem;
	padding-block: var(--sp-4);
	border-bottom: 1px dashed var(--rule-strong);
}

.price__point dt {
	color: var(--ink);
	font-weight: 700;
}

.price__point dd {
	max-width: 60ch;
	margin: 0;
}

.price__panel {
	display: grid;
	gap: var(--sp-3);
	padding: var(--sp-5);
	background: var(--teal-50);
	border: 1px solid var(--teal-edge);
	border-radius: 14px;
}

.price__open {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--teal-900);
	font-size: var(--fs-lg);
	font-weight: 700;
}

.price__open .icon {
	color: var(--teal-700);
}

.price__free {
	margin: 0 0 var(--sp-2);
}

/* Paid options under the price block (only once billing is active; PricingPlans styles are in billing.css). */
.price-options {
	padding-top: 0;
	scroll-margin-top: var(--sp-5);
}

.price-options > .container > .alert {
	margin-bottom: var(--sp-5);
}

@media (min-width: 40rem) {
	.price__point {
		grid-template-columns: 11rem minmax(0, 1fr);
		gap: var(--sp-5);
	}
}

@media (min-width: 60rem) {
	.price {
		grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr);
		gap: var(--sp-7);
		align-items: start;
	}

	.price__panel {
		position: sticky;
		top: var(--sp-5);
		margin-top: var(--sp-3);
	}
}

/* ---------- FAQ ---------- */

.faqs {
	display: grid;
	gap: var(--sp-5);
}

.faqs__nav-title {
	margin-bottom: var(--sp-2);
	color: var(--muted);
	font-size: var(--fs-sm);
	letter-spacing: 0;
}

.faqs__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.faqs__nav a {
	display: inline-block;
	padding: 0.4375rem 0.875rem;
	background: var(--surface);
	border: 1px solid var(--rule-strong);
	border-radius: 999px;
	color: var(--ink-2);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
}

.faqs__nav a:hover {
	border-color: var(--teal-700);
	color: var(--teal-800);
}

.faqs__topic {
	max-width: 48rem;
	scroll-margin-top: var(--sp-4);
}

.faqs__topic + .faqs__topic {
	margin-top: var(--sp-6);
}

.faqs__topic > h2 {
	margin-bottom: var(--sp-2);
	font-size: var(--fs-xl);
}

.faq-link a {
	font-weight: 650;
}

.faq-sources {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.faq-sources a {
	color: var(--ink-2);
}

.faqs__contact {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	max-width: 48rem;
	margin: var(--sp-6) 0 0;
	padding-top: var(--sp-4);
	border-top: 1px solid var(--rule);
}

.faqs__contact .icon {
	margin-top: 0.2rem;
	color: var(--teal-700);
}

@media (min-width: 60rem) {
	.faqs {
		grid-template-columns: 12rem minmax(0, 1fr);
		gap: var(--sp-7);
		align-items: start;
	}

	.faqs__nav {
		position: sticky;
		top: var(--sp-5);
	}

	.faqs__nav ul {
		flex-direction: column;
		gap: 0;
		border-left: 2px solid var(--rule);
	}

	.faqs__nav a {
		display: block;
		margin-left: -2px;
		padding: 0.5rem 0 0.5rem 0.875rem;
		background: none;
		border: 0;
		border-left: 2px solid transparent;
		border-radius: 0;
	}

	.faqs__nav a:hover {
		border-left-color: var(--teal-700);
	}
}

/* ---------- About ---------- */

.about {
	margin-top: var(--sp-5);
	border-top: 2px solid var(--ink);
}

.about__row {
	display: grid;
	gap: var(--sp-2);
	padding-block: var(--sp-5);
	border-bottom: 1px solid var(--rule);
}

.about__heading {
	margin: 0;
	font-size: var(--fs-lg);
	letter-spacing: 0;
}

.about__body {
	max-width: 62ch;
}

.about__body > :last-child {
	margin-bottom: 0;
}

.about__body .m-sources {
	margin-top: 0;
}

@media (min-width: 52rem) {
	.about__row {
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: var(--sp-6);
	}
}

/* ---------- Print ---------- */

@media print {
	.deadline,
	.closing,
	.loop__toggle,
	.waitlist__form,
	.faqs__nav {
		display: none;
	}
}
