/* Tonight — rhinebird.com/tonight/
   Lights down. The palette comes from the app icon: a dusty indigo room, a
   warm amber lamp, an oxblood stage lit from above. The app's own green
   (#1b7f49) appears only where the app's UI appears, plus one small echo in
   the trust icons so the screenshots read as belonging here.
   Strict CSP: every style lives in this file; nothing inline. */

/* ---------- Tokens ---------- */

:root {
	--room: #17151e;
	--room-2: #1e1b27;
	--room-3: #26232f;
	--room-edge: #393642;
	--line: rgba(254, 230, 170, 0.12);
	--line-strong: rgba(254, 230, 170, 0.22);
	--ink: #f3eff7;
	--ink-2: #b8b2c6;
	--ink-3: #8b859b;
	--lamp: #fee6aa;
	--lamp-2: #f2c66c;
	--stage: #672721;
	--stage-glow: rgba(255, 150, 70, 0.28);
	--green: #1b7f49;
	--green-2: #34b46c;
	--sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--wrap: 1120px;
	--gutter: clamp(20px, 5vw, 48px);
	--radius: 20px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background-color: var(--room);
	background-image:
		radial-gradient(120% 60% at 50% -10%, rgba(254, 230, 170, 0.08), transparent 60%),
		linear-gradient(180deg, var(--room-2) 0%, var(--room) 40%, #121017 100%);
	background-attachment: scroll;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--lamp);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: #fff3d1;
}

:focus-visible {
	outline: 2px solid var(--lamp);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0;
	text-wrap: balance;
}

h1 em,
h2 em,
h3 em,
.serif {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--lamp);
}

p {
	margin: 0;
}

.wrap {
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.wrap--narrow {
	width: min(720px, 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lamp-2);
}

.lede {
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	color: var(--ink-2);
	max-width: 56ch;
	text-wrap: pretty;
}

.section {
	padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-head {
	display: grid;
	gap: 1rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	max-width: 18ch;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--lamp);
	color: var(--room);
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(23, 21, 30, 0.72);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 64px;
	flex-wrap: wrap;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: -0.02em;
}

.brand-icon {
	width: 28px;
	height: 28px;
	border-radius: 22.4%;
	box-shadow: 0 0 0 1px rgba(254, 230, 170, 0.18);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	font-size: 0.95rem;
}

.site-nav a {
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

.site-nav a:hover {
	color: var(--ink);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	color: var(--lamp);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

.pill::before,
.promise::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lamp);
	box-shadow: 0 0 10px 2px rgba(254, 230, 170, 0.55);
	flex: none;
}

.nav-toggle {
	display: none;
	appearance: none;
	background: transparent;
	border: 1px solid var(--line-strong);
	color: var(--ink);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	cursor: pointer;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
	display: grid;
	gap: 1.5rem;
	max-width: 36rem;
}

.hero h1 {
	font-size: clamp(2.75rem, 6.2vw, 5rem);
	line-height: 1.02;
}

.hero .lede {
	max-width: 46ch;
}

.hero-cta {
	display: grid;
	gap: 0.85rem;
	justify-items: start;
	margin-top: 0.5rem;
}

/* The "Coming soon" promise. Deliberately not a link: the app is not on the
   App Store yet and a button that goes nowhere is worse than an honest sign. */
.promise {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 1.35rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: linear-gradient(180deg, rgba(254, 230, 170, 0.1), rgba(254, 230, 170, 0.03));
	color: var(--lamp);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.005em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promise strong {
	font-weight: 600;
}

.hero-meta {
	font-size: 0.9rem;
	color: var(--ink-3);
}

.hero-meta span + span::before {
	content: "·";
	margin-inline: 0.5rem;
	color: var(--ink-3);
}

/* The lamp: one cone of warm light falling on the device from above, and the
   lit stage beneath it, both drawn from the icon. */
.hero-stage {
	position: relative;
	display: grid;
	place-items: center;
	padding-block: 3.5rem 2rem;
	isolation: isolate;
	background: radial-gradient(
		ellipse 60% 55% at 50% 0%,
		rgba(254, 230, 170, 0.16),
		rgba(254, 230, 170, 0.04) 50%,
		transparent 75%
	);
}

/* The beam: a hard-edged cone, as in the icon, kept faint. */
.hero-stage::before {
	content: "";
	position: absolute;
	inset: 0.5rem 0 0;
	z-index: -1;
	clip-path: polygon(40% 0, 60% 0, 104% 100%, -4% 100%);
	background: linear-gradient(
		180deg,
		rgba(254, 230, 170, 0.18),
		rgba(254, 230, 170, 0.05) 55%,
		rgba(254, 230, 170, 0) 100%
	);
	pointer-events: none;
}

/* The lamp mouth, seen from below. */
.lamp {
	position: absolute;
	top: 1.1rem;
	left: 50%;
	width: 128px;
	height: 20px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, #fff7dc, var(--lamp) 40%, var(--lamp-2) 80%);
	box-shadow:
		0 0 24px 6px rgba(254, 230, 170, 0.45),
		0 0 90px 30px rgba(254, 230, 170, 0.14);
	pointer-events: none;
}

.hero-stage::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: -1;
	width: 80%;
	height: 90px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(255, 140, 60, 0.45), transparent 70%);
	filter: blur(14px);
	pointer-events: none;
}

