/* The Magic Services Data Check. The MDI SAAS-010 kit rebuilt in violet: cream pages, one headline word on a dark marker swash, violet-framed
   picture tiles, a near-black strip, dark panels beside pale result areas, dark cards with outlined pills, black and outlined pill buttons. */
@font-face { font-family: 'Sora'; src: url('fonts/Sora-Variable.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Variable.ttf') format('truetype'); font-weight: 100 700; font-stretch: 85% 100%; font-display: swap; }

:root {
  --cream: #f8f6ee; --paper: #ffffff; --pale: #efecf8; --ink: #16141d; --ink2: #33303d; --muted: #5a5566; --line: #d6d1e2;
  --violet: #8b77f5; --violet2: #6c55e6; --vdeep: #4a35c0; --lav: #cdc4ff; --dark: #17141f; --panel: #211d2c; --panel2: #2c2739; --pline: #6f6884;
  --r: 22px; --wrap: 1180px; --shadow: 0 18px 40px -22px rgba(40, 24, 110, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink2); font: 400 17px/1.6 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vdeep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--vdeep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; color: var(--ink); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .92em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lav { color: var(--lav); }

/* the marker swash under one headline word */
.mk { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.mk svg { position: absolute; left: -3%; bottom: -.2em; width: 106%; height: .34em; fill: var(--ink); z-index: -1; transition: clip-path .9s cubic-bezier(.6, .1, .2, 1) .25s; clip-path: inset(0 0 0 0); }
html.js [data-reveal] .mk svg { clip-path: inset(0 100% 0 0); }
html.js [data-reveal].in .mk svg { clip-path: inset(0 0 0 0); }
.band-dark .mk svg, .dark-panel .mk svg { fill: var(--violet); }

/* pills and buttons */
.eb { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: #e3ddfd; color: var(--ink); font: 600 .78rem/1.4 'Sora', sans-serif; letter-spacing: .08em; }
.eb.on-dark { background: rgba(139, 119, 245, .22); color: var(--lav); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 'Sora', sans-serif; text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.btn .ic { transition: transform .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .ic { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--vdeep); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-violet { background: var(--violet); color: var(--ink); }
.btn-violet:hover { background: var(--lav); color: var(--ink); }
.btn-line-l { border-color: var(--lav); color: #fff; background: transparent; }
.btn-line-l:hover { background: var(--lav); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.acts.center { justify-content: center; }

/* header */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(248, 246, 238, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hd-in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-m { display: grid; gap: 3px; width: 34px; padding: 6px; border-radius: 10px; background: var(--ink); }
.logo-m i { display: block; height: 4px; border-radius: 3px; background: var(--violet); }
.logo-m i:nth-child(2) { width: 80%; }
.logo-m i:nth-child(3) { width: 60%; background: #5ef0f0; }
.logo-w { font: 700 1.12rem/1.1 'Sora', sans-serif; letter-spacing: -.01em; }
.logo-w small { display: block; font: 500 .74rem/1.3 'IBM Plex Sans', sans-serif; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 500; padding: 8px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--violet); transition: right .3s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { font-weight: 700; color: var(--ink); }
.hd-acts { display: flex; gap: 10px; }
.mm { display: none; position: relative; }
.mm summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); }
.mm summary::-webkit-details-marker { display: none; }
.mm-panel { position: absolute; right: 0; top: 58px; width: min(86vw, 330px); max-height: 75vh; overflow: auto; background: var(--panel); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.mm-panel a { display: block; color: #fff; text-decoration: none; padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mm-panel a[aria-current="page"] { color: var(--lav); font-weight: 700; }
.mm-h { margin: 12px 0 2px; color: var(--lav); font: 600 .74rem/1.4 'Sora', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1020px) { .nav { display: none; } .mm { display: block; margin-left: auto; } .hd-acts { margin-left: auto; } .hd-acts + .mm { margin-left: 0; } }
@media (max-width: 640px) { .hd-acts { display: none; } .mm { margin-left: auto; } }

/* home hero and picture tiles */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-in { max-width: 900px; }
.hero .lead { max-width: 680px; margin: 0 auto; font-size: 1.15rem; color: var(--ink2); }
.tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-top: 48px; }
.tile { margin: 0; padding: 10px; border-radius: 28px; background: linear-gradient(140deg, #b3a5ff, var(--violet2)); box-shadow: var(--shadow); overflow: hidden; }
.tile img { width: 100%; height: 340px; object-fit: cover; border-radius: 20px; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile.wide { transform: translateY(-14px); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } .tile.wide { grid-column: 1 / -1; transform: none; } .tile img { height: 220px; } }

/* the dark strip */
.strip { background: var(--dark); color: #ebe7fa; margin-top: 40px; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 26px; padding-bottom: 26px; }
.strip p { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1rem/1.3 'Sora', sans-serif; }
.strip .ic { color: var(--violet); width: 1.4em; height: 1.4em; }

/* sections */
.sec { padding: 80px 0; }
.sec.alt { background: var(--pale); }
.sec-h { max-width: 760px; margin-bottom: 38px; }
.more { margin-top: 34px; }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.dgrid > :nth-child(3n+2) { margin-top: 34px; }
.dcard { background: var(--panel); color: #ebe7fa; border-radius: var(--r); padding: 26px; transition: transform .3s ease, box-shadow .3s ease; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dpill { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border: 1.5px solid var(--violet); border-radius: 999px; color: var(--lav); font: 600 .9rem/1.4 'Sora', sans-serif; }
.dcard ul { list-style: none; margin: 0; padding: 0; }
.dcard li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.dcard li .ic { color: var(--ink); background: var(--violet); border-radius: 6px; padding: 2px; width: 1.25em; height: 1.25em; margin-top: 3px; }
@media (max-width: 900px) { .dgrid { grid-template-columns: 1fr 1fr; } .dgrid > :nth-child(3n+2) { margin-top: 0; } .dgrid > :nth-child(2n) { margin-top: 28px; } }
@media (max-width: 600px) { .dgrid { grid-template-columns: 1fr; } .dgrid > :nth-child(2n) { margin-top: 0; } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: stretch; }
.split-txt { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .split, .split-txt { grid-template-columns: 1fr; } }
.dark-panel { background: var(--panel); color: #ebe7fa; border-radius: 26px; padding: 32px; }
.dark-panel h2, .dark-panel .on-dark { color: #fff; }
.dark-panel .small.on-dark, .dark-panel p.on-dark { color: #dcd6ef; }
.dark-panel a { color: var(--lav); }
.dark-panel :focus-visible { outline-color: var(--lav); }
.dark-panel label { display: block; font: 600 1rem/1.4 'Sora', sans-serif; margin-bottom: 10px; }
.dark-panel textarea, .dark-panel input { width: 100%; background: var(--panel2); color: #fff; border: 1.5px solid var(--pline); border-radius: 14px; padding: 12px 14px;
  font: 400 .95rem/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.dark-panel input { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.05rem; margin-bottom: 14px; min-height: 48px; }
.dark-panel textarea:focus, .dark-panel input:focus { border-color: var(--lav); outline: 2px solid var(--lav); outline-offset: 1px; }
.dark-panel .big { font: 600 1.25rem/1.4 'Sora', sans-serif; overflow-wrap: anywhere; }
.pale { position: relative; background: var(--paper); border-radius: 26px; padding: 18px; border: 1px solid var(--line); }
.pale > img { border-radius: 18px; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.chip-float { position: absolute; top: -16px; right: 22px; display: flex; gap: 8px; align-items: center; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--violet); color: var(--ink);
  font: 600 .9rem/1.3 'Sora', sans-serif; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .3s ease, transform .3s ease; }
.steps li:hover { border-color: var(--violet); transform: translateY(-3px); }
.n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 1.1rem/1 'Sora', sans-serif; margin-bottom: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.band-dark { background: var(--dark); color: #dcd6ef; padding: 72px 0; }
.band-dark h2 { color: #fff; max-width: 820px; }
.band-in p { max-width: 700px; }

/* inner page hero */
.page-hero { padding: 52px 0 34px; }
.ph.with-pic { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.ph .lead { font-size: 1.12rem; max-width: 660px; }
.ph-pic { margin: 0; padding: 10px; border-radius: 28px; background: linear-gradient(140deg, #b3a5ff, var(--violet2)); box-shadow: var(--shadow); }
.ph-pic img { border-radius: 20px; width: 100%; height: 320px; object-fit: cover; }
@media (max-width: 860px) { .ph.with-pic { grid-template-columns: 1fr; } .ph-pic img { height: 230px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* how it works: alternating feature splits */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; margin-bottom: 64px; }
.how:nth-child(even) figure { order: 2; }
.how figure { margin: 0; padding: 10px; border-radius: 28px; background: linear-gradient(140deg, #b3a5ff, var(--violet2)); }
.how figure img { border-radius: 20px; width: 100%; height: 340px; object-fit: cover; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; gap: 20px; } .how:nth-child(even) figure { order: 0; } .how figure img { height: 230px; } }

/* rule lists, questions */
.rgroup { margin-bottom: 40px; }
.rule { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: border-color .25s ease, box-shadow .25s ease; }
.rule:hover { border-color: var(--violet); }
.rule[open] { box-shadow: var(--shadow); }
.rule summary { cursor: pointer; padding: 16px 20px; font: 600 1.02rem/1.4 'Sora', sans-serif; color: var(--ink); display: flex; gap: 12px; align-items: center; min-height: 48px; }
.rule > p, .rule > ol { margin: 0 20px 16px; }
.rule > ol { padding-left: 20px; }
.lvl { flex: none; padding: 2px 10px; border-radius: 999px; font: 600 .74rem/1.5 'Sora', sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.lvl.fix { background: var(--ink); color: #fff; }
.lvl.chk { border: 1.5px solid var(--ink); color: var(--ink); }

.prose { max-width: 760px; }
.wrap.prose, .wrap.rules { max-width: var(--wrap); }
.wrap.prose > * { max-width: 760px; }
.wrap.rules > * { max-width: 900px; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.src { font-size: .95rem; color: var(--muted); }
.tbl { overflow-x: auto; margin: 1.4em 0; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
caption { text-align: left; padding: 14px 16px 6px; font: 600 .95rem/1.4 'Sora', sans-serif; color: var(--ink); }
th, td { text-align: left; padding: 10px 16px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.acts-list { padding-left: 20px; }
.acts-list li { margin-bottom: 12px; }
.profile { margin: 0; background: var(--panel); border-radius: 24px; padding: 22px; color: #ebe7fa; }
.profile figcaption { font: 600 .9rem/1.4 'Sora', sans-serif; color: var(--lav); margin-bottom: 12px; }
.profile pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; line-height: 1.55; }

/* checker results */
.results { min-height: 320px; }
.chk { align-items: start; }
@media (min-width: 861px) { .chk .dark-panel { position: sticky; top: 96px; } }
.dark-panel textarea { white-space: pre; overflow-x: auto; }
.static-ex { padding: 8px; }
.ck-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 6px 6px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.ck-score { font: 700 3rem/1 'Sora', sans-serif; color: var(--ink); }
.ck-score small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.ck-col { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.ck-col h3 { font-size: 1.02rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.ck-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ck-row label { font-size: .9rem; color: var(--muted); }
.ck-row select { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); padding: 6px 10px; font: inherit; background: var(--paper); color: var(--ink); }
.bar { position: relative; flex: 1 1 160px; height: 12px; border-radius: 99px; background: var(--pale); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--violet2), var(--violet)); transition: width .8s ease; }
.bar.good i { background: linear-gradient(90deg, #2fb9b9, #5ef0f0); }
.ck-pts { font: 600 .95rem/1 'Sora', sans-serif; color: var(--ink); min-width: 3.4em; text-align: right; }
.ck-f { list-style: none; margin: 10px 0 0; padding: 0; }
.ck-f > li { padding: 8px 0; border-top: 1px dashed var(--line); }
.ck-f .t { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.ck-ex { list-style: none; margin: 6px 0 0; padding: 0 0 0 4px; font-size: .9rem; color: var(--ink2); }
.ck-ex code { background: var(--pale); padding: 1px 6px; border-radius: 6px; }
.ck-out-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ck-note { font-size: .9rem; color: var(--muted); }

/* privacy policy: three alternating section layouts */
.pp { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; }
.pp-nav { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; font-size: .92rem; }
.pp-nav ol { list-style: none; margin: 0; padding: 0; }
.pp-nav a { display: block; padding: 5px 0; color: var(--ink2); text-decoration: none; }
.pp-nav a:hover { color: var(--vdeep); }
.policy-section { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.policy-section figure { margin: 0; }
.policy-section img { border-radius: 18px; width: 100%; height: 150px; object-fit: cover; }
.policy-section:nth-of-type(3n+2) { grid-template-columns: minmax(0, 1fr) 170px; }
.policy-section:nth-of-type(3n+2) figure { order: 2; }
.policy-section:nth-of-type(3n) { grid-template-columns: 1fr; background: var(--panel); color: #e6e1f5; border-radius: 24px; padding: 24px; margin: 18px 0; border: 0; }
.policy-section:nth-of-type(3n) h2 { color: #fff; }
.policy-section:nth-of-type(3n) img { height: 180px; }
.policy-section h2 { font-size: 1.3rem; }
@media (max-width: 900px) { .pp { grid-template-columns: 1fr; } .pp-nav { position: static; max-height: none; } }
@media (max-width: 560px) { .policy-section, .policy-section:nth-of-type(3n+2) { grid-template-columns: 1fr; } .policy-section:nth-of-type(3n+2) figure { order: 0; } .policy-section img { height: 170px; } }

/* footer */
.ft { background: var(--dark); color: #d8d2ea; padding: 60px 0 34px; }
.ft a { color: #e6e0ff; }
.ft a:hover { color: var(--lav); }
.ft :focus-visible { outline-color: var(--lav); }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.ft-line { font: 700 1.5rem/1.25 'Sora', sans-serif; color: #fff; }
.fh { font: 600 .78rem/1.4 'Sora', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); }
.ft-top div > a { display: block; padding: 5px 0; text-decoration: none; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li, .svc a { display: flex; gap: 10px; align-items: center; padding: 4px 0; text-decoration: none; }
.svc .ic { color: var(--violet); }
.ft-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: #bdb6d2; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-top { grid-template-columns: 1fr; } }

/* motion: reveal on scroll; without JavaScript, or with reduced motion, everything is simply shown */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js [data-reveal] .mk svg { clip-path: none; transition: none; }
  .chip-float { animation: none; }
  .btn, .btn .ic, .tile img, .dcard, .steps li, .bar i, .nav a::after { transition: none; }
  .btn:hover, .dcard:hover, .steps li:hover { transform: none; }
  .tile:hover img { transform: none; }
}
@media print { html.js [data-reveal] { opacity: 1; transform: none; } html.js [data-reveal] .mk svg { clip-path: none; } .hd, .mm, .band-dark, .chip-float { display: none; } }
@media (max-width: 560px) { body { font-size: 16px; } .wrap { padding: 0 18px; } .sec { padding: 56px 0; } .hero { padding-top: 48px; } .dark-panel { padding: 24px 20px; } }
