/* 304 Websites (304websites.com): every page. West Virginia blue and gold, Archivo + Public Sans.
   Light or dark: html[data-theme] (the visitor's device setting until they pick one with the switch; 304.js).
   Motion: hovers, presses and sections that rise in as they're reached. Nothing follows the pointer.
   Everything holds still with reduced motion. */
:root {
  --blue: #12284C; --blue-2: #1C3A6B; --blue-deep: #0B1A33; --gold: #EAAA00; --gold-2: #F6C744; --gold-ink: #7A5500;
  --bg: #FFFFFF; --bg-2: #F3F5F9; --card: #FFFFFF; --ink: #1B2333; --ink-2: #46516A; --line: #DDE2EA; --line-2: #C6CEDB;
  --head: #12284C; --link: #1C3A6B; --focus: #EAAA00; --shadow: 0 1px 2px rgba(12,24,48,.06), 0 8px 24px rgba(12,24,48,.08);
  --shadow-up: 0 2px 4px rgba(12,24,48,.08), 0 18px 40px rgba(12,24,48,.16);
  --r: 14px; --wrap: 1180px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0C1424; --bg-2: #111C30; --card: #15223A; --ink: #E6EBF4; --ink-2: #A9B4C8; --line: #26344F; --line-2: #34456A;
  --head: #F2F5FA; --link: #F6C744; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); --shadow-up: 0 2px 4px rgba(0,0,0,.5), 0 18px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  transition: background-color .3s ease, color .3s ease; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: 'Archivo', system-ui, sans-serif; color: var(--head); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--blue); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 99; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
section.band { padding: 88px 0; }
section.band.alt { background: var(--bg-2); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 40px; }
.kick { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
html[data-theme="dark"] .kick { color: var(--gold-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font: 700 17px/1.2 'Public Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn.gold { background: var(--gold); color: #12284C; box-shadow: 0 2px 0 #B98500; }
.btn.gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 4px 0 #B98500, 0 10px 20px rgba(234,170,0,.25); }
.btn.gold:active { transform: translateY(1px); box-shadow: 0 1px 0 #B98500; }
.btn.line { background: transparent; color: inherit; border-color: currentColor; }
.btn.line:hover { transform: translateY(-2px); background: rgba(127,140,170,.12); }
.btn.line:active { transform: translateY(1px); }
.btn.blue { background: var(--blue); color: #fff; }
html[data-theme="dark"] .btn.blue { background: #2A4C86; }
.btn.blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.btn.sm { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--blue); color: #fff; border-bottom: 1px solid #22396A; transition: box-shadow .2s ease; }
.top.scrolled { box-shadow: 0 6px 20px rgba(4,12,28,.25); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mark b { font: 900 21px/1 'Archivo', sans-serif; background: var(--gold); color: #12284C; padding: 6px 9px; border-radius: 7px; letter-spacing: -0.5px; transition: transform .2s ease; }
.mark:hover b { transform: rotate(-4deg) scale(1.05); }
.mark span { font: 800 20px/1 'Archivo', sans-serif; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a:not(.btn) { color: #DCE3F0; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.theme { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #3A5385; background: transparent; color: #DCE3F0; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.theme:hover { background: rgba(255,255,255,.08); transform: rotate(-12deg); }
.theme svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme .moon { display: none; }
html[data-theme="dark"] .theme .sun { display: none; }
html[data-theme="dark"] .theme .moon { display: block; }
@media (max-width: 860px) { .nav .wide { display: none; } }
@media (max-width: 520px) { .hide-s { display: none; } .nav { gap: 10px; } .top .wrap { gap: 10px; padding: 0 16px; } .mark span { font-size: 18px; } }

/* ---------- hero ---------- */
.hero { background: var(--blue); color: #fff; overflow: hidden; position: relative; }
.hero .ridges { position: absolute; inset: auto 0 0 0; width: 100%; height: 46%; opacity: .5; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; } }
.hero .kick { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 66px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); white-space: nowrap; }
.hero .lede { color: #DCE3F0; font-size: 20px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero .fine { font-size: 15px; color: #B7C3DA; }
.stage { position: relative; }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(4,12,28,.45); transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.stage:hover .browser { transform: rotate(0deg) translateY(-4px); }
.browser .bar { background: #E6E9EF; padding: 9px 12px; display: flex; align-items: center; gap: 7px; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #C3C8D2; }
.browser .bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 13px; color: #46516A; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.phone { position: absolute; right: -14px; bottom: -40px; width: 30%; max-width: 190px; border-radius: 26px; border: 6px solid #0B1A33; overflow: hidden; background: #0B1A33; box-shadow: 0 24px 50px rgba(4,12,28,.5); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.caption { margin-top: 18px; padding-right: 34%; font-size: 13px; color: #B7C3DA; }
@media (max-width: 960px) { .phone { right: 4px; bottom: -28px; } }

/* ---------- county strip ---------- */
.strip { background: var(--gold); color: #12284C; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.strip h2 { font-size: clamp(22px, 3vw, 28px); color: #12284C; font-weight: 800; }
.strip form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.strip label { font-weight: 700; }
select, input[type="text"], input[type="email"], input[type="password"], input[type="search"] { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); width: 100%; }
.strip select { width: auto; min-width: 220px; border-color: #12284C; background: #fff; color: #1B2333; }
.strip .btn.blue { background: #12284C; }

/* ---------- cards and grids ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease; }
a.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); border-color: var(--line-2); }
a.card:active { transform: translateY(-1px); }
.card .go { margin-top: auto; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.card .go svg { width: 18px; height: 18px; transition: transform .2s ease; }
a.card:hover .go svg { transform: translateX(4px); }
.ico { width: 46px; height: 46px; border-radius: 11px; background: #EAF0FA; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .3s ease; }
html[data-theme="dark"] .ico { background: #1E3155; color: var(--gold-2); }
a.card:hover .ico { transform: scale(1.08) rotate(-5deg); background: var(--gold); color: #12284C; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--ink-2); font-size: 16px; }
.more-line { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* features with real pictures */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.feat figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.feat figure:hover .shot { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-up); }
.feat figcaption b { display: block; font: 800 19px/1.25 'Archivo', sans-serif; color: var(--head); }
.feat figcaption span { color: var(--ink-2); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--gold-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .checks svg { stroke: var(--gold-2); }

/* honest starter set */
.starting { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .starting { grid-template-columns: 1fr; } }
.compare { display: grid; gap: 12px; }
.compare div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.compare s { color: var(--ink-2); }
.compare b { color: var(--head); }

/* prices */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.plan { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); background: var(--card); transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.plan.dark { background: var(--blue); color: #fff; border-color: var(--blue); }
.plan.dark h3, .plan.dark .num { color: #fff; }
.plan .num { font: 900 50px/1 'Archivo', sans-serif; color: var(--head); }
.plan .num small { font: 600 18px 'Public Sans', sans-serif; opacity: .8; }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.plan.dark ul { color: #DCE3F0; }
.plan .btn { margin-top: auto; }
.plan .was { text-decoration: line-through; opacity: .7; margin-right: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps ol { padding: 0; margin: 0; }
.steps .n { font: 900 56px/1 'Archivo', sans-serif; color: var(--gold); }

/* directory */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 600 15px 'Public Sans', sans-serif; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--head); cursor: pointer; text-decoration: none; transition: background-color .18s ease, transform .18s ease, border-color .18s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
html[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--gold); color: #12284C; border-color: var(--gold); }
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 24px; }
.biz { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.biz:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.biz-cover { position: relative; height: 112px; background: var(--c); background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18) 0 18%, transparent 19%), linear-gradient(160deg, rgba(255,255,255,.1), rgba(0,0,0,.18)); overflow: hidden; }
.biz-cover svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; fill: rgba(255,255,255,.14); }
.biz-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.biz:hover .biz-cover img { transform: scale(1.05); }
.biz-tag { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #12284C; font: 700 12px/1 'Public Sans', sans-serif; padding: 6px 9px; border-radius: 999px; }
.biz-body { position: relative; padding: 0 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.biz-logo { width: 68px; height: 68px; border-radius: 16px; margin-top: -34px; border: 4px solid var(--card); background: #fff; object-fit: contain; box-shadow: var(--shadow); }
.biz-init { display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: #fff; font: 900 24px/1 'Archivo', sans-serif; letter-spacing: -0.5px; }
.biz h3 { font-size: 21px; margin-top: 4px; }
.biz h3 a { color: var(--head); text-decoration: none; }
.biz h3 a:hover { text-decoration: underline; }
.biz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--ink-2); }
.biz-trade { background: #EAF0FA; color: var(--blue); font-weight: 700; padding: 4px 10px; border-radius: 999px; }
html[data-theme="dark"] .biz-trade { background: #1E3155; color: var(--gold-2); }
.biz-where { display: inline-flex; align-items: center; gap: 4px; }
.biz-where svg, .biz-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.biz-blurb { font-size: 15px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.biz-svc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.biz-svc li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.biz-acts { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-acts .btn { min-height: 44px; padding: 8px 13px; font-size: 14px; }
.biz-acts .btn.line { border-width: 1.5px; }
.empty { border: 1px dashed var(--line-2); border-radius: 12px; padding: 26px; text-align: center; color: var(--ink-2); margin-top: 24px; }

/* who runs this + questions */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--head); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font: 700 24px/1 'Archivo', sans-serif; color: var(--gold-ink); transition: transform .25s ease; }
html[data-theme="dark"] .faq summary::after { color: var(--gold-2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

.close { background: var(--blue); color: #fff; text-align: center; }
.close h2 { color: #fff; font-size: clamp(32px, 5vw, 50px); }
.close .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 820px; }
.close p { color: #DCE3F0; font-size: 19px; }

/* ---------- footer ---------- */
.foot { background: var(--blue-deep); color: #B7C3DA; padding: 36px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-direction: column; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: #DCE3F0; }
.wz-fam { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 14px; border-top: 1px solid #22396A; }
.wz-fam a { color: #DCE3F0; }
.wz-fam-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wz-fam-home svg { width: 22px; height: 22px; transition: transform .4s ease; }
.wz-fam-home:hover svg { transform: rotate(72deg); }

/* ---------- forms (start, confirm) ---------- */
.page-head { background: var(--blue); color: #fff; padding: 48px 0 40px; }
.page-head h1 { color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 900; }
.page-head p { color: #DCE3F0; margin-top: 10px; font-size: 18px; max-width: 680px; }
.form-wrap { max-width: 640px; margin: 0 auto; padding: 40px 24px 72px; }
form.f { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; font-weight: 600; color: var(--head); }
.field .hint { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.addr { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--card); }
.addr input { border: 0; border-radius: 0; min-width: 0; }
.addr span { display: flex; align-items: center; padding: 0 12px; background: var(--bg-2); color: var(--ink-2); font-weight: 500; white-space: nowrap; font-size: 15px; }
.slug-ok { font-size: 14px; font-weight: 500; }
.link-now { font-weight: 500; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; }
.link-now b { color: var(--head); }
#s-link-edit { display: grid; gap: 6px; margin-top: 8px; }
.slug-ok.yes { color: #1F7A3E; } .slug-ok.no { color: #B3261E; }
html[data-theme="dark"] .slug-ok.yes { color: #7BD89A; } html[data-theme="dark"] .slug-ok.no { color: #FF9C94; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); cursor: pointer; }
.tick input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
html[data-theme="dark"] .tick input { accent-color: var(--gold); }
.tick small { display: block; color: var(--ink-2); font-size: 14px; }
.err { color: #B3261E; font-weight: 600; min-height: 1em; }
html[data-theme="dark"] .err { color: #FF9C94; }
.okbox { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--card); display: grid; gap: 12px; }
.spin { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; }

/* ---------- guides ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 40px 24px 72px; }
.article h2 { font-size: 28px; margin: 36px 0 12px; }
.article p, .article li { color: var(--ink); }
.article p + p { margin-top: 14px; }
.article ol, .article ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.article .note { border-left: 4px solid var(--gold); background: var(--bg-2); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.article .src { margin-top: 36px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- dialogs: the tour and the quiz ---------- */
dialog.dlg { border: 0; padding: 0; border-radius: 18px; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(4,12,28,.5); }
dialog.dlg::backdrop { background: rgba(8,16,32,.62); }
dialog.dlg[open] { animation: pop .28s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-in { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dlg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dlg-top p { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.dlg-x { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dlg-x:hover { background: var(--bg-2); }
.dlg-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.tour-step { display: grid; gap: 18px; }
.tour-step[hidden] { display: none; }
.tour-step img { border-radius: 12px; border: 1px solid var(--line); max-height: 330px; width: 100%; object-fit: cover; object-position: top; }
.tour-step.on { animation: stepin .35s ease; }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.tour-step h3 { font-size: 24px; }
.tour-step p { color: var(--ink-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); transition: width .25s ease, background-color .25s ease; }
.dots i.on { width: 24px; background: var(--gold); }
.dlg-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dlg-foot .row { display: flex; gap: 10px; flex-wrap: wrap; }
.q-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.q-opt { text-align: left; font: 600 16px 'Public Sans', sans-serif; padding: 14px 16px; min-height: 52px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease; }
.q-opt:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.q-opt[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
html[data-theme="dark"] .q-opt[aria-pressed="true"] { background: var(--gold); color: #12284C; border-color: var(--gold); }
.q-opt small { display: block; font-weight: 400; font-size: 14px; opacity: .85; margin-top: 2px; }
.result { display: grid; gap: 14px; }
.result ul { margin: 0; padding-left: 20px; columns: 2 220px; }
.result .card { padding: 20px; }

/* ---------- motion as things come into view (304.js adds .in) ---------- */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .08s; } .rise.d2 { transition-delay: .16s; } .rise.d3 { transition-delay: .24s; }
.hero .rise { transition-duration: .8s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
  .browser { transform: none; }
}
@media print { .top, .foot, dialog { display: none; } }

/* The bot check (Cloudflare Turnstile) above the signup button */
.bot{min-height:65px;margin:2px 0}

/* Owner login (2026-10-21): always in the header; the icon alone on a phone, the words from 560px. */
.nav a.login { display: inline-flex; align-items: center; gap: 7px; }
.nav a.login svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 559px) { .nav a.login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 420px) { .top .wrap { gap: 8px; } .nav { gap: 4px; } .nav a.login { padding: 10px 8px; } .mark { gap: 7px; } .mark span { font-size: 17px; } .theme { width: 40px; height: 40px; } .nav .btn.sm { padding-left: 12px; padding-right: 12px; } }

/* Sample sites */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 8px; }
a.sample { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
a.sample:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
a.sample img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
a.sample .s-body { display: grid; gap: 2px; padding: 14px 16px 16px; }
a.sample .s-body span { color: var(--muted, #52627a); font-size: .95rem; }
