/* Solar Care Monitoring: site styles. Tokens from brand/BRAND_TOKENS.md ("Steady Watch"). */
:root {
  --sc-night-watch: #1C2A5B;
  --sc-ink: #13222E;
  --sc-slate: #5B6B78;
  --sc-signal-green: #2DBE74;
  --sc-signal-deep: #187A4A;
  --sc-clear-sky: #55C2F4;
  --sc-sky-deep: #1B6FA8;
  --sc-sunrise-amber: #F4A73A;
  --sc-amber-text: #8A5A12;
  --sc-alert-red: #D64545;
  --sc-sandstone: #F6F1E9;
  --sc-white: #FFFFFF;
  --sc-line: #E3E6EA;
  --sc-bronze: #A86B3C;
  --sc-silver: #8E9AA6;
  --sc-gold: #C9A13B;
  --sc-font-head: "Sora", system-ui, sans-serif;
  --sc-font-body: "Inter", system-ui, sans-serif;
  --sc-font-num: "IBM Plex Mono", ui-monospace, monospace;
  --sc-radius-btn: 10px;
  --sc-radius-card: 14px;
  --sc-radius-panel: 22px;
  --sc-shadow: 0 10px 30px rgba(28, 42, 91, .12);
  --sc-on-dark-muted: #B9C0D6;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sc-sandstone);
  color: var(--sc-ink);
  font: 400 17px/1.6 var(--sc-font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sc-sky-deep); }
h1, h2, h3 { font-family: var(--sc-font-head); color: var(--sc-night-watch); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--sc-font-num); font-weight: 600; }
a[href^="tel:"], a[href^="tel:"] .mono, a[href^="sms:"] .mono { white-space: nowrap; }
a[href^="tel:"] .mono, a[href^="sms:"] .mono { font-family: var(--sc-font-body); font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.fine { font-size: 14px; color: var(--sc-slate); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-star { fill: var(--sc-sunrise-amber); stroke: var(--sc-sunrise-amber); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sc-white); color: var(--sc-night-watch); padding: 10px 14px; border-radius: var(--sc-radius-btn); }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sc-sky-deep); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--sc-clear-sky); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border-radius: var(--sc-radius-btn);
  font: 600 16px/1.2 var(--sc-font-body); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 17px; }
.btn-primary { background: var(--sc-signal-green); color: var(--sc-night-watch); }
.btn-primary:hover { background: #3fcb83; box-shadow: 0 6px 18px rgba(45, 190, 116, .35); }
.btn-secondary { background: transparent; color: var(--sc-night-watch); box-shadow: inset 0 0 0 1.5px var(--sc-night-watch); }
.btn-secondary:hover { background: rgba(28, 42, 91, .06); }
.btn-ghost-light { background: transparent; color: var(--sc-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sc-sky-deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .ic { width: 18px; height: 18px; }

/* Lockup */
.lockup { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.lockup img { display: block; height: 50px; width: auto; }
.lockup-inv img { height: 60px; }

/* Heartbeat: the logo's line, the brand's one signal. The large one draws itself once a cycle. */
.beat { display: block; flex: none; fill: none; stroke: var(--sc-signal-green); stroke-width: 56; stroke-linecap: round; stroke-linejoin: round; }
.beat-sm { width: 30px; height: auto; }
.beat-lg { width: 132px; height: auto; margin-bottom: 22px; }
.beat-lg path { stroke-dasharray: 1; animation: beat-draw 3.2s ease-in-out infinite; }
@keyframes beat-draw {
  0% { stroke-dashoffset: 1; }
  45%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

/* Status dot inside the app mockup only */
.pulse-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sc-signal-green); flex: none; animation: pulse 2.2s ease-out infinite; }
.pulse-lg { width: 16px; height: 16px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 190, 116, .55); }
  70% { box-shadow: 0 0 0 10px rgba(45, 190, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 190, 116, 0); }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 233, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(28, 42, 91, .08); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--sc-night-watch); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--sc-signal-deep); }
