:root {
	--bg: #0c120e;
	--bg-soft: #111a14;
	--card: #141e17;
	--card-hi: #192419;
	--text: #eef2ea;
	--muted: #9dab99;
	--accent: #e6b455;
	--accent2: #8fb573;
	--rose: #de7a72;
	--accent-soft: rgba(230, 180, 85, .38);
	--border: rgba(165, 195, 155, .14);
	--ok: #7fc06e;
	--radius: 14px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
/* layered ambient background: glade glow + grain */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(920px 500px at 12% -8%, rgba(143, 181, 115, .16), transparent 65%),
		radial-gradient(860px 460px at 88% -12%, rgba(230, 180, 85, .11), transparent 65%),
		radial-gradient(700px 700px at 50% 115%, rgba(222, 122, 114, .06), transparent 70%);
}
body::after {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: .05;
	mix-blend-mode: overlay;
}
::selection { background: rgba(230, 180, 85, .3); color: #fff; }
:focus-visible { outline: 2px solid rgba(230, 180, 85, .6); outline-offset: 2px; border-radius: 4px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 96px; }

/* ---------- header ---------- */
header.top {
	position: sticky; top: 0; z-index: 10;
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 14px 22px;
	background: rgba(10, 15, 11, .72);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	border-bottom: 1px solid var(--border);
}
header.top .logo {
	font-family: var(--serif);
	font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
	display: inline-flex; align-items: center; gap: 8px;
}
header.top .logo::before {
	content: ""; width: 17px; height: 17px; flex: 0 0 auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E6B455' d='M20.5 3.5c-10 .5-15.5 6.5-16 16 10-.8 15.2-7 16-16Z'/%3E%3Cpath fill='%230C120E' d='M8 16c2.5-3.5 5.5-6.5 9.5-9.5' stroke-opacity='1' stroke='%230C120E' stroke-width='1.1' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
header.top .logo .dot { color: var(--rose); }
header.top nav { margin-left: auto; }
header.top nav a { color: var(--muted); margin-left: 20px; font-size: 14px; transition: color .15s; }
header.top nav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 8px; }
h1 {
	font-family: var(--serif);
	font-size: clamp(38px, 6.5vw, 58px); line-height: 1.06;
	letter-spacing: -0.02em; font-weight: 700; margin: 0 0 16px;
}
h1 .glow {
	background: linear-gradient(95deg, var(--accent), var(--rose));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
h2 {
	font-family: var(--serif);
	font-size: 26px; letter-spacing: -0.01em; margin: 52px 0 14px; font-weight: 700;
}
h2::before {
	content: "";
	display: block; width: 30px; height: 2px;
	background: var(--accent); margin-bottom: 12px; border-radius: 2px;
}
p.lead { color: var(--muted); font-size: 19px; max-width: 58ch; margin: 0 0 26px; }
.wrap > p, .card p, .note { max-width: 65ch; }

/* ---------- buttons ---------- */
.btn {
	display: inline-block;
	background: linear-gradient(120deg, #f2c267, #dd9a3b);
	color: #241a0a; font-weight: 700; font-size: 15px;
	padding: 13px 26px; border-radius: 12px; border: none; cursor: pointer;
	box-shadow: 0 10px 26px rgba(230, 180, 85, .2), inset 0 1px 0 rgba(255, 255, 255, .4);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover {
	text-decoration: none; transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(230, 180, 85, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn:active { transform: translateY(0); }
.btn.sub {
	background: transparent; color: var(--text); font-weight: 600;
	border: 1px solid rgba(165, 195, 155, .28);
	box-shadow: none;
}
.btn.sub:hover { border-color: var(--accent-soft); box-shadow: none; transform: none; }

/* ---------- cards & grid ---------- */
.card {
	background: linear-gradient(180deg, var(--card-hi), var(--card));
	border: 1px solid var(--border); border-radius: var(--radius);
	padding: 24px; margin: 20px 0;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 30px rgba(0, 0, 0, .25);
	transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent-soft); transform: translateY(-1px); }
.card h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 8px; }
.card-actions { margin: 18px 0 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; margin: 24px 0; }
.grid .item {
	background: linear-gradient(180deg, var(--card-hi), var(--card));
	border: 1px solid var(--border); border-radius: var(--radius);
	padding: 18px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.grid .item:hover {
	border-color: var(--accent-soft); transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.grid .item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.grid .item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.grid .item a.more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }

.tag {
	display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--ok);
	border: 1px solid rgba(127, 192, 110, .45);
	background: rgba(127, 192, 110, .08);
	border-radius: 999px; padding: 3px 11px; margin-bottom: 12px;
}
.tag.soon {
	color: var(--muted); border-color: var(--border); background: transparent;
}

/* ---------- mission / note ---------- */
blockquote.mission {
	margin: 30px 0; padding: 4px 0 4px 22px;
	border-left: 3px solid var(--accent);
	font-family: var(--serif);
	font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em;
}
blockquote.mission span {
	display: block; color: var(--muted); font-family: system-ui, sans-serif;
	font-size: 14.5px; font-weight: 400; margin-top: 10px;
}

.note {
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	background: var(--bg-soft);
	padding: 14px 16px; border-radius: 0 10px 10px 0;
	color: var(--muted); font-size: 14.5px; margin: 20px 0;
	max-width: 65ch;
}
.note strong { color: var(--text); }

/* ---------- lists ---------- */
ul { padding-left: 22px; }
li::marker { color: var(--accent); }
ol.steps { list-style: none; counter-reset: step; padding: 0; }
ol.steps li { position: relative; counter-increment: step; padding-left: 42px; margin-bottom: 14px; }
ol.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; left: 0; top: 1px;
	font-family: var(--serif); font-weight: 700; font-size: 15px;
	color: var(--accent); letter-spacing: .04em;
}
ol li::marker { color: var(--accent); font-weight: 700; }

/* ---------- footer ---------- */
footer {
	display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
	border-top: 1px solid var(--border); margin-top: 72px; padding: 24px 0 0;
	color: var(--muted); font-size: 13.5px;
}
footer a { color: var(--muted); margin-left: 16px; transition: color .15s; }
footer a:hover { color: var(--accent); text-decoration: none; }

/* ---------- misc ---------- */
code {
	background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px;
	padding: 2px 7px; font-size: 13px;
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}
.price { font-family: var(--serif); font-size: 28px; font-weight: 700; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
	@keyframes rise {
		from { opacity: 0; transform: translateY(14px); }
		to { opacity: 1; transform: none; }
	}
	.hero > * { animation: rise .7s cubic-bezier(.2, .7, .3, 1) both; }
	.hero > *:nth-child(2) { animation-delay: .08s; }
	.hero > *:nth-child(3) { animation-delay: .16s; }
	.hero > *:nth-child(4) { animation-delay: .24s; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
	.hero { padding: 52px 0 4px; }
	header.top nav a { margin-left: 13px; font-size: 13px; }
	h2 { margin-top: 40px; }
}
