/* Stoll Design — www.stoll.cc. Charcoal ink on a light stone ground, gold for the sun and for action, green for "all good".
   The logo's base line (a line with a gold point at each end) is the one recurring device: it joins things that connect. */
:root {
  --site-version: "v3.61.0";
  --ink: #22262B;
  --ink-2: #3A4048;
  --muted: #55606B;
  --slate: #7D8B99;
  --line: #D9DBD7;
  --ground: #F3F3F1;
  --paper: #FFFFFF;
  --gold: #E3A82B;
  --gold-ink: #865F0C;
  --gold-soft: #FBF1DA;
  --green: #3DA35D;
  --green-ink: #276F3E;
  --green-soft: #E4F2E7;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --wrap: min(1160px, 100% - 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* ---- header ---- */
.bar { background: var(--ground); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; }
.mark img { width: 44px; height: 44px; }
.mark-name { display: flex; flex-direction: column; line-height: 1.04; }
.mark-name small { font-family: var(--body); font-weight: 600; font-size: 0.5em; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
footer.site .mark-name small { color: rgba(255,255,255,0.72); }
.bar nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 15px; }
.bar nav a { text-decoration: none; white-space: nowrap; }
.bar nav a[href^="#"]:not([href="#pricing"]) { display: none; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
/* mobile menu button: hidden on desktop and when JS is unavailable (then the links stay visible) */
.menu-btn { display: none; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 46px; height: 46px; padding: 0; background: transparent; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 700 17px/1 var(--body); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #D69A1C; border-color: #D69A1C; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--paper); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---- footer ---- */
footer.site { background: var(--ink); color: #D5D9DD; font-size: 16px; margin-top: 0; }
footer.site .wrap { padding: 56px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: start; }
footer.site .mark { color: #fff; }
footer.site .mark img { width: 48px; height: 48px; }
footer.site .about { margin-top: 14px; max-width: 46ch; color: #B9C0C7; }
footer.site nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
footer.site nav a { color: #fff; text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
footer.site .by { margin-top: 12px; color: #fff; font-size: 16px; }
footer.site .by b { color: var(--gold); }
footer.site .fine { grid-column: 1 / -1; border-top: 1px solid #3A4048; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #A3ABB3; }
footer.site .fine .owners { flex-basis: 100%; }
footer.site .fine a { color: #fff; }
footer.site .fine::after { content: var(--site-version); flex-basis: 100%; color: #7E8791; font-size: 13px; letter-spacing: .02em; }

/* ---- documents (text alerts, terms, privacy) ---- */
.doc { background: var(--paper); border-radius: 20px; padding: clamp(24px, 5vw, 64px); margin: 40px auto 56px; max-width: 880px; border: 1px solid var(--line); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; margin: 0 0 8px; }
.doc h2 { font-size: 26px; font-weight: 700; margin: 44px 0 12px; }
.doc h3 { font-size: 20px; font-weight: 700; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; max-width: 70ch; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.updated { color: var(--muted); font-size: 16px; margin-bottom: 28px !important; }
.lede { font-size: 20px; color: var(--muted); }
.box { background: var(--ground); border-radius: 14px; padding: 20px 24px; margin: 0 0 16px; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.quote { border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 16px; }
.phone { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; max-width: 420px; margin-bottom: 16px; }
.phone .from { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.bubble { background: #E9E9EB; border-radius: 20px 20px 20px 6px; padding: 12px 16px; max-width: 34ch; font: 16px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; margin: 0 0 12px !important; }
.bubble:last-child { margin-bottom: 0 !important; }
figure { margin: 18px 0 28px; }
figure img { border: 1px solid var(--line); border-radius: 14px; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 0 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; }
  tr:first-child { display: none; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; padding-top: 12px; }
  tr { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
}

@media (max-width: 1160px) {
  .bar nav { gap: 16px; }
}

/* ---- phones & small tablets (<=980px): every link lives behind an accessible menu button ---- */
@media (max-width: 980px) {
  .has-js .menu-btn { display: flex; }
  .bar .wrap { flex-wrap: wrap; gap: 14px; min-height: 64px; }
  .bar nav { order: 3; flex-basis: 100%; margin-left: 0; flex-direction: column; align-items: stretch; gap: 0; }
  /* with JS the panel collapses behind the button; without JS the links simply stay stacked and visible */
  .has-js .bar nav { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .2s ease; }
  .has-js .bar nav.open { max-height: 82vh; overflow: auto; visibility: visible; border-top: 1px solid var(--line); padding-bottom: 12px; }
  .bar nav a { display: block; padding: 14px 2px; font-size: 17px; border-bottom: 1px solid var(--line); white-space: normal; }
  .bar nav a[href^="#"]:not([href="#pricing"]) { display: none; }   /* homepage section anchors stay out of the menu */
  .bar nav a.keep { font-weight: 700; }
  .bar nav a.btn { margin-top: 14px; border-bottom: 0; }
  .bar nav a.btn.small { min-height: 48px; font-size: 17px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .mark { font-size: 20px; }
  .mark img { width: 38px; height: 38px; }
  footer.site .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .mark { font-size: 18px; gap: 9px; }
  .mark img { width: 34px; height: 34px; }
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- equipment page ---- */
.doc.wide { max-width: 1100px; }
.badge { display: inline-block; font: 700 13px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.01em; }
.badge.ok { background: var(--green-soft); color: var(--green-ink); }
.badge.ask { background: var(--ground); color: var(--ink-2); border: 1px solid var(--line); }
.badge.beta { background: var(--gold-soft); color: var(--gold-ink); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold-ink); border: 1px dashed #D7B46A; border-radius: 6px; padding: 3px 8px; }
.eq-key { display: grid; gap: 10px; margin: 26px 0 8px; }
.eq-key p { margin: 0 !important; font-size: 16px; color: var(--ink-2); max-width: none !important; }
.eq-key .badge, .eq-key .tag { margin-right: 8px; }
.eq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.eq-jump a { font-size: 15px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.eq-jump a:hover { border-color: var(--ink); }
.eq-group { scroll-margin-top: 16px; }
.eq-group h2 { margin-top: 48px; }
.eq-sum { color: var(--muted); font-size: 16px; }
.eq-list { list-style: none; padding: 0 !important; margin: 18px 0 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 14px; max-width: none !important; }
.eq { margin: 0 !important; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); }
.eq.ok { border-color: #A9D3B5; box-shadow: inset 4px 0 0 var(--green); }
.eq-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.doc .eq h3 { font-size: 19px; margin: 0; line-height: 1.2; }
.eq p { margin: 0 !important; font-size: 15px; line-height: 1.45; }
.eq-kinds { color: var(--muted); font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.eq-needs { color: var(--ink-2); }
.eq .tag { align-self: flex-start; margin-top: 4px; }
.eq-ask { margin-top: 40px !important; }
/* the equipment page's two halves (3.34): homes and business */
.eq-jump + .eq-jump { margin-top: 10px; }
.eq-jump-h { font-size: 14px; font-weight: 700; color: var(--muted); align-self: center; min-width: 100px; text-transform: uppercase; letter-spacing: 0.06em; }
.eq-half { margin-top: 56px; border-top: 3px solid var(--ink); padding-top: 18px; scroll-margin-top: 16px; }
.doc .eq-half-h { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.eq-half-h span { display: block; margin-top: 6px; font: 400 16px var(--body); color: var(--muted); }
.eq-half + .eq-group h2 { margin-top: 24px; }

/* Hero screens slideshow (shared: index two-column hero; home/business a centred section) */
.hero2-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 46px; align-items: center; }
.hero2-grid > * { min-width: 0; }
.hero2-copy .phub-h, .hero2-copy h1 { max-width: 16ch; }
.shotwrap { max-width: 760px; margin: 0 auto; }
.shotframe { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 26px 64px rgba(14,26,43,.18); overflow: hidden; }
.shotbar { display: flex; gap: 7px; align-items: center; padding: 11px 14px; background: #ECEEEF; border-bottom: 1px solid var(--line); }
.shotbar span { width: 11px; height: 11px; border-radius: 50%; background: #CBD0D5; }
.shotbar span:nth-child(1){ background:#E2705A; } .shotbar span:nth-child(2){ background:#E3A82B; } .shotbar span:nth-child(3){ background:#3DA35D; }
.shot-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.shot-track::-webkit-scrollbar { display: none; }
.shot-track:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.shot { flex: 0 0 100%; scroll-snap-align: start; margin: 0; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 13px 16px; font: 700 15px var(--body); color: var(--ink); text-align: center; border-top: 1px solid var(--line); }
.shot-nav { position: absolute; top: 44%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.94); box-shadow: 0 2px 12px rgba(14,26,43,.22); color: var(--ink); font: 400 26px/1 var(--body); cursor: pointer; display: none; z-index: 2; }
.shotframe.on .shot-nav { display: block; }
.shot-nav.prev { left: 10px; } .shot-nav.next { right: 10px; }
.shot-nav:hover { background: #fff; }
.shot-dots { display: flex; gap: 7px; justify-content: center; padding: 12px; }
.shot-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #CBD0D5; cursor: pointer; padding: 0; transition: width .15s, background .15s; }
.shot-dots button[aria-selected="true"] { background: var(--gold-ink); width: 22px; border-radius: 6px; }
@media (max-width: 920px) { .hero2-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