.nav a[aria-current="page"] { color: var(--sc-signal-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .nav-book { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-night-watch); text-decoration: none; font: 600 15px/1 var(--sc-font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone .ic { width: 18px; height: 18px; color: var(--sc-signal-deep); }
.header-book { min-height: 42px; padding: 10px 16px; font-size: 15px; }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--sc-night-watch); border-radius: var(--sc-radius-btn); cursor: pointer; }
.menu-btn .ic { width: 26px; height: 26px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }

/* Hero */
.hero { background: var(--sc-night-watch); color: var(--sc-white); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% -10%, rgba(85, 194, 244, .22), transparent 60%), radial-gradient(600px 400px at 0% 110%, rgba(45, 190, 116, .12), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: var(--sc-white); max-width: 13ch; }
.status-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #CFD7EE; background: rgba(255, 255, 255, .07); padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
.lede { font-size: 19px; color: #DCE0EE; max-width: 34em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 500; color: var(--sc-on-dark-muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sc-signal-green); margin-right: 14px; }
.trust-row .ic { width: 16px; height: 16px; }

.hero-visual { position: relative; min-height: 400px; }
.hero-art { width: 100%; max-width: 560px; margin-left: auto; opacity: .95; }
/* Hero totals card: the whole fleet, never one home. site.js swaps the no-numbers version for the numbers. */
.fleet-card {
  /* centered on the art, so the taller card with the live line and chart never rises under the header */
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: min(340px, 80%);
  background: var(--sc-white); color: var(--sc-ink); border-radius: var(--sc-radius-panel); padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.fleet-card [hidden] { display: none !important; }
.fc-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-sky-deep); }
.fc-head { margin: 0; font: 600 21px/1.3 var(--sc-font-head); color: var(--sc-night-watch); }
.fleet-card .fleet-sample { margin-bottom: 10px; }
.fc-big { margin: 0; font: 600 40px/1.05 var(--sc-font-num); color: var(--sc-night-watch); letter-spacing: -.01em; }
.fc-big small { font-size: 16px; margin-left: 6px; color: var(--sc-slate); letter-spacing: 0; }
.fc-when { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--sc-slate); }
.fc-cap { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--sc-slate); }
.fc-figs { display: grid; gap: 6px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--sc-line); }
.fc-figs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fc-figs dt { font-size: 14px; color: var(--sc-slate); }
.fc-figs dd { margin: 0; font-size: 14px; color: var(--sc-slate); white-space: nowrap; }
.fc-figs .mono { font-size: 17px; font-weight: 600; color: var(--sc-night-watch); }
/* Decoration: a small array of panels catching the light. Not data. */
.fc-array { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 16px 0 12px; overflow: hidden; border-radius: 6px; }
.fc-array i { aspect-ratio: 3 / 2; border-radius: 2px; background: repeating-linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, .14) 32% 34%), linear-gradient(160deg, var(--sc-sky-deep), var(--sc-night-watch)); }
.fc-array i:nth-child(3n) { filter: brightness(1.12); }
.fc-array i:nth-child(5n + 2) { filter: brightness(1.22); }
.fc-array::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(85, 194, 244, .45) 50%, transparent 65%); transform: translateX(-100%); animation: glint 9s ease-in-out infinite; }
@keyframes glint {
  0%, 55% { transform: translateX(-100%); }
  85%, 100% { transform: translateX(100%); }
}
/* Live line: when the fleet was last checked. The dot shows only while checks are fresh. */
.fc-live { margin: -4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--sc-line); }
.fc-live-line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--sc-night-watch); }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sc-signal-green); flex: none; animation: pulse 2.2s ease-out infinite; }
.fc-ok { margin: 4px 0 0; font-size: 13px; color: var(--sc-slate); }
/* 4-week chart from the daily totals; it takes the place of the panel grid */
.fc-chart { margin: 16px 0 12px; }
.fc-chart-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--sc-slate); }
.fc-key { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; white-space: nowrap; }
.fc-key::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--sc-night-watch); }
.fc-bars { display: block; width: 100%; height: 72px; overflow: visible; }
.fc-bars rect { fill: var(--sc-clear-sky); }
.fc-bars rect.wk { fill: var(--sc-night-watch); }
.fc-bars line { stroke: var(--sc-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fc-chart-dates { display: flex; justify-content: space-between; margin: 6px 0 0; font: 500 12px/1.2 var(--sc-font-num); color: var(--sc-slate); }
.fc-foot { margin: 0; font-size: 13px; color: var(--sc-slate); }
.fc-foot a { color: var(--sc-sky-deep); font-weight: 600; margin-left: 4px; }

/* Stats */
.stats { background: #172351; color: var(--sc-white); border-top: 1px solid rgba(255, 255, 255, .06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font: 600 30px/1.1 var(--sc-font-num); color: var(--sc-white); }
.stat-cap { font-size: 14px; color: var(--sc-on-dark-muted); }

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--sc-white); }
.section-dark { background: var(--sc-night-watch); color: #DCE0EE; }
.section-dark h2, .section-dark h3 { color: var(--sc-white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--sc-slate); font-size: 18px; }
.section-head .eyebrow { margin-bottom: 10px; }
.eyebrow { font: 600 13px/1 var(--sc-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-signal-deep); margin: 0 0 12px; }
.eyebrow-light { color: var(--sc-signal-green); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; background: var(--sc-white); border-radius: var(--sc-radius-card); padding: 28px; box-shadow: var(--sc-shadow); display: flex; flex-direction: column; }
.tier-featured { box-shadow: var(--sc-shadow), inset 0 0 0 2px var(--sc-signal-green); }
.tier-flag { position: absolute; top: -12px; right: 20px; background: var(--sc-signal-green); color: var(--sc-night-watch); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tier-head h3 { margin: 0; }
.tier-ic { width: 28px; height: 28px; stroke-width: 2; }
.tier-bronze { color: var(--sc-bronze); fill: rgba(168, 107, 60, .18); }
.tier-silver { color: var(--sc-silver); fill: rgba(142, 154, 166, .2); }
.tier-gold { color: var(--sc-gold); fill: rgba(201, 161, 59, .2); }
/* Monthly and yearly price on each Shield */
.tier-cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 4px 0 6px; font-size: 15px; color: var(--sc-slate); }
.tier-cost[hidden] { display: none; }
.tier-cost .mono { font-size: 26px; color: var(--sc-night-watch); }
.tier-price { color: var(--sc-slate); font-size: 15px; margin-bottom: 18px; }
.tier-price .mono { font-size: 26px; color: var(--sc-night-watch); margin-right: 4px; }
.tier-cost:not([hidden]) + .tier-price .mono { font-size: 18px; }
/* Response time sits between the price and the checklist, as a strip the full width of the card */
.tier-speed { display: flex; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 8px 12px; border-radius: var(--sc-radius-btn); background: var(--sc-sandstone); font-size: 15px; font-weight: 600; color: var(--sc-night-watch); }
.tier-speed .ic { width: 18px; height: 18px; color: var(--sc-signal-deep); flex: none; }
.tier-featured .tier-speed { background: rgba(45, 190, 116, .14); }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(45, 190, 116, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tier-fine { margin: auto 0 0; padding-top: 10px; font-size: 14px; color: var(--sc-slate); }
.tier-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; background: rgba(28, 42, 91, .05); border-radius: var(--sc-radius-card); padding: 20px 24px; }
.tier-foot p { margin: 0; font-size: 16px; max-width: 760px; }
/* Two plain-word promises under the plans */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.promise { padding: 22px 24px; border-left: 4px solid var(--sc-signal-green); background: var(--sc-white); border-radius: 0 var(--sc-radius-card) var(--sc-radius-card) 0; }
.promise + .promise { border-left-color: var(--sc-clear-sky); }
.promise h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 8px; }
.promise h3 .ic { width: 22px; height: 22px; color: var(--sc-signal-deep); flex: none; }
.promise p { margin: 0; font-size: 16px; }
.footer-legal a { color: inherit; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--sc-radius-card); background: var(--sc-sandstone); counter-increment: step; }
.step::after { content: counter(step); position: absolute; top: 20px; right: 22px; font: 600 14px/1 var(--sc-font-num); color: var(--sc-slate); }
.step-ic { width: 32px; height: 32px; color: var(--sc-night-watch); margin-bottom: 16px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; font-size: 16px; color: var(--sc-slate); }

