/* MadFish Hosting. Follows madfishsolutions.com: white header, deep navy hero over the
   underwater photograph, Inter, MadFish blue for links and action orange for buttons. */
:root {
  --navy: #051f33;
  --midnight: #071c2d;
  --ink: #183247;
  --text: #183247;
  --muted: #486174;
  --faint: #6a8296;
  --line: #d9e3eb;
  --line-2: #e8eef3;
  --soft: #f4f8fb;
  --blue: #1271b7;
  --blue-ink: #006fac;
  --blue-wash: #edf5fa;
  --orange: #ff7a1a;
  --orange-hover: #f06a0c;
  --orange-soft: #ff9b53;
  --ok: #157f4b; --ok-bg: #e5f5ec;
  --warn: #9a5200; --warn-bg: #fff2e5;
  --info: #0d5f99; --info-bg: #e7f1fa;
  --danger: #b42318; --danger-bg: #fdecea;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(5, 31, 51, .05), 0 8px 24px -12px rgba(5, 31, 51, .12);
  --ease: cubic-bezier(.2, .75, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -.03em; line-height: 1.15; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
button { font: inherit; }
code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }
.opt { font-weight: 400; color: var(--faint); font-size: 12px; margin-left: 4px; }
.mt { margin-top: 18px; }
:focus-visible { outline: 3px solid #4ea3e0; outline-offset: 2px; border-radius: 4px; }

/* ---- wordmark: set as the Partners logo is, with Hosting as the suffix ---------------- */
.mf-brand { display: inline-flex; align-items: center; gap: .5rem; line-height: 1; white-space: nowrap; font-size: 21px; color: var(--ink); }
.mf-brand:hover { text-decoration: none; }
.mf-brand__word { font-weight: 800; letter-spacing: -.01em; }
.mf-brand__mad { color: var(--ink); }
.mf-brand__fish { color: var(--blue); }
.mf-brand__rule { width: 1px; height: 1.15em; background: #b9c8d4; }
.mf-brand__solutions { font-size: .64em; font-weight: 500; letter-spacing: .22em; margin-right: -.22em; color: var(--faint); }
.mf-brand--lg { font-size: 24px; }

/* ---- buttons ------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 6px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .15s; text-decoration: none !important; }
.btn svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: #c5d3de; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 8px 4px; color: var(--blue-ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-text.danger { color: var(--danger); }
.btn-text:hover { text-decoration: underline; }

/* ---- header -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn), .nav-link-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 6px; color: var(--ink); font-weight: 500; font-size: 14.5px; background: none; border: 0; cursor: pointer; }
.site-nav > a:not(.btn):hover, .nav-link-btn:hover, .site-nav a[aria-current="page"] { color: var(--blue-ink); background: var(--blue-wash); text-decoration: none; }
.nav-link-btn svg { width: 16px; height: 16px; }
.nav-form { margin: 0; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #075887; margin: 6px 0; transition: transform .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---- flash --------------------------------------------------------------------------- */
.flash-stack { padding-top: 18px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 8px; font-size: 14.5px; border: 1px solid; }
.flash a { font-weight: 600; }
.flash-ok { background: var(--ok-bg); border-color: #b9e2cb; color: #0f5c37; }
.flash-error { background: var(--danger-bg); border-color: #f5c2bd; color: #8a1c13; }
.flash-info { background: var(--info-bg); border-color: #bcd8ef; color: #0b4f80; }
.is-home .flash-stack { position: absolute; left: 0; right: 0; z-index: 5; }

/* ---- hero ---------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #051f33e6 0%, #051f33b3 40%, #051f3330 78%), linear-gradient(0deg, #051f33a6, transparent 55%); }
.hero-content { padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(80px, 9vw, 130px); }
.hero-category { color: #d2e9fb; font-size: 15px; font-weight: 500; margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px; }
.hero-category::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: 1.03; letter-spacing: -.055em; margin: 0 0 26px; max-width: 820px; }
.hero-description { color: #e0e8f0; max-width: 560px; font-size: 18px; line-height: 1.7; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 34px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; padding: 12px 0; }
.hero-secondary svg { width: 17px; height: 17px; }
.hero-secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.hero-note { color: #bdcfdf; font-size: 13px; margin: 22px 0 0; }

.fact-band { background: var(--midnight); border-top: 1px solid #ffffff1f; }
.fact-links { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 28px; padding-bottom: 28px; }
.fact-links > div { padding: 4px 30px; border-left: 1px solid #ffffff26; }
.fact-links > div:first-child { padding-left: 0; border: 0; }
.fact-links strong { display: block; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.fact-links span { display: block; color: #b9cbdc; font-size: 13px; line-height: 1.5; margin-top: 5px; }

/* ---- sections ------------------------------------------------------------------------ */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section h2, .split h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 16px; text-wrap: balance; }
.eyebrow { color: var(--blue-ink); font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-title { font-size: 18px; margin: 34px 0 12px; }

/* plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 28px 28px; box-shadow: var(--shadow); }
.plan-card.is-featured { border: 2px solid var(--blue); padding: 31px 27px 27px; }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.plan-card h3 { font-size: 24px; font-weight: 800; }
.plan-tagline { color: var(--muted); font-size: 14.5px; margin: 6px 0 20px; }
.plan-best { font-size: 13.5px; color: var(--ink); background: var(--soft); border-radius: 7px; padding: 9px 12px; margin: -6px 0 20px; }
.plan-best span { display: block; font-size: 11.5px; font-weight: 700; color: var(--blue-ink); margin-bottom: 1px; }
.plan-option small { font-size: 12px; color: var(--faint); font-weight: 400; }
.plan-radio-tag em { font-style: normal; color: var(--faint); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.plan-price strong { font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: var(--navy); }
.plan-price span { color: var(--faint); font-size: 14px; }
.plan-card .checklist { flex: 1; margin-bottom: 26px; }
.plan-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--faint); font-size: 13.5px; margin: 28px 0 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checklist svg { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.checklist-lg { gap: 16px; margin-top: 26px; }
.checklist-lg li { font-size: 16px; color: var(--muted); }
.checklist-lg b { color: var(--ink); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; counter-increment: s; }
.steps li::after { content: counter(s); position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 700; color: var(--faint); }
.step-icon, .card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-wash); color: var(--blue); flex-shrink: 0; }
.step-icon svg, .card-icon svg { width: 21px; height: 21px; }
.steps h3 { font-size: 18px; margin: 18px 0 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* split + dashboard mock */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.mock { background: var(--navy); border-radius: 14px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(5, 31, 51, .55); }
.mock-bar { display: flex; gap: 6px; padding: 6px 8px 12px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ffffff30; }
.mock-body { background: #fff; border-radius: 9px; padding: 24px; display: grid; gap: 14px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.mock-head b { display: block; font-size: 19px; color: var(--navy); letter-spacing: -.02em; }
.mock-head small, .mock-card small { display: block; color: var(--faint); font-size: 12.5px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mock-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.mock-card b { font-size: 16px; color: var(--ink); }
.mock-wide { display: flex; justify-content: space-between; align-items: center; }
.mock-dl { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--blue-wash); color: var(--blue); }
.mock-btn { background: var(--orange); color: #fff; text-align: center; padding: 12px; border-radius: 6px; font-weight: 700; font-size: 14.5px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 30px 19px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 22px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

.closing { background: var(--navy); color: #fff; padding: 64px 0; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.closing h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 8px; }
.closing p { color: #c4d4e2; margin: 0; }
.closing-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* ---- auth ---------------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: calc(100vh - 77px); }
.auth-art { position: relative; background: var(--navy); overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #051f33f0, #051f3340 60%, #051f3320); }
.auth-art-copy { position: absolute; left: 48px; right: 48px; bottom: 52px; z-index: 1; color: #fff; }
.auth-art-copy p { color: #d2e9fb; font-size: 14px; font-weight: 500; margin: 0 0 10px; }
.auth-art-copy strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; max-width: 420px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 56px 28px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 34px; font-weight: 800; letter-spacing: -.045em; margin-bottom: 8px; }
.auth-card > .muted { margin-bottom: 28px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-top: 22px; color: var(--muted); }

/* ---- forms --------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form.compact { gap: 10px; }
.form label { display: grid; gap: 7px; align-content: start; font-size: 14px; font-weight: 600; color: var(--ink); }
.form small { font-weight: 400; color: var(--faint); font-size: 12.5px; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #c5d3de; border-radius: 7px; font: 15px var(--sans); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form textarea { min-height: 0; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #1271b72e; }
.form input:disabled { background: var(--soft); color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); }
.form h2 { font-size: 19px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.secure-note { display: flex; align-items: center; gap: 7px; justify-content: center; color: var(--faint); font-size: 13px; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-pick legend { grid-column: 1 / -1; }
.plan-option { cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option span { display: grid; gap: 2px; border: 1px solid #c5d3de; border-radius: 8px; padding: 11px 12px; transition: border-color .15s, background .15s; }
.plan-option b { font-size: 15px; color: var(--ink); }
.plan-option em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); }
.plan-option input:checked + span { border: 2px solid var(--blue); padding: 10px 11px; background: var(--blue-wash); }
.plan-option input:focus-visible + span { box-shadow: 0 0 0 3px #1271b740; }
.invite-box { border: 1px dashed #c5d3de; border-radius: 10px; padding: 16px; display: grid; gap: 12px; }

.plan-radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-radio { cursor: pointer; font-weight: 400 !important; }
.plan-radio input { position: absolute; opacity: 0; }
.plan-radio-body { display: grid; gap: 6px; height: 100%; border: 1px solid #c5d3de; border-radius: 10px; padding: 20px; transition: border-color .15s, background .15s; }
.plan-radio input:checked + .plan-radio-body { border: 2px solid var(--blue); padding: 19px; background: #f6fafd; }
.plan-radio input:focus-visible + .plan-radio-body { box-shadow: 0 0 0 3px #1271b740; }
.plan-radio-top { display: flex; justify-content: space-between; align-items: center; }
.plan-radio-top b { font-size: 18px; color: var(--navy); }
.plan-radio-top em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--blue); padding: 3px 9px; border-radius: 999px; }
.plan-radio-price { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.plan-radio-price small { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; margin-left: 4px; }
.plan-radio-tag { font-size: 13.5px; color: var(--muted); }
.plan-radio ul { list-style: none; padding: 10px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 7px; }
.plan-radio li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink); }
.plan-radio li svg { width: 16px; height: 16px; color: var(--blue); margin-top: 3px; }

/* ---- app ----------------------------------------------------------------------------- */
.app-head { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line-2); padding: 36px 0 30px; }
.app-head h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.045em; word-break: break-word; }
.app-head .muted { margin: 6px 0 0; }
.app-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.app-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-head-actions form { margin: 0; }
.site-switch { display: flex; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 10px; }
.site-switch b { color: var(--ink); font-weight: 600; }
.app-body { padding: 30px 0 80px; }
.app-body > .container { display: grid; gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.card h2 { font-size: 19px; letter-spacing: -.02em; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head-split { justify-content: space-between; flex-wrap: wrap; }
.card-head-split .card-head { margin: 0; }
.card-head-split form { margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.card-actions form { margin: 0; }
.facts { margin: 0; display: grid; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.facts > div:last-child { border: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #eef2f5; color: #5b6f80; }

.callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--info-bg); border: 1px solid #bcd8ef; border-radius: var(--radius); padding: 18px 22px; }
.callout b { color: var(--navy); }
.callout p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.callout form { margin: 0; }
.callout-warn { background: var(--warn-bg); border-color: #f6d3ad; }

.progress { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.progress li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--faint); padding-top: 12px; border-top: 3px solid var(--line); }
.progress li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eef2f5; font-size: 12px; }
.progress li span svg { width: 14px; height: 14px; }
.progress li.done { color: var(--ok); border-color: var(--ok); }
.progress li.done span { background: var(--ok); color: #fff; }
.progress li.now { color: var(--blue-ink); border-color: var(--blue); }
.progress li.now span { background: var(--blue); color: #fff; }
.dns-box { margin-top: 20px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.dns-box h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 8px; }
.dns-box p { color: var(--muted); font-size: 14.5px; }
.dns-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dns-table th { text-align: left; font-size: 12px; color: var(--faint); font-weight: 600; padding: 6px 10px; }
.dns-table td { padding: 10px; border-top: 1px solid var(--line-2); }

.packing { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; }
.packing b { display: block; color: var(--navy); }
.packing small { color: var(--muted); }
.spinner { width: 24px; height: 24px; border: 3px solid #c9dcec; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.dl-list { list-style: none; padding: 0; margin: 6px 0 0; }
.dl-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.dl-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--soft); color: var(--blue); }
.dl-icon svg { width: 19px; height: 19px; }
.dl-meta { flex: 1; min-width: 0; }
.dl-meta b { display: block; font-size: 15px; color: var(--ink); }
.dl-meta small { color: var(--faint); font-size: 13px; }
.empty { color: var(--faint); font-size: 14.5px; margin: 6px 0 0; }
.help-card { display: flex; gap: 16px; align-items: flex-start; }
.help-card h2 { margin-bottom: 4px; }
.help-card p { margin: 0; }
.empty-card { text-align: center; padding: 48px 26px; }
.empty-card h2 { margin: 16px 0 8px; }
.empty-card .muted { max-width: 460px; margin: 0 auto 22px; }

.site-list { display: grid; gap: 10px; }
.site-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.site-row:hover { border-color: var(--blue); text-decoration: none; }
.site-row b { display: block; font-size: 17px; color: var(--navy); }
.site-row small { color: var(--faint); font-size: 13.5px; }
.site-row > svg { width: 18px; height: 18px; color: var(--faint); }

/* admin */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat small { display: block; color: var(--faint); font-size: 13px; }
.stat b { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.04em; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a[aria-current] { color: var(--blue-ink); border-color: var(--blue); }
.table-card { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--faint); padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--soft); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td small { display: block; color: var(--faint); font-size: 12.5px; }
.table .right { text-align: right; }
.table-compact td { padding: 10px 18px; font-size: 13.5px; }
.clip { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 700; background: #eef2f5; color: #5b6f80; text-transform: capitalize; white-space: nowrap; }
.pill-active, .pill-trialing, .pill-job-done { background: var(--ok-bg); color: var(--ok); }
.pill-comp { background: #efe9ff; color: #5b3cc4; }
.pill-past_due, .pill-unpaid, .pill-incomplete, .pill-none, .pill-job-failed { background: var(--warn-bg); color: var(--warn); }
.pill-job-failed { background: var(--danger-bg); color: var(--danger); }
.pill-job-queued, .pill-job-running { background: var(--info-bg); color: var(--info); }
.admin-grid { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-side { display: grid; gap: 22px; }
.admin-side h2 { margin-bottom: 12px; }
.action-list { display: grid; gap: 12px; }
.action-list form { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 0; }
.action-list small { color: var(--faint); font-size: 12.5px; }
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 13.5px; }
.job-list small { color: var(--faint); }
.job-list pre { white-space: pre-wrap; word-break: break-word; background: var(--soft); border-radius: 6px; padding: 8px 10px; margin: 6px 0 0; font-size: 12px; font-family: var(--mono); color: var(--muted); }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--danger); }
.error-page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 14px; }
.error-page .btn { margin-top: 10px; }

/* ---- footer -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 380px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--ink); }
.footer-cols a { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer-cols a svg { width: 12px; height: 12px; color: var(--blue-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: #52697b; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #52697b; text-decoration: underline; text-decoration-color: #52697b55; text-underline-offset: 3px; }

/* ---- responsive ---------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .plan-grid, .plan-radio-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-radio-grid { max-width: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .admin-grid { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 20px 20px 40px; background: #fff; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
  .site-nav > a:not(.btn), .nav-link-btn { font-size: 20px; padding: 14px 10px; width: 100%; }
  .nav-cta { margin: 14px 0 0; min-height: 52px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 200px; }
  .auth-art-copy { left: 24px; right: 24px; bottom: 24px; }
  .fact-links { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 6px; }
  .fact-links > div, .fact-links > div:first-child { border: 0; padding: 18px 0; }
  .fact-links > div + div { border-top: 1px solid #ffffff20; }
  .card-grid { grid-template-columns: 1fr; }
  .progress { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 68px; }
  .site-nav { top: 68px; }
  .mf-brand { font-size: 18px; gap: .4rem; }
  .hero h1 { font-size: clamp(38px, 11vw, 50px); letter-spacing: -.045em; }
  .hero h1 br { display: none; }
  .hero-description { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-actions .btn, .hero-secondary { justify-content: center; }
  .hero-note { text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .plan-pick { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .site-row { grid-template-columns: auto 1fr; }
  .site-row .badge { grid-column: 2; justify-self: start; }
  .site-row > svg { display: none; }
  .dl-list li { flex-wrap: wrap; }
  .dl-list .btn { width: 100%; }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .action-list form { grid-template-columns: 1fr; gap: 4px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .closing-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .closing-actions .hero-secondary { justify-content: center; }
  .dns-table { font-size: 12.5px; }
  .dns-table td, .dns-table th { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
