/* Winsmith home page: layout A ("Workshop"). Colors and fonts are tokens; see docs/BRANDING.md. */

:root {
	--ink: #101418;
	--ink-raised: #161B21;
	--card: #1A2027;
	--line: #2A3139;
	--line-soft: #232A31;
	--text: #F3F1EC;
	--text-muted: #C9CDD2;
	--text-faint: #9AA1A9;
	--accent: #FF8A3D;
	--accent-hover: #FFB07A;
	--font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--font-body: 'Work Sans', system-ui, sans-serif;
	--max: 1200px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--ink);
	line-height: 1.55;
}

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

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { background: var(--ink-raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Wordmark: see docs/BRANDING.md */
.wordmark {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 42px;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text);
	text-decoration: none;
}
.wordmark:hover { color: var(--text); }
.wordmark .dot { color: var(--accent); }

/* Header: a full-width bar; on big screens it stays at the top while scrolling. */
.site-header-bar { background: var(--ink); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.site-nav a { color: var(--text-muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* Buttons */
.button {
	display: inline-block;
	background: var(--accent);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	padding: 12px 18px;
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
}
.button:hover { background: var(--accent-hover); color: var(--ink); }
.site-nav .button { color: var(--ink); }
.button-large { font-size: 17px; padding: 16px 26px; }
.button-outline { background: transparent; color: var(--text); border: 2px solid #3A4149; padding: 14px 24px; }
.button-outline:hover { background: transparent; border-color: var(--text-faint); color: var(--text); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.product-lockup { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 30px; }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--text); }
.product-by { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(42px, 6vw, 80px);
	line-height: 0.98;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin: 0; font-size: 20px; color: var(--text-muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { font-size: 15px; color: var(--text-faint); }

/* Example summary card */
.summary-card { flex: 1 1 340px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.summary-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-faint); }
.badge { background: var(--accent); color: var(--ink); font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.summary-title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.summary-fields { display: grid; grid-template-columns: 110px 1fr; row-gap: 10px; margin: 0; font-size: 16px; }
.summary-fields dt { color: var(--text-faint); }
.summary-fields dd { margin: 0; }
.summary-caption { font-size: 13px; color: var(--text-faint); }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.section-narrow { max-width: 900px; }
.section h2, .contact-intro h2 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1;
}
.point-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.point-title { font-weight: 600; font-size: 19px; }
.point-text { color: var(--text-muted); }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-number { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; }
.feature { border-top: 3px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }

.faq { display: flex; flex-direction: column; gap: 22px; }
.faq-item { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.faq-question { font-weight: 600; font-size: 18px; }
.faq-answer { color: var(--text-muted); margin-top: 6px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.contact-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-intro p { margin: 0; color: var(--text-muted); }
.contact-intro .lead { font-size: 18px; }
.contact-form { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-muted); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
	font: inherit;
	font-size: 16px;
	color: var(--text);
	background: var(--ink);
	border: 1px solid #3A4149;
	border-radius: 6px;
	padding: 12px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .cf-turnstile, .contact-form .button { grid-column: 1 / -1; justify-self: start; }
/* The honeypot: off screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--text-faint); }
.site-footer .wordmark { font-size: 26px; }
.footer-links { display: flex; gap: 20px; }

/* Simple text pages (privacy, terms, thanks) */
.text-page { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.text-page h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 0 0 24px; }
.text-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 36px 0 8px; }
.text-page p, .text-page li { color: var(--text-muted); }

/* Big screens: the header bar stays at the top; in-page links land below it. */
@media (min-width: 768px) {
	html { scroll-padding-top: 96px; }
	.site-header-bar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-soft); }
}

/* Phones: one column, full-width buttons of the same size, tighter spacing. */
@media (max-width: 640px) {
	.site-header { padding-top: 16px; padding-bottom: 16px; }
	.wordmark { font-size: 34px; }
	.site-nav { width: 100%; gap: 12px 20px; }
	.site-nav .button { display: none; } /* the hero's "Join the pilot" is right below */
	.button { display: block; width: 100%; text-align: center; }
	.button-large { padding: 16px 20px; }
	.button-outline { padding: 14px 20px; }
	.hero { padding-top: 32px; padding-bottom: 56px; gap: 32px; }
	.hero-actions { flex-direction: column; gap: 12px; }
	.product-name { font-size: 34px; }
	.section, .contact { padding-top: 56px; padding-bottom: 56px; }
	.contact-form .button { justify-self: stretch; }
	.summary-fields { grid-template-columns: 90px 1fr; }
}
