/*
Theme Name: CuteMove Two
Theme URI: https://cutemove.com
Author: CuteMove
Description: A child theme of CuteMove. Keeps your pages, shortcodes and settings, and rebuilds the design to tell one story: the photo keyboard helps you make the move, and Date Plans lock in the date. Pairs with the CuteMove Date Plans plugin (/plan). Requires the CuteMove theme to stay installed.
Template: cutemove
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cutemove-two
*/

/* ---------- Fonts: self-hosted by the parent CuteMove theme (no third-party requests) ---------- */
@font-face { font-family: "Inter"; src: url("../cutemove/assets/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../cutemove/assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens (CuteMove brand) ---------- */
:root {
	--cm-bg: #FFF7F3;
	--cm-surface: #FFFFFF;
	--cm-surface-2: #F6ECE8;
	--cm-line: #EADCD8;
	--cm-ink: #1F1420;
	--cm-ink-2: #6E5A68;
	--cm-cherry: #D61F5B;
	--cm-cherry-text: #B5144A;
	--cm-on-cherry: #FFFFFF;
	--cm-plum: #3B1640;
	--cm-apricot: #FFC9A8;
	--cm-blush: #FBE3E6;
	--cm-night-bg: #140B16;
	--cm-night-surface: #21132A;
	--cm-night-line: #3E2A45;
	--cm-night-ink: #FBEFF3;
	--cm-night-ink-2: #BBA6B5;
	--cm-night-cherry-text: #FF5C8A;
	--cm-hero: linear-gradient(150deg, #4A1A4E 0%, #140B16 100%);
	--cm-shadow: 0 1px 2px rgba(31, 20, 32, .05), 0 10px 30px rgba(59, 22, 64, .08);
	--cm-font-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
	--cm-font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cm-radius-card: 24px;
	--cm-radius-tile: 14px;
	--cm-gutter: clamp(16px, 4vw, 32px);
	--cm-max: 1140px;
	--cm-ease: cubic-bezier(.4, 0, .2, 1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--cm-bg: #140B16;
		--cm-surface: #21132A;
		--cm-surface-2: #2B1A33;
		--cm-line: #3E2A45;
		--cm-ink: #FBEFF3;
		--cm-ink-2: #BBA6B5;
		--cm-cherry-text: #FF5C8A;
		--cm-blush: #2A1530;
		--cm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
		color-scheme: dark;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--cm-bg);
	color: var(--cm-ink);
	font: 17px/1.6 var(--cm-font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cm-cherry-text); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cm-cherry); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--cm-max); margin: 0 auto; padding: 0 var(--cm-gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cm-cherry); color: #fff; }
.skip:focus { left: 8px; }

.display {
	font-family: var(--cm-font-display);
	font-weight: 400;
	font-size: clamp(36px, 5.5vw, 58px);
	line-height: 1.04;
	letter-spacing: -.01em;
}
.display em { font-style: italic; color: var(--cm-apricot); }
.display--xl { font-size: clamp(48px, 8vw, 88px); }
.eyebrow {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cm-cherry-text);
}
.eyebrow--light { color: var(--cm-night-cherry-text); }
.lede, .section-lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--cm-ink-2); max-width: 60ch; }
.section-lede { margin-top: 14px; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.small-note { margin-top: 18px; font-size: 14px; color: var(--cm-ink-2); }

/* ---------- Buttons ---------- */
.cm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 600 16px var(--cm-font-body);
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms var(--cm-ease), background 160ms var(--cm-ease), filter 160ms var(--cm-ease);
}
.cm-btn:hover { transform: translateY(-1px); }
.cm-btn--primary { background: var(--cm-cherry); color: var(--cm-on-cherry); }
.cm-btn--primary:hover { filter: brightness(.94); }
.cm-btn--ghost { color: var(--cm-ink); border-color: var(--cm-ink); }
.cm-btn--ghost:hover { background: var(--cm-surface-2); }
.cm-btn--ghost-light { color: var(--cm-night-ink); border-color: rgba(251, 239, 243, .55); }
.cm-btn--ghost-light:hover { background: rgba(251, 239, 243, .08); }
.cm-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
.text-link { font-weight: 600; text-underline-offset: 3px; }
.text-link--light { color: var(--cm-night-cherry-text); }

