/* start.mkadvantage.com - MKAdvantage brand palette (same as the gallery). Text pairs meet WCAG 2.1 AA. */
:root {
	--teal: #126e6d;      /* 5.9:1 on white */
	--teal-dark: #0c5150;
	--green: #22aa86;
	--slate: #303d3a;     /* body text, 11:1 on --bg */
	--muted: #4f5e5a;     /* 6.6:1 on white */
	--bg: #f3f6f5;
	--card: #ffffff;
	--line: #d5dfdc;
	--err: #b42318;       /* 6.5:1 on white */
	--warn-bg: #fff7e0;
	--radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--slate); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
.top { padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.top .brand img { display: block; height: 34px; width: auto; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px 40px; }
h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 10px; color: #1f2a28; }
h1 small, h2 small { font-size: 14px; font-weight: 500; color: var(--muted); }
h2 { font-size: 20px; margin: 0 0 14px; color: #1f2a28; }
.hero { max-width: 760px; margin: 8px 0 24px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.wide { margin-bottom: 20px; }
.signup { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
input, select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #9fb0ab; border-radius: 10px; background: #fff; color: var(--slate); }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--err); }
.err { display: block; color: var(--err); font-size: 14px; margin-top: 4px; }
.row { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.hint { color: var(--muted); font-size: 14px; }
.btn { display: inline-block; margin-top: 18px; background: var(--teal); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font: 700 16px/1.2 inherit; font-family: inherit; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--teal); border: 2px solid var(--teal); padding: 9px 18px; font-size: 15px; }
.btn--ghost:hover { background: #e8f2f1; color: var(--teal-dark); }
.shot { margin: 0 0 6px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 640 / 420; background: #e8eeec; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.swatches { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.swatches legend { grid-column: 1 / -1; }
.sw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 14px; cursor: pointer; }
.sw input { width: auto; margin: 0; accent-color: var(--teal); }
.sw:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.sw__chips { display: inline-flex; }
.sw__name { flex: 1 1 100%; line-height: 1.3; }
.sw__chips i { width: 14px; height: 22px; display: block; border: 1px solid rgba(0, 0, 0, .12); }
.sw__chips i:first-child { border-radius: 4px 0 0 4px; }
.sw__chips i:last-child { border-radius: 0 4px 4px 0; }
.notice { background: var(--warn-bg); border: 1px solid #f0d58a; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; }
.notice--err { background: #fdecea; border-color: #f4b4ae; color: #7a1a12; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { max-width: 720px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--teal); margin: 0 0 6px; }
.big { font-size: 22px; font-weight: 700; margin: 6px 0; word-break: break-all; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.steps li { padding: 10px 12px 10px 40px; border-radius: 10px; background: #f6f8f7; position: relative; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid #9fb0ab; }
.steps li.done { color: var(--slate); }
.steps li.done::before { background: var(--green); border-color: var(--green); }
.steps li.now { color: #1f2a28; font-weight: 600; background: #e8f2f1; }
.steps li.now::before { border-color: var(--teal); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps li.now::before { animation: none; border-top-color: var(--teal); } }
.testmail { max-width: 720px; margin: 18px auto 0; border-style: dashed; }
.testmail pre, .log, details pre { white-space: pre-wrap; word-break: break-word; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: #f6f8f7; padding: 12px; border-radius: 8px; }
.log { max-height: 480px; overflow: auto; }
.tablewrap { overflow-x: auto; }
table.ops, table.dns { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ops th, table.ops td, table.dns th, table.dns td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dns { margin: 8px 0; background: #fff; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #e8eeec; font-size: 13px; font-weight: 600; }
.st-live .pill { background: #d9f2e9; color: #0d5c46; }
.st-failed .pill { background: #fdecea; color: #7a1a12; }
.st-awaiting_dns .pill { background: var(--warn-bg); color: #6b4e00; }
.acts form { display: inline-block; margin: 0 4px 4px 0; }
.mini { font: 600 13px/1 inherit; font-family: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--teal); background: #fff; color: var(--teal); cursor: pointer; }
.mini--danger { border-color: var(--err); color: var(--err); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; }
.events { padding-left: 18px; font-size: 14px; }