/* ---------- Device frames ---------- */

.device {
	margin: 0;
	position: relative;
	background: #0d0c12;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.14),
		inset 0 0 0 3px #1b1a21,
		0 40px 90px -20px rgba(0, 0, 0, 0.75),
		0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.device img {
	width: 100%;
	background: #000;
}

.device--phone {
	width: min(300px, 100%);
	padding: 11px;
	border-radius: 54px;
}

.device--phone img {
	border-radius: 44px;
}

/* Side buttons */
.device--phone::before,
.device--phone::after {
	content: "";
	position: absolute;
	width: 3px;
	background: #26242e;
	border-radius: 2px;
}

.device--phone::before {
	left: -3px;
	top: 19%;
	height: 13%;
	box-shadow: 0 22% 0 0 #26242e;
}

.device--phone::after {
	right: -3px;
	top: 24%;
	height: 16%;
}

.device--pad {
	width: min(760px, 100%);
	padding: 16px;
	border-radius: 34px;
}

.device--pad img {
	border-radius: 18px;
}

.device-caption {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	color: var(--ink-3);
	text-align: center;
}

/* A pair of phones, the second standing a little behind */
.device-pair {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	width: min(560px, 100%);
	margin-inline: auto;
}

.device-pair .device--phone {
	width: 100%;
}

.device-pair .device--phone:last-child {
	transform: translateY(-1.5rem);
}

/* ---------- Trust strip ---------- */

.trust {
	border-block: 1px solid var(--line);
	background: rgba(254, 230, 170, 0.025);
}

.trust-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.trust-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.trust-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--green);
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 1px rgba(52, 180, 108, 0.35);
	flex: none;
}

.trust-icon svg {
	width: 20px;
	height: 20px;
}

.trust-item h3 {
	font-size: 1.05rem;
	margin-bottom: 0.25rem;
}

.trust-item p {
	font-size: 0.95rem;
	color: var(--ink-2);
}

/* ---------- Feature chapters ---------- */

.chapters {
	display: grid;
	gap: clamp(4rem, 8vw, 7rem);
}

.chapter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.chapter:nth-child(even) .chapter-visual {
	order: -1;
}

.chapter-text {
	display: grid;
	gap: 1rem;
	max-width: 30rem;
}

.chapter-num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.5rem;
	color: var(--lamp-2);
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.chapter-num::after {
	content: "";
	height: 1px;
	width: 2.5rem;
	background: var(--line-strong);
}