/* Feature lists */
.feature-list { display: grid; gap: 16px; margin: 24px 0 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { width: 24px; height: 24px; color: var(--sc-signal-deep); margin-top: 2px; }
.feature-list-dark .ic { color: var(--sc-signal-green); }
.feature-list-dark strong { color: var(--sc-white); }

/* Desert card */
.desert-card { background: var(--sc-night-watch); color: #DCE0EE; border-radius: var(--sc-radius-panel); padding: 36px; box-shadow: var(--sc-shadow); background-image: radial-gradient(500px 300px at 100% 0%, rgba(244, 167, 58, .18), transparent 60%); }
.desert-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.big-num { font: 600 52px/1 var(--sc-font-num); color: var(--sc-sunrise-amber); }
.big-num-green { color: var(--sc-signal-green); }
.desert-note { margin: 20px 0 0; color: var(--sc-on-dark-muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--sc-radius-card); background: var(--sc-white); border: 1px solid var(--sc-line); color: var(--sc-ink); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.card:hover { box-shadow: var(--sc-shadow); transform: translateY(-2px); border-color: transparent; }
.card-ic { width: 30px; height: 30px; color: var(--sc-night-watch); margin-bottom: 14px; }
.card p { color: var(--sc-slate); font-size: 16px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sc-sky-deep); font-size: 15px; }
.card-link .ic { width: 16px; height: 16px; }

/* Monitoring alerts */
.alert-stack { display: grid; gap: 12px; }
.alert-card { display: flex; gap: 14px; align-items: flex-start; background: var(--sc-white); color: var(--sc-ink); border-radius: var(--sc-radius-card); padding: 16px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.alert-card strong { display: block; color: var(--sc-night-watch); }
.alert-card span { font-size: 15px; color: var(--sc-slate); }
.alert-card:nth-of-type(2) { margin-left: 28px; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; }
.dot-green { background: var(--sc-signal-green); }
.dot-amber { background: var(--sc-sunrise-amber); }
/* Visible tag so nobody reads the stack as live status */
.alert-tag { justify-self: start; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sc-on-dark-muted); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(185, 192, 214, .35); }

/* Brands */
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 20px; }
.brand-list li { padding: 10px 18px; border-radius: 999px; background: var(--sc-sandstone); font-weight: 600; color: var(--sc-night-watch); font-size: 16px; }

/* Team */
.split-reverse > :first-child { order: 0; }
.team-art img { width: 100%; border-radius: var(--sc-radius-panel); }
.badge-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 20px 0 24px; }
.badge-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.badge-list .ic { color: var(--sc-signal-deep); }

/* Reviews */
.job-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.job-gallery-grid figure { margin: 0; overflow: hidden; background: var(--sc-white); border: 1px solid var(--sc-line); border-radius: var(--sc-radius-card); }
.job-gallery-grid img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center; }
.job-gallery-grid figcaption { padding: 14px 18px; color: var(--sc-night-watch); font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
  .job-gallery-grid { grid-template-columns: 1fr; }
  .job-gallery-grid img { height: 300px; }
}

