/* generic.tech
   Palette comes from the original site: tan, white, near-black. Headings and
   wordmark are Archivo, body is Source Sans 3. The multi-font "generic" strip
   keeps its own faces. Square corners, no shadows, no gradients. */

:root {
	--sand: #D2B48C;
	--sand-rule: #a98c63;
	--ink: #1b1915;
	--ink-soft: #4d4842;
	--white: #ffffff;
	--black: #1a1a1a;
	--black-rule: #3a3a3a;
	--on-black: #ebe7e0;
	--on-black-soft: #b4ada3;
	--head: 'Archivo', system-ui, -apple-system, sans-serif;
	--body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
	--wordmark: 'Archivo', system-ui, -apple-system, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--body);
	font-size: 19px;
	line-height: 1.55;
}

a {
	color: inherit;
}

p {
	margin: 0;
}

h1,
h2,
h3 {
	font-family: var(--head);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}

h1 {
	font-size: clamp(2.4rem, 5.6vw, 4.4rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	margin-bottom: 18px;
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

.wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

ul {
	padding-left: 22px;
	margin: 0;
}

li {
	margin: 6px 0;
}

/* bands */
.band {
	padding: 88px 0;
}

.band-sand {
	background: var(--sand);
	color: var(--ink);
}

.band-black {
	background: var(--black);
	color: var(--on-black);
}

.band-white {
	background: var(--white);
	color: var(--ink);
	border-top: 1px solid #e3ddd3;
}

.band .intro {
	max-width: 640px;
	margin-bottom: 44px;
	font-size: 1.1rem;
}

.band-sand .intro,
.band-white .intro {
	color: var(--ink-soft);
}

.band-black .intro {
	color: var(--on-black-soft);
}

/* top bar */
.top {
	background: var(--white);
	border-bottom: 1px solid #e3ddd3;
}

.top .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
}

.wordmark {
	font-family: var(--wordmark);
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.2rem;
	text-decoration: none;
	color: var(--ink);
}

.wordmark span {
	color: var(--sand-rule);
}

.top nav {
	display: flex;
	gap: 24px;
}

.top nav a {
	text-decoration: none;
	color: var(--ink-soft);
	font-weight: 600;
	font-size: 1rem;
}

.top nav a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* buttons */
.btn {
	display: inline-block;
	font-family: var(--head);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 22px;
	border: 2px solid var(--ink);
	border-radius: 2px;
	text-decoration: none;
	color: var(--ink);
	background: transparent;
	line-height: 1.2;
}

.btn:hover {
	background: rgba(27, 25, 21, 0.08);
}

.btn-fill {
	background: var(--ink);
	color: var(--sand);
}

.btn-fill:hover {
	background: #2b2822;
}

.band-black .btn {
	border-color: var(--sand);
	color: var(--sand);
}

.band-black .btn:hover {
	background: rgba(210, 180, 140, 0.12);
}

.band-black .btn-fill {
	background: var(--sand);
	color: var(--ink);
}

.band-black .btn-fill:hover {
	background: #dcc3a2;
}

.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* hero */
.hero {
	padding: 96px 0 80px;
}

.hero h1 {
	max-width: 880px;
	margin-bottom: 24px;
}

.hero h1 u {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.08em;
}

.hero .lede {
	max-width: 620px;
	font-size: 1.2rem;
	margin-bottom: 32px;
}

/* two and four column text */
.cols-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.cols-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.cols-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.col h3 {
	padding-bottom: 10px;
	border-bottom: 2px solid currentColor;
	margin-bottom: 16px;
}

/* apps listed under each tool category */
.tools {
	row-gap: 40px;
}

.tools .apps {
	font-family: var(--head);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink-soft);
	margin: -6px 0 10px;
}

.band-black .col p,
.band-black .col li {
	color: var(--on-black-soft);
}

.band-black .col h3 {
	color: var(--on-black);
}

/* rows (packages, process) */
.rows {
	border-top: 1px solid var(--black-rule);
}

