/* AIsitefilter. A "paper map" look: warm paper, navy ink, a red pin, a teal drawn area. */
:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1b2a3a;
  --muted: #55626f;
  --line: #ddd3c0;
  --pin: #c23a1f;
  --pin-ink: #ffffff;
  --teal: #1f6f66;
  --teal-soft: #dcebe6;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 44rem; margin: 0 auto; padding: 0 20px; }

/* top bar */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; max-width: 68rem; margin: 0 auto; }
.brand { font: 700 1.35rem/1 var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand b { color: var(--pin); font-weight: 700; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--pin); }

/* headings and text */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.08; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; font-weight: 700; margin-bottom: 12px; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.eyebrow { font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.names { font: 600 0.95rem/1.5 var(--font-body); letter-spacing: 0.04em; color: var(--teal); margin: 18px 0 0; }
.small { font-size: 0.92rem; color: var(--muted); }

/* sections */
.hero { padding: 36px 20px 28px; }
.hero .lede { margin-top: 18px; }
.band { padding: 44px 0; }
.band--card { background: var(--card); border-block: 1px solid var(--line); }

/* industry tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; margin-top: 18px; }
.tile { display: block; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pin); color: var(--ink); }
.tile h3 { margin-bottom: 4px; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }
.tile .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--pin); }
.tile--soon { border: 2px dashed var(--line); box-shadow: none; background: transparent; color: var(--muted); cursor: default; }
.tile--soon:hover { transform: none; box-shadow: none; color: var(--muted); }
.tile--soon h3 { color: var(--muted); }
.pill { display: inline-block; font: 700 0.72rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; background: var(--teal-soft); color: var(--teal); padding: 5px 8px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }

/* three-up blocks */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 24px; margin-top: 22px; }
.block { border-top: 3px solid var(--ink); padding-top: 14px; }
.block p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 24px; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 3px solid var(--pin); }
.steps li::before { content: counter(step); display: block; font: 700 1.6rem/1 var(--font-display); color: var(--pin); margin-bottom: 6px; }
.steps b { display: block; font-size: 1.1rem; }
.steps span { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; max-width: 44rem; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: inset 0 0 0 4px var(--teal-soft); }