.review-showcase { padding: 76px 0 80px; }
.review-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 30px; }
.review-intro > div:first-child { max-width: 690px; }
.review-intro h2 { margin-bottom: 10px; }
.review-intro > div:first-child > p:last-child { color: var(--sc-slate); margin: 0; }
.review-rating { flex: none; text-align: right; }
.review-rating p { margin: 0; color: var(--sc-slate); font-size: 14px; }
.review-rating strong { color: var(--sc-night-watch); font-family: var(--sc-font-num); font-size: 19px; }
.stars { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 6px; }
.stars .ic { width: 22px; height: 22px; }
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review-card { display: flex; flex-direction: column; min-height: 190px; margin: 0; padding: 24px; background: var(--sc-sandstone); border: 1px solid var(--sc-line); border-radius: var(--sc-radius-card); }
.review-card-stars { color: var(--sc-amber-text); font-size: 16px; letter-spacing: .12em; }
.review-card blockquote { flex: 1; margin: 15px 0 20px; color: var(--sc-night-watch); font: 600 19px/1.5 var(--sc-font-head); }
.review-card figcaption { color: var(--sc-night-watch); font-size: 14px; font-weight: 600; }
.review-card figcaption span { color: var(--sc-slate); font-weight: 400; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.review-qr { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: var(--sc-night-watch); }
.review-qr-code { flex: none; display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--sc-line); border-radius: 10px; }
.review-qr-code img { display: block; width: 132px; height: 132px; image-rendering: pixelated; }
.review-qr p { margin: 4px 0 0; color: var(--sc-slate); font-size: 14px; }
.review-fine { margin: 14px 0 0; color: var(--sc-slate); font-size: 13px; }
@media (max-width: 800px) {
  .review-intro { align-items: start; flex-direction: column; gap: 18px; }
  .review-rating { text-align: left; }
  .stars { justify-content: flex-start; }
  .review-cards { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
  .review-card blockquote { margin: 12px 0 18px; }
}

/* Areas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--sc-radius-card); background: var(--sc-white); color: var(--sc-night-watch); text-decoration: none; font-weight: 600; border: 1px solid var(--sc-line); }
.areas a:hover { border-color: var(--sc-signal-green); }
.areas .ic { color: var(--sc-signal-deep); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--sc-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 18px/1.35 var(--sc-font-head); color: var(--sc-night-watch); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--sc-slate); border-bottom: 2px solid var(--sc-slate); transform: rotate(45deg) translateY(-4px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { color: var(--sc-ink); padding-bottom: 8px; }
.faq + .center { margin-top: 28px; }
.svc-more { margin-top: 28px; }

/* Final CTA */
.final { text-align: center; background-image: radial-gradient(700px 360px at 50% 0%, rgba(45, 190, 116, .16), transparent 65%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 18ch; }
.final p { max-width: 36em; margin-bottom: 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 860px; }
.contact-btn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: var(--sc-radius-card); background: rgba(255, 255, 255, .07); color: var(--sc-white); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background-color .15s ease; }
.contact-btn:hover { background: rgba(255, 255, 255, .12); }
.contact-btn .ic { width: 26px; height: 26px; color: var(--sc-signal-green); }
.contact-btn strong { display: block; font-size: 16px; }
.contact-btn span span { font-size: 15px; color: var(--sc-on-dark-muted); overflow-wrap: anywhere; }
.contact-primary { background: var(--sc-signal-green); color: var(--sc-night-watch); box-shadow: none; }
.contact-primary:hover { background: #3fcb83; }
.contact-primary .ic { color: var(--sc-night-watch); }
.contact-primary span span { color: var(--sc-night-watch); }

/* Footer */
.site-footer { background: #172351; color: var(--sc-on-dark-muted); padding: 64px 0 32px; font-size: 15px; }
.site-footer a { color: #DCE0EE; text-decoration: none; }
.site-footer a:hover { color: var(--sc-white); text-decoration: underline; }
.site-footer h3 { color: var(--sc-white); font-size: 15px; font-family: var(--sc-font-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid li { margin-bottom: 8px; }
.footer-tag { color: var(--sc-white); font-family: var(--sc-font-head); font-weight: 600; margin: 18px 0 14px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Inner pages (privacy, terms) ---------- */
.page-hero { background: var(--sc-night-watch); color: var(--sc-on-dark-muted); padding: 64px 0 56px; background-image: linear-gradient(115deg, transparent 62%, rgba(85, 194, 244, .10) 62%, rgba(85, 194, 244, .10) 63%, transparent 63%); }
.page-hero h1 { color: var(--sc-white); margin-bottom: 14px; }
.page-lede { font-size: 19px; color: #DCE0EE; max-width: 36em; margin-bottom: 18px; }
.page-date { font: 500 13px/1 var(--sc-font-num); letter-spacing: .04em; color: var(--sc-on-dark-muted); margin: 0; }
.page-body { padding: 64px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.page-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--sc-white); border-radius: var(--sc-radius-card); padding: 24px; border-top: 4px solid var(--sc-signal-green); box-shadow: var(--sc-shadow); }
.aside-card h2 { font-size: 19px; letter-spacing: 0; margin-bottom: 8px; }
.aside-card p { font-size: 15px; color: var(--sc-slate); }
.aside-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--sc-line); color: var(--sc-night-watch); font-weight: 600; text-decoration: none; font-size: 15px; }
.aside-link .ic { color: var(--sc-signal-deep); }
.aside-link:hover span { text-decoration: underline; }
.prose { grid-column: 1; grid-row: 1; max-width: 720px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose > p:first-child { font-size: 18px; }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--sc-signal-green); }
.prose strong { color: var(--sc-night-watch); }

/* ---------- 404 ---------- */
.lost { background: var(--sc-night-watch); color: #DCE0EE; padding: 96px 0 112px; text-align: center; }
.lost-inner { display: flex; flex-direction: column; align-items: center; }
.lost-readout { position: relative; width: min(100%, 420px); background: var(--sc-white); border-radius: var(--sc-radius-card); padding: 22px 22px 14px; margin-bottom: 36px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.lost-graph { width: 100%; height: 120px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.lost-curve { stroke: var(--sc-signal-green); }
.lost-gap { stroke: var(--sc-sunrise-amber); stroke-dasharray: 2 9; }
.lost-flat { stroke: var(--sc-line); }
.lost-code { position: absolute; top: 16px; right: 20px; font-size: 15px; color: var(--sc-amber-text); background: rgba(244, 167, 58, .16); padding: 4px 10px; border-radius: 999px; }
.lost h1 { color: var(--sc-white); max-width: 16ch; }
.lost p { max-width: 32em; font-size: 18px; margin-bottom: 30px; }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.lost-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 15px; }
.lost-links a { color: var(--sc-clear-sky); }

/* ---------- Inner pages: shared pieces ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page-hero .cta-row { margin: 28px 0 0; }
.page-hero .trust-row { margin-top: 22px; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; }
.section-tight { padding: 64px 0; }
.lead-in { font-size: 19px; color: var(--sc-ink); max-width: 38em; }
.card-static:hover { box-shadow: none; transform: none; border-color: var(--sc-line); }
.page-close { text-align: left; padding: 72px 0; }
.page-close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.page-close h2 { max-width: 14ch; margin-bottom: 10px; }
.page-close p { margin: 0; color: var(--sc-on-dark-muted); }
.page-close .contact-grid { grid-template-columns: 1fr; max-width: none; }
.page-hero .contact-grid { grid-template-columns: 1fr; max-width: none; }

/* Plan comparison table */
.compare-wrap { background: var(--sc-white); border-radius: var(--sc-radius-card); box-shadow: var(--sc-shadow); overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare caption { text-align: left; padding: 20px 22px 4px; font-size: 14px; color: var(--sc-slate); caption-side: bottom; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--sc-line); text-align: center; vertical-align: middle; }
.compare thead th { font: 600 17px/1.2 var(--sc-font-head); color: var(--sc-night-watch); padding-top: 22px; }
.compare thead th .ic { width: 22px; height: 22px; margin: 0 auto 6px; stroke-width: 2; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--sc-ink); }
.compare td { color: var(--sc-night-watch); font-weight: 600; }
.compare td .ic { width: 20px; height: 20px; margin: 0 auto; color: var(--sc-signal-deep); stroke-width: 2.5; }
.compare .not { color: var(--sc-slate); font-weight: 400; }
.compare .col-gold { background: rgba(45, 190, 116, .07); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* FAQ page: topic chips and grouped answers */
.topic-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.topic-nav a { padding: 8px 14px; border-radius: 999px; background: var(--sc-white); border: 1px solid var(--sc-line); color: var(--sc-night-watch); font-weight: 600; font-size: 15px; text-decoration: none; }
.topic-nav a:hover { border-color: var(--sc-signal-green); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 2px solid var(--sc-night-watch); }

/* About: credentials sheet */
.cred-sheet { margin: 0; background: var(--sc-white); border-radius: var(--sc-radius-panel); box-shadow: var(--sc-shadow); overflow: hidden; }
.cred-sheet-head { background: var(--sc-night-watch); color: var(--sc-white); padding: 18px 24px; font: 600 15px/1.3 var(--sc-font-body); letter-spacing: .08em; text-transform: uppercase; }
.cred-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 24px; border-top: 1px solid var(--sc-line); align-items: baseline; }
.cred-row dt { font-weight: 600; color: var(--sc-night-watch); }
.cred-row dd { margin: 0; font: 600 15px/1.3 var(--sc-font-num); color: var(--sc-slate); text-align: right; }
.cred-row dd a { color: var(--sc-sky-deep); font-family: var(--sc-font-body); }
.value-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.value-list li { padding: 22px 0; border-top: 1px solid var(--sc-line); }
.value-list h3 { font-size: 19px; margin-bottom: 6px; }
.value-list p { margin: 0; color: var(--sc-slate); font-size: 16px; }

/* Locations: one row per area */
.area-rows { border-top: 1px solid var(--sc-line); }
.area-rows a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--sc-line); color: var(--sc-ink); text-decoration: none; }
.area-rows a:hover h2 { color: var(--sc-signal-deep); }
.area-rows .ic { color: var(--sc-signal-deep); width: 22px; height: 22px; }
.area-rows h2 { font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.area-rows p { grid-column: 2; margin: 0; color: var(--sc-slate); font-size: 16px; }
.area-rows .card-link { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.area-home { font: 600 12px/1 var(--sc-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-signal-deep); background: rgba(45, 190, 116, .14); padding: 5px 8px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.cred-sheet dl { margin: 0; }
.cred-sheet .cred-sheet-head { margin: 0; }
.badge-list-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.badge-list a { color: var(--sc-night-watch); font-weight: 600; }
.badge-list a:hover { color: var(--sc-signal-deep); }

/* Daily totals: one number per figure, no chart. Filled by site.js; hidden until the file loads. */
.fleet [hidden] { display: none !important; }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fleet-panel { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--sc-radius-card); background: var(--sc-white); border: 1px solid var(--sc-line); }
.section-white .fleet-panel { background: var(--sc-sandstone); }
.fleet-panel h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; }
.fleet-panel h3 .ic { color: var(--sc-signal-deep); }
.fleet-sample { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 6px; background: rgba(244, 167, 58, .16); color: var(--sc-amber-text); font: 600 12px/1.3 var(--sc-font-body); letter-spacing: .06em; text-transform: uppercase; }
.fleet-figs { display: grid; gap: 10px; margin: 0; }
.fleet-figs div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--sc-line); }
.fleet-figs div:last-child { padding-bottom: 0; border-bottom: 0; }
.fleet-figs dt { font-size: 15px; color: var(--sc-slate); }
.fleet-figs dd { margin: 0; font-size: 15px; color: var(--sc-slate); white-space: nowrap; }
.fleet-figs .mono { font-size: 22px; color: var(--sc-night-watch); }
.fleet-big { margin: 0; font: 600 44px/1 var(--sc-font-num); color: var(--sc-night-watch); }
.fleet-sub, .fleet-note { margin: 0; font-size: 15px; color: var(--sc-slate); }
.fleet-note { margin-top: auto; font-size: 14px; }
.fleet-asof { margin: 20px 0 0; }

/* Mobile bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .header-phone span { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would make the header the containing block for the fixed menu, so use a solid background here */
  .site-header { backdrop-filter: none; background: var(--sc-sandstone); }
  .menu-btn { display: inline-flex; }
  .header-book { display: none; }
  .header-actions { margin-left: auto; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border-radius: var(--sc-radius-btn); background: rgba(45, 190, 116, .14); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 104px;
    background: var(--sc-sandstone); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--sc-line); }
  .nav .nav-book { display: inline-flex; margin-top: 20px; border: 0; padding: 15px 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { min-height: 0; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .fleet-card { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 380px; margin: -90px auto 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 24px; }
  .tier-foot { flex-direction: column; align-items: flex-start; }
  .promises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 420px; }
  .page-grid { grid-template-columns: 1fr; gap: 0; }
  .page-aside { grid-column: 1; grid-row: 2; position: static; margin-top: 48px; max-width: 420px; }
  .page-hero-split { grid-template-columns: 1fr; gap: 32px; }
  .page-close .wrap { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 64px 0; }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .trust-row li + li::before { margin-right: 8px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .badge-list { grid-template-columns: 1fr; }
  .alert-card:nth-of-type(2) { margin-left: 0; }
  /* Phones: the totals card comes right after the intro, before the buttons (the bottom bar keeps Call, Text and Book) */
  .hero-grid { gap: 0; padding-top: 32px; }
  .hero-copy, .hero-visual { display: contents; }
  .status-line { order: 1; justify-self: start; }
  .hero h1 { order: 2; }
  .lede { order: 3; margin-bottom: 20px; }
  .fleet-card { order: 4; max-width: none; margin: 0 0 24px; padding: 18px 18px 16px; }
  .cta-row { order: 5; }
  .trust-row { order: 6; }
  .hero-art { order: 7; margin-top: 28px; }
  .big-num { font-size: 44px; }
  .desert-card { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
  .page-lede { font-size: 17px; }
  .page-body { padding: 44px 0 72px; }
  .prose h2 { font-size: 22px; margin-top: 36px; }
  .section-tight { padding: 48px 0; }
  .page-close { padding: 56px 0; }
  .topic-nav { margin-bottom: 36px; }
  .cred-row { grid-template-columns: 1fr; padding: 14px 18px; }
  .cred-row dd { text-align: left; }
  .area-rows a { grid-template-columns: 24px minmax(0, 1fr); }
  .area-rows .card-link { grid-column: 2; grid-row: auto; margin-top: 6px; }
  .badge-list-links { grid-template-columns: 1fr 1fr; }
  .lost { padding: 64px 0 80px; }
  .lost-actions .btn { flex: 1 1 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--sc-night-watch); box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--sc-radius-btn); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--sc-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
  .mobile-bar .ic { width: 18px; height: 18px; }
  .mobile-bar .mb-book { background: var(--sc-signal-green); color: var(--sc-night-watch); box-shadow: none; }
}

/* ---------- Oct 31 redesign ---------- */
/* Header: a white contact strip over the logo and menu on desktop. On phones the fixed bottom bar is the way to call. */
:root { --row-h: 72px; --strip-h: 38px; --header-h: calc(var(--row-h) + var(--strip-h)); }
.header-row { height: var(--row-h); }
.header-strip { background: var(--sc-white); border-bottom: 1px solid var(--sc-line); font-size: 14px; }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--strip-h); }
.strip-note { margin: 0; min-width: 0; color: var(--sc-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-contact { display: flex; gap: 22px; flex: none; }
.strip-contact a { display: inline-flex; align-items: center; gap: 7px; color: var(--sc-night-watch); font-weight: 600; text-decoration: none; }
.strip-contact a:hover { text-decoration: underline; }
.strip-contact .ic { width: 16px; height: 16px; color: var(--sc-signal-deep); }
.nav a[aria-current="true"] { color: var(--sc-signal-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-phone { display: none; }

/* Home hero: a real job photo and the phone number up front */
.hero-call { margin: 0 0 26px; }
.hero-phone { display: inline-flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: var(--sc-white); text-decoration: none; transition: background-color .15s ease; }
.hero-phone:hover { background: rgba(255, 255, 255, .13); }
.hero-phone-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--sc-signal-green); color: var(--sc-night-watch); flex: none; }
.hero-phone-ic .ic { width: 26px; height: 26px; }
.hero-phone-text { display: flex; flex-direction: column; gap: 4px; }
.hero-phone-label { font: 600 13px/1 var(--sc-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sc-on-dark-muted); }
.hero-phone-num { font: 600 clamp(26px, 3vw, 34px)/1.05 var(--sc-font-head); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.hero-call-note { margin: 12px 0 0; font-size: 15px; color: #DCE0EE; }
.hero-call-note a { color: var(--sc-clear-sky); font-weight: 600; }
.hero-photo { position: relative; margin: 0 18px 18px 0; justify-self: end; width: calc(100% - 18px); max-width: 540px; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(85, 194, 244, .35); border-radius: var(--sc-radius-panel); pointer-events: none; }
.hero-photo img { position: relative; width: 100%; border-radius: var(--sc-radius-panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(19, 34, 46, .78); color: var(--sc-white); font-size: 13px; font-weight: 500; }

/* Inner pages: light page headers. Only the homepage keeps the navy band. */
.page-hero { background: linear-gradient(115deg, transparent 62%, rgba(85, 194, 244, .14) 62%, rgba(85, 194, 244, .14) 63%, transparent 63%), linear-gradient(180deg, rgba(85, 194, 244, .12), rgba(85, 194, 244, 0) 85%), var(--sc-white); color: var(--sc-slate); border-bottom: 1px solid var(--sc-line); }
.page-hero h1 { color: var(--sc-night-watch); }
.page-hero .page-lede { color: var(--sc-ink); }
.page-hero .page-date { color: var(--sc-slate); }
.page-hero .eyebrow-light { color: var(--sc-signal-deep); }
.page-hero a.crumb { color: var(--sc-signal-deep); }
.page-hero .btn-ghost-light { color: var(--sc-night-watch); box-shadow: inset 0 0 0 1.5px var(--sc-night-watch); }
.page-hero .btn-ghost-light:hover { background: rgba(28, 42, 91, .06); }
.page-hero .trust-row { color: var(--sc-slate); }
.page-hero .contact-btn { background: var(--sc-white); color: var(--sc-night-watch); box-shadow: inset 0 0 0 1px var(--sc-line), 0 6px 18px rgba(28, 42, 91, .06); }
.page-hero .contact-btn:hover { background: var(--sc-sandstone); }
.page-hero .contact-btn .ic { color: var(--sc-signal-deep); }
.page-hero .contact-btn span span { color: var(--sc-slate); }
.page-hero .contact-primary { background: var(--sc-signal-green); box-shadow: none; }
.page-hero .contact-primary:hover { background: #3fcb83; }
.page-hero .contact-primary .ic, .page-hero .contact-primary span span { color: var(--sc-night-watch); }
.page-hero .cred-sheet { border: 1px solid var(--sc-line); }
.stats-light { background: var(--sc-sandstone); border-top: 0; border-bottom: 1px solid var(--sc-line); }
.stats-light .stat-num { color: var(--sc-night-watch); }
.stats-light .stat-cap { color: var(--sc-slate); }
.lost { background: linear-gradient(180deg, rgba(85, 194, 244, .12), rgba(85, 194, 244, 0) 70%), var(--sc-white); color: var(--sc-ink); }
.lost h1 { color: var(--sc-night-watch); }
.lost-links a { color: var(--sc-sky-deep); }
.lost .btn-ghost-light { color: var(--sc-night-watch); box-shadow: inset 0 0 0 1.5px var(--sc-night-watch); }
.lost .btn-ghost-light:hover { background: rgba(28, 42, 91, .06); }
.lost-readout { border: 1px solid var(--sc-line); box-shadow: var(--sc-shadow); }

/* One-line review under inner page headers */
.review-strip { background: var(--sc-white); border-bottom: 1px solid var(--sc-line); font-size: 15px; }
.review-strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 14px; }
.review-strip p { margin: 0; }
.review-strip-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); }
.review-strip-stars { color: var(--sc-sunrise-amber); letter-spacing: 2px; }
.review-strip-rating strong { color: var(--sc-night-watch); }
.review-strip-quote { color: var(--sc-ink); font-style: italic; }
.review-strip-quote span { font-style: normal; color: var(--sc-slate); margin-left: 6px; }
.review-strip .text-link { margin-left: auto; }

/* Home: Adopt Your System */
.shield-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shield-pick { display: block; padding: 22px 22px 18px; border-radius: var(--sc-radius-card); background: var(--sc-sandstone); border: 1px solid var(--sc-line); color: var(--sc-ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.shield-pick:hover { border-color: var(--sc-signal-green); transform: translateY(-2px); }
.shield-pick h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.shield-featured { background: var(--sc-white); border: 2px solid var(--sc-gold); }
.shield-speed { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; color: var(--sc-night-watch); }
.shield-speed .ic { color: var(--sc-signal-deep); }
.shield-ded { margin: 0; font-size: 15px; color: var(--sc-slate); }
.shield-ded .mono { color: var(--sc-night-watch); }
.adopt-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--sc-line); }
.adopt-foot p { margin: 0; max-width: 46em; color: var(--sc-slate); }
.adopt-foot .btn { flex: none; }

/* Home: compact monitoring card that opens the numbers in a dialog */
.monitor-home { padding: 64px 0; }
.mon-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 36px 40px; border-radius: var(--sc-radius-panel); background: var(--sc-white); border: 1px solid var(--sc-line); }
.mon-card h2 { font-size: clamp(24px, 3vw, 32px); }
.mon-card p { color: var(--sc-slate); }
.mon-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.mon-facts { padding: 6px 22px; border-radius: var(--sc-radius-card); background: var(--sc-sandstone); }
.mon-facts li { display: flex; gap: 12px; padding: 14px 0; font-size: 15px; color: var(--sc-ink); }
.mon-facts li + li { border-top: 1px solid var(--sc-line); }
.mon-facts .ic { color: var(--sc-signal-deep); margin-top: 2px; }
.fc-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--sc-radius-panel); background: var(--sc-sandstone); color: var(--sc-ink); box-shadow: 0 30px 80px rgba(19, 34, 46, .35); overflow: auto; }
.fc-dialog::backdrop { background: rgba(19, 34, 46, .55); }
.fc-dialog-inner { padding: 24px 26px 26px; }
.fc-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.fc-dialog-head h2 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 28px); }
.fc-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: var(--sc-radius-btn); background: var(--sc-white); color: var(--sc-night-watch); box-shadow: inset 0 0 0 1px var(--sc-line); cursor: pointer; }
.fc-dialog-close:hover { background: rgba(28, 42, 91, .06); }
.fc-dialog-intro { margin: 10px 0 0; font-size: 15px; color: var(--sc-slate); }
.fc-dialog .fleet-card { position: static; transform: none; width: auto; max-width: none; margin: 18px 0 0; box-shadow: none; border: 1px solid var(--sc-line); }
.fc-dialog .fleet { padding: 24px 0 0; background: transparent; }
.fc-dialog .fleet .wrap { padding: 0; }
.fc-dialog .fleet h2 { font-size: 22px; }
.fc-dialog .fleet-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fc-dialog-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 0; }
html:has(.fc-dialog[open]) { overflow: hidden; }

