/* Welly Systems marketing site.
   Tokens come from the WellySystems.com Figma file (variables + text styles). */

/* Legal placeholders and the 404 page */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 720px; }
.legal h1 { margin: 0 0 16px; }
.legal p { margin: 0 0 16px; }

/* Lead form: shown when contact.php can't be reached or fails */
.form-error { color: #b3261e; font-weight: 600; margin: 0 0 12px; }
.form-error[hidden] { display: none; }

/* Fonts are self-hosted (latin subset) so the site has no third-party requests. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/open-sans-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/poppins-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/poppins-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand-blue: #1e507d;
  --brand-orange: #ff591c;
  --brand-orange-dark: #d4470f;
  --brand-orange-text: #b53d0d;
  --text-ink: #17324d;
  --text-body: #4f5656;
  --text-on-dark: #dce7f1;
  --text-on-dark-muted: #b9cde0;
  --text-quote-attribution: #4a5540;

  --surface-white: #ffffff;
  --surface-hero: #eef3f7;
  --surface-page-warm: #f5f3ee;
  --surface-page-blue: #e4edf5;
  --surface-card: #f4f7fa;
  --surface-mock: #eef3f8;
  --surface-blue-tint: #dce8f6;
  --surface-alert-tint: #fde4e4;
  --surface-orange-tint: #fff1ea;
  --surface-testimonial: #edf0e6;
  --surface-phone: #16222e;
  --surface-phone-inner: #f7f8fa;

  --border-default: #c9d9e8;
  --border-divider: #c3d4e3;

  --status-green: #1e9e47;
  --status-away: #0a7ae0;
  --status-red: #d92d20;
  --status-red-text: #b42318;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-brand: 'Montserrat', 'Poppins', sans-serif;
  --font-tagline: 'Open Sans', 'Poppins', sans-serif;

  --gutter: 120px;
  --container: 1200px;
  --radius-card: 18px;
  --shadow-card: 0 10px 30px rgba(18, 58, 94, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

/* Safety net: nothing may make the page wider than the device. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.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;
}

:focus-visible { outline: 3px solid var(--status-away); outline-offset: 3px; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 13px; line-height: 1.2; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand-orange-text);
}
.h-xl { font-size: 44px; line-height: 1.12; font-weight: 600; color: var(--brand-blue); }
.h-l { font-size: 36px; line-height: 1.15; font-weight: 600; color: var(--brand-blue); }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color 200ms, transform 200ms;
}
.btn-orange { background: var(--brand-orange); color: #fff; }
.btn-orange:hover { background: var(--brand-orange-dark); }
.btn-white { background: #fff; color: var(--brand-blue); }
.btn-white:hover { background: var(--surface-blue-tint); }
.btn-md { height: 53px; padding-inline: 32px; }
.btn-lg { height: 57px; padding-inline: 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header { background: var(--brand-blue); color: #fff; position: relative; z-index: 20; }
.site-header .bar {
  display: flex; align-items: center; height: 186px; padding-inline: 80px; gap: 0;
}
.logo { display: block; position: relative; color: #fff; flex: none; width: 259px; height: 98px; }
.logo .word { position: absolute; left: 0; top: 0; font-family: var(--font-brand); font-size: 68px; line-height: 74.8px; font-weight: 400; }
.logo .drop { position: absolute; left: 194px; top: 15.7px; width: 48px; height: 60px; }
.logo .tag {
  position: absolute; left: 0; top: 85.2px; width: 100%; white-space: nowrap;
  font-family: var(--font-tagline); font-size: 13px; line-height: 13px; font-weight: 700; letter-spacing: 1.8px;
  color: var(--text-on-dark-muted);
}
.logo-sm { width: 180px; height: 69px; }
.logo-sm .word { font-size: 47.6px; line-height: 52.4px; }
.logo-sm .drop { left: 136px; top: 11px; width: 34px; height: 42px; }
.logo-sm .tag { top: 59.5px; font-size: 9.1px; line-height: 9.1px; letter-spacing: 1.26px; }

.main-nav { display: flex; align-items: center; margin-left: 59px; gap: 22px; font-size: 15px; font-weight: 500; }
.main-nav a { padding: 8px 0; white-space: nowrap; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-phone {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
  padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.header-actions { display: flex; gap: 16px; margin-left: 24px; }
.header-actions .btn { height: 48px; padding-inline: 0; width: 138px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 8px; background: transparent; color: #fff; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Mobile menu (shown from the 1100px breakpoint down) */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--surface-hero); overflow: hidden; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art img { position: absolute; left: 50%; bottom: 0; width: 1440px; min-width: 100%; height: 100%; object-fit: cover; object-position: bottom; transform: translateX(-50%); }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 460px 1fr; column-gap: 120px; align-items: start;
  padding-block: 72px 100px; min-height: 700px;
}
.hero-copy { padding-top: 8px; }
.hero h1 { font-size: 55.5px; line-height: 61px; font-weight: 700; letter-spacing: -1px; color: var(--brand-blue); }
.hero h1 .accent { color: var(--brand-orange); display: block; }
.hero .eyebrow { margin-bottom: 14px; }
.hero .hero-lead { margin-top: 28px; max-width: 540px; font-size: 20px; line-height: 32px; color: var(--text-ink); }
.hero .hero-lead strong { font-weight: 600; }
.hero .btn { margin-top: 28px; }
.hero-checks { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 32px; max-width: 560px; font-size: 14px; line-height: 18px; color: var(--text-ink); }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--brand-blue); stroke-width: 1.8; }

