/* DesiERP legal pages: Terms & Conditions, Privacy Policy, Refund & Cancellation Policy (light, like the website) */
:root {
	--primary: #1f5fd6;
	--ink: #161b26;
	--text: #3d4452;
	--muted: #6b7280;
	--line: #e5e7ee;
	--soft: #f6f7fa;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); line-height: 1.7; background: linear-gradient(180deg, #f3f7ff 0, #fff 320px); min-height: 100vh; }
.wrap { max-width: 920px; margin: 0 auto; padding: 24px 20px 40px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { width: 48px; height: 34px; display: grid; place-items: center; }
.mark img { width: 100%; height: 100%; object-fit: contain; }
.brand b { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.brand b span { color: var(--primary); }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: -3px; }
.back { font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; padding: 8px 14px; border-radius: 8px; border: 1px solid #cfd4de; background: #fff; }
.back:hover { border-color: var(--primary); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 16px; }
.tabs a { font-size: 13.5px; font-weight: 700; color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.tabs a:hover { color: var(--primary); border-color: #b9cdf5; }
.tabs a.on { color: #fff; background: var(--primary); border-color: var(--primary); }
article { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 38px 42px; box-shadow: 0 14px 40px rgba(22, 27, 38, .07); }
article h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
article .meta { font-size: 13.5px; color: var(--muted); margin: 8px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
article h2 { font-size: 19px; font-weight: 800; margin: 28px 0 8px; letter-spacing: -.01em; text-wrap: balance; }
article p, article li { font-size: 15.5px; color: var(--text); max-width: 74ch; }
article p + p { margin-top: 10px; }
article ul, article ol { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
article a { color: var(--primary); }
article .note { background: #fffaf0; border: 1px solid #fde7bd; color: #7a4a00; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin: 14px 0; }
article table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14.5px; }
article th, article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { background: var(--soft); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.contact { display: grid; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 10px; font-size: 15px; }
footer { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.7; }
footer nav { display: flex; gap: 6px 16px; flex-wrap: wrap; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--primary); text-decoration: underline; }
footer b { color: var(--ink); font-weight: 700; }
@media (max-width: 600px) { article { padding: 24px 20px; } }

/* the floating back-to-top button: a ring shows how far down the page you are */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; padding: 0;
	background: conic-gradient(var(--primary, #1f5fd6) var(--p, 0%), #dbe3f3 0); box-shadow: 0 10px 26px rgba(22, 27, 38, .22); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top span { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary, #1f5fd6); display: grid; place-items: center; font-size: 16px; transition: background .2s, color .2s; }
.to-top:hover span { background: var(--primary, #1f5fd6); color: #fff; }
.to-top:focus-visible { outline: 3px solid #93b4f5; outline-offset: 3px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } .to-top span { width: 37px; height: 37px; } }

