/* ───────────────────────────────────────────────────────────
   Jirdhis — editorial fitness magazine theme
   Aesthetic: cream paper, deep ink, oversized serif type,
   one hot accent (electric coral), asymmetric grid.
   ─────────────────────────────────────────────────────────── */

:root {
	--sd-paper:       #f4f0e8;
	--sd-paper-deep:  #ebe5d6;
	--sd-ink:         #14110d;
	--sd-ink-soft:    #423d34;
	--sd-ink-muted:   #6d665b;
	--sd-rule:        #d4cdb9;
	--sd-accent:      #0a8a3f;   /* vivid green — the one bright color */
	--sd-accent-deep: #066a2e;
	--sd-cream-card:  #faf6ee;

	--sd-serif:    'Fraunces', 'Times New Roman', serif;
	--sd-sans:     'Inter Tight', system-ui, -apple-system, sans-serif;
	--sd-mono:     'JetBrains Mono', 'Courier New', monospace;

	--sd-radius-s: 8px;
	--sd-radius-m: 18px;
	--sd-radius-l: 32px;

	--sd-shadow-soft: 0 4px 24px -8px rgba(20, 17, 13, 0.12);
	--sd-shadow-hard: 0 8px 0 -2px var(--sd-ink);

	--sd-max-width:  1280px;
	--sd-section-py: clamp(64px, 10vw, 140px);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sd-paper);
	color: var(--sd-ink);
	font-family: var(--sd-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(20, 17, 13, 0.035) 1px, transparent 0);
	background-size: 24px 24px;
}

a { color: inherit; text-decoration: none; }

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

