/* ================================================================
   Homepage additions on top of styles.css: the connector copy box,
   Luna's list, the example asks. Same idiom as the rest of the site:
   mono labels, hairlines, square corners, muted body, tokens only.
   ================================================================ */

/* Intro line under a flow heading */
.flow-intro {
	font-family: var(--font);
	font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
	line-height: 1.7;
	color: var(--text-muted);
	max-width: 34rem;
	margin: -0.5rem 0 2.5rem;
}

/* What Luna does, as quiet dashed lines */
.twin-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--border);
}

.twin-list li {
	display: flex;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
	font-family: var(--font);
	font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
	color: var(--text);
}

.twin-list li::before {
	content: '—';
	color: var(--text-muted);
}

/* Copyable connector link */
.copy {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
	margin-top: 0.75rem;
	border: 1px solid var(--border);
}

.copy code {
	padding: 0.7rem 1rem;
	font-family: var(--mono);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: var(--text);
	white-space: nowrap;
	overflow-x: auto;
}

.copy-btn {
	flex: none;
	min-width: 4.5rem;
	padding: 0 1rem;
	border: 0;
	border-left: 1px solid var(--border);
	background: var(--text);
	color: var(--background);
	font-family: var(--mono);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.copy-btn:hover {
	opacity: 0.85;
}

.copy-btn:focus-visible {
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

.waitlist-sub a {
	color: inherit;
	text-underline-offset: 3px;
}

/* ================================================================
   001 / ON INTENTIONS: "stop swiping" half. A feed of interchangeable
   bios drifts behind the one card your twin brings back.
   ================================================================ */
:root {
	--luna: #3F8A63;
	--card: #fbfbf7;
	--card-shadow: 0 24px 60px -24px rgba(16, 17, 14, 0.3);
}

[data-theme="dark"] {
	--luna: #7ED4B8;
	--card: #171814;
	--card-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
}

.twin-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 6rem);
	align-items: center;
	margin-bottom: clamp(4rem, 9vw, 7rem);
}

.twin-hero-sub {
	font-family: var(--font);
	font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
	line-height: 1.75;
	color: var(--text-muted);
	max-width: 30rem;
	margin-top: 1.5rem;
}

.twin-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 2rem;
}

.twin-btn {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.1rem;
	font-family: var(--font);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--background);
	background: var(--text);
	border: 1px solid var(--text);
	transition: opacity 0.2s ease;
}

.twin-btn:hover {
	opacity: 0.85;
}

.twin-btn--ghost {
	color: var(--text);
	background: transparent;
	border-color: var(--border);
}

.twin-visual {
	position: relative;
	height: clamp(24rem, 40vw, 32rem);
	display: grid;
	place-items: center;
}

.feed {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
	opacity: 0.8;
}

.feed-col {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	animation: drift 38s linear infinite;
}

.feed-col--slow {
	animation-duration: 52s;
	animation-direction: reverse;
}

.feed-col li {
	padding: 1rem 0.9rem;
	background: var(--surface);
	border: 1px solid var(--border);
	font-family: var(--font);
	font-size: 0.875rem;
	color: var(--text-muted);
}

.feed-col li::before {
	content: '';
	display: block;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.6rem;
	border-radius: 50%;
	background: var(--surface-hover);
}

@keyframes drift {
	from { transform: translateY(0); }
	to { transform: translateY(-50%); }
}

.pick {
	position: relative;
	z-index: 1;
	width: min(100%, 20rem);
	padding: 1.4rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-top: 2px solid var(--luna);
	box-shadow: var(--card-shadow);
}

.pick-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--mono);
	font-size: 0.5625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--luna);
	margin-bottom: 1rem;
}

.pick-dot {
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--luna);
}

.pick-name {
	font-family: var(--font);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--text);
	margin-bottom: 0.75rem;
}

.pick-name span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--text-muted);
}

.pick-why {
	font-family: var(--font);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: 1.1rem;
}

.pick-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
}

.pick-actions span {
	padding: 0.55rem;
	text-align: center;
	font-family: var(--font);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text);
	border: 1px solid var(--border);
}

.pick-actions .pick-yes {
	background: var(--text);
	color: var(--background);
	border-color: var(--text);
}

.pick-example {
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	font-family: var(--mono);
	font-size: 0.5rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
	opacity: 0.7;
}

