/* 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:hover { background: #a02f17; border-color: #a02f17; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-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; }
}
