/* ==========================================================================
   devmarketingflow — main stylesheet
   Zero border-radius. No icons. No gradients/shadows/blur. See CLAUDE.md.
   ========================================================================== */

/* ---- Fonts (self-hosted, Latin subset) ---------------------------------- */

@font-face {
	font-family: 'Inter Tight';
	src: url('../fonts/inter-tight-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DM Sans';
	src: url('../fonts/dm-sans-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'JetBrains Mono';
	src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ---- Design tokens -------------------------------------------------------- */

:root {
	--paper:      #0B0B0C;
	--surface:    #131316;
	--surface-2:  #1B1B1F;
	--rule:       rgba(255,255,255,0.09);

	--ink:        #EDEBE6;
	--ink-mute:   #8B8A86;

	--signal:     #E4572E;
	--signal-rgb: 228, 87, 46;
	--signal-dim: rgba(228,87,46,0.14);

	--font-display: 'Inter Tight', Georgia, serif;
	--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--container-max: 1240px;
	--gutter: 24px;

	color-scheme: only dark;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

/* ---- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html, body {
	background-color: #0B0B0C;
	color: #EDEBE6;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.65;
	margin: 0;
	min-height: 100vh;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* Every element on this site is a rectangle. This is the enforcement rule —
   if a future component sets border-radius, it is a bug, not a style. */
*, *::before, *::after { border-radius: 0 !important; }

/* ---- Typography ------------------------------------------------------------ */

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }

h3, h4 {
	font-family: var(--font-body);
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.ee-mono {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	color: var(--ink-mute);
}

.ee-signal-word { color: var(--signal); }

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

.ee-container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ee-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gutter);
}

.ee-full-bleed {
	width: 100%;
}

/* ---- Buttons ------------------------------------------------------------------ */

.btn {
	display: inline-block;
	border: 0;
	padding: 16px 32px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 120ms ease, border-color 120ms ease;
}

.btn--primary {
	background: var(--signal);
	color: var(--paper);
}
.btn--primary:hover,
.btn--primary:focus-visible {
	background: #C8481F;
}

.btn--ghost {
	background: transparent;
	border: 1px solid var(--rule);
	color: var(--ink);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
	border-color: rgba(var(--signal-rgb), 0.4);
}

.ee-text-link {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--rule);
	transition: text-decoration-color 120ms ease;
}
.ee-text-link:hover,
.ee-text-link:focus-visible {
	text-decoration-color: var(--signal);
}

/* ---- Forms ---------------------------------------------------------------------- */

.ee-field {
	margin-bottom: 20px;
}

.ee-field label {
	display: block;
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	color: var(--ink-mute);
	margin-bottom: 8px;
}

.ee-field input,
.ee-field textarea {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--rule);
	color: var(--ink);
	padding: 14px 16px;
	font-size: 16px; /* prevents iOS zoom-on-focus */
	line-height: 1.5;
}

.ee-field input:focus-visible,
.ee-field textarea:focus-visible {
	outline: none;
	border-color: var(--signal);
}

.ee-field textarea { min-height: 120px; resize: vertical; }

.ee-field-error {
	color: var(--signal);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	margin-top: 6px;
}

/* Honeypot — hidden via CSS, not type=hidden, so bots that skip hidden
   inputs but fill visible-looking ones still trip it. */
.ee-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- Frame primitives ------------------------------------------------------------- */

.ee-frame {
	border: 1px solid var(--rule);
	transition: border-color 120ms ease;
	position: relative;
}
.ee-frame:hover,
.ee-frame:focus-within {
	border-color: rgba(var(--signal-rgb), 0.2);
}

.ee-frame img,
.ee-frame video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ee-frame-caption {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	color: var(--ink-mute);
	padding-top: 8px;
}