/* The manifesto half sits under the pitch, split by a hairline */
.twin-manifesto {
	padding-top: clamp(3rem, 7vw, 5rem);
	border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
	.twin-hero {
		grid-template-columns: 1fr;
	}

	.twin-visual {
		height: 22rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.feed-col {
		animation: none;
	}
}

/* ================================================================
   002–004: copy + example mock side by side. The flow piece drops its
   centred layout here so steps, connectors and arrows run down the left.
   ================================================================ */
.flow-split,
.mock-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.flow-split .flow-piece {
	align-items: flex-start;
	margin: 0;
	padding-top: 0;
	max-width: 30rem;
}

.flow-split .flow-heading,
.flow-split .flow-node {
	text-align: left;
	align-items: flex-start;
}

.flow-split .flow-connector {
	align-self: flex-start;
	width: 7px;
}

.flow-split .flow-connector::before,
.flow-split .flow-connector::after {
	left: 3px;
}

.flow-split .flow-intro {
	margin-left: 0;
}

/* Mocks: illustrative only, built from the same hairlines and mono labels */
.mock {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	width: 100%;
	max-width: 26rem;
	justify-self: center;
	padding: 1.4rem;
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: var(--card-shadow);
	text-align: left;
}

.mock-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 0.9rem;
	margin-bottom: 0.3rem;
	border-bottom: 1px solid var(--border);
	font-family: var(--font);
}

.mock-head strong {
	display: block;
	font-weight: 500;
	color: var(--text);
	line-height: 1.2;
}

.mock-head div span {
	font-family: var(--mono);
	font-size: 0.5625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.mock-avatar {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--surface-hover);
	font-family: var(--font);
	font-weight: 500;
	color: var(--text);
}

.mock-note,
.mock-title,
.mock-tool,
.mock-handoff {
	font-family: var(--mono);
	font-size: 0.5625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.mock-note {
	text-align: center;
	margin: 0.2rem 0;
}

.mock-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--luna);
	padding-bottom: 0.9rem;
	margin-bottom: 0.3rem;
	border-bottom: 1px solid var(--border);
}

.mock-title--bar {
	gap: 0.35rem;
	color: var(--text-muted);
}

.mock-title--bar span {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
}

.mock-title--bar span:last-of-type {
	margin-right: 0.5rem;
}

.mock-handoff {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.3rem 0;
}

.mock-handoff::before,
.mock-handoff::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.mock-tool {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	align-self: flex-start;
	padding: 0.4rem 0.6rem;
	border: 1px solid var(--border);
}

.mock-reply {
	font-family: var(--font);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
}

.mock-reply strong {
	font-weight: 500;
}

.mock-prompts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.4rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--border);
}

.mock-prompts li {
	padding: 0.35rem 0.6rem;
	font-family: var(--font);
	font-size: 0.8125rem;
	color: var(--text-muted);
	border: 1px solid var(--border);
}

.bubble {
	max-width: 85%;
	padding: 0.65rem 0.85rem;
	font-family: var(--font);
	font-size: 0.9375rem;
	line-height: 1.5;
	border-radius: 5px;
}

.bubble .who {
	display: block;
	font-family: var(--mono);
	font-size: 0.5625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--luna);
	margin-bottom: 0.25rem;
}

.bubble--twin {
	color: var(--text);
	background: color-mix(in srgb, var(--luna) 9%, var(--card));
	border: 1px solid color-mix(in srgb, var(--luna) 25%, transparent);
}

.bubble--left {
	align-self: flex-start;
}

.bubble--right {
	align-self: flex-end;
}

.bubble--me {
	align-self: flex-end;
	background: var(--text);
	color: var(--background);
}

.mock-split .twin-list {
	margin-top: 1.75rem;
	max-width: 30rem;
}

@media (max-width: 900px) {
	.flow-split,
	.mock-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ================================================================
   001: the two layers (dating + friendship), between pitch and manifesto
   ================================================================ */
.layers {
	margin-bottom: clamp(4rem, 9vw, 7rem);
}

.layers-intro {
	font-family: var(--font);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
}

.layers-intro span {
	color: var(--text-muted);
	font-weight: 400;
}

.layers .steps-grid {
	margin-top: 1.5rem;
}

/* ================================================================
   005: "live" marker inside the section label. Square, like every
   other mark on the page; replaces the rounded pill.
   ================================================================ */
.section-label--live {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	opacity: 1;
}

.section-label--live .live-dot {
	width: 6px;
	height: 6px;
	border-radius: 0;
	background: var(--luna);
	box-shadow: none;
	animation: live-blink 2.4s ease-in-out infinite;
}

@keyframes live-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
	.section-label--live .live-dot {
		animation: none;
	}
}