.row {
	display: grid;
	grid-template-columns: 300px 1fr 200px;
	gap: 40px;
	padding: 40px 0;
	border-bottom: 1px solid var(--black-rule);
	align-items: start;
}

.band-white .rows {
	border-top-color: #e3ddd3;
}

.band-white .row {
	border-bottom-color: #e3ddd3;
}

.band-sand .rows {
	border-top-color: var(--sand-rule);
}

.band-sand .row {
	border-bottom-color: var(--sand-rule);
}

.row .price {
	font-family: var(--head);
	font-weight: 700;
	letter-spacing: -0.03em;
	font-size: 2.4rem;
	line-height: 1;
	margin: 6px 0 8px;
}

.row .price small {
	font-family: var(--body);
	font-weight: 400;
	font-size: 1rem;
	margin-right: 6px;
}

.row .when {
	font-size: 0.95rem;
}

.band-black .row .when {
	color: var(--on-black-soft);
}

.row .tag {
	display: inline-block;
	margin-top: 14px;
	font-weight: 600;
	border-bottom: 2px solid currentColor;
	font-size: 0.95rem;
}

.row .outcome {
	font-size: 1.08rem;
	margin-bottom: 16px;
}

.row .label {
	font-weight: 700;
	margin-bottom: 6px;
}

.band-black .row ul li {
	color: var(--on-black-soft);
}

.row .side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.row .side .btn {
	text-align: center;
}

.row .side p {
	font-size: 0.9rem;
}

.band-black .row .side p {
	color: var(--on-black-soft);
}

/* faq */
.faq {
	max-width: 780px;
}

.faq details {
	border-bottom: 1px solid #e3ddd3;
}

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 0;
	font-family: var(--head);
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary:hover {
	text-decoration: underline;
}

.faq details p {
	padding: 0 0 22px;
	color: var(--ink-soft);
	max-width: 700px;
}

/* generic strip (home) */
.strip {
	padding: 26px 0;
	background: var(--white);
	border-bottom: 1px solid #e3ddd3;
}

.strip .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px 32px;
	flex-wrap: wrap;
}

.strip span {
	font-size: 1.7rem;
	line-height: 1;
	white-space: nowrap;
	color: var(--ink);
}

.strip .f1 {
	font-family: 'Libre Barcode 39 Text', cursive;
	font-size: 2.3rem;
}

.strip .f2 {
	font-family: 'Monofett', cursive;
}

.strip .f3 {
	font-family: 'Wendy One', sans-serif;
}

.strip .f4 {
	font-family: 'Redacted Script', cursive;
}

.strip .f5 {
	font-family: 'Zilla Slab Highlight', cursive;
}

.strip .f6 {
	font-family: 'Libre Barcode 39 Extended Text', cursive;
	font-size: 2.3rem;
}

.strip .f7 {
	font-family: var(--head);
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.5rem;
}

/* footer */
footer {
	padding: 28px 0;
	border-top: 1px solid #e3ddd3;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

footer .wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
}

footer a {
	color: var(--ink-soft);
	margin-left: 18px;
}