/* ───────────── NAV ───────────── */
.sd-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	background: rgba(244, 240, 232, 0.78);
	border-bottom: 1px solid var(--sd-rule);
}
.sd-nav__inner {
	max-width: var(--sd-max-width);
	margin: 0 auto;
	padding: 18px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.sd-nav__logo {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-family: var(--sd-serif);
	font-weight: 900;
	font-size: 22px;
	font-variation-settings: "opsz" 144;
	letter-spacing: -0.02em;
	color: var(--sd-ink);
}
.sd-nav__logo-dot { color: var(--sd-accent); font-size: 16px; }
.sd-nav__menu {
	display: flex;
	gap: 32px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.sd-nav__menu a { position: relative; padding: 4px 0; }
.sd-nav__menu a::after {
	content: '';
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 1.5px;
	background: var(--sd-accent);
	transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sd-nav__menu a:hover::after { right: 0; }
.sd-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--sd-ink);
	color: var(--sd-paper);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	transition: transform 0.2s, background 0.2s;
}
.sd-nav__cta:hover { background: var(--sd-accent); transform: translateY(-1px); }
.sd-nav__cta-arrow { transition: transform 0.25s; }
.sd-nav__cta:hover .sd-nav__cta-arrow { transform: translateX(3px); }

@media (max-width: 720px) {
	.sd-nav__menu { display: none; }
}

/* ───────────── HERO ───────────── */
.sd-hero {
	padding: clamp(60px, 12vw, 140px) 28px clamp(80px, 14vw, 160px);
	max-width: var(--sd-max-width);
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.sd-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	position: relative;
}
.sd-hero__eyebrow-wrap {
	display: flex;
	align-items: center;
	gap: 16px;
}
.sd-hero__rule {
	display: inline-block;
	width: 48px;
	height: 1.5px;
	background: var(--sd-accent);
}
.sd-hero__eyebrow {
	margin: 0;
	font-family: var(--sd-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sd-ink-muted);
}
.sd-hero__headline {
	margin: 0;
	font-family: var(--sd-serif);
	font-weight: 900;
	font-variation-settings: "opsz" 144;
	font-size: clamp(56px, 11vw, 168px);
	line-height: 0.92;
	letter-spacing: -0.045em;
	color: var(--sd-ink);
	max-width: 14ch;
}
.sd-hero__headline-text {
	display: block;
}
.sd-hero__headline-punch {
	display: block;
	color: var(--sd-accent);
	position: relative;
}
/* A tiny underline tick under the punch line for typographic punctuation. */
.sd-hero__headline-punch::after {
	content: '';
	display: block;
	width: 0.6em;
	height: 0.08em;
	background: currentColor;
	margin-top: 0.06em;
}
.sd-hero__subhead {
	margin: 0;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.5;
	max-width: 56ch;
	color: var(--sd-ink-soft);
}
.sd-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}
.sd-hero__numeral {
	position: absolute;
	top: -20px;
	right: 0;
	pointer-events: none;
	font-family: var(--sd-serif);
	font-weight: 300;
	font-variation-settings: "opsz" 144;
	font-size: clamp(180px, 30vw, 420px);
	line-height: 0.85;
	color: var(--sd-paper-deep);
	z-index: -1;
	user-select: none;
}
.sd-hero__numeral-mark { display: block; }
.sd-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
	padding-top: 36px;
	border-top: 1px solid var(--sd-rule);
}
.sd-hero__stat { display: flex; flex-direction: column; gap: 6px; }
.sd-hero__stat-num {
	font-family: var(--sd-serif);
	font-weight: 700;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1;
	letter-spacing: -0.03em;
}
.sd-hero__stat-lbl {
	font-family: var(--sd-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sd-ink-muted);
	max-width: 22ch;
}
@media (max-width: 640px) {
	.sd-hero__stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ───────────── BUTTONS ───────────── */
.sd-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	font-family: var(--sd-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.005em;
	border-radius: 999px;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn--primary { background: var(--sd-ink); color: var(--sd-paper); }
.sd-btn--primary:hover { background: var(--sd-accent); box-shadow: 0 6px 24px -6px rgba(255, 61, 31, 0.5); }
.sd-btn--secondary { background: var(--sd-paper); color: var(--sd-ink); border-color: var(--sd-ink); }
.sd-btn--secondary:hover { background: var(--sd-ink); color: var(--sd-paper); }
.sd-btn--ghost { background: transparent; color: var(--sd-paper); border-color: rgba(244, 240, 232, 0.4); }
.sd-btn--ghost:hover { background: rgba(244, 240, 232, 0.1); border-color: var(--sd-paper); }
.sd-btn--large { padding: 18px 32px; font-size: 16px; }
.sd-btn__icon { display: inline-flex; align-items: center; }
.sd-btn__icon svg { width: 18px; height: 18px; }

/* ───────────── MARQUEE ───────────── */
.sd-marquee-wrap {
	position: relative;
}
.sd-marquee {
	background: var(--sd-ink);
	color: var(--sd-paper);
	padding: 32px 0;
	overflow: hidden;
	position: relative;
	border-top: 1px solid var(--sd-ink);
	border-bottom: 1px solid var(--sd-ink);
}
.sd-marquee__track {
	display: flex;
	gap: 32px;
	white-space: nowrap;
	animation: sd-marquee 32s linear infinite;
	will-change: transform;
}
.sd-marquee__text {
	font-family: var(--sd-serif);
	font-weight: 500;
	font-variation-settings: "opsz" 144;
	font-style: italic;
	font-size: clamp(28px, 4vw, 56px);
	letter-spacing: -0.02em;
	flex-shrink: 0;
}
.sd-marquee__text:nth-child(even) { color: var(--sd-accent); }
@keyframes sd-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(calc(-100% / 3 - 32px / 3 * 2), 0, 0); }
}
.sd-marquee__edit-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--sd-paper);
	color: var(--sd-ink);
	padding: 8px 16px;
	border: none;
	border-radius: 999px;
	font-family: var(--sd-sans);
	font-size: 13px;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.2s, background 0.15s;
	cursor: pointer;
	z-index: 2;
}
.sd-marquee-wrap:hover .sd-marquee__edit-handle { opacity: 1; }
.sd-marquee__edit-handle:hover { background: var(--sd-accent); color: var(--sd-paper); }

/* ───────────── EYEBROWS / SECTION TITLES ───────────── */
.sd-eyebrow {
	margin: 0 0 18px;
	font-family: var(--sd-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sd-accent);
}
.sd-eyebrow--dark { color: var(--sd-accent); }
.sd-section-title {
	margin: 0;
	font-family: var(--sd-serif);
	font-weight: 700;
	font-variation-settings: "opsz" 144;
	font-size: clamp(40px, 6vw, 84px);
	line-height: 1;
	letter-spacing: -0.035em;
	max-width: 16ch;
}