/* ---- Skip link ---------------------------------------------------------------------- */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--signal);
	color: var(--paper);
	padding: 12px 20px;
	z-index: 9999;
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
}
.skip-link:focus {
	left: var(--gutter);
	top: var(--gutter);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---- Section entry animation (max 2 uses on the page) ------------------------------- */

.ee-rise {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 400ms ease, transform 400ms ease;
}
.ee-rise.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---- Focus, forced-colors, reduced-motion -------------------------------------------- */

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

.ee-slug-line,
.ee-hero,
.btn,
.ee-frame,
header,
nav {
	forced-color-adjust: none;
}

@media (forced-colors: active) {
	.btn--primary {
		border: 2px solid CanvasText;
	}
	.ee-frame {
		border: 1px solid CanvasText;
	}
	:focus-visible {
		outline: 2px solid Highlight;
	}
}

/* ==========================================================================
   Homepage sections
   ========================================================================== */

body { padding-top: 56px; }

/* ---- 00 slug line ---- */

.ee-slug-line {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	background: #020202;
	border-bottom: 1px solid var(--rule);
	z-index: 100;
	display: flex;
	align-items: center;
}

.ee-slug-line-inner {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ee-slug-logotype { white-space: nowrap; }

/* Site name doubles as a home link everywhere it appears (slug bar, footer)
   — keep it looking like plain mono text, not a default underlined link. */
.ee-logotype-link {
	text-decoration: none;
	transition: color 120ms ease;
}
.ee-logotype-link:hover,
.ee-logotype-link:focus-visible {
	color: var(--ink);
}

/* Uploaded logo — resizes to fit whichever context it's in (Settings →
   devmarketingflow → Site logo). Height-constrained, width auto, so any
   source image/aspect ratio drops in without distortion or layout blowout. */
.ee-logotype-img {
	display: block;
	width: auto;
	height: auto;
	max-height: 96px;
	max-width: 480px;
}
.ee-slug-logotype .ee-logotype-img {
	max-height: 66px;
	max-width: 390px;
}

.ee-slug-slots {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.ee-slug-dot { color: var(--signal); font-size: 8px; }

.btn--small { padding: 8px 16px; font-size: 12px; }

@media (max-width: 640px) {
	.ee-slug-slots { display: none; }
}

/* ---- 01 hero ---- */

.ee-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	padding-block: 64px;
}

.ee-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ee-hero-video,
.ee-hero-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ee-hero-scrim {
	position: absolute;
	inset: 0;
	background: var(--paper);
	opacity: 0.55;
}

.ee-hero-tap-play {
	position: absolute;
	bottom: 24px;
	right: 24px;
	z-index: 2;
	background: var(--surface);
	border: 1px solid var(--rule);
	color: var(--ink);
	padding: 10px 18px;
	cursor: pointer;
}

.ee-hero-content {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.ee-hero-content h1 { margin-block: 20px; }

.ee-hero-body { max-width: 52ch; margin-bottom: 32px; }

.ee-hero-form-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	max-width: 420px;
}

.ee-hero-form-wrap .ee-sample-form { width: 100%; max-width: 420px; }

.ee-hero-skip { white-space: nowrap; }

@media (max-width: 640px) {
	.ee-hero { align-items: flex-end; padding-block: 40px; }
}

/* ---- 02 frame wall ---- */

.ee-wall-section { padding-block: 48px; }

.ee-wall-slug { margin-bottom: 20px; }

.ee-wall {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, minmax(180px, 22vw));
	gap: 2px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	padding-inline: var(--gutter);
	cursor: grab;
}
.ee-wall:active { cursor: grabbing; }

.ee-wall-frame {
	grid-row: span 1;
	grid-column: span 1;
	width: 22vw;
	min-width: 220px;
	display: flex;
	flex-direction: column;
}

.ee-wall-span-2x1 { grid-column: span 2; width: calc(44vw + 2px); min-width: 442px; }
.ee-wall-span-1x2 { grid-row: span 2; }
.ee-wall-span-2x2 { grid-column: span 2; grid-row: span 2; width: calc(44vw + 2px); min-width: 442px; }

.ee-frame-media { flex: 1; overflow: hidden; position: relative; }
.ee-frame-media img,
.ee-frame-media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ee-frame-media video { opacity: 0; transition: opacity 120ms ease; }
.ee-wall-frame:hover .ee-frame-media video,
.ee-wall-frame:focus .ee-frame-media video,
.ee-wall-frame.is-expanded .ee-frame-media video { opacity: 1; }

.ee-wall-frame .ee-frame-caption { padding: 8px 4px 0; }

.ee-wall-caption { max-width: 60ch; margin-top: 24px; color: var(--ink-mute); }

@media (max-width: 640px) {
	.ee-wall {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
		overflow: visible;
	}
	.ee-wall-frame,
	.ee-wall-span-2x1,
	.ee-wall-span-1x2,
	.ee-wall-span-2x2 {
		width: auto;
		min-width: 0;
		grid-column: span 1;
		grid-row: span 1;
	}
}

/* ---- 03 the line ---- */

.ee-line-section { padding-block: 96px; }

.ee-line-heading-col { grid-column: 1 / span 5; }
.ee-line-body-col { grid-column: 7 / span 6; }

.ee-timeline { margin-bottom: 32px; }

.ee-timeline-rail {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid var(--rule);
	padding-top: 16px;
	margin-bottom: 16px;
}

.ee-timeline-node { max-width: 110px; }
.ee-timeline-node p { margin-top: 8px; font-size: 14px; }
.ee-timeline-approve { color: var(--signal); }

.ee-timeline-track {
	border-top: 1px dashed var(--rule);
	padding-top: 8px;
	margin-top: 12px;
}
.ee-timeline-track-human { color: var(--ink); }

@media (max-width: 900px) {
	.ee-line-heading-col,
	.ee-line-body-col { grid-column: 1 / -1; }
	.ee-timeline-rail { flex-direction: column; gap: 16px; }
}

/* ---- 04 roulette ---- */

.ee-roulette-section { padding-block: 64px; }

.ee-roulette-heading-col { grid-column: 1 / span 5; }
.ee-roulette-body-col { grid-column: 7 / span 6; }

.ee-fact-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-mono);
	font-size: 13px;
}
.ee-fact-table th,
.ee-fact-table td {
	text-align: left;
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--rule);
}
.ee-fact-table th { color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 400; }
.ee-fact-table-highlight td { color: var(--signal); }