@media (max-width: 900px) {
	.row {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.cols-3,
	.cols-4 {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 17px;
	}

	.band {
		padding: 60px 0;
	}

	.hero {
		padding: 64px 0 56px;
	}

	.cols-2,
	.cols-3,
	.cols-4 {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.actions .btn {
		width: 100%;
		text-align: center;
	}

	.top nav a:not(.keep) {
		display: none;
	}

	.strip .wrap {
		justify-content: center;
	}

}

/* intake form (start.html) */
.hero-short {
	padding: 72px 0 60px;
}

.steps-line {
	display: flex;
	gap: 28px;
	font-family: var(--head);
	font-weight: 600;
	font-size: 1rem;
	color: #9b958c;
	margin-bottom: 40px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e3ddd3;
}

.steps-line .step-on {
	color: var(--ink);
	border-bottom: 3px solid var(--ink);
	padding-bottom: 14px;
	margin-bottom: -17px;
}

.form {
	max-width: 760px;
	display: grid;
	gap: 26px;
}

.form label {
	display: grid;
	gap: 8px;
	font-weight: 600;
	font-size: 1rem;
}

.form .opt {
	font-weight: 400;
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.form input[type=text],
.form input[type=email],
.form select,
.form textarea {
	font: inherit;
	font-weight: 400;
	font-size: 1rem;
	color: var(--ink);
	background: #fff;
	border: 2px solid #cfc7ba;
	border-radius: 2px;
	padding: 12px 14px;
	width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--ink);
}

.form textarea {
	resize: vertical;
}

.form fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.form legend {
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 8px;
	padding: 0;
}

.form .choice {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 400;
}

.form .choice input {
	width: 18px;
	height: 18px;
	accent-color: var(--ink);
	margin: 0;
}

.form .checks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
}

.row-2,
.row-3 {
	display: grid;
	gap: 20px;
}

.row-2 {
	grid-template-columns: 1fr 1fr;
}

.row-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.form .invalid input,
.form .invalid select,
.form .invalid textarea {
	border-color: #b3261e;
}

.form fieldset.invalid legend {
	color: #b3261e;
}

.form-error {
	color: #b3261e;
	font-weight: 600;
}

.form .btn {
	cursor: pointer;
}

.form .btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
}

.fine {
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.fine a {
	color: var(--ink);
}

.book-h {
	margin-bottom: 10px;
}

.cal-wrap {
	border: 1px solid #e3ddd3;
	margin: 8px 0 16px;
}

.cal-wrap iframe {
	display: block;
	width: 100%;
	height: 760px;
	border: 0;
}

@media (max-width: 640px) {

	.row-2,
	.row-3 {
		grid-template-columns: 1fr;
	}

	.form .checks {
		grid-template-columns: 1fr 1fr;
	}

	.cal-wrap iframe {
		height: 1000px;
	}
}

/* example projects (examples/) */
.example-note {
	max-width: 720px;
	margin-top: 28px;
	padding: 16px 20px;
	border: 2px solid var(--ink);
	font-size: 1rem;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 40px;
	margin: 40px 0 0;
	max-width: 900px;
}

.facts dt {
	font-weight: 700;
	font-size: 0.95rem;
	padding-bottom: 6px;
	border-bottom: 2px solid currentColor;
	margin-bottom: 8px;
}

.facts dd {
	margin: 0;
}

.prose > * {
	max-width: 700px;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
	margin-top: 14px;
}

.prose h3 {
	margin-top: 36px;
}

.prose h3:first-child {
	margin-top: 0;
}

.run {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.run h3 {
	padding-bottom: 10px;
	border-bottom: 2px solid currentColor;
	margin-bottom: 16px;
}

.run .sent {
	white-space: pre-line;
	background: #faf8f4;
	border: 1px solid #cfc7ba;
	padding: 18px 20px;
	font-size: 0.98rem;
}

.run .reply {
	border: 2px solid var(--ink);
	padding: 20px 22px;
	font-size: 0.98rem;
}

.run .reply p + p,
.run .reply p + ul,
.run .reply ul + p,
.run .reply table + p,
.run .reply p + table {
	margin-top: 12px;
}

.run .reply h4 {
	font-family: var(--head);
	font-size: 1.05rem;
	margin: 22px 0 8px;
}

.run .reply .from {
	font-weight: 700;
}

.run .note {
	margin-top: 12px;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.lines {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.lines th,
.lines td {
	text-align: left;
	padding: 6px 8px 6px 0;
	border-bottom: 1px solid #e3ddd3;
	vertical-align: top;
}

.lines th {
	border-bottom: 2px solid var(--ink);
}

.lines td.n,
.lines th.n {
	text-align: right;
	white-space: nowrap;
}

.lines tr.sum td {
	font-weight: 700;
}

@media (max-width: 900px) {
	.run {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.facts {
		grid-template-columns: 1fr;
	}
}

[hidden] {
	display: none !important;
}