/* Blog posts in more places */
.related-sand { background: var(--sc-sandstone); }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.related-head h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.blog-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.areas-more { margin: 20px 0 0; }
.learn-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.learn-band h2 { font-size: clamp(22px, 3vw, 28px); }
.learn-band p { margin: 0; max-width: 40em; color: var(--sc-slate); }
.learn-band-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer: five columns */
.footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; }

@media (max-width: 1240px) {
  .nav { gap: 18px; }
}

@media (max-width: 1160px) {
  .nav { gap: 15px; }
  .nav a { font-size: 14.5px; }
}

@media (max-width: 1080px) {
  :root { --strip-h: 0px; }
  .header-strip { display: none; }
  /* backdrop-filter would make the header the containing block for the fixed menu, so use a solid background here */
  .site-header { backdrop-filter: none; background: var(--sc-sandstone); }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-phone { display: inline-flex; width: auto; height: 44px; padding: 0 14px; gap: 8px; border-radius: 999px; background: rgba(45, 190, 116, .14); }
  .header-phone span { display: inline; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 104px;
    background: var(--sc-sandstone); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--sc-line); }
  .nav .nav-book { display: inline-flex; margin-top: 20px; border: 0; padding: 15px 20px; }
}

@media (max-width: 960px) {
  :root { --row-h: 64px; }
  .hero-photo { justify-self: start; max-width: 560px; }
  .shield-row { grid-template-columns: 1fr; max-width: 560px; }
  .adopt-foot { flex-direction: column; align-items: flex-start; }
  .mon-card { grid-template-columns: 1fr; gap: 24px; padding: 30px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-row { gap: 12px; }
  .lockup img { height: 38px; }
  .menu-btn { width: 44px; height: 44px; }
  /* the fixed bottom bar has Call and Text here, so no phone button in the header */
  .header-phone { display: none; }
  /* keep the end of the page, and anything scrolled or tabbed to, clear of the bottom bar;
     N16: the space sits inside the navy footer, so no sand strip shows under it */
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .hero-grid { gap: 32px; }
  .hero-copy { display: block; }
  .hero-phone { display: flex; width: 100%; padding-right: 16px; }
  .hero-phone-ic { width: 48px; height: 48px; }
  .hero-phone-num { font-size: 26px; }
  .hero-photo figcaption { left: 10px; bottom: 10px; font-size: 12px; }
  .mon-card { padding: 24px 18px; }
  .mon-facts { padding: 4px 16px; }
  .fc-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .fc-dialog-inner { padding: 18px 16px 20px; }
  .review-strip-row { gap: 6px 18px; }
  .review-strip .text-link { margin-left: 0; }
  .blog-more .btn, .learn-band-links .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}



/* reviewer pass 1 fixes */
.installer-band { background: var(--sc-sandstone); border-bottom: 1px solid var(--sc-line); padding: 22px 0; }
.installer-band-row { display: flex; align-items: flex-start; gap: 16px; }
.installer-band-ic { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(244, 167, 58, .22); color: var(--sc-amber-text); }
.installer-band h2 { font-size: 20px; line-height: 1.25; margin: 0 0 4px; color: var(--sc-night-watch); }
.installer-band p { margin: 0; color: var(--sc-ink); }
.installer-band a { color: var(--sc-sky-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.installer-band a .ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }
.installer-band-tel, .installer-band-more { white-space: nowrap; }
.lost-links-title { font-size: 17px; color: var(--sc-night-watch); margin: 0 0 10px; }
.area-home { color: var(--sc-ink); }
.compare-hint { display: none; font-size: 15px; color: var(--sc-slate); margin: 0 0 10px; }
.compare-wrap:focus-visible { outline: 3px solid var(--sc-sky-deep); outline-offset: 3px; }
.contact-tip { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--sc-white); border: 1px solid var(--sc-line); color: var(--sc-ink); font-size: 16px; max-width: 34em; }
.contact-tip strong { color: var(--sc-night-watch); }
.page-lede a { color: var(--sc-sky-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .compare-hint { display: block; }
  .installer-band-ic { width: 38px; height: 38px; padding: 8px; }
  .installer-band h2 { font-size: 18px; }
}

/* reviewer pass 1, part 2 */
:root { --sc-pine: #034B3F; }
/* S3: pine for big headlines on light backgrounds */
.page-hero h1 { color: var(--sc-pine); }
.nowrap { white-space: nowrap; }
/* S4: the hero tile that opens the totals */
.hero-watch { margin: 18px 0 0; font-size: 16px; color: var(--sc-on-dark-muted); }
.hero-watch a { color: var(--sc-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hero-watch a .ic { width: 16px; height: 16px; }
.mon-numbers-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.mon-numbers h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 28px); }
.mon-numbers p { margin: 0; color: var(--sc-slate); }
.fc-wait { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--sc-white); border: 1px solid var(--sc-line); color: var(--sc-ink); }
.fc-wait a { color: var(--sc-sky-deep); font-weight: 600; }
.fc-dialog [data-fleet]:not([hidden]) + .fc-wait { display: none; }
/* M6: one real photo per page */
.page-figure-band { padding: 0 0 8px; }
.page-figure { margin: 0; max-width: 880px; }
.page-figure img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--sc-radius-card); }
.page-figure figcaption { margin-top: 10px; font-size: 15px; color: var(--sc-slate); }
.area-drive { margin: 14px 0 0; font-size: 16px; color: var(--sc-slate); }
/* S1: dates on blog cards, and the service link on posts */
.card-date { display: block; margin: -4px 0 12px; font-size: 14px; color: var(--sc-slate); }
.related-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.lost-phone { margin: 18px 0 0; font-size: 17px; }
.lost-phone a { color: var(--sc-sky-deep); font-weight: 600; }
/* S15: bigger tap targets for standalone text links; darker "Home base" label */
.text-link { min-height: 44px; }
p .text-link, li .text-link, td .text-link, dd .text-link { min-height: 0; }
.areas-more .text-link, p.center > .text-link { min-height: 44px; }
.area-home { color: var(--sc-ink); font-size: 14px; }
/* N7: 14px minimum for labels and captions */
.fc-eyebrow, .fc-ok, .fc-chart-cap, .fc-foot, .tier-flag, .alert-tag, .review-fine, .footer-legal, .hero-photo figcaption,
.fc-chart-dates, .eyebrow, .page-date, .area-home, .fleet-sample, .hero-phone-label { font-size: 14px; }