/* ───────────── FEATURES ───────────── */
.sd-features {
	padding: var(--sd-section-py) 28px;
	border-top: 1px solid var(--sd-rule);
	scroll-margin-top: 80px;
}
.sd-features__inner { max-width: var(--sd-max-width); margin: 0 auto; }
.sd-features__head { margin-bottom: clamp(48px, 8vw, 96px); }
.sd-features__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--sd-rule);
	border: 1px solid var(--sd-rule);
}
.sd-feature {
	background: var(--sd-paper);
	padding: clamp(32px, 5vw, 56px);
	position: relative;
	transition: background 0.3s;
}
.sd-feature:hover { background: var(--sd-cream-card); }
.sd-feature__num {
	display: inline-block;
	font-family: var(--sd-mono);
	font-size: 13px;
	color: var(--sd-accent);
	letter-spacing: 0.08em;
	margin-bottom: 24px;
}
.sd-feature__title {
	margin: 0 0 14px;
	font-family: var(--sd-serif);
	font-weight: 600;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.sd-feature__body {
	margin: 0;
	color: var(--sd-ink-soft);
	font-size: 16px;
	line-height: 1.55;
	max-width: 38ch;
}
@media (max-width: 720px) {
	.sd-features__grid { grid-template-columns: 1fr; }
}

/* ───────────── MANIFESTO ───────────── */
.sd-manifesto {
	background: var(--sd-ink);
	color: var(--sd-paper);
	padding: var(--sd-section-py) 28px;
	position: relative;
	overflow: hidden;
	scroll-margin-top: 80px;
}
.sd-manifesto::before {
	content: '"';
	position: absolute;
	top: -60px;
	left: 5%;
	font-family: var(--sd-serif);
	font-size: clamp(300px, 40vw, 600px);
	line-height: 1;
	color: var(--sd-accent);
	opacity: 0.18;
	pointer-events: none;
	user-select: none;
	font-weight: 900;
}
.sd-manifesto__inner {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
}
.sd-manifesto__quote {
	margin: 0 0 36px;
	font-family: var(--sd-serif);
	font-weight: 400;
	font-variation-settings: "opsz" 144;
	font-style: italic;
	font-size: clamp(32px, 5vw, 64px);
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: var(--sd-paper);
	quotes: "\201C" "\201D";
}
.sd-manifesto__quote::before { content: open-quote; }
.sd-manifesto__quote::after  { content: close-quote; }
.sd-manifesto__body {
	margin: 0;
	max-width: 60ch;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(244, 240, 232, 0.78);
}

/* ───────────── PRICING ───────────── */
.sd-pricing {
	padding: var(--sd-section-py) 28px;
	scroll-margin-top: 80px;
}
.sd-pricing__inner { max-width: var(--sd-max-width); margin: 0 auto; }
.sd-pricing__head { margin-bottom: clamp(48px, 8vw, 80px); }
.sd-pricing__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
@media (max-width: 720px) {
	.sd-pricing__grid { grid-template-columns: 1fr; }
}
.sd-plan {
	background: var(--sd-cream-card);
	border: 1.5px solid var(--sd-rule);
	border-radius: var(--sd-radius-l);
	padding: clamp(28px, 4vw, 44px);
	position: relative;
}
.sd-plan--featured {
	background: var(--sd-ink);
	color: var(--sd-paper);
	border-color: var(--sd-ink);
}
.sd-plan--featured .sd-plan__desc { color: rgba(244, 240, 232, 0.72); }
.sd-plan__badge {
	position: absolute;
	top: -14px;
	right: 32px;
	background: var(--sd-accent);
	color: var(--sd-paper);
	font-family: var(--sd-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
}
.sd-plan__head { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid currentColor; border-color: var(--sd-rule); }
.sd-plan--featured .sd-plan__head { border-color: rgba(244, 240, 232, 0.2); }
.sd-plan__name {
	margin: 0 0 8px;
	font-family: var(--sd-serif);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: -0.01em;
}
.sd-plan__price {
	margin: 0 0 8px;
	font-family: var(--sd-serif);
	font-weight: 700;
	font-size: clamp(40px, 5vw, 56px);
	line-height: 1;
	letter-spacing: -0.03em;
}
.sd-plan__desc { margin: 0; font-size: 14px; color: var(--sd-ink-muted); }
.sd-plan__features {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sd-plan__features li {
	padding: 10px 0 10px 28px;
	position: relative;
	font-size: 15px;
}
.sd-plan__features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 16px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--sd-accent);
	border-bottom: 2px solid var(--sd-accent);
	transform: rotate(-45deg);
}
.sd-plan--featured .sd-plan__features li::before { border-color: var(--sd-accent); }

/* ───────────── FAQ ───────────── */
.sd-faq {
	padding: var(--sd-section-py) 28px;
	border-top: 1px solid var(--sd-rule);
}
.sd-faq__inner { max-width: 1000px; margin: 0 auto; }
.sd-faq__head { margin-bottom: clamp(40px, 6vw, 64px); }
.sd-faq__list { border-top: 1px solid var(--sd-rule); }
.sd-faq__item {
	border-bottom: 1px solid var(--sd-rule);
	padding: 8px 0;
	scroll-margin-top: 90px;
}
.sd-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	cursor: pointer;
	font-family: var(--sd-serif);
	font-weight: 500;
	font-size: clamp(20px, 2.2vw, 28px);
	letter-spacing: -0.015em;
	list-style: none;
}
.sd-faq__q::-webkit-details-marker { display: none; }
.sd-faq__plus {
	flex-shrink: 0;
	width: 36px; height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sd-ink);
	border-radius: 50%;
	font-size: 20px;
	font-weight: 400;
	transition: transform 0.3s, background 0.2s, color 0.2s;
	font-family: var(--sd-sans);
}
.sd-faq__item[open] .sd-faq__plus {
	transform: rotate(45deg);
	background: var(--sd-ink);
	color: var(--sd-paper);
}
.sd-faq__a {
	margin: 0 0 24px;
	max-width: 60ch;
	color: var(--sd-ink-soft);
	font-size: 17px;
	line-height: 1.6;
}