@media (max-width: 900px) {
	.ee-roulette-heading-col,
	.ee-roulette-body-col { grid-column: 1 / -1; }
	.ee-fact-table { font-size: 12px; }
}

/* ---- 05 before/after ---- */

.ee-beforeafter { padding-block: 64px; }

.ee-beforeafter-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.ee-beforeafter-script,
.ee-beforeafter-video {
	padding: 32px var(--gutter);
}
.ee-beforeafter-script { border-right: 1px solid var(--rule); }

.ee-script-text {
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1.8;
	white-space: pre-wrap;
	max-height: 60vh;
	overflow-y: auto;
	color: var(--ink-mute);
}

.ee-scrubber-rail { padding: 16px var(--gutter); border-top: 1px solid var(--rule); }
.ee-scrubber-rail input[type="range"] { width: 100%; accent-color: var(--signal); }

.ee-beforeafter-caption { margin-top: 16px; color: var(--ink-mute); }

@media (max-width: 900px) {
	.ee-beforeafter-grid { grid-template-columns: 1fr; }
	.ee-beforeafter-script { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---- 06 offer ---- */

.ee-offer-section { padding-block: 96px; }

.ee-offer-panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	margin-top: 40px;
}

.ee-offer-panel { padding: 32px; }
.ee-offer-panel:first-child { border-right: 1px solid var(--rule); }

.ee-offer-price {
	font-family: var(--font-display);
	font-size: 2rem;
	margin: 16px 0;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}
.ee-offer-price-founding { color: var(--signal); }
.ee-offer-price-standard { font-size: 1.1rem; color: var(--ink-mute); text-decoration: line-through; }
.ee-offer-save-badge {
	background: var(--signal-dim);
	color: var(--signal);
	padding: 4px 8px;
	font-size: 11px;
}

.ee-offer-urgency-banner {
	color: var(--ink-mute);
	margin-top: 20px;
	padding: 10px 16px;
	border: 1px solid rgba(var(--signal-rgb), 0.3);
	display: inline-block;
}

.ee-offer-list { list-style: none; padding: 0; margin: 0 0 20px; }
.ee-offer-list li {
	padding: 8px 0;
	border-top: 1px solid var(--rule);
}
.ee-offer-list li:first-child { border-top: 0; }

.ee-offer-terms { color: var(--ink-mute); font-size: 14px; margin-bottom: 20px; }

.ee-offer-cta { display: inline-block; }

.ee-offer-founding-note {
	margin-top: 24px;
	color: var(--ink-mute);
	max-width: 60ch;
}

.ee-offer-risk {
	margin-top: 40px;
	max-width: 60ch;
}

.ee-testimonial {
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
	max-width: 60ch;
}
.ee-testimonial p { font-size: 1.1rem; }
.ee-testimonial footer { margin-top: 12px; }

@media (max-width: 700px) {
	.ee-offer-panels { grid-template-columns: 1fr; }
	.ee-offer-panel:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---- 07 founder ---- */

.ee-founder-section { padding-block: 96px; }

.ee-founder-photo-col { grid-column: 1 / span 5; }
.ee-founder-copy-col { grid-column: 7 / span 6; }

.ee-founder-photo { width: 100%; border: 1px solid var(--rule); }

@media (max-width: 900px) {
	.ee-founder-photo-col,
	.ee-founder-copy-col { grid-column: 1 / -1; }
	.ee-founder-photo-col { margin-bottom: 24px; }
}

/* ---- 08 faq ---- */

.ee-faq-section { padding-block: 64px; max-width: 800px; }

.ee-faq-list { border-top: 1px solid var(--rule); margin-top: 32px; }

.ee-faq-item {
	border-bottom: 1px solid var(--rule);
}

.ee-faq-item summary {
	padding: 20px 0;
	cursor: pointer;
	font-weight: 500;
	list-style: none;
	position: relative;
}
.ee-faq-item summary::-webkit-details-marker { display: none; }
.ee-faq-item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 20px;
	color: var(--ink-mute);
	font-family: var(--font-mono);
}
.ee-faq-item[open] summary::after { content: '–'; }

.ee-faq-answer { padding-bottom: 20px; color: var(--ink-mute); max-width: 65ch; }

/* ---- 09 last frame ---- */

.ee-last-section {
	position: relative;
	padding-block: 120px;
	text-align: center;
	overflow: hidden;
}

.ee-last-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.ee-last-scrim {
	position: absolute;
	inset: 0;
	background: var(--paper);
	opacity: 0.72;
	z-index: 0;
}

.ee-last-content { position: relative; z-index: 1; max-width: 560px; }
.ee-last-content h2 { margin-bottom: 20px; }
.ee-last-content .ee-sample-form { text-align: left; margin: 32px 0; }
.ee-last-content .ee-mono { margin-top: 24px; }

/* ---- footer ---- */

.ee-footer { padding-block: 40px; border-top: 1px solid var(--rule); }
.ee-footer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.ee-footer-legal { display: flex; gap: 16px; }
.ee-footer p { margin-top: 4px; }

/* ---- secondary pages ---- */

.ee-legal { max-width: 680px; padding-block: 64px; }
.ee-legal-body h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; margin: 32px 0 12px; }
.ee-legal-body p { max-width: 65ch; }
.ee-legal-body ul { padding-left: 20px; }
.ee-legal-body li { margin-bottom: 8px; }