/* M1: tablets get the number and Book in the header */
@media (min-width: 641px) and (max-width: 960px) {
  .header-book { display: inline-flex; }
}

@media (max-width: 640px) {
  .hero-photo figcaption { font-size: 14px; }
  .page-figure img { max-height: 340px; }
  /* M1: the bar shows the number: Call (702) 560-6719 · Text · Book */
  .mobile-bar { grid-template-columns: auto auto auto; gap: 6px; padding-left: 10px; padding-right: 10px; }
  .mobile-bar a { white-space: nowrap; padding: 0 10px; }
  .mobile-bar .mb-call { justify-content: center; }
  .mobile-bar .mb-book { padding: 0 14px; }
}

@media (max-width: 359px) {
  .mobile-bar a { font-size: 14px; padding: 0 7px; }
  .mobile-bar .mb-text .ic { display: none; }
}

/* pass 2 */
/* N13: 44px tap targets in the header */
.header-book { min-height: 44px; }
/* N15: the body font for the /about record values and the deductible amounts (no slashed zeros) */
.cred-row dd, .shield-ded .mono, .tier-price .mono, .compare td.mono { font-family: var(--sc-font-body); font-variant-numeric: tabular-nums; }
/* S16: the numbers button shows only where the pop-up works; the call line shows only where it doesn't */
[data-open-dialog][hidden], [data-no-dialog][hidden] { display: none; }
.mon-numbers p.mon-numbers-call { margin-top: 8px; }

