/* Daylore — shared site styles
   Palette per docs/brand/BRAND-CONSENSUS.md — do not improvise new hues.
   Design idea: the whole page performs the brand's own metaphor. The hero shows
   scattered, unassembled pieces; the mascot only appears once, mid-page, as the
   moment they resolve into a whole — not as generic hero wallpaper. */

:root {
	--warm-white: #FFF4EC;
	--sand: #EBD8BB;
	--clay: #D1B08A;
	--amber: #F2C97A;
	--amber-ink: #B8791E;
	--olive: #A8B08C;
	--deep-brown: #4B3F32;
	--deep-brown-soft: #6b5946;
	--ink: #2c2318;
	--max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--warm-white);
	color: var(--ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 32px;
	max-width: var(--max);
	margin: 0 auto;
	position: relative;
	z-index: 5;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 32px; height: 32px; }
.nav-brand span { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--deep-brown); }

.nav-link {
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	color: var(--deep-brown-soft);
	padding: 8px 4px;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover, .nav-link:focus-visible { color: var(--deep-brown); border-color: var(--clay); }

.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--amber-ink);
}

/* ---------- Hero: product screenshot does the talking, like Day One / Bear ---------- */

.hero { padding: 56px 0 0; overflow: hidden; }

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 0.86fr;
	gap: 40px;
	align-items: center;
}

.hero-copy { max-width: 560px; }

.hero h1 {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.03em;
	margin: 20px 0 24px;
	color: var(--deep-brown);
	text-wrap: balance;
}

.hero h1 em { font-style: normal; color: var(--amber-ink); }

.hero-mockup {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	height: 100%;
}

.hero-mockup img {
	width: 100%;
	max-width: 340px;
	margin-bottom: -8px;
}

.hero .sub { font-size: 19.5px; color: var(--deep-brown-soft); max-width: 46ch; margin: 0 0 36px; }

.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	background: var(--deep-brown);
	color: var(--warm-white);
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
}

.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse-dot 2.4s ease-in-out infinite; }
.hero-note { font-size: 14px; color: var(--deep-brown-soft); opacity: 0.85; }

@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.8); }
}

/* ---------- Reveal: the pieces resolve into the whole (the one place the mascot appears) ---------- */

.reveal {
	background: var(--deep-brown);
	color: var(--warm-white);
	padding: 90px 0;
	position: relative;
	overflow: hidden;
}

.reveal-inner {
	display: flex;
	align-items: center;
	gap: 56px;
	justify-content: center;
	text-align: left;
}

.reveal-glow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 420px;
	aspect-ratio: 1;
	transform: translate(-50%, -50%) scale(1);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 201, 122, 0.35) 0%, rgba(242, 201, 122, 0.1) 45%, transparent 70%);
	animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
	50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.reveal-art { position: relative; z-index: 2; flex-shrink: 0; }
.reveal-art img { width: 220px; filter: drop-shadow(0 16px 30px rgba(0,0,0,0.35)); }

.reveal-text { position: relative; z-index: 2; max-width: 40ch; }

.reveal-text .eyebrow { color: var(--amber); }

.reveal-text p {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	margin: 14px 0 0;
	text-wrap: balance;
}

.reveal-text p span { color: var(--amber); }

/* ---------- Concept / How it works — quiet, no cards ---------- */

.concept { background: var(--warm-white); padding: 100px 0; }

.concept-head { max-width: 60ch; margin-bottom: 56px; }

.concept-head h2 {
	font-size: clamp(28px, 3.6vw, 38px);
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 14px 0 0;
	color: var(--deep-brown);
	text-wrap: balance;
}

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

.flow-step { border-top: 2px solid var(--clay); padding-top: 22px; }

.flow-mark { width: 26px; height: 26px; margin-bottom: 16px; }

.flow-step .word { font-size: 22px; font-weight: 700; color: var(--deep-brown); margin-bottom: 10px; letter-spacing: -0.01em; }
.flow-step p { font-size: 15.5px; color: var(--deep-brown-soft); margin: 0; max-width: 32ch; }

/* ---------- Privacy band — asymmetric, statement spans full width ---------- */

.privacy-band { background: var(--sand); padding: 96px 0; }

.privacy-head { max-width: 54ch; margin-bottom: 48px; }

.privacy-head h2 {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--deep-brown);
	margin: 14px 0 0;
	text-wrap: balance;
}

.privacy-statement {
	font-size: clamp(22px, 2.6vw, 27px);
	font-weight: 500;
	color: var(--deep-brown);
	line-height: 1.42;
	max-width: 30ch;
	margin: 0 0 48px;
	text-wrap: balance;
}

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

.privacy-points { list-style: none; margin: 0; padding: 0; display: contents; }

.privacy-points li { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--deep-brown-soft); }

.privacy-points .mark { width: 22px; height: 22px; }

.link-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--deep-brown);
	text-decoration: none;
	border-bottom: 1.5px solid var(--amber);
	padding-bottom: 2px;
	margin-top: 40px;
}

.link-cta:hover, .link-cta:focus-visible { color: var(--amber-ink); }

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

footer { background: var(--warm-white); border-top: 1px solid var(--clay); padding: 36px 0 48px; }

.footer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 14px;
	color: var(--deep-brown-soft);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--deep-brown-soft); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--deep-brown); }

/* ---------- Privacy policy doc page ---------- */

.doc { padding: 48px 0 96px; }
.doc-header { max-width: 68ch; margin-bottom: 48px; }
.doc-header .eyebrow { margin-bottom: 14px; }

.doc-header h1 {
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--deep-brown);
	margin: 0 0 12px;
	text-wrap: balance;
}

.doc-header .updated { font-size: 14px; color: var(--deep-brown-soft); }

.doc-section { max-width: 68ch; margin-bottom: 40px; }
.doc-section h2 { font-size: 20px; font-weight: 700; color: var(--deep-brown); margin: 0 0 10px; }
.doc-section p { font-size: 16px; color: var(--deep-brown-soft); white-space: pre-line; margin: 0; }
.doc-section .contact { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--deep-brown); }

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

@media (max-width: 860px) {
	.hero { padding: 32px 0 0; }
	.hero-grid { grid-template-columns: 1fr; gap: 8px; }
	.hero-copy { max-width: 100%; }
	.hero-mockup { order: -1; margin-bottom: 12px; }
	.hero-mockup img { max-width: 220px; }

	.reveal-inner { flex-direction: column; text-align: center; gap: 28px; }
	.reveal-text { max-width: 32ch; }

	.flow { grid-template-columns: 1fr; gap: 32px; }

	.privacy-grid { grid-template-columns: 1fr; gap: 24px; }

	.nav { padding: 22px 20px; }
	.wrap { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal-glow, .badge .dot { animation: none; }
}