.chapter h3 {
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.chapter-text p:not(.chapter-num) {
	color: var(--ink-2);
	font-size: 1.0625rem;
	text-wrap: pretty;
}

.chapter-visual {
	display: grid;
	place-items: center;
	position: relative;
}

.chapter-visual .device--phone {
	width: min(280px, 100%);
}

/* A phone shown only from the top: the container clips it at roughly 60% of
   the screen and fades into the page, so the device reads as continuing
   below. The image itself is untouched: real width/height, no object-fit. */
.device-clip {
	width: min(360px, 100%);
	padding-inline: 40px;
	aspect-ratio: 360 / 400;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.device-clip .device--phone {
	width: 100%;
}

/* Chapters that have no screenshot get a small lit stage instead: the icon's
   idea, a glyph under a lamp. Abstract on purpose; nothing is mocked up. */
.stage {
	position: relative;
	width: min(420px, 100%);
	aspect-ratio: 4 / 3.4;
	max-width: 100%;
	border-radius: var(--radius);
	background:
		radial-gradient(50% 45% at 50% 0%, rgba(254, 230, 170, 0.22), transparent 70%),
		radial-gradient(70% 32% at 50% 100%, rgba(120, 45, 35, 0.95), transparent 70%),
		linear-gradient(180deg, #3b3846, #221f2b 70%);
	box-shadow:
		inset 0 0 0 1px rgba(254, 230, 170, 0.1),
		0 30px 60px -30px rgba(0, 0, 0, 0.8);
	overflow: hidden;
	display: grid;
	place-items: center;
}

/* Lamp mouth at the top edge */
.stage::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 30%;
	height: 7%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, #fff7dc, var(--lamp) 40%, var(--lamp-2) 80%);
	box-shadow:
		0 0 18px 4px rgba(254, 230, 170, 0.5),
		0 0 70px 20px rgba(254, 230, 170, 0.16);
	z-index: 2;
}

/* The cone of light falling from it */
.stage::after {
	content: "";
	position: absolute;
	inset: 0;
	clip-path: polygon(36% 0, 64% 0, 108% 100%, -8% 100%);
	background: linear-gradient(
		180deg,
		rgba(254, 230, 170, 0.22),
		rgba(254, 230, 170, 0.06) 60%,
		rgba(254, 230, 170, 0) 100%
	);
}

.stage-glyph {
	position: relative;
	z-index: 1;
	width: 32%;
	height: auto;
	color: var(--lamp);
	filter: drop-shadow(0 14px 28px rgba(255, 140, 60, 0.35));
	margin-top: 6%;
}

.stage-label {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 8%;
	transform: translateX(-50%);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.1rem;
	color: var(--lamp);
	white-space: nowrap;
}

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

.how {
	background: linear-gradient(180deg, transparent, rgba(254, 230, 170, 0.03) 30%, transparent);
	border-block: 1px solid var(--line);
}

.how-pad {
	display: grid;
	justify-items: center;
	margin-bottom: clamp(3rem, 6vw, 5rem);
	position: relative;
	isolation: isolate;
}

.how-pad::before {
	content: "";
	position: absolute;
	inset: -6% 20% 0;
	z-index: -1;
	background: radial-gradient(
		ellipse 45% 45% at 50% 0%,
		rgba(254, 230, 170, 0.14),
		transparent 70%
	);
	pointer-events: none;
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 4rem;
	counter-reset: step;
}

.step {
	counter-increment: step;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-strong);
}

.step::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--lamp-2);
	padding-top: 0.15rem;
}

.step h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.step p {
	color: var(--ink-2);
	font-size: 1rem;
}

/* ---------- Privacy ---------- */

.privacy-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.card {
	background: rgba(38, 35, 47, 0.7);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2rem);
	display: grid;
	gap: 0.75rem;
	align-content: start;
}

.card h3 {
	font-size: 1.2rem;
}

.card p,
.card li {
	color: var(--ink-2);
	font-size: 0.98rem;
}

.card ul {
	margin: 0;
	padding-left: 1.1rem;
}

.card li + li {
	margin-top: 0.4rem;
}

.card--lit {
	background:
		radial-gradient(70% 60% at 50% -10%, rgba(254, 230, 170, 0.14), transparent 70%),
		rgba(38, 35, 47, 0.7);
}

.privacy-foot {
	margin-top: 1.5rem;
	color: var(--ink-3);
	font-size: 0.95rem;
}

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

.faq-list {
	border-top: 1px solid var(--line-strong);
}

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

.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem 0;
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: -0.01em;
}

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

.faq-item summary::after {
	content: "+";
	font-family: var(--serif);
	font-size: 1.75rem;
	line-height: 1;
	color: var(--lamp-2);
	flex: none;
	transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item summary:hover {
	color: var(--lamp);
}

.faq-item p {
	color: var(--ink-2);
	padding-bottom: 1.5rem;
	max-width: 62ch;
	text-wrap: pretty;
}

.faq-item p + p {
	margin-top: -0.75rem;
}

/* ---------- Studio note ---------- */

.note {
	border-block: 1px solid var(--line);
	background: rgba(254, 230, 170, 0.025);
}

.note-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2rem;
	align-items: start;
}

.bird {
	width: 56px;
	height: 64px;
	background: var(--lamp);
	-webkit-mask: url("/assets/images/rhinebird-mark.png") center / contain no-repeat;
	mask: url("/assets/images/rhinebird-mark.png") center / contain no-repeat;
	flex: none;
}

.note-body {
	display: grid;
	gap: 1rem;
	max-width: 62ch;
}

.note-body h2 {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.note-body p {
	color: var(--ink-2);
	text-wrap: pretty;
}

.note-sign {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--lamp);
}

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

.closing {
	position: relative;
	text-align: center;
	padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 8vw, 6rem);
	overflow: hidden;
	isolation: isolate;
}

.closing::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(
		ellipse 45% 65% at 50% 0%,
		rgba(254, 230, 170, 0.2),
		rgba(254, 230, 170, 0.05) 45%,
		transparent 75%
	);
	pointer-events: none;
}

.closing-icon {
	width: 96px;
	height: 96px;
	border-radius: 22.4%;
	margin: 0 auto 2rem;
	box-shadow:
		0 0 0 1px rgba(254, 230, 170, 0.2),
		0 30px 60px -20px rgba(0, 0, 0, 0.8),
		0 0 80px rgba(255, 150, 70, 0.18);
}

