/*
 * The apothecary look for the account pages, The Hearth and the sample lesson
 * (Raven, Nov 8 2026: "Switch to apothecary, only landing page is different").
 * Loaded after accounts/platform.css, hearth/hearth.css and core/css/sample-lesson.css.
 * Same move school.css makes for the ported pages: the old colour names point at the
 * apothecary colours from chrome.css (--ap-*), so Night and Day both follow the site,
 * then a few rules swap the type, buttons and boxes. The starry sky goes.
 * To undo: remove this file's <link> from accounts/_layout.html and core/sample_lesson.html.
 */
.smp, #sm-sample {
	--obs: var(--ap-bg); --bone: var(--ap-ink); --rice: var(--ap-ink); --gold: var(--ap-head);
	--ember: var(--ap-btn); --bronze: var(--ap-line2); --sage: var(--ap-mute); --field: var(--ap-field);
	--ria-font-display: "Cormorant Garamond", Georgia, serif;
	--ria-font-body: "IM Fell English", Georgia, serif;
	--ria-font-accent: "Homemade Apple", cursive;
	--ap-label-font: "Archivo Narrow", "Barlow Condensed", "Arial Narrow", sans-serif;
	background: var(--ap-bg) !important;
	color: var(--ap-ink);
	font-family: "IM Fell English", Georgia, serif;
	font-size: 19px;
	line-height: 1.62;
}
body.sm-platform { background: var(--ap-bg); }
.smp .sky, #sm-sample .sky { display: none; }

/* Headings: Cormorant capitals */
.smp h1, .smp h2, .smp h3, #sm-sample h1, #sm-sample h2, #sm-sample h3 {
	font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; text-transform: uppercase;
	color: var(--ap-head); letter-spacing: .07em; line-height: 1.08;
}
.smp h1, #sm-sample h1 { font-size: clamp(2.3rem, 6.5vw, 4rem); letter-spacing: .06em; line-height: 1; }
.smp h2, #sm-sample h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
.smp h3, #sm-sample h3 { font-size: clamp(1.2rem, 3vw, 1.45rem); }
.smp h2.label, .smp h3.label { font-family: var(--ap-label-font); font-size: 13px; letter-spacing: .18em; color: var(--ap-mute); }

/* Labels: Archivo Narrow, spaced capitals */
.smp .kick, .smp .label, .smp form label.lbl, .smp legend, .smp dl.kv dt, .smp table.plain th, .smp .help,
#sm-sample .kick {
	font-family: var(--ap-label-font); font-weight: 500; font-size: 13px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--ap-mute);
}
.smp .help { text-transform: none; letter-spacing: .02em; font-size: 15px; }

/* Text and links */
.smp a, #sm-sample a { color: var(--ap-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.smp a:hover, #sm-sample a:hover { color: var(--ap-head); }
.smp .linkish { color: var(--ap-ink); }
.smp .small, #sm-sample .small { color: var(--ap-mute); font-size: 16px; }
.smp .scrawl { font-family: "Homemade Apple", cursive; color: var(--ap-ink); font-size: 1.05rem; line-height: 1.7; transform: rotate(-3deg); }
.smp .rule { border-top-color: var(--ap-line); }
.smp :focus-visible, #sm-sample :focus-visible { outline: 3px solid var(--ap-focus); outline-offset: 2px; }

/* Buttons, as on the tools */
.smp .btn, #sm-sample .btn {
	font-family: var(--ap-label-font); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
	background: var(--ap-btn); color: var(--ap-btnink); border: 1px solid var(--ap-btn); border-radius: 0;
	min-height: 46px; padding: 11px 24px;
}
.smp .btn:hover, #sm-sample .btn:hover { background: transparent; color: var(--ap-ink); border-color: var(--ap-ink); }
.smp .btn.ghost { font-family: var(--ap-label-font); font-size: 14px; background: transparent; color: var(--ap-ink); border-color: var(--ap-line2); }
.smp .btn.ghost:hover { border-color: var(--ap-rule); color: var(--ap-ink); }

/* Boxes: the double rule, square corners, no gold corner ticks */
.smp .card {
	border: 1px solid var(--ap-rule); border-radius: 0; background: var(--ap-panel);
	box-shadow: inset 0 0 0 5px var(--ap-panel), inset 0 0 0 6px var(--ap-line2);
}
.smp .card:after { display: none; }
.smp .card.glow { animation: none; }
#sm-sample .cta { border: 1px solid var(--ap-rule); box-shadow: inset 0 0 0 5px var(--ap-bg), inset 0 0 0 6px var(--ap-line2); padding: 26px 24px 14px; }
#sm-sample h3 { border-top-color: var(--ap-line); }
#sm-sample h3.try { color: var(--ap-head); background: transparent; border: 1px solid var(--ap-rule); border-bottom: 0; padding: 16px 18px 6px; }
#sm-sample h3.try + p { background: var(--ap-raise); border: 1px solid var(--ap-rule); border-top: 0; padding: 4px 18px 18px; }

/* Forms */
.smp input[type=text], .smp input[type=email], .smp input[type=password], .smp select {
	background: var(--ap-field); color: var(--ap-ink); border: 1px solid var(--ap-line2); border-radius: 0; font-family: inherit;
}
.smp input::placeholder { color: var(--ap-mute); }
.smp input:focus, .smp select:focus { outline: 3px solid var(--ap-focus); outline-offset: 2px; border-color: var(--ap-ink); }
.smp .check input { border-color: var(--ap-mute); border-radius: 0; background: var(--ap-field); }
.smp .check input:checked { background: var(--ap-ink); border-color: var(--ap-ink); }
.smp .check input:checked:after { border-color: var(--ap-bg); }
.smp .err { color: var(--ap-ink); }
.smp .errbox { border-left-color: var(--ap-rule); background: var(--ap-sel); }

/* Notes and messages */
.smp .msgs li, .smp .note { border-left: 1px solid var(--ap-rule); background: var(--ap-raise); }
.smp table.plain th { border-bottom-color: var(--ap-line2); }
.smp table.plain td { border-bottom-color: var(--ap-line); }

/* The Hearth */
.smp.hearth .demo-note { border: 1px dashed var(--ap-line2); background: transparent; }
.smp.hearth .pinned { border-left: 1px solid var(--ap-rule); background: var(--ap-raise); }
.smp.hearth .pinned .label, .smp.hearth .spark .new { color: var(--ap-mute); border-color: var(--ap-line2); }
.smp.hearth .big, .smp.hearth .spark-list dd, .smp.hearth .b3 dd, .smp.hearth ul.links .nm {
	font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ap-head);
}
.smp.hearth .bar { background: var(--ap-line); border-radius: 0; }
.smp.hearth .bar i { background: var(--ap-ink); }
.smp.hearth a.tarot .face { border: 1px solid var(--ap-line2); border-radius: 0; }
.smp.hearth ul.links a:hover { border-color: var(--ap-rule); transform: none; }
.smp.hearth .ico * { stroke: var(--ap-ink); }
.smp.hearth .ico .fl { fill: var(--ap-ink); }
.smp.hearth .ico .e { stroke: var(--ap-mute); }
.smp.hearth svg.mini .full { fill: var(--ap-ink); stroke: var(--ap-ink); }
.smp.hearth svg.mini .new { fill: var(--ap-bg); stroke: var(--ap-ink); }

@media (max-width: 600px) { .smp .card { padding: 22px 16px 10px; } }