.ee-confirm-section,
.ee-contact-section {
	max-width: 560px;
	padding-block: 96px;
}
.ee-confirm-section h2,
.ee-contact-section h2 { margin: 16px 0 24px; }
.ee-confirm-shortcut { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--ink-mute); }
.ee-contact-sent { color: var(--signal); }

.ee-404-section { padding-block: 96px; text-align: left; }
.ee-404-frame { max-width: 480px; margin-inline: auto; margin-bottom: 24px; }
.ee-404-copy { color: var(--ink-mute); }

/* ---- notes / blog ---- */

.ee-notes-section { max-width: 720px; padding-block: 64px; }

.ee-notes-list { list-style: none; margin: 32px 0 0; padding: 0; }
.ee-notes-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--rule);
}
.ee-notes-item h3 { font-size: 1.3rem; margin: 8px 0; }
.ee-notes-excerpt { color: var(--ink-mute); max-width: 65ch; }

.ee-notes-pagination { margin-top: 32px; display: flex; gap: 16px; }
.ee-notes-pagination a,
.ee-notes-pagination span { color: var(--ink-mute); }
.ee-notes-pagination .current { color: var(--signal); }

.ee-notes-newsletter { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); max-width: 420px; }
.ee-newsletter-row { display: flex; gap: 8px; margin-top: 8px; }
.ee-newsletter-row input { flex: 1; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); padding: 12px 14px; font-size: 16px; }
.ee-newsletter-row input:focus-visible { outline: none; border-color: var(--signal); }

.ee-single-post { max-width: 68ch; padding-block: 64px; line-height: 1.7; }
.ee-single-post h2 { margin: 12px 0 32px; }
.ee-single-body p { margin-bottom: 1.4em; }
.ee-single-cta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.ee-rise {
		opacity: 1;
		transform: none;
	}
	html {
		scroll-behavior: auto;
	}
}