/* App mock cards (hero) */
.mock { background: #fff; border-radius: 24px; padding: 12px; box-shadow: 0 30px 50px -10px rgba(18, 58, 94, 0.25); color: var(--text-ink); }
.mock-status { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 14px; background: var(--surface-hero); position: relative; }
.mock-status .badge { width: 36px; height: 36px; border-radius: 50%; background: var(--status-green); color: #fff; display: grid; place-items: center; flex: none; }
.mock-status .badge .icon { width: 20px; height: 20px; }
.mock-status strong { display: block; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--brand-blue); }
.mock-status span { font-size: 11px; line-height: 14px; color: var(--text-body); }
.mock-status time { position: absolute; top: 12px; right: 14px; font-size: 10px; color: var(--text-body); }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.mock-tile { background: var(--surface-card); border-radius: 12px; padding: 18px 8px 16px; text-align: center; font-size: 10px; line-height: 12px; color: var(--brand-blue); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mock-tile .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-blue); color: #fff; display: grid; place-items: center; }
.mock-tile .ico .icon { width: 15px; height: 15px; }
.seg { display: inline-flex; border: 1px solid var(--border-default); border-radius: 999px; overflow: hidden; background: #fff; font-size: 9px; font-weight: 600; line-height: 1; }
.seg span { padding: 5px 9px; color: var(--text-body); }
.seg .on { background: var(--status-away); color: #fff; }
.seg .on-green { background: var(--status-green); color: #fff; }
.pill { display: inline-block; border-radius: 999px; padding: 5px 12px; font-size: 9px; font-weight: 600; line-height: 1; color: #fff; }
.pill.green { background: var(--status-green); }
.mock-gauges { display: grid; grid-template-columns: 1.05fr 1fr; gap: 8px; margin-top: 8px; }
.mock-gauge { background: var(--surface-card); border-radius: 12px; padding: 16px 14px 20px; font-size: 11px; font-weight: 500; color: var(--brand-blue); }
.mock-gauge svg { display: block; margin: 14px auto 0; }
.mock-gauge .cap { display: block; margin-top: 6px; }

/* Property list mock (property managers hero) */
.plist { padding: 12px; }
.plist-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 14px; }
.plist-head h2 { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--brand-blue); }
.chips { display: flex; gap: 6px; }
.chip { border-radius: 999px; padding: 5px 11px; font-size: 10px; font-weight: 600; line-height: 1; background: var(--surface-blue-tint); color: var(--brand-blue); }
.chip.dark { background: var(--brand-blue); color: #fff; }
.chip.alert { background: var(--surface-alert-tint); color: var(--status-red-text); }
.prow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.06); margin-top: 8px; }
.prow.is-alert { background: var(--surface-alert-tint); box-shadow: none; }
.prow .lead-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e6f4ea; color: var(--status-green); }
.prow .lead-ico .icon { width: 14px; height: 14px; }
.prow.is-alert .lead-ico { background: var(--status-red); color: #fff; }
.prow.is-away .lead-ico { background: var(--surface-blue-tint); color: var(--brand-blue); }
.prow .info { flex: 1; min-width: 0; }
.prow strong { display: block; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--text-ink); }
.prow small { display: block; font-size: 10px; line-height: 14px; color: var(--text-body); }
.prow.is-alert small { color: var(--status-red-text); font-weight: 600; }
.status { border-radius: 999px; padding: 6px 14px; min-width: 54px; text-align: center; font-size: 10px; font-weight: 600; line-height: 1; color: #fff; }
.status.view { background: var(--brand-blue); }
.status.running { background: var(--status-green); }
.status.idle { background: #e1f3e7; color: var(--status-green); }
.status.away { background: var(--status-away); }
.status.alert { background: var(--status-red); }

/* ---------- What it does ---------- */

.what { background: var(--surface-page-warm); padding-block: 98px 112px; }
.what-top { display: grid; grid-template-columns: 1fr 615px; column-gap: 80px; align-items: start; }
.what-top .h-xl { margin-top: 24px; max-width: 504px; }
.what-top .body-l { margin-top: 20px; max-width: 532px; font-size: 16px; line-height: 1.65; color: var(--text-body); }
.what-top .body-l + .body-l { margin-top: 20px; }
.what-top .body-l.strong { margin-top: 30px; font-weight: 600; color: var(--text-ink); max-width: 504px; }
.benefits { margin-top: 20px; display: grid; gap: 16px; max-width: 520px; }
.benefits li { display: flex; gap: 14px; font-size: 16px; line-height: 26px; color: var(--text-body); }
.benefits .icon { color: var(--brand-blue); margin-top: 4px; width: 22px; height: 22px; stroke-width: 1.7; }
.benefits strong { color: var(--text-ink); font-weight: 600; }
.what-top .btn { margin-top: 40px; }

.alerts-panel { background: var(--surface-alert-tint); border-radius: 24px; padding: 30px 28px 28px; margin-top: 105px; }
.alerts-panel header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.alerts-panel h2 { font-size: 18px; line-height: 22px; font-weight: 600; color: var(--brand-blue); }
.alerts-panel header p { font-size: 13px; line-height: 16px; color: var(--text-body); }
.alert-row { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 16px; padding: 16px 18px; margin-top: 12px; }
.alert-row:first-of-type { margin-top: 0; }
.alert-row .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-blue-tint); display: grid; place-items: center; flex: none; }
.alert-row .ico img { width: 24px; height: 24px; }
.alert-row .txt { flex: 1; min-width: 0; }
.alert-row h3 { font-size: 17px; line-height: 20.4px; font-weight: 600; color: var(--text-ink); }
.alert-row p { margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--text-body); }