/* ───────────── FINAL CTA ───────────── */
.sd-cta {
	background: var(--sd-accent);
	color: var(--sd-paper);
	padding: var(--sd-section-py) 28px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.sd-cta::before, .sd-cta::after {
	content: '✓';
	position: absolute;
	font-family: var(--sd-serif);
	font-size: 280px;
	line-height: 1;
	opacity: 0.12;
	pointer-events: none;
}
.sd-cta::before { top: -50px; left: 8%; transform: rotate(-15deg); }
.sd-cta::after  { bottom: -80px; right: 8%; transform: rotate(12deg); }
.sd-cta__inner { max-width: 900px; margin: 0 auto; position: relative; }
.sd-cta__headline {
	margin: 0 0 20px;
	font-family: var(--sd-serif);
	font-weight: 700;
	font-variation-settings: "opsz" 144;
	font-size: clamp(40px, 7vw, 96px);
	line-height: 0.95;
	letter-spacing: -0.035em;
}
.sd-cta__subhead {
	margin: 0 auto 40px;
	max-width: 50ch;
	font-size: clamp(17px, 1.6vw, 20px);
	color: rgba(244, 240, 232, 0.9);
}
.sd-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.sd-cta .sd-btn--primary { background: var(--sd-ink); color: var(--sd-paper); }
.sd-cta .sd-btn--primary:hover { background: var(--sd-paper); color: var(--sd-ink); }

/* ───────────── FOOTER ───────────── */
.sd-footer {
	background: var(--sd-ink);
	color: var(--sd-paper);
	padding: 64px 28px 32px;
}
.sd-footer__inner {
	max-width: var(--sd-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: end;
}
.sd-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.sd-footer__logo {
	font-family: var(--sd-serif);
	font-weight: 900;
	font-size: 28px;
	letter-spacing: -0.02em;
}
.sd-footer__dot { color: var(--sd-accent); }
.sd-footer__tagline {
	margin: 0;
	font-family: var(--sd-serif);
	font-style: italic;
	color: rgba(244, 240, 232, 0.7);
	font-size: 15px;
}
.sd-footer__menu { display: flex; justify-content: flex-end; }
.sd-footer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	font-size: 14px;
}
.sd-footer__nav a { color: rgba(244, 240, 232, 0.8); transition: color 0.2s; }
.sd-footer__nav a:hover { color: var(--sd-accent); }
.sd-footer__copy {
	grid-column: 1 / -1;
	margin: 32px 0 0;
	padding-top: 24px;
	border-top: 1px solid rgba(244, 240, 232, 0.12);
	font-family: var(--sd-mono);
	font-size: 12px;
	color: rgba(244, 240, 232, 0.5);
	letter-spacing: 0.04em;
}
@media (max-width: 640px) {
	.sd-footer__inner { grid-template-columns: 1fr; }
	.sd-footer__menu { justify-content: flex-start; }
}

/* ───────────── LEGAL PAGES ───────────── */
.sd-legal { padding: clamp(60px, 10vw, 120px) 28px; }
.sd-legal__inner {
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 56px;
}
.sd-legal__header {
	padding-bottom: 32px;
	border-bottom: 1px solid var(--sd-rule);
}
.sd-legal__eyebrow {
	margin: 0 0 16px;
	font-family: var(--sd-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sd-accent);
}
.sd-legal__title {
	margin: 0 0 24px;
	font-family: var(--sd-serif);
	font-weight: 800;
	font-variation-settings: "opsz" 144;
	font-size: clamp(48px, 8vw, 96px);
	line-height: 0.95;
	letter-spacing: -0.04em;
}
.sd-legal__effective {
	margin: 0;
	font-family: var(--sd-mono);
	font-size: 13px;
	color: var(--sd-ink-muted);
	line-height: 1.7;
}
.sd-legal__toc {
	background: var(--sd-cream-card);
	padding: 32px 36px;
	border-radius: var(--sd-radius-m);
	border: 1px solid var(--sd-rule);
}
.sd-legal__toc-label {
	margin: 0 0 16px;
	font-family: var(--sd-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sd-ink-muted);
}
.sd-legal__toc ol {
	margin: 0;
	padding-left: 24px;
	columns: 2;
	column-gap: 36px;
	font-size: 14px;
	line-height: 1.9;
}
.sd-legal__toc li::marker {
	color: var(--sd-accent);
	font-family: var(--sd-mono);
	font-size: 12px;
}
.sd-legal__toc a { transition: color 0.2s; }
.sd-legal__toc a:hover { color: var(--sd-accent); }
@media (max-width: 640px) {
	.sd-legal__toc ol { columns: 1; }
}
.sd-legal__content section {
	padding: 36px 0;
	border-bottom: 1px solid var(--sd-rule);
	scroll-margin-top: 90px;  /* Account for sticky nav when jumping from the TOC. */
}
.sd-legal__content section:last-child { border-bottom: none; }
.sd-legal__content h2 {
	margin: 0 0 20px;
	font-family: var(--sd-serif);
	font-weight: 700;
	font-size: clamp(24px, 3vw, 32px);
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.sd-legal__content h3 {
	margin: 28px 0 12px;
	font-family: var(--sd-serif);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.01em;
}
.sd-legal__content p, .sd-legal__content li {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--sd-ink-soft);
}
.sd-legal__content ul, .sd-legal__content ol {
	padding-left: 22px;
	margin: 0 0 14px;
}
.sd-legal__content strong { color: var(--sd-ink); }
.sd-legal__content em { color: var(--sd-ink-muted); }
.sd-legal__content a {
	color: var(--sd-accent);
	border-bottom: 1px solid currentColor;
	transition: opacity 0.2s;
}
.sd-legal__content a:hover { opacity: 0.7; }
.sd-legal__callout {
	background: var(--sd-cream-card);
	border-left: 3px solid var(--sd-accent);
	padding: 18px 22px;
	border-radius: 0 var(--sd-radius-s) var(--sd-radius-s) 0;
	margin: 18px 0 !important;
}

/* ───────────── BACK-TO-TOP BUTTON ───────────── */
.sd-back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: var(--sd-ink);
	color: var(--sd-paper);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px -6px rgba(20, 17, 13, 0.35);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
	pointer-events: none;
	z-index: 40;
}
.sd-back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.sd-back-to-top:hover {
	background: var(--sd-accent);
}
.sd-back-to-top:focus-visible {
	outline-offset: 4px;
}

/* ───────────── DEFAULT PAGE ───────────── */
.sd-default { padding: clamp(60px, 10vw, 120px) 28px; }
.sd-default__inner { max-width: 800px; margin: 0 auto; }
.sd-default__title {
	font-family: var(--sd-serif);
	font-weight: 700;
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: -0.03em;
	margin: 0 0 32px;
}
.sd-default__content { font-size: 17px; line-height: 1.7; color: var(--sd-ink-soft); }

/* ───────────── FOCUS ───────────── */
*:focus-visible {
	outline: 2px solid var(--sd-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