/* App Store button (markup from the parent theme's cutemove_store_button()) */
.store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 6px 20px 6px 16px;
	border-radius: 14px;
	background: var(--cm-night-ink);
	color: var(--cm-night-bg);
	text-decoration: none;
	line-height: 1.1;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store > span { display: flex; flex-direction: column; text-align: left; }
.store small { font-size: 11px; font-weight: 500; opacity: .8; }
.store strong { font-size: 18px; font-weight: 600; }
a.store:hover { filter: brightness(.94); }

/* Serif text: only the italic cut is installed, so use it on purpose everywhere. */
.display, .brand b, .demo-title, .demo-slot, .plan-card strong, .ticket-float strong,
.move-card h3, .price-amount, .chat-av, .prose h2 { font-style: italic; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(20, 11, 22, .86);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid rgba(251, 239, 243, .08);
	color: var(--cm-night-ink);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand b { font-family: var(--cm-font-display); font-style: italic; font-weight: 400; font-size: 26px; }
.brand-mark { border-radius: 8px; }
.main-nav { flex: 1; min-width: 0; }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--cm-night-ink-2);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
.nav a:hover { color: var(--cm-night-ink); background: rgba(251, 239, 243, .08); }
.nav a[href*="/plan"] { color: var(--cm-night-ink); background: rgba(214, 31, 91, .22); }
.nav a[href*="/plan"]:hover { background: rgba(214, 31, 91, .34); }
@media (max-width: 960px) {
	.header-row { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
	.header-cta { margin-left: auto; }
	.main-nav { order: 3; flex-basis: 100%; margin: 6px calc(var(--cm-gutter) * -1) 0; padding: 0 var(--cm-gutter) 8px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cm-hero); color: var(--cm-night-ink); overflow: hidden; }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 48px;
	align-items: center;
	padding-top: clamp(48px, 8vw, 96px);
	padding-bottom: clamp(56px, 8vw, 104px);
}
.hero .lede { margin-top: 20px; color: var(--cm-night-ink-2); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; }
.ticks li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cm-cherry); vertical-align: 2px; }
.ticks--light { color: var(--cm-night-ink-2); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Phone mock (decorative) */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.phone {
	width: 300px;
	border-radius: 44px;
	padding: 12px;
	background: #0B060C;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
	transform: rotate(-2deg);
}
.phone-screen {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 330px;
	padding: 16px 14px;
	border-radius: 32px 32px 0 0;
	background: #FFF7F3;
	color: #1F1420;
	font-size: 13px;
}
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #EADCD8; font-weight: 600; }
.chat-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #6B5B8C; color: #fff; font-family: var(--cm-font-display); font-size: 16px; }
.chat-av--plum { width: 44px; height: 44px; background: var(--cm-plum); font-size: 22px; flex: none; }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; line-height: 1.35; }
.bubble--them { align-self: flex-start; background: #fff; border: 1px solid #EADCD8; border-bottom-left-radius: 5px; }
.bubble--me { align-self: flex-end; background: var(--cm-plum); color: #FBEFF3; border-bottom-right-radius: 5px; }
.plan-card {
	align-self: flex-end;
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 80%;
	padding: 12px 14px;
	border-radius: 16px 16px 5px 16px;
	background: var(--cm-cherry);
	color: #fff;
}
.plan-card-brand { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.plan-card strong { font-family: var(--cm-font-display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.plan-card span:last-child { font-size: 12px; opacity: .9; }
.kb { padding: 8px 6px 14px; border-radius: 0 0 32px 32px; background: #D9D3D6; }
.kb-strip { display: flex; gap: 6px; padding: 2px 2px 8px; }
.kb-strip span { flex: 1; padding: 6px 4px; border-radius: 8px; background: #fff; color: #1F1420; font-size: 11px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; }
.kb-strip span:first-child { background: var(--cm-blush); color: var(--cm-cherry-text); }
.kb-row { display: flex; justify-content: center; gap: 4px; margin-top: 5px; }
.kb-row span { width: 23px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: #fff; color: #1F1420; font-size: 13px; box-shadow: 0 1px 0 rgba(0, 0, 0, .18); }
.ticket-float {
	position: absolute;
	right: max(0px, calc(50% - 220px));
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	border-radius: 18px;
	background: #FBEFF3;
	color: #1F1420;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
	transform: rotate(3deg);
	font-size: 12px;
}
.ticket-float span:first-child { color: var(--cm-cherry-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.ticket-float strong { font-family: var(--cm-font-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
@media (max-width: 420px) { .phone { width: 270px; } .ticket-float { right: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--cm-surface-2); }
.section--blush { background: var(--cm-blush); }
.section--night { background: var(--cm-night-bg); color: var(--cm-night-ink); }
.section--night .section-lede { color: var(--cm-night-ink-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; }

/* Two moves */
.moves-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.move-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--cm-radius-card);
	background: var(--cm-surface);
	border: 1px solid var(--cm-line);
	box-shadow: var(--cm-shadow);
	color: var(--cm-ink);
	text-decoration: none;
	transition: transform 200ms var(--cm-ease);
}
.move-card:hover { transform: translateY(-3px); }
.move-card h3 { font-family: var(--cm-font-display); font-weight: 400; font-size: clamp(34px, 4vw, 46px); }
.move-card p { color: var(--cm-ink-2); }
.move-card--accent { background: var(--cm-plum); border-color: var(--cm-plum); color: var(--cm-night-ink); }
.move-card--accent p { color: var(--cm-night-ink-2); }
.move-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--cm-cherry-text); }
.move-card--accent .move-num, .move-card--accent .move-link { color: var(--cm-night-cherry-text); }
.move-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--cm-cherry-text); }
.move-link::after { content: " →"; }
@media (max-width: 720px) { .moves-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border-radius: var(--cm-radius-card); background: var(--cm-surface); border: 1px solid var(--cm-line); }
.steps h3 { margin: 14px 0 6px; }
.steps p { color: var(--cm-ink-2); font-size: 16px; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cm-cherry); color: #fff; font-weight: 700; }
.steps--stacked { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
.steps--stacked li { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding: 20px; }
.steps--stacked .step-num { grid-row: span 2; }
.steps--stacked h3 { margin: 6px 0 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Date plans */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.plan-demo { display: flex; flex-direction: column; gap: 20px; }
.demo-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border-radius: 28px;
	background: var(--cm-surface);
	border: 1px solid var(--cm-line);
	box-shadow: var(--cm-shadow);
}
.demo-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.demo-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cm-cherry-text); }
.demo-title { font-family: var(--cm-font-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.demo-label { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cm-ink-2); }
.demo-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-slot, .demo-place {
	display: flex;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: var(--cm-radius-tile);
	border: 1.5px solid var(--cm-line);
	background: var(--cm-bg);
	font-weight: 600;
}
.demo-slot { align-items: center; font-family: var(--cm-font-display); font-weight: 400; font-size: 21px; }
.demo-slot small, .demo-place small { font-family: var(--cm-font-body); font-size: 12px; font-weight: 500; color: var(--cm-ink-2); }
.is-picked { border-color: var(--cm-cherry); box-shadow: 0 0 0 3px rgba(214, 31, 91, .2); }
.demo-cta { margin-top: 8px; padding: 14px; border-radius: 999px; background: var(--cm-cherry); color: #fff; font-weight: 600; text-align: center; }
.safety { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.safety li { padding: 14px 18px; border-radius: var(--cm-radius-tile); background: var(--cm-surface); color: var(--cm-ink-2); font-size: 15px; }
.safety strong { color: var(--cm-ink); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--cm-radius-card); background: var(--cm-surface); border: 1px solid var(--cm-line); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--cm-ink-2); font-size: 16px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.vibes { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.vibes--center { justify-content: center; margin-top: 28px; }
.vibes li { padding: 8px 16px; border-radius: 999px; background: var(--cm-surface); border: 1px solid var(--cm-line); font-size: 14px; font-weight: 500; }

/* Privacy */
.privacy-label { margin-top: 18px; display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(251, 239, 243, .08); font-size: 14px; color: var(--cm-night-ink-2); }
.privacy-label strong { color: var(--cm-night-ink); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.privacy-item { padding: 24px; border-radius: var(--cm-radius-card); background: var(--cm-night-surface); border: 1px solid var(--cm-night-line); }
.privacy-item h3 { margin-bottom: 8px; color: var(--cm-night-ink); }
.privacy-item p { color: var(--cm-night-ink-2); font-size: 15px; }
.privacy-note { max-width: 70ch; margin: 28px 0 14px; color: var(--cm-night-ink-2); font-size: 15px; }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Full Access table */
.table-wrap { overflow-x: auto; border-radius: var(--cm-radius-card); border: 1px solid var(--cm-line); background: var(--cm-surface); }
.access-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.access-table th, .access-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--cm-line); }
.access-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cm-ink-2); background: var(--cm-surface-2); }
.access-table tbody th { font-weight: 500; }
.access-table tr:last-child th, .access-table tr:last-child td { border-bottom: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--cm-radius-card); background: var(--cm-surface); border: 1px solid var(--cm-line); }
.price--best { border: 2px solid var(--cm-cherry); box-shadow: var(--cm-shadow); }
.price-flag { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--cm-cherry); color: #fff; font-size: 12px; font-weight: 600; }
.price-amount { font-family: var(--cm-font-display); font-size: 44px; line-height: 1; }
.price-amount small { font-family: var(--cm-font-body); font-size: 15px; color: var(--cm-ink-2); }
.price ul { margin: 0; padding-left: 18px; color: var(--cm-ink-2); font-size: 15px; }
.price li + li { margin-top: 6px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--cm-surface); border: 1px solid var(--cm-line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--cm-cherry-text); transition: transform 200ms var(--cm-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--cm-ink-2); }

/* Final CTA */
.final-cta { background: var(--cm-hero); }

/* ---------- Pages ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.prose { padding-bottom: clamp(56px, 8vw, 96px); font-size: 17px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-family: var(--cm-font-display); font-weight: 400; font-size: 32px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--cm-line); text-align: left; }
.prose .meta { color: var(--cm-ink-2); font-size: 15px; }
.prose .lead { font-size: 19px; color: var(--cm-ink); }
.prose .toc { padding: 20px 24px; border-radius: var(--cm-radius-tile); background: var(--cm-surface-2); }
.prose .toc ol, .prose .toc ul { margin: 8px 0 0; }
.prose .notice { padding: 16px 20px; border-radius: var(--cm-radius-tile); background: var(--cm-blush); border: 1px solid var(--cm-line); }
.prose .table-wrap { overflow-x: auto; }
mark.ph { padding: 1px 6px; border-radius: 6px; background: #FFF1DF; color: #7A3F00; box-shadow: inset 0 0 0 1px #E8913A; }
.post-list { margin: 0 0 48px; padding: 0; list-style: none; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--cm-line); }
.post-list a { color: var(--cm-ink); font-weight: 600; text-decoration: none; }
.post-date { color: var(--cm-ink-2); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; background: var(--cm-night-bg); color: var(--cm-night-ink-2); font-size: 14px; border-top: 1px solid var(--cm-night-line); }
.site-footer .brand { color: var(--cm-night-ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 46ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--cm-night-ink); text-decoration: none; }
.footer-nav a:hover { color: var(--cm-night-cherry-text); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--cm-night-line); display: grid; gap: 6px; font-size: 13px; }
.footer-legal a { color: var(--cm-night-ink); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* WordPress core helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--cm-radius-tile); }