/* monitoring examples */
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ex-chart { margin: 0; min-width: 0; background: var(--sc-night-watch); color: var(--sc-white); border-radius: var(--sc-radius-panel); padding: 22px 22px 18px; box-shadow: var(--sc-shadow); }
.ex-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ex-tag { display: inline-block; margin: 0 0 10px; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; font: 600 14px/1.3 var(--sc-font-body); color: var(--sc-on-dark-muted); }
.ex-chart h3 { margin: 0; font: 600 19px/1.3 var(--sc-font-head); color: var(--sc-white); }
.ex-total { margin: 0; text-align: right; font: 600 26px/1.1 var(--sc-font-head); color: var(--sc-signal-green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-total small { display: block; margin-top: 4px; font: 500 14px/1.3 var(--sc-font-body); color: var(--sc-on-dark-muted); }
.ex-plot { display: block; width: 100%; height: 150px; }
.ex-plot-tall { height: 190px; }
.ex-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--sc-on-dark-muted); }
.ex-axis-months span { flex: 1; text-align: center; }
.ex-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--sc-on-dark-muted); }
.ex-key li { display: flex; align-items: center; gap: 8px; }
.ex-sw { flex: none; width: 14px; height: 14px; border-radius: 3px; }
.ex-sw-made { background: var(--sc-signal-green); }
.ex-sw-used { background: var(--sc-clear-sky); }
.ex-sw-low { background: var(--sc-sunrise-amber); }
.ex-chart figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 1.5; }
.ex-note, .bill-note, .bill-send { margin: 20px 0 0; font-size: 15px; color: var(--sc-slate); }
.bill-note { margin: 0 0 22px; }
@media (max-width: 960px) {
  .ex-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ex-chart { padding: 18px 16px 16px; }
  .ex-head { flex-direction: column; gap: 10px; }
  .ex-total { text-align: left; }
  .ex-plot { height: 130px; }
  .ex-plot-tall { height: 160px; }
}
/* Shield comparison: one card per Shield on phones */
.shield-cards { display: none; }
.compare-note { margin: 22px 0 0; font-size: 16px; color: var(--sc-slate); }
.shield-card { background: var(--sc-white); border-radius: var(--sc-radius-card); box-shadow: var(--sc-shadow); border-top: 5px solid var(--tier); padding: 20px 18px 6px; }
.shield-card-bronze { --tier: var(--sc-bronze); }
.shield-card-silver { --tier: var(--sc-silver); }
.shield-card-gold { --tier: var(--sc-gold); }
.shield-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font: 600 21px/1.2 var(--sc-font-head); color: var(--sc-night-watch); }
.shield-card h3 .ic { width: 24px; height: 24px; stroke-width: 2; }
.sc-list { margin: 0; padding: 0; list-style: none; }
.sc-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sc-line); font-size: 16px; }
.sc-list li:last-child { border-bottom: 0; }
.sc-k { color: var(--sc-ink); }
.sc-v { flex: none; max-width: 50%; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; text-align: right; font-weight: 600; color: var(--sc-night-watch); font-variant-numeric: tabular-nums; }
.sc-v .ic { width: 18px; height: 18px; color: var(--sc-signal-deep); stroke-width: 2.5; }
.sc-v.sc-not { font-weight: 400; color: var(--sc-slate); }
.shield-cards-cap { margin: 0; font-size: 14px; color: var(--sc-slate); }
@media (max-width: 640px) {
  .compare-wrap { display: none; }
  .shield-cards { display: grid; gap: 18px; }
}