.closing h2 {
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	line-height: 1.02;
	margin-bottom: 1.25rem;
}

.closing .lede {
	margin-inline: auto;
	margin-bottom: 2rem;
}

.closing-cta {
	display: grid;
	justify-items: center;
	gap: 0.85rem;
}

.credit {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 0.5rem;
	justify-items: center;
}

.credit h3 {
	font-size: 1.05rem;
}

.credit p {
	font-size: 0.95rem;
	color: var(--ink-3);
	max-width: 60ch;
	text-wrap: pretty;
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: 1px solid var(--line);
	padding-block: 2.5rem 3.5rem;
	font-size: 0.9rem;
	color: var(--ink-3);
	background: #121017;
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	align-items: center;
	justify-content: space-between;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer a {
	color: var(--ink-2);
	text-decoration: none;
}

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

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink-2);
}

.footer-brand .bird {
	width: 18px;
	height: 20px;
	background: var(--ink-2);
}

.footer-legal {
	margin-top: 1.5rem;
	display: grid;
	gap: 0.4rem;
	font-size: 0.85rem;
}

/* ---------- Legal pages ---------- */

.legal {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.legal .page {
	width: min(720px, 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.legal h1 {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin-bottom: 0.75rem;
}

.legal h2 {
	font-size: 1.25rem;
	margin: 2.5rem 0 0.75rem;
	color: var(--lamp);
	font-weight: 600;
}

.legal-meta {
	color: var(--ink-3);
	font-size: 0.95rem;
	margin-bottom: 2rem;
}

.legal-meta strong {
	font-weight: 500;
}

.legal-intro {
	margin-bottom: 2rem;
	color: var(--ink-2);
}

.legal address {
	font-style: normal;
	color: var(--ink-2);
	font-size: 0.95rem;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.legal ul {
	padding-left: 1.15rem;
	margin: 0 0 1rem;
}

.legal li {
	margin-bottom: 0.6rem;
	color: var(--ink-2);
}

.legal li strong,
.legal p strong {
	color: var(--ink);
	font-weight: 600;
}

.legal p {
	margin-bottom: 1rem;
	color: var(--ink-2);
}

.legal hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 3rem 0 1.5rem;
}

/* ---------- Motion (progressive enhancement, all gated) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js:not(.nomotion) .reveal {
		opacity: 0;
		transform: translateY(18px);
		transition:
			opacity 0.7s var(--ease),
			transform 0.7s var(--ease);
	}

	.js:not(.nomotion) .reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.js:not(.nomotion) .pill::before,
	.js:not(.nomotion) .promise::before {
		animation: lamp 2.6s ease-in-out infinite;
	}

	@keyframes lamp {
		0%,
		100% {
			box-shadow: 0 0 8px 1px rgba(254, 230, 170, 0.4);
		}
		50% {
			box-shadow: 0 0 14px 4px rgba(254, 230, 170, 0.75);
		}
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.hero-copy {
		max-width: 40rem;
	}

	.hero-stage {
		padding-block: 3.5rem 2.5rem;
	}

	.hero-stage .device--phone {
		width: min(280px, 72vw);
	}

	.chapter {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.chapter:nth-child(even) .chapter-visual {
		order: 0;
	}

	.chapter-text {
		max-width: 36rem;
	}

	.trust-list {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.privacy-grid,
	.steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	body {
		font-size: 1rem;
	}

	.header-inner {
		min-height: 60px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		padding-block: 0.5rem 1rem;
	}

	.js .site-nav.is-open {
		display: flex;
	}

	.js .site-nav a {
		padding: 0.55rem 0;
		font-size: 1.05rem;
	}

	.site-nav .pill {
		margin-top: 0.5rem;
	}

	/* Without JS the nav is simply visible, wrapped beneath the wordmark. */
	html:not(.js) .site-nav {
		flex-basis: 100%;
		flex-wrap: wrap;
		gap: 0.75rem 1.25rem;
		padding-bottom: 0.75rem;
	}

	html:not(.js) .site-nav .pill {
		display: none;
	}

	.hero {
		padding-top: 2.5rem;
	}

	.hero h1 {
		font-size: clamp(2.5rem, 12vw, 3.25rem);
	}

	.device-pair {
		gap: 0.75rem;
	}

	.device--phone {
		padding: 8px;
		border-radius: 40px;
	}

	.device--phone img {
		border-radius: 32px;
	}

	.device--pad {
		padding: 10px;
		border-radius: 22px;
	}

	.device--pad img {
		border-radius: 12px;
	}

	.note-inner {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.bird {
		width: 40px;
		height: 46px;
	}

	.footer-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.faq-item summary {
		font-size: 1rem;
	}
}