.switch { position: relative; flex: none; width: 60px; height: 34px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 17px; background: #b6c4d2; transition: background-color 200ms; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform 200ms cubic-bezier(0.2, 0, 0, 1); }
.switch input:checked + .track { background: var(--brand-blue); }
.switch input:checked + .track::after { transform: translateX(26px); }
.switch input:focus-visible + .track { outline: 3px solid var(--status-away); outline-offset: 3px; }

.jobs { margin-top: 68px; padding-top: 64px; border-top: 1px solid var(--border-divider); }
.jobs > h2 { font-size: 22px; line-height: 1.4; font-weight: 400; color: var(--text-ink); }
.jobs > h2 strong { font-weight: 600; color: var(--brand-blue); }
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.job { background: #fff; border-radius: 24px; padding: 16px 16px 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.job-art { background: var(--surface-mock); border-radius: 16px; height: 190px; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.job h3 { display: flex; align-items: flex-start; gap: 12px; margin: 24px 12px 0; font-size: 22px; line-height: 26.4px; font-weight: 600; color: var(--brand-blue); }
.job h3 .num { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--brand-orange); color: #fff; font-size: 13px; line-height: 24px; text-align: center; font-weight: 600; }
.job p { margin: 16px 12px 0; font-size: 16px; line-height: 24.8px; color: var(--text-body); }

.mini { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(18, 58, 94, 0.1); }
.mini-pair { display: flex; gap: 10px; }
.mini-pair .mini { padding: 12px 10px 10px; text-align: center; font-size: 8px; letter-spacing: 1px; font-weight: 600; color: var(--text-ink); width: 92px; }
.mini-pair svg { display: block; margin: 6px auto 0; }
.mini-alerts { width: 100%; max-width: 296px; padding: 12px 12px 12px; }
.mini-alerts h4 { font-size: 11px; line-height: 14px; font-weight: 500; color: var(--brand-blue); }
.mini-alert { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface-alert-tint); }
.mini-alert .badge { width: 20px; height: 20px; border-radius: 50%; background: var(--status-red); color: #fff; display: grid; place-items: center; flex: none; }
.mini-alert .badge .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.mini-alert strong { display: block; font-size: 10px; line-height: 12px; font-weight: 600; color: var(--status-red-text); }
.mini-alert small { display: block; font-size: 8px; line-height: 10px; color: var(--text-body); }
.mini-btns { display: flex; gap: 8px; margin-top: 8px; }
.mini-btns span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; font-size: 9px; font-weight: 600; line-height: 1; background: var(--brand-blue); color: #fff; }
.mini-btns span + span { flex: none; padding-inline: 14px; background: #fff; border: 1px solid var(--border-default); color: var(--brand-blue); }
.mini-power { width: 178px; padding: 16px 12px 14px; text-align: center; font-size: 11px; font-weight: 600; color: var(--text-ink); }
.mini-power .icon { display: block; margin: 0 auto 6px; width: 26px; height: 26px; color: var(--brand-blue); stroke-width: 1.8; }
.mini-power .seg { margin-top: 8px; background: var(--surface-card); border: 0; font-size: 10px; }
.mini-power .seg span { padding: 6px 12px; }
.mini-power .seg .off { background: var(--brand-orange-dark); color: #fff; border-radius: 999px; }
.mini-list { width: 100%; max-width: 270px; padding: 10px 14px; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 9px; font-weight: 600; color: var(--text-ink); }
.mini-list .status { min-width: 48px; padding: 4px 8px; font-size: 8px; }

/* ---------- Warning signs + who it's for ---------- */

.who { background: var(--surface-page-blue); padding-block: 80px 110px; }
.signs { display: grid; grid-template-columns: 432px 1fr; column-gap: 24px; align-items: start; }
.signs-copy { padding-top: 10px; }
.signs-copy .h-xl { margin-top: 22px; max-width: 367px; padding-top: 2px; }
.signs-copy .lead { margin-top: 22px; max-width: 432px; }
.legend { margin-top: 20px; display: grid; gap: 14px; font-size: 14px; line-height: 17px; color: var(--text-ink); }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend .band { width: 28px; height: 10px; border-radius: 2px; background: var(--border-default); flex: none; }
.legend .line { width: 28px; height: 3px; background: var(--brand-orange-dark); flex: none; }
.signs-copy .fine { margin-top: 30px; max-width: 416px; font-size: 14px; line-height: 22.4px; color: var(--text-body); }
.signs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-left: 26px; }
.sign { background: #fff; border-radius: var(--radius-card); padding: 28px 24px 30px 28px; }
.sign svg { display: block; width: 100%; height: auto; max-width: 291px; }
.sign h3 { margin-top: 14px; font-size: 20px; line-height: 24px; font-weight: 600; color: var(--brand-blue); }
.sign p { margin-top: 14px; font-size: 16px; line-height: 24.8px; color: var(--text-body); }

.audience { margin-top: 82px; padding-top: 66px; border-top: 1px solid var(--border-divider); }
.audience-head { display: flex; gap: 54px; align-items: flex-end; margin-top: 16px; }
.audience-head .h-l { flex: none; width: 428px; }
.audience-head .lead { max-width: 714px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.photo-card { position: relative; height: 440px; border-radius: 22px; overflow: hidden; background: var(--brand-blue); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card .caption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px 24px 24px; border-radius: 16px; background: rgba(18, 58, 94, 0.92); color: var(--text-on-dark); }
.photo-card .tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--brand-orange); color: #fff; font-size: 12px; line-height: 14.4px; font-weight: 600; letter-spacing: 0.4px; }
.photo-card h3 { margin-top: 18px; font-size: 22px; line-height: 26.4px; font-weight: 600; color: #fff; }
.photo-card p { margin-top: 8px; font-size: 16px; line-height: 24.8px; }

/* ---------- How it works ---------- */

.how { background: var(--surface-page-warm); padding-block: 132px 100px; }
.how-top { display: grid; grid-template-columns: minmax(0, 1fr) 520px; column-gap: 0; align-items: start; }
.how-top .h-xl { margin-top: 18px; max-width: 662px; }
.how-top .h-xl.narrow { max-width: 561px; }
.steps { margin-top: 36px; max-width: 795px; }
.step { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 2px; background: var(--border-default); }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: 14px; font-weight: 600; line-height: 32px; text-align: center; position: relative; }
.step.last .num { background: var(--brand-orange); }
.step h3 { font-size: 20px; line-height: 32px; font-weight: 600; color: var(--brand-blue); }
.step p { margin-top: 8px; font-size: 16px; line-height: 24.8px; color: var(--text-body); max-width: 440px; }

.how-visual { position: relative; width: 100%; max-width: 520px; height: 660px; margin-top: -26px; overflow-x: hidden; overflow-x: clip; }
.how-visual .disc { position: absolute; left: 50%; margin-left: -260px; top: 70px; width: 520px; height: 520px; border-radius: 50%; background: var(--surface-blue-tint); opacity: 0.8; }
.device { position: absolute; left: 50%; margin-left: -160px; top: 0; width: 320px; height: 660px; border-radius: 52px; background: var(--surface-phone); box-shadow: 0 40px 40px rgba(18, 58, 94, 0.3); }
.device-screen { position: absolute; inset: 12px; border-radius: 42px; background: var(--surface-phone-inner); overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 12px 22px 8px; gap: 16px; }
.device-notch { width: 96px; height: 28px; border-radius: 999px; background: var(--surface-phone); flex: none; }
.device-logo { display: flex; align-items: flex-end; gap: 2px; margin-top: 2px; color: var(--brand-blue); font-family: var(--font-brand); font-size: 30px; line-height: 30px; }
.device-logo img { width: 21px; height: 26px; }
.progress { display: flex; gap: 4px; }
.progress span { width: 60px; height: 4px; border-radius: 2px; background: #d6e3f0; }
.progress .done { background: var(--brand-blue); }
.device h4 { margin-top: 3px; font-size: 20px; line-height: 24px; font-weight: 500; color: var(--brand-blue); }
.scanner { position: relative; width: 252px; height: 200px; border-radius: 14px; background: #2a3642; flex: none; margin-top: 3px; }
.scanner .qr { position: absolute; left: 54px; top: 37px; width: 144px; height: 125px; border-radius: 8px; background: #fff; padding: 11px 18px 0 27px; }
.scanner .qr img { width: 88px; height: 88px; display: block; }
.scanner .qr span { display: block; margin-top: 4px; margin-left: -9px; font-size: 7px; line-height: 8px; font-weight: 600; letter-spacing: 0.5px; color: var(--surface-phone); white-space: nowrap; }
.scanner .brackets { position: absolute; left: 41px; top: 15px; width: 170px; height: 170px; }
.device .manual { font-size: 13px; line-height: 16px; color: var(--brand-blue); margin-top: -2px; }
.device-field { position: relative; width: 252px; height: 53px; border: 1px solid #c9d3dd; border-radius: 8px; background: #fff; flex: none; padding: 18px 14px 0; font-size: 14px; letter-spacing: 0.3px; color: var(--text-ink); }
.device-field small { position: absolute; top: -8px; left: 12px; padding: 0 4px; background: #fff; font-size: 10px; line-height: 16px; color: var(--brand-blue); letter-spacing: 0; }
.device .pair-btn { width: 252px; height: 46px; border-radius: 999px; background: var(--brand-blue); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; flex: none; }
.device .home-bar { position: absolute; bottom: 8px; width: 120px; height: 4px; border-radius: 2px; background: var(--surface-phone); }
.toast { position: absolute; right: 0; bottom: 100px; max-width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(18, 58, 94, 0.2); }
.toast .badge { width: 22px; height: 22px; border-radius: 50%; background: var(--status-green); color: #fff; display: grid; place-items: center; flex: none; }
.toast .badge .icon { width: 13px; height: 13px; stroke-width: 3; }
.toast strong { display: block; font-size: 11px; line-height: 14px; font-weight: 600; color: var(--text-ink); }
.toast small { display: block; font-size: 9px; line-height: 12px; color: var(--text-body); }

.how-bottom { display: grid; grid-template-columns: 684px 1fr; gap: 28px; margin-top: 60px; }
.specs, .offline { border-radius: 20px; padding: 32px 28px 30px; }
.specs { background: #fff; padding-inline: 28px; }
.specs h3 { font-size: 20px; line-height: 24px; font-weight: 600; color: var(--brand-blue); padding-inline: 0; }
.specs > p { margin-top: 20px; font-size: 14px; line-height: 21px; color: var(--text-ink); }
.spec-list { margin-top: 18px; display: grid; gap: 8px; }
.spec-list div { display: grid; grid-template-columns: 128px 1fr; gap: 16px; font-size: 14px; line-height: 18px; }
.spec-list dt { font-weight: 600; color: var(--text-ink); }
.spec-list dd { color: var(--text-body); }
.offline { background: var(--brand-blue); color: var(--text-on-dark); }
.offline .icon { width: 24px; height: 24px; color: #fff; stroke-width: 1.8; }
.offline h3 { margin-top: 18px; font-size: 20px; line-height: 24px; font-weight: 600; color: #fff; }
.offline p { margin-top: 16px; font-size: 14px; line-height: 23px; }
.offline p.fine { margin-top: 20px; font-size: 12px; line-height: 19px; color: var(--text-on-dark-muted); }

/* ---------- Compare ---------- */

.compare { background: var(--brand-blue); color: #fff; padding-block: 114px 100px; }
.compare .eyebrow { color: #ffb08f; }
.compare h2 { margin-top: 16px; font-size: 36px; line-height: 41.4px; font-weight: 600; color: #fff; max-width: 788px; }
.compare .lead { margin-top: 14px; max-width: 830px; font-size: 18px; line-height: 28.8px; color: var(--text-on-dark); }
.table-wrap { margin-top: 44px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.35); overflow-x: auto; }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; color: var(--text-body); font-size: 14px; line-height: 20px; text-align: left; }
.compare th, .compare td { padding: 20px; vertical-align: top; border-top: 1px solid #ebeef2; }
.compare thead th { border-top: 0; background: var(--surface-page-warm); color: var(--text-ink); font-weight: 600; font-size: 14px; padding-block: 24px 22px; }
.compare thead th.welly { background: var(--brand-orange); color: #fff; font-size: 15px; }
.compare tbody th { color: var(--text-ink); font-weight: 600; width: 23.5%; }
.compare .welly { background: var(--surface-orange-tint); color: var(--text-ink); font-weight: 600; width: 25.5%; }
.mark { display: flex; gap: 10px; align-items: flex-start; }
.mark .icon { margin-top: 1px; width: 16px; height: 16px; stroke-width: 2; }
.mark.yes .icon { color: var(--status-green); }
.mark.no .icon { color: #8a8f94; }
.mark.some .icon { color: #c47a1a; }
.table-scroll { position: relative; margin-top: 44px; }
.table-scroll .table-wrap { margin-top: 0; }
.scroll-hint { display: none; }
.compare .fine { margin-top: 32px; font-size: 12px; line-height: 15px; color: var(--text-on-dark-muted); }
.compare .btn { margin-top: 30px; }

/* ---------- Testimonial ---------- */

.quote { background: var(--surface-testimonial); padding-block: 120px 96px; border-bottom: 2px solid var(--brand-blue); }
.quote .qmark { display: block; width: 56px; height: 44px; color: #8a9a78; }
.quote blockquote { margin: 26px 0 0; max-width: 1068px; font-size: 30px; line-height: 45px; font-weight: 500; color: var(--text-ink); }
.quote figcaption { margin-top: 32px; }
.quote figcaption strong { display: block; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--brand-blue); }
.quote figcaption span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 18px; color: var(--text-quote-attribution); }

/* ---------- FAQ ---------- */

.faq { background: #fff; padding-block: 112px 100px; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faq-head h2 { font-size: 36px; line-height: 50px; font-weight: 600; color: var(--brand-blue); }
.faq-head p { font-size: 14px; line-height: 18px; color: var(--text-body); white-space: nowrap; }
.faq-head p a { margin-left: 8px; font-weight: 600; font-size: 14px; color: var(--brand-blue); }
.faq-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.faq-card { background: var(--surface-card); border-radius: 20px; padding: 24px 20px 28px; }
.faq-card h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--brand-blue); }
.faq-card p { margin-top: 8px; font-size: 14px; line-height: 22.4px; color: var(--text-body); }

/* ---------- Contact ---------- */

.contact { background: var(--brand-orange); color: #fff; padding-block: 80px; }
.contact-inner { display: grid; grid-template-columns: 525px 624px; justify-content: space-between; align-items: center; }
.contact .eyebrow { color: #fff; font-size: 11px; letter-spacing: 2px; font-weight: 600; }
.contact h2 { margin-top: 18px; font-size: 38px; line-height: 42.6px; font-weight: 700; color: #fff; }
.contact .sub { margin-top: 20px; max-width: 460px; font-size: 18px; line-height: 29.7px; font-weight: 500; }
.contact .talk { margin-top: 30px; font-size: 11px; line-height: 14px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.contact .phone-big { display: block; margin-top: 12px; font-size: 30px; line-height: 36px; font-weight: 700; }

.form-card { background: #fff; border-radius: 24px; padding: 28px 28px 24px; color: var(--text-ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); }
.lead-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 12px; }
.field { grid-column: span 6; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field.w-narrow { grid-column: span 2; }
.field.w-wide { grid-column: span 4; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; line-height: 15px; font-weight: 600; color: var(--text-ink); }
.field input, .field select, .field textarea {
  display: block; width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border-default); border-radius: 10px;
  background: #fff; font-size: 14px; color: var(--text-ink);
  transition: border-color 200ms, box-shadow 200ms;
}
.field select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231e507d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { height: 68px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(30, 80, 125, 0.18); }
.field .error { display: none; margin-top: 4px; font-size: 12px; line-height: 15px; color: var(--status-red-text); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--status-red); }
.field.invalid .error { display: block; }
.lead-form .btn { grid-column: span 6; height: 46px; margin-top: 4px; font-size: 15px; }
.form-note { margin-top: 14px; text-align: center; font-size: 12px; line-height: 15px; color: var(--text-ink); }
.form-terms { margin-top: 12px; text-align: center; font-size: 11px; line-height: 14px; color: var(--text-ink); }
.form-terms a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: none; text-align: center; padding: 60px 20px; }
.form-success .icon { width: 44px; height: 44px; color: var(--status-green); }
.form-success h3 { margin-top: 14px; font-size: 22px; line-height: 28px; font-weight: 600; color: var(--brand-blue); }
.form-success p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--text-body); }
.form-card.submitted .lead-form, .form-card.submitted .form-note, .form-card.submitted .form-terms { display: none; }
.form-card.submitted .form-success { display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--brand-blue); color: #fff; padding-block: 64px 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; line-height: 18px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-nav .phone { font-size: 17px; font-weight: 600; margin-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 24px; font-size: 12px; line-height: 20px; color: var(--text-on-dark); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-self: flex-end; }
.footer-legal a:hover { text-decoration: underline; }
.footer-bottom .sep { margin-inline: 8px; opacity: 0.7; }

/* ---------- Responsive ---------- */

@media (max-width: 1320px) {
  :root { --gutter: 64px; }
  .site-header .bar { padding-inline: 48px; }
  .main-nav { gap: 18px; margin-left: 32px; }
  .header-actions { gap: 10px; margin-left: 16px; }
  .header-actions .btn { width: 116px; }
  .hero-inner { grid-template-columns: 440px 1fr; column-gap: 64px; }
  .what-top { grid-template-columns: 1fr 560px; column-gap: 56px; }
  .signs { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .audience-head { gap: 40px; }
  .audience-head .h-l { width: 380px; }
  .how-top { grid-template-columns: minmax(0, 1fr) 480px; column-gap: 32px; }
  .how-bottom { grid-template-columns: 1.2fr 1fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .site-header .bar { height: 120px; padding-inline: 32px; }
  .logo { transform: scale(0.75); transform-origin: left center; margin-right: -64px; }
  .main-nav, .header-phone, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .mobile-menu { display: grid; }
  .mobile-menu { display: none; gap: 4px; padding: 8px 32px 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 16px; font-weight: 500; }
  .mobile-menu a { padding: 12px 0; }
  .mobile-menu .btn { margin-top: 8px; }
  .mobile-menu .btn-row { display: flex; gap: 12px; margin-top: 12px; }
  .mobile-menu .btn-row .btn { flex: 1; margin: 0; padding: 0; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-block: 56px 200px; }
  .hero-copy { order: -1; }
  .hero .mock, .hero .plist { max-width: 460px; }
  .hero-art img { height: 60%; }
  .what { padding-block: 72px; }
  .what-top { grid-template-columns: minmax(0, 1fr); }
  .alerts-panel { margin-top: 48px; }
  .jobs-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .signs { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .signs-grid { padding-left: 0; }
  .audience-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .audience-head .h-l { width: auto; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .how { padding-block: 80px; }
  .how-top { grid-template-columns: minmax(0, 1fr); }
  .how-visual { margin: 56px auto 0; }
  .how-bottom { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header .bar { height: 96px; padding-inline: 20px; }
  .logo { transform: scale(0.6); margin-right: -104px; }
  .mobile-menu { padding-inline: 20px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero .hero-lead { font-size: 18px; line-height: 29px; }
  .hero .btn { width: 100%; }
  .hero-inner { padding-bottom: 150px; }
  .h-xl { font-size: 34px; }
  .h-l { font-size: 30px; line-height: 1.2; }
  .alerts-panel { padding: 22px 14px; }
  .alerts-panel header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .alert-row { gap: 12px; padding: 14px; }
  .alert-row .ico { width: 44px; height: 44px; }
  .switch { transform: scale(0.85); transform-origin: right center; }
  .jobs > h2 { font-size: 19px; }
  .signs-grid { grid-template-columns: minmax(0, 1fr); }
  .how-top .h-xl { font-size: 30px; }
  .compare { padding-block: 72px; }
  .compare h2 { font-size: 28px; line-height: 34px; }
  .quote { padding-block: 72px; }
  .quote blockquote { font-size: 21px; line-height: 32px; }
  .faq { padding-block: 72px; }
  .faq-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .faq-head h2 { font-size: 30px; line-height: 38px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .contact { padding-block: 56px; }
  .contact h2 { font-size: 30px; line-height: 36px; }
  .form-card { padding: 22px 18px; }
  .field.half, .field.third, .field.w-narrow, .field.w-wide { grid-column: span 6; }
  .spec-list div { grid-template-columns: 1fr; gap: 2px; }
  .photo-card { height: 480px; }
  .plist-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .how-visual .disc { left: 0; margin-left: 0; width: 100%; height: auto; aspect-ratio: 1; }
  /* 16px stops iOS Safari from zooming the page in when a field is focused */
  .field input, .field select, .field textarea { font-size: 16px; }
}

@media (max-width: 640px) {
  /* Comparison table runs edge to edge; a fade on the right edge hints that it scrolls sideways. */
  .table-scroll { margin-inline: calc(var(--gutter) * -1); }
  .table-scroll .table-wrap { border-radius: 0; box-shadow: none; -webkit-overflow-scrolling: touch; }
  .table-scroll::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none;
    background: linear-gradient(to right, rgba(23, 50, 77, 0), rgba(23, 50, 77, 0.22));
    transition: opacity 200ms;
  }
  .table-scroll.at-end::after { opacity: 0; }
  .scroll-hint {
    display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 10px var(--gutter) 0;
    font-size: 12px; line-height: 16px; color: var(--text-on-dark-muted); transition: opacity 200ms;
  }
  .scroll-hint .icon { width: 14px; height: 14px; }
  .table-scroll.at-end + .scroll-hint { opacity: 0; }
}

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