/* Blog: start here and browse by topic */
.start-section { padding-bottom: 0; }
.topic-section { padding-top: 72px; }
.topic-index { border-top: 2px solid var(--sc-night-watch); }
.topic-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--sc-line); }
.topic-name { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; align-content: start; }
.topic-name p { grid-column: 1 / -1; }
.topic-num { font-size: 14px; color: var(--sc-signal-deep); }
.topic-name h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 22px; color: var(--sc-night-watch); }
.topic-name h3 .ic { width: 24px; height: 24px; flex: none; color: var(--sc-sky-deep); }
.topic-name p { margin: 0; color: var(--sc-slate); font-size: 16px; }
.topic-count { margin-left: 6px; white-space: nowrap; font-family: var(--sc-font-num); font-size: 14px; color: var(--sc-ink); }
.topic-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.topic-post { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-left: 3px solid var(--sc-line); font: 600 18px/1.35 var(--sc-font-head); color: var(--sc-night-watch); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.topic-post:hover, .topic-post:focus-visible { border-left-color: var(--sc-signal-green); background: var(--sc-white); text-decoration: underline; }
.topic-post .ic { width: 18px; height: 18px; flex: none; color: var(--sc-sky-deep); }
@media (min-width: 768px) and (max-width: 960px) {
  .cards-start { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cards-start .card { padding: 22px; }
}
@media (max-width: 760px) {
  .topic-section { padding-top: 56px; }
  .topic-row { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .topic-post { padding: 6px 0 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
