/* SMEL Terms of Service — every rule is scoped to .smel-tos-root so your theme is untouched. */
body:has(.smel-tos-root) { overflow-x: clip; }
.smel-tos-root {
	--deep: #02224A; --navy: #004280; --royal: #0056A6; --azure: #0092E6; --sky: #5CC8FF; --ice: #EEF6FF;
	--ink: #02224A; --muted: #4A5B74; --line: rgba(2, 34, 74, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
	position: relative; left: 50%; width: 100vw !important; max-width: 100vw !important; margin: 0 0 0 -50vw !important; padding: 0 !important;
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: #fff; text-align: left; -webkit-font-smoothing: antialiased;
}
.smel-tos-root *, .smel-tos-root *::before, .smel-tos-root *::after { box-sizing: border-box; }
.smel-tos-root h1, .smel-tos-root h2, .smel-tos-root h3, .smel-tos-root p, .smel-tos-root li, .smel-tos-root address, .smel-tos-root strong, .smel-tos-root em { font-family: inherit; color: inherit; text-transform: none; letter-spacing: inherit; text-shadow: none; }
.smel-tos-root h2 { margin: 0 0 .6em; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.smel-tos-root p { margin: 0 0 1em; }
.smel-tos-root ul, .smel-tos-root ol { margin: 0 0 1em; padding: 0; }
.smel-tos-root li { list-style: none; margin: 0; }
.smel-tos-root li::marker { content: none; }
.smel-tos-root a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; box-shadow: none; border: 0; }
.smel-tos-root a:hover { color: var(--azure); }
.smel-tos-root :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.smel-tos-root button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; }
.smel-tos-root .tos-wrap { width: 100%; max-width: calc(1240px + 2 * clamp(20px, 4vw, 48px)); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Hero */
.smel-tos-root .tos-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(120% 90% at 0% 0%, #06336b 0%, var(--deep) 55%); color: #fff; }
.smel-tos-root .tos-curves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.smel-tos-root .tos-hero__inner { position: relative; z-index: 1; }
.smel-tos-root .tos-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.smel-tos-root .tos-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(92, 200, 255, .2); }
.smel-tos-root .tos-hero__title { margin: 0 0 16px; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.smel-tos-root .tos-hero__meta { margin: 0 0 28px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.smel-tos-root .tos-print { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: .92rem; font-weight: 700; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.smel-tos-root .tos-print:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* Body layout */
.smel-tos-root .tos-body { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); }
.smel-tos-root .tos-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.smel-tos-root .tos-admin { margin-bottom: 28px; padding: 16px 20px; border-radius: 16px; background: #FFF8E6; border-left: 4px solid #E0A100; color: #5A4300; font-size: .95rem; }

/* Contents */
.smel-tos-root .tos-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 22px 18px; border-radius: 22px; background: var(--ice); }
.smel-tos-root .tos-toc__title { margin: 0 0 10px 8px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.smel-tos-root .tos-toc ol { margin: 0; }
.smel-tos-root .tos-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.35; transition: background-color .25s, color .25s; }
.smel-tos-root .tos-toc a span { flex: none; width: 22px; color: var(--azure); font-variant-numeric: tabular-nums; }
.smel-tos-root .tos-toc a:hover, .smel-tos-root .tos-toc a.is-active { background: #fff; color: var(--royal); }
.smel-tos-root .tos-toc a.is-active { box-shadow: inset 3px 0 0 var(--royal); }

/* Article */
.smel-tos-root .tos-article { max-width: 760px; }
.smel-tos-root .tos-summary { margin-bottom: 48px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: radial-gradient(120% 80% at 100% 0%, #0a3d7a, var(--deep) 60%); color: #fff; }
.smel-tos-root .tos-summary h2 { font-size: 1.5rem; margin-bottom: 18px; }
.smel-tos-root .tos-summary ul { display: grid; gap: 12px; margin-bottom: 16px; }
.smel-tos-root .tos-summary li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .9); font-weight: 600; line-height: 1.5; }
.smel-tos-root .tos-summary li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(92, 200, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%235CC8FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.smel-tos-root .tos-summary a { color: var(--sky); }
.smel-tos-root .tos-summary__note { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.smel-tos-root .tos-section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.smel-tos-root .tos-section h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.smel-tos-root .tos-num { color: var(--azure); margin-right: 4px; }
.smel-tos-root .tos-section ul { display: grid; gap: 8px; }
.smel-tos-root .tos-section ul li { position: relative; padding-left: 24px; }
.smel-tos-root .tos-section ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--azure); }
.smel-tos-root .tos-callout { margin: 8px 0 20px; padding: 22px 24px 8px; border-radius: 18px; background: var(--ice); border-left: 4px solid var(--royal); }
.smel-tos-root .tos-example { padding: 14px 16px; border-radius: 12px; background: #fff; font-size: .95rem; color: var(--muted); }
.smel-tos-root .tos-contact { font-style: normal; line-height: 1.8; }
.smel-tos-root .tos-ph { padding: 1px 6px; border-radius: 6px; background: #FFE9A8; color: #5A4300; font-weight: 700; }

/* Closing CTA */
.smel-tos-root .tos-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 28px; border-radius: 22px; background: var(--ice); }
.smel-tos-root .tos-cta__title { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.smel-tos-root .tos-cta p:last-child { margin: 0; color: var(--muted); }
.smel-tos-root .tos-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.smel-tos-root .tos-cta__line { font-weight: 700; }
.smel-tos-root .tos-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--royal); color: #fff !important; text-decoration: none !important; font-weight: 700; transition: background-color .3s, transform .3s var(--ease); }
.smel-tos-root .tos-btn:hover { background: var(--deep); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 960px) {
	.smel-tos-root .tos-grid { grid-template-columns: 1fr; }
	.smel-tos-root .tos-toc { position: static; max-height: none; }
	.smel-tos-root .tos-toc ol { columns: 2; column-gap: 12px; }
	.smel-tos-root .tos-toc li { break-inside: avoid; }
}
@media (max-width: 600px) {
	.smel-tos-root .tos-toc ol { columns: 1; }
	.smel-tos-root .tos-cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.smel-tos-root * { transition: none !important; }
}

/* Print: clean black-on-white document */
@media print {
	body:has(.smel-tos-root) header:not(.tos-hero), body:has(.smel-tos-root) footer, body:has(.smel-tos-root) nav:not(.tos-toc) { display: none !important; }
	.smel-tos-root { left: 0; width: auto !important; max-width: none !important; margin: 0 !important; font-size: 11pt; }
	.smel-tos-root .tos-hero { padding: 0 0 12pt; background: none; color: #000; }
	.smel-tos-root .tos-curves, .smel-tos-root .tos-print, .smel-tos-root .tos-toc, .smel-tos-root .tos-cta, .smel-tos-root .tos-admin, .smel-tos-root .tos-eyebrow { display: none !important; }
	.smel-tos-root .tos-hero__title { font-size: 24pt; color: #000; }
	.smel-tos-root .tos-hero__meta { color: #333; }
	.smel-tos-root .tos-grid { display: block; }
	.smel-tos-root .tos-summary { background: none; color: #000; border: 1px solid #999; }
	.smel-tos-root .tos-summary li, .smel-tos-root .tos-summary__note { color: #000; }
	.smel-tos-root .tos-section { break-inside: avoid-page; padding: 12pt 0; }
	.smel-tos-root a { color: #000; }
}