/* buttons */
.btn, button.btn { display: inline-block; font: 700 1rem/1 var(--font-body); color: var(--pin-ink); background: var(--pin); border: 2px solid var(--pin); border-radius: 10px; padding: 13px 20px; cursor: pointer; text-decoration: none; }
.btn--ghost, button.btn.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:focus:not(:focus-visible) { outline: none; }
a.btn:hover { color: var(--pin-ink); }
a.btn.btn--ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* the map tool */
.tool { background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: clamp(16px, 3vw, 28px); box-shadow: 6px 6px 0 var(--ink); margin-top: 22px; }
.tool__grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 24px; align-items: start; }
.tool__step { margin-bottom: 22px; }
.tool__step h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.tool label { display: block; font-weight: 600; font-size: 0.95rem; margin: 0 0 6px; }
.tool input[type=text], .tool select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.tool input:focus, .tool select:focus { outline: 3px solid var(--pin); outline-offset: 0; border-color: var(--ink); }
.row { display: flex; gap: 8px; }
.row > input { flex: 1; min-width: 0; }
.seg { display: grid; gap: 8px; }
.seg button { text-align: left; font: inherit; font-weight: 600; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 11px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.seg button small { display: block; font-weight: 400; color: var(--muted); }
.opt { margin-top: 12px; }
.opt[hidden] { display: none; }
.msg { min-height: 1.5em; margin: 8px 0 0; font-size: 0.95rem; color: var(--muted); }
.msg.bad { color: #a8281a; font-weight: 600; }
.msg.ok { color: var(--teal); font-weight: 600; }
.map { width: 100%; height: 440px; border: 2px solid var(--ink); border-radius: 12px; background: #e9e3d3; overflow: hidden; z-index: 0; }
.map.is-drawing { cursor: crosshair; touch-action: none; }
.summary { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--teal-soft); color: var(--ink); }
.summary b { font-family: var(--font-display); font-size: 1.15rem; }
.summary p { margin: 6px 0 0; font-size: 0.95rem; color: var(--muted); }
.pin-dot { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--pin); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); transform: rotate(-45deg); }
.vtx { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 1px #fff; cursor: grab; }
.leaflet-container { font-family: var(--font-body); }

/* legal and contact pages */
.doc { padding: 24px 0 56px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin: 30px 0 6px; }
.doc ul { padding-left: 1.2rem; margin: 0 0 12px; }
.doc li { margin: 0 0 8px; }
.note { padding: 12px 14px; border-radius: 8px; background: var(--teal-soft); margin: 0 0 24px; }
.updated { color: var(--muted); font-size: 0.9rem; margin: 6px 0 24px; }

/* contact page (same layout as the other SHORE AI sites) */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px 56px; align-items: start; margin-top: 8px; }
.ct > * { min-width: 0; }
.ct-label { margin: 0 0 10px; font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ct-h { font: 700 clamp(2rem, 5vw, 3rem)/1.08 var(--font-display); margin: 0; text-wrap: balance; }
.ct-lede { margin: 16px 0 24px; color: var(--muted); max-width: 34rem; }
.ct-info { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ct-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-row dt { margin: 0 0 4px; font: 600 0.7rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ct-row dd { margin: 0; font-size: 1.1875rem; }
.ct-row a { color: var(--ink); text-decoration-color: var(--pin); text-underline-offset: 4px; }
.ct-copy { margin-left: 10px; font: 600 0.8rem/1 inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.ct-copy:hover, .ct-copy:focus-visible { border-color: var(--pin); }
.ct-form { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.ct-fh { font: 700 1.4rem/1.2 var(--font-display); margin: 0 0 6px; }
.ct-form label { display: block; margin: 16px 0 6px; font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ct-form label span { text-transform: none; letter-spacing: 0; }
.ct-form input[type=text], .ct-form input[type=email], .ct-form input[type=tel], .ct-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.ct-form textarea { min-height: 9rem; resize: vertical; }
.ct-form input:focus, .ct-form textarea:focus { outline: 3px solid var(--pin); outline-offset: 0; }
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-fine { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
.ct-send { margin-top: 20px; font: 700 1rem/1 inherit; color: var(--pin-ink); background: var(--pin); border: 0; border-radius: 10px; padding: 14px 24px; cursor: pointer; }
.ct-send[disabled] { opacity: .6; cursor: progress; }
.ct-note { margin: 14px 0 0; min-height: 1.4em; color: var(--muted); }
.ct-ok { color: var(--ink); font-weight: 600; }
.ct-bad { color: #a8281a; font-weight: 600; }

/* footer: always aligned to the LEFT, on phone and on desktop */
.foot { margin-top: 24px; padding: 22px 0 40px; border-top: 1px solid var(--line); text-align: left; color: var(--muted); font-size: 0.92rem; }
.foot .wrap { display: grid; gap: 6px; text-align: left; justify-items: start; }
.foot p { margin: 0; text-align: left; }
.foot a { color: var(--muted); }

@media (max-width: 860px) {
  .tool__grid { grid-template-columns: minmax(0, 1fr); }
  .ct { grid-template-columns: minmax(0, 1fr); }
  .map { height: 360px; }
}
@media (max-width: 520px) {
  .top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tool { box-shadow: 4px 4px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }

/* ===== Color and theme: a business map room. Navy, teal, gold and a red pin. ===== */
:root { --navy: #10263b; --navy-2: #173652; --gold: #f2b134; --gold-ink: #3a2a00; }
body { background: var(--paper); }
.masthead { background: var(--navy); border-bottom: 4px solid var(--gold); }
.masthead .top { padding-block: 16px; }
.masthead .brand { color: #fff; font-size: 1.5rem; }
.masthead .brand b { color: var(--gold); }
.masthead .nav a { color: #fff; }
.masthead .nav a:hover, .masthead .nav a[aria-current="page"] { border-bottom-color: var(--gold); }

.dark { background: linear-gradient(to bottom, var(--navy) 0, rgba(16,38,59,0) 90px), url(/assets/map-pattern.svg), radial-gradient(120% 90% at 85% 0, #1d4468 0, var(--navy) 60%); background-color: var(--navy); color: #fff; }
.dark h1, .dark h2 { color: #fff; }
.dark .eyebrow { color: var(--gold); }
.dark .lede { color: #d6e0ea; }
.dark .small { color: #c4d1de; }
.dark .names { color: var(--gold); font-size: 1rem; }
.dark .tool { box-shadow: 6px 6px 0 var(--gold); border-color: var(--gold); color: var(--ink); }
.dark .tool h3 { color: var(--ink); }
.dark .tool .small { color: var(--muted); }
.hero.dark { padding: 44px 0 56px; }
.hero.dark .wrap { padding: 0 20px; }
.hero--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.hero--split svg { width: 100%; height: auto; max-width: 420px; justify-self: end; filter: drop-shadow(8px 10px 0 rgba(0,0,0,.28)); }

/* industry tiles with colored icon blocks */
.pick { padding: 48px 20px 52px; }
.pick h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.tile { padding: 0; overflow: hidden; }
.tile .ico { display: flex; align-items: center; justify-content: center; height: 108px; border-bottom: 2px solid var(--ink); }
.tile .ico svg { width: 64px; height: 64px; }
.tile .body { padding: 18px 20px 20px; }
.tile--rest .ico { background: var(--pin); }
.tile--bar .ico { background: var(--gold); }
.tile--soon .ico { background: transparent; border-bottom: 2px dashed var(--line); }
.tile--soon .ico svg { opacity: .5; }
.tile .go { background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 8px; margin-top: 14px; }
.tile:hover .go { background: var(--pin); }

/* colored bands */
.band--teal { background: linear-gradient(rgba(14,70,63,.0), rgba(14,70,63,.0)), url(/assets/map-pattern.svg), var(--teal); background-color: var(--teal); color: #fff; border: 0; }
.band--teal h2, .band--teal h3 { color: #fff; }
.band--teal .lede, .band--teal p { color: #e3f1ee; }
.band--teal .block { border-top-color: var(--gold); background: rgba(255,255,255,.08); padding: 16px 18px 18px; border-radius: 0 0 12px 12px; }
.band--teal .block p { color: #e3f1ee; }
.band--teal .checks li::before { background: var(--gold); box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); }
.band--teal .checks li { font-size: 1.12rem; }
.band--gold { background: var(--gold); color: var(--gold-ink); }
.band--gold h2 { color: var(--gold-ink); }
.steps li { border-top: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px 18px; box-shadow: 4px 4px 0 var(--ink); }
.steps li::before { width: 42px; height: 42px; line-height: 42px; text-align: center; border-radius: 50%; background: var(--pin); color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.steps li:nth-child(2)::before { background: var(--teal); }
.steps li:nth-child(3)::before { background: var(--gold); color: var(--gold-ink); }

/* footer: dark and left-aligned */
.foot { background: var(--navy); color: #c4d1de; border-top: 4px solid var(--gold); margin-top: 0; }
.foot a { color: #fff; }

@media (max-width: 860px) {
  .hero--split { grid-template-columns: minmax(0, 1fr); }
  .hero--split svg { justify-self: start; max-width: 340px; }
}

/* ===== report ===== */
.report { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: clamp(16px, 3vw, 28px); margin-top: 22px; }
.report h4 { font: 700 1.05rem/1.3 var(--font-body); margin: 22px 0 8px; color: var(--ink); }
.rp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rp-kicker { flex: 1 1 100%; font: 600 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rp-verdict { font: 700 1.6rem/1 var(--font-display); padding: 10px 18px; border-radius: 10px; color: #fff; }
.rp-verdict.rp-good { background: #217a54; } .rp-verdict.rp-okay { background: #b9770e; } .rp-verdict.rp-risky { background: #b3321c; } .rp-verdict.rp-unknown { background: #55626f; }
.rp-score { color: var(--muted); font-weight: 600; }
.rp-text { margin: 14px 0 0; max-width: 46rem; }
.rp-bad { color: #a8281a; font-weight: 600; }
.rp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 12px; margin-top: 20px; }
.rp-tile { background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rp-tile b { display: block; font: 700 1.4rem/1.2 var(--font-display); }
.rp-tile span { font-size: .9rem; color: var(--muted); }
.rp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 8px 28px; }
.rp-bar { display: grid; grid-template-columns: 9.5rem 1fr 3rem; gap: 8px; align-items: center; font-size: .95rem; margin: 6px 0; }
.rp-bar__t { height: 12px; background: #e8dfcd; border-radius: 6px; overflow: hidden; display: block; }
.rp-bar__t i { display: block; height: 100%; border-radius: 6px; }
.rp-bar__v { text-align: right; font-weight: 600; }
.rp-reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rp-reasons li { padding: 10px 12px 10px 14px; border-left: 6px solid var(--line); background: var(--paper); border-radius: 0 8px 8px 0; }
.rp-reasons li.rp-good { border-left-color: #217a54; } .rp-reasons li.rp-warn { border-left-color: #b9770e; } .rp-reasons li.rp-bad { border-left-color: #b3321c; color: var(--ink); font-weight: 400; }
.rp-notes { margin: 22px 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .rp-bar { grid-template-columns: 7.5rem 1fr 2.6rem; } }

/* Pinny and the Pin Score */
.pinny { display: block; filter: drop-shadow(0 2px 0 rgba(16,38,59,.12)); }
.pinny-wrap { display: inline-flex; margin-right: 4px; }
.pins { display: inline-flex; gap: 3px; margin-left: 10px; vertical-align: middle; }
.rp-score { display: flex; align-items: center; flex-wrap: wrap; color: var(--ink, #10263b); font-weight: 600; }
.rp-head { align-items: center; }
.pinbadge { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; width: fit-content; max-width: 100%; color: #fff; font-size: .95rem; }
.pinbadge b { color: #f2b134; }
.meet { background: var(--paper, #f6f1e7); padding: 44px 0 36px; border-bottom: 1px solid #e3dccd; }
.meet__intro { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.meet__faces { display: flex; align-items: flex-end; gap: 8px; }
.meet__intro h2 { margin: 0 0 6px; }
.meet__intro .lede { margin: 0; max-width: 62ch; }
.meet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.meet__card { background: #fff; border: 1px solid #e3dccd; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.meet__card b { font-family: var(--font-display); font-size: 1.1rem; }
.meet__card span { color: #55626f; }
.meet__moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.meet__moods > div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid #e3dccd; border-radius: 12px; }
.meet__moods span { display: flex; flex-direction: column; color: #55626f; }
.meet__moods b { color: #10263b; }
.meet__note { margin-top: 14px; }
@media (max-width: 760px) { .meet__grid, .meet__moods { grid-template-columns: 1fr; } }
.pinbadge .pinny { width: 34px; height: 40px; flex: none; }
.meet__faces .pinny { width: 64px; height: 76px; }
.meet__moods .pinny { width: 40px; height: 48px; flex: none; }
.pinbadge { align-items: center; }

/* Guides */
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: inherit; }
.updated { color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.cta { margin: 28px 0; padding: 18px; border-radius: 12px; background: var(--navy, #10263b); color: #fff; }
.cta a.btn { margin-top: 10px; }
.src { font-size: .9rem; color: var(--muted); }
ul.src a { color: inherit; }
.glist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.glist li { margin: 0; }
.glist a { display: block; padding: 16px; background: #fff; border: 1px solid #e3dccd; border-radius: 12px; text-decoration: none; color: inherit; }
.glist a:hover { border-color: var(--teal, #1f6f66); }
.glist b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 2px; }
.glist span { color: #55626f; }
.doc .glist { padding-left: 0; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.cta a.btn { margin-right: 8px; }

/* Monthly plan account page */
[hidden] { display: none !important; }
.acct { max-width: 560px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 4px 4px 0 var(--line); }
.acct label { display: block; font-weight: 700; margin: 0 0 8px; }
.acct input[type=email] { display: block; width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 13px 14px; }
.acct input[type=email]:focus { outline: 3px solid var(--pin); outline-offset: 0; border-color: var(--ink); }
.acct .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.acct h2 { font-size: 1.25rem; margin: 22px 0 8px; }
.acct .lede { margin: 0 0 6px; color: var(--ink); font-weight: 700; font-size: 1.35rem; }
.acct .glist { margin: 0; }
.acct #amsg { margin: 14px 0 0; min-height: 1.2em; }
.acct #amsg.err { color: #a02f17; font-weight: 600; }
.acct-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--line); }
.hero h1 { overflow-wrap: anywhere; }

/* ---- GeographicStudy: the map maker and the gallery ---- */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.hero.dark .btn--ghost { color: #fff; border-color: #fff; }
.hero.dark .small { color: #c4d1de; }
.make { padding-bottom: 40px; }
.make__h { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-top: 18px; }
.privacyline { background: var(--teal-soft); border-left: 4px solid var(--teal); padding: 10px 14px; border-radius: 0 8px 8px 0; max-width: 46rem; }
.step { margin-top: 28px; }
.step h2 { font-size: 1.4rem; }
.drop { display: block; border: 3px dashed var(--teal); background: var(--card); border-radius: 14px; padding: 34px 20px; text-align: center; cursor: pointer; }
.drop:hover, .drop.over { background: var(--teal-soft); }
.drop__big { display: block; font: 700 1.35rem/1.2 var(--font-display); color: var(--ink); }
.drop__small { display: block; color: var(--muted); margin-top: 6px; }
.drop input { display: block; margin: 14px auto 0; max-width: 100%; }
.trysample { margin-top: 10px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.setgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 14px 18px; margin-bottom: 10px; }
.setgrid label, .check { display: block; font-weight: 600; margin-bottom: 4px; }
.setgrid select { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--card); color: var(--ink); }
.bad { color: var(--pin); font-weight: 600; }
.warn { color: #7a4a00; }
.mapwrap { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 18px; align-items: start; }
.bigmap { height: 560px; border: 2px solid var(--ink); border-radius: 12px; background: #ece6d8; }
.side { background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.side h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.legend, .toplist { list-style: none; padding: 0; margin: 0 0 12px; }
.legend li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.legend .sw { flex: 0 0 22px; height: 22px; border: 1px solid rgba(16,38,59,.5); border-radius: 4px; margin-top: 2px; }
.legend--row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legend--row li { margin: 0; align-items: center; }
.legend--row .sw { height: 16px; flex-basis: 16px; margin: 0; }
.toplist { counter-reset: t; }
.toplist li { counter-increment: t; display: block; margin: 0 0 4px; font-size: .98rem; }
.toplist li::before { content: counter(t) ". "; color: var(--muted); }
.notes p { margin: 0 0 8px; }
.side__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.side__btns .btn { padding: 10px 14px; font-size: .95rem; }
.check { font-weight: 400; margin: 0 0 12px; }
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 22px; margin: 22px 0 40px; }
.galcard { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px 6px; }
.galcard h2 { font-size: 1.25rem; margin-bottom: 6px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--teal-soft); color: var(--teal); padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.galmap { height: 280px; border: 1px solid var(--line); border-radius: 10px; background: #ece6d8; margin-bottom: 10px; }
.galmap--small { height: 170px; margin-bottom: 8px; }
.galfail { padding: 20px; }
.takeaway { margin-top: 8px; }
.samplegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 16px; margin-top: 22px; }
.samplecard { display: block; text-decoration: none; color: var(--ink); font-weight: 600; }
.samplecard:hover { color: var(--pin); }
.leaflet-container { font-family: var(--font-body); }
@media (max-width: 820px) {
  .mapwrap { grid-template-columns: 1fr; }
  .bigmap { height: 420px; }
}
@media print {
  .masthead, .foot, .step:not(#stepMap), .side__btns, .check, .skip, .leaflet-control-zoom { display: none !important; }
  .mapwrap { grid-template-columns: 1fr 16rem; }
  .bigmap { height: 520px; }
  body { background: #fff; }
}

/* A calm street map under the shading so the colors stand out */
.leaflet-tile-pane { filter: grayscale(.75) contrast(.88) brightness(1.08); }

/* Sample map card in the front-page hero */
.herocard { display: block; background: #fffdf8; border-radius: 12px; padding: 14px 14px 12px; color: #10263b; text-decoration: none; box-shadow: 8px 10px 0 rgba(0,0,0,.28); }
.herocard-title { margin: 0 0 8px; font-weight: 700; font-size: 1.05rem; }
.herocard-map { height: 260px; border-radius: 8px; overflow: hidden; }
.herocard .legend { margin: 10px 0 4px; }
.herocard .legend .small { color: #10263b; }
.herocard-note { margin: 4px 0 0; font-size: .9rem; color: #3b4d60; }
@media (max-width: 760px) { .herocard-map { height: 220px; } }

.herocard, .herocard:hover, .herocard:focus, .herocard:visited { color: #10263b; text-decoration: none; }
.herocard .herocard-title, .herocard:hover .herocard-title { color: #10263b; text-decoration: none; }
.herocard .herocard-note, .herocard:hover .herocard-note { color: #3b4d60; text-decoration: none; }
.herocard .legend span, .herocard:hover .legend span { color: #10263b; text-decoration: none; }
.herocard:hover { box-shadow: 8px 10px 0 rgba(0,0,0,.4); }

/* Hero polish */
.hero.dark { position: relative; overflow: hidden; }
.hero.dark::before { content: ""; position: absolute; right: -8%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(238,106,47,.34), rgba(201,58,34,.14) 55%, transparent 75%); pointer-events: none; }
.hero.dark .wrap { position: relative; }
.hero h1 .hot { background: linear-gradient(90deg, #ffd27a, #ee6a2f 60%, #e8501f); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.herocard { transform: rotate(1.6deg); transition: transform .35s ease, box-shadow .35s ease; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.herocard:hover, .herocard:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 0 38px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); }
.herocard-title { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; }
.herocard .legend .sw { border-radius: 50%; width: 16px; height: 16px; flex-basis: 16px; }
.herocard-map { box-shadow: inset 0 0 0 1px rgba(16,38,59,.12); }
.hero-cta .btn { box-shadow: 0 8px 20px rgba(201,58,34,.35); transition: transform .2s ease, box-shadow .2s ease; }
.hero-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,58,34,.5); }
@media (max-width: 760px) { .herocard { transform: none; } .hero.dark::before { right: -40%; top: 40%; width: 120%; height: 80%; } }
@media (prefers-reduced-motion: reduce) { .herocard, .hero-cta .btn { transition: none; } .herocard { transform: none; } }

.sheetrow { margin: 14px 0 6px; }
.sheetrow label { display: block; font-weight: 600; margin-bottom: 6px; }
.sheetrow__in { display: flex; gap: 10px; flex-wrap: wrap; }
.sheetrow__in input { flex: 1 1 260px; min-width: 0; padding: 10px 12px; border: 1px solid #b9c4cf; border-radius: 8px; font: inherit; }
