:root {
  /* Rowan Copy brand: navy with a warm copper accent */
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #14233f;
  --muted: #48648c;
  --line: #e2e8f1;
  --brand: #14233f;
  --brand-ink: #ffffff;
  --brand-soft: #fbe9d6;
  --accent: #e08a3c;
  --accent-ink: #9a521a;
  --navy-50: #f3f5f9;
  --navy-200: #c4d0e1;
  --ok: #1f7a4a;
  --ok-soft: #e5f4ec;
  --err: #b42318;
  --err-soft: #fdecea;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(20, 35, 63, .08), 0 8px 24px rgba(20, 35, 63, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h2 { font-size: 1.3rem; }
a { color: var(--brand); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.error { color: var(--err); background: var(--err-soft); padding: 10px 12px; border-radius: 8px; }
.inline { display: inline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.editor-page .nav { position: static; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: var(--accent); font-family: Fraunces, Georgia, serif; }
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links a.btn { color: #fff; }
.nav-toggle, .nav-burger { display: none; }
.flash { margin: 16px auto 0; max-width: 960px; padding: 12px 16px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); width: calc(100% - 32px); }
.flash-err { background: var(--err-soft); color: var(--err); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.site-foot { background: var(--brand); color: #dfe6f0; padding: 48px 24px 24px; margin-top: 48px; }
.editor-page .site-foot { display: none; }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot .brand { color: #fff; margin: 0 0 10px; }
.site-foot h2 { font: 600 .8rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.muted-light { color: #9bb0cb; font-size: .9rem; }
.foot-bottom { max-width: 1120px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #9bb0cb; }
.foot-bottom p { margin: 0; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font: 600 1rem Inter, sans-serif; padding: 11px 18px; cursor: pointer; text-decoration: none; transition: filter .15s; }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn-sm { padding: 7px 12px; font-size: .875rem; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--err); }
.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
input, textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: 400 1rem Inter, sans-serif; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
input:disabled { background: var(--bg); color: var(--muted); }
textarea { resize: vertical; }
.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 600; cursor: pointer; user-select: none; }
.hint-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }

/* layout */
.page { max-width: 1040px; margin: 0 auto; padding: 32px 16px; }
.page.narrow { max-width: 680px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card.danger { border-color: #f1c4bf; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.back { display: inline-block; text-decoration: none; font-size: .9rem; margin-bottom: 10px; }

/* landing */
.hero { max-width: 820px; margin: 0 auto; padding: 72px 16px 40px; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent-ink); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }

/* auth */
.auth-card { max-width: 420px; margin: 48px auto; }

/* dashboard */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 24px; }
.site-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; overflow-wrap: anywhere; }
.site-card:hover { transform: translateY(-2px); }
.site-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--line); width: fit-content; }
.badge-live { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge-msg { background: var(--brand); color: #fff; border-color: transparent; }

/* editor */
.editor-page main { display: flex; }
.editor { display: grid; grid-template-columns: 380px 1fr; flex: 1; min-height: calc(100vh - 62px); }
.panel { background: var(--surface); border-right: 1px solid var(--line); padding: 20px; overflow-y: auto; max-height: calc(100vh - 62px); }
.panel-head h1 { font-size: 1.5rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.status-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.status-row a { overflow-wrap: anywhere; }
.btn-row { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 -20px 16px; padding: 0 12px; }
.tab { background: none; border: 0; padding: 10px 10px; font: 600 .9rem Inter, sans-serif; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.progress { display: flex; gap: 12px; align-items: center; background: var(--brand-soft); border-radius: 10px; padding: 14px; margin: 12px 0; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(20, 35, 63, .15); border-top-color: var(--brand); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.inbox-link { display: block; margin-top: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.history-list, .image-list { list-style: none; margin: 0; padding: 0; }
.history-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.h-title { font-size: .9rem; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#upload-form { display: grid; gap: 8px; margin-bottom: 14px; }
#upload-form input { margin: 0; }
.image-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.image-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.slug-field { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.slug-field input { flex: 1; min-width: 120px; }
.preview { display: flex; flex-direction: column; background: #ece7e1; min-width: 0; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.device-toggle { display: flex; background: var(--surface); border-radius: 8px; padding: 3px; border: 1px solid var(--line); }
.dev { border: 0; background: none; padding: 5px 12px; border-radius: 6px; font: 600 .85rem Inter, sans-serif; cursor: pointer; color: var(--muted); }
.dev.active { background: var(--navy-50); color: var(--brand); }
.frame-wrap { position: relative; flex: 1; display: flex; justify-content: center; padding: 0 16px 16px; }
#preview { width: 100%; height: 100%; min-height: 70vh; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--shadow); transition: width .25s; }
.empty-state { position: absolute; inset: 0 16px 16px; display: grid; place-content: center; text-align: center; background: #fff; border-radius: 10px; }

/* inbox */
.message.unread { border-left: 4px solid var(--brand); }
.message-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
dt { font-weight: 600; color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }

/* admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.stats .card { display: flex; flex-direction: column; margin: 0; }
.stats strong { font-size: 1.8rem; font-family: Fraunces, Georgia, serif; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }

@media (max-width: 860px) {
  .nav { padding: 12px 16px; }
  .editor { grid-template-columns: 1fr; }
  .panel { max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview { min-height: 80vh; }
  dl { grid-template-columns: 1fr; }
  dt { margin-top: 6px; }
}

/* added: notices, checkboxes, stats, code editor */
.notice { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.badge-down { background: var(--err-soft); color: var(--err); border-color: transparent; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; margin: 4px 0 0; flex: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stat { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; }
.stat strong { display: block; font-size: 1.4rem; font-family: Fraunces, Georgia, serif; }
.stat span { font-size: .75rem; color: var(--muted); }
.code-area { font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-height: 340px; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-actions form { display: inline; }
.admin-actions input { width: 70px; display: inline-block; margin: 0; padding: 4px 6px; }
td { vertical-align: middle; }
.reset-link { font-size: .8rem; word-break: break-all; white-space: normal; background: var(--brand-soft); padding: 8px; border-radius: 6px; }

/* added: billing, hosting */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 8px; }
.plan { display: flex; flex-direction: column; margin: 0; }
.plan ul { padding-left: 18px; margin: 8px 0 16px; flex: 1; }
.plan li { margin-bottom: 4px; }
.plan-price { font: 700 1.5rem Fraunces, Georgia, serif; margin: 0; }
.plan-current { border: 2px solid var(--brand); }
select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; margin-top: 6px; display: block; }
.inline-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { margin: 0; width: auto; flex: 1; min-width: 140px; }
.mail-list { list-style: none; padding: 0; margin: 0 0 18px; }
.mail-list li { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.mail-list li strong { flex: 1; min-width: 200px; }
.mail-list details[open] { flex-basis: 100%; }
.danger-link { color: var(--err); }
.addr { display: flex; align-items: center; gap: 6px; }
.addr input { flex: 1; }
.addr span { font-weight: 500; overflow-wrap: anywhere; }
.mail-create, .dns-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 12px; align-items: end; }
.mail-create .btn, .dns-add .btn { margin-bottom: 14px; }
.mail-settings { margin-top: 8px; }
.mail-settings summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.dns-value { white-space: normal; overflow-wrap: anywhere; max-width: 420px; }
.link-form { display: flex; gap: 6px; flex-wrap: wrap; }
.link-form input { margin: 0; width: auto; min-width: 160px; flex: 1; }
@media (max-width: 600px) {
  .dns-table tr:first-child { display: none; }
  .dns-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .dns-table td { border: 0; padding: 0; white-space: normal; overflow-wrap: anywhere; }
  .dns-table td.dns-value { grid-column: 1 / -1; max-width: none; color: var(--muted); }
  .dns-table td:first-child { font-weight: 700; }
  .dns-table td:last-child { grid-row: 1; grid-column: 3; }
}
.interval-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 4px 0 14px; }
.interval-toggle a { padding: 7px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.interval-toggle a.active { background: var(--brand); color: #fff; }
.interval-toggle .save { font-size: .75rem; font-weight: 500; opacity: .85; }
.usage-note { margin: 0 0 12px; }


/* ---------- buttons added with the public site ---------- */
.btn-accent { background: var(--accent); color: var(--brand); }
.btn-accent:hover { filter: brightness(1.05); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.cta-left { justify-content: flex-start; margin-top: 28px; }
.field-error { display: block; color: var(--err); font-weight: 500; font-size: .85rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.team-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; align-items: end; }
.team-add .btn { margin-bottom: 14px; }
.team-mail { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 0; margin: 0 0 14px; }
.team-mail legend { font-weight: 600; font-size: .9rem; padding: 0 6px; }

/* ---------- public website ---------- */
.m-wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.m-section { padding-top: 64px; padding-bottom: 64px; }
.m-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.m-hero { position: relative; overflow: hidden; background: linear-gradient(to bottom, #eef2f8, var(--bg)); }
.m-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(20,35,63,.07) 1px, transparent 0); background-size: 22px 22px; }
.m-hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; background: radial-gradient(60% 60% at 70% 30%, rgba(224,138,60,.2), transparent 70%), radial-gradient(50% 50% at 20% 80%, rgba(72,100,140,.16), transparent 70%); }
.m-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.m-hero h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1.04; }
.m-hero .lead { margin: 0 0 28px; text-align: left; max-width: 560px; }
.m-hero .cta { justify-content: flex-start; }
.accent-text { background: linear-gradient(100deg, #e08a3c, #c9762c 55%, #b4611f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 480px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.m-stats dt { font: 700 1.5rem Fraunces, Georgia, serif; color: var(--ink); }
.m-stats dd { margin: 4px 0 0; font-size: .78rem; color: var(--muted); }
.m-sample { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.m-sample-back { position: absolute; inset: 24px -12px -24px 12px; transform: rotate(3deg); border: 1px solid var(--line); background: rgba(243,245,249,.7); border-radius: 18px; }
.m-sample-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); transform: rotate(1deg); transition: transform .3s; }
.m-sample-card:hover { transform: rotate(0); }
.m-sample-tag { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b88ad; margin: 0 0 10px; }
.m-sample-tag span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.m-sample-head { font: 600 1.5rem/1.2 Fraunces, Georgia, serif; color: var(--ink); margin: 0 0 10px; }
.m-sample-card p:not(.m-sample-tag):not(.m-sample-head) { font-size: .9rem; color: var(--muted); }
.m-sample-btn { display: inline-block; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.m-sample-note { position: absolute; left: -16px; bottom: -20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: .78rem; font-weight: 500; color: var(--muted); box-shadow: var(--shadow); }
.m-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; padding: 16px 24px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.m-strip span[aria-hidden] { color: var(--navy-200); }
.m-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.m-way { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.m-way p { flex: 1; color: var(--muted); }
.m-way a { font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.m-way-featured { background: var(--brand); color: #fff; border-color: var(--brand); }
.m-way-featured h3 { color: #fff; }
.m-way-featured p { color: #c4d0e1; }
.m-way-featured a { color: var(--accent); }
.m-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--accent-ink); font-size: 1.2rem; margin-bottom: 14px; }
.m-way-featured .m-icon { background: rgba(224,138,60,.2); color: var(--accent); }
.m-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.m-head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.m-head-row p { margin: 0; }
.m-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
a.m-card { transition: transform .15s, box-shadow .15s; }
a.m-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(20,35,63,.1); }
.m-card h2, .m-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.m-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.m-card ul { color: var(--muted); font-size: .9rem; padding-left: 18px; margin: 8px 0 16px; }
.m-price { font-weight: 600; color: var(--accent-ink); font-size: .9rem; }
.m-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.m-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 22px 22px; box-shadow: var(--shadow); }
.m-steps li > span { position: absolute; top: -14px; left: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 .9rem Fraunces, Georgia, serif; }
.m-steps p { color: var(--muted); font-size: .92rem; margin: 0; }
.m-dark { background: var(--brand); color: #fff; }
.m-dark h2, .m-dark h3 { color: #fff; }
.m-dark .eyebrow { color: var(--accent); }
.m-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
.m-why p { color: #c4d0e1; font-size: .92rem; }
.m-check { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(224,138,60,.2); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.m-cta { position: relative; overflow: hidden; text-align: center; color: #fff; background: linear-gradient(135deg, #14233f, #1b2c4f); border-radius: 24px; padding: 64px 32px; }
.m-cta h2 { color: #fff; }
.m-cta p { color: #c4d0e1; max-width: 560px; margin: 0 auto 8px; }
.m-cta-soft { background: var(--navy-50); color: var(--ink); border: 1px solid var(--line); margin-top: 48px; padding: 40px 24px; }
.m-cta-soft h2 { color: var(--ink); }
.m-cta-soft p { color: var(--muted); margin-bottom: 18px; }
.m-page-head { max-width: 680px; margin-bottom: 40px; }
.m-page-head .lead { text-align: left; margin: 0; }
.m-pill { display: inline-block; background: var(--brand-soft); color: var(--accent-ink); border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 600; white-space: nowrap; width: fit-content; }
.m-service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.m-service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.m-note { margin-top: 32px; background: var(--navy-50); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: .9rem; color: var(--muted); }
.m-note strong { color: var(--ink); }
.m-work-img { display: grid; place-items: center; aspect-ratio: 4 / 3; margin: -24px -24px 18px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, var(--navy-50), #e2e8f1); color: #6b88ad; font: 600 1.1rem Fraunces, Georgia, serif; }
.m-work .m-pill { margin-bottom: 10px; }
.m-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.m-about-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(160deg, #14233f, #48648c); margin-bottom: 18px; }
.m-about-photo .brand-mark { width: 96px; height: 96px; border-radius: 22px; font-size: 3rem; background: rgba(255,255,255,.08); }
.m-about .m-card p { margin: 0 0 6px; }
.m-prose p { font-size: 1.05rem; color: var(--muted); margin: 0 0 16px; }
.m-gap { margin-top: 56px; }
.m-popular { margin-bottom: 8px; }
.m-starting { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #6b88ad; margin: -4px 0 8px !important; flex: 0 !important; }
.m-price-card .btn { width: fit-content; }
.m-faq { max-width: 760px; margin-top: 56px; }
.m-faq details { margin-bottom: 12px; padding: 18px 20px; }
.m-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.m-faq details p { margin: 10px 0 0; }
.m-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.m-contact-info { grid-template-columns: 1fr; gap: 2px; margin: 28px 0; }
.m-contact-info dt { color: var(--ink); margin-top: 12px; }
.m-contact-info dd { color: var(--muted); }
.m-tip { display: block; font-size: .92rem; }
.m-form-card { padding: 28px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-2 select { width: 100%; padding: 10px 12px; }

@media (max-width: 900px) {
  .nav-burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; border-radius: 8px; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
  .nav-burger span { top: 19px; }
  .nav-burger span::before { left: 0; top: -7px; }
  .nav-burger span::after { left: 0; top: 7px; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .nav-links a, .nav-links form { padding: 12px 4px; border-top: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 10px; border: 0; padding: 12px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .m-hero-grid, .m-about, .m-contact { grid-template-columns: 1fr; }
  .m-hero-grid { padding-top: 48px; padding-bottom: 64px; }
  .m-ways, .m-service-list { grid-template-columns: 1fr; }
  .m-steps, .m-why { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .m-wrap { padding-left: 16px; padding-right: 16px; }
  .m-section { padding-top: 44px; padding-bottom: 44px; }
  .m-steps, .m-why, .form-2 { grid-template-columns: 1fr; }
  .m-stats { gap: 12px; }
  .m-sample-note { left: 8px; }
  .site-foot { padding-left: 16px; padding-right: 16px; }
}

/* referrals */
.lead-left { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0 0 24px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { margin: 0; flex: 1; min-width: 0; }
.share-row { margin-top: 14px; }
.referral-banner { text-decoration: none; color: var(--ink); justify-content: flex-start; }
.referral-banner:hover { border-color: var(--accent); }
