/* SENTINEL SmartPole site. Brand colours sampled from the Delphire master logo. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #003C4B;          /* brand navy (logo) */
  --ink: #00212A;           /* deep navy text / text on orange */
  --orange: #F47324;        /* brand orange (logo): fills, rules, large display */
  --orange-ink: #A84A0D;    /* orange for small text on light backgrounds (5.3:1+) */
  --orange-on-navy: #FF9A57;/* orange for small text on navy (5.7:1) */
  --slate: #4A6670;         /* secondary text (6.1:1 on white) */
  --mist: #CFE0E4;          /* light text on navy (8.8:1) */
  --soft: #F3F7F8;          /* panel background */
  --cream: #FFF3EA;         /* callout background (flyer) */
  --line: #D7E2E5;
  --white: #FFFFFF;
  --radius: 10px;
  --wrap: 1200px;
  --head: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .25em 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 10; border-radius: 4px; font-weight: 700; }
.skip:focus { transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1.2 var(--head); letter-spacing: .01em;
  padding: .8em 1.3em; border-radius: 8px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #FF8A42; color: var(--ink); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: var(--mist); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* ---------- header ---------- */
.site-header { background: var(--navy); border-bottom: 4px solid var(--orange); position: relative; z-index: 2; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; display: block; padding: 8px 0; }
.brand img { height: 52px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 12px; color: var(--white); text-decoration: none;
  font: 600 .95rem/1.2 var(--head); border-radius: 6px;
}
.nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.btn-login { background: var(--orange); color: var(--ink); padding: .6em 1.1em; flex: none; }
.btn-login:hover { background: #FF8A42; color: var(--ink); }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font: 800 .8rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); margin: 0 0 .75rem;
}
.section-navy .eyebrow, .hero .eyebrow { color: var(--orange-on-navy); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }
.rule { border: 0; height: 4px; width: 64px; background: var(--orange); margin: 0 0 1.25rem; border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.note { font-size: .9rem; color: var(--slate); }
.callout {
  background: var(--cream); border-left: 5px solid var(--orange); padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0, var(--navy) 100%); color: var(--white); padding: 56px 0 64px; }
.hero h1 { color: var(--white); margin-bottom: .2em; }
.hero .sub { font: italic 600 clamp(1.05rem, .9rem + .6vw, 1.35rem)/1.35 var(--head); color: var(--orange-on-navy); margin-bottom: 1.25rem; }
.hero p { color: var(--mist); font-size: 1.1rem; max-width: 52ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero .btn-outline { border-color: var(--mist); color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--navy); }

/* animation */
.anim { margin: 0; max-width: 680px; justify-self: end; width: 100%; }
.anim-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.25); aspect-ratio: 960 / 504; }
.anim-frame video { width: 100%; height: 100%; object-fit: cover; }
.anim figcaption { font-size: .85rem; color: var(--mist); margin-top: .6rem; }
.anim-toggle {
  position: absolute; right: 10px; bottom: 10px;
  font: 700 .8rem/1 var(--head); color: var(--white); background: rgba(0,33,42,.82);
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .55em .95em; cursor: pointer;
}
.anim-toggle:hover { background: var(--ink); }
.anim-toggle.is-paused {
  right: 50%; bottom: 50%; transform: translate(50%, 50%);
  font-size: 1rem; padding: .9em 1.4em; background: var(--orange); color: var(--ink); border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.anim-toggle.is-paused::before { content: ""; display: inline-block; border-style: solid; border-width: .45em 0 .45em .75em; border-color: transparent transparent transparent currentColor; margin-right: .5em; vertical-align: -.05em; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: -40px; position: relative; }
.pillar { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 6px 20px rgba(0,60,75,.08); }
.pillar.is-accent { background: var(--orange); border-color: var(--orange); }
.pillar h3 { font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); font-weight: 800; margin-bottom: .2em; }
.pillar.is-accent h3 { color: var(--ink); }
.pillar p { margin: 0; color: var(--slate); }
.pillar.is-accent p { color: var(--ink); }
.pillars-note { margin-top: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.step-body { padding: 20px 22px 8px; }
.step-num { display: flex; align-items: center; gap: 10px; font: 800 .9rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .6rem; }
.step-num b { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 1.05rem; letter-spacing: 0; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--slate); margin-bottom: .6em; }
.step img { margin-top: auto; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-top: 1px solid var(--line); }
.step .mesh-alt { font-size: .88rem; color: var(--slate); border-left: 3px solid var(--orange); padding-left: 10px; }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.benefit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit .ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); }
.benefit .ico.dark { background: var(--navy); }
.benefit .ico svg { width: 28px; height: 28px; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--slate); }

/* ---------- configurations ---------- */
.configs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.config { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.config-head { padding: 22px 24px 14px; border-bottom: 4px solid var(--orange); }
.config-head img.mark { height: 44px; width: auto; margin-bottom: 12px; }
.config-head .tagline { font: 800 1rem/1.3 var(--head); color: var(--orange-ink); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.config-img { aspect-ratio: 2.4 / 1; width: 100%; object-fit: cover; }
.config-img.pos-right { object-position: right center; }
.config-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.config-body ul { padding-left: 1.1em; }
.config-body li::marker { color: var(--orange); }
.config-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: var(--white); border-top: 4px solid var(--orange); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: var(--mist); }

/* ---------- page head ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 48px 0 44px; }
.page-head h1 { color: var(--white); margin-bottom: .25em; }
.page-head p { color: var(--mist); max-width: 70ch; font-size: 1.1rem; margin: 0; }
.page-head .eyebrow { color: var(--orange-on-navy); }

/* ---------- use cases ---------- */
.uc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.uc { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 4px 14px; }
.uc-n { white-space: nowrap; grid-row: span 2; font: 800 1.6rem/1 var(--head); color: var(--navy); border-right: 3px solid var(--orange); padding-right: 10px; height: fit-content; }
.uc h3 { margin: 0; font-size: 1.05rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uc p { margin: 0; color: var(--slate); font-size: .96rem; }
.chip { font: 700 .7rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; padding: .35em .6em; border-radius: 999px; background: #E4ECEE; color: var(--slate); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h3 { border-bottom: 3px solid var(--orange); padding-bottom: .4em; display: inline-block; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.4em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .55em; height: .55em; border-radius: 2px; background: var(--orange); }
.bounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bound { background: var(--white); border-radius: var(--radius); padding: 20px; border-top: 5px solid var(--orange); }
.bound h3 { color: var(--navy); }
.bound p { margin: 0; color: var(--slate); }
.section-navy .bound p { color: var(--slate); }

/* ---------- datasheet ---------- */
.ds-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; border-bottom: 4px solid var(--orange); padding-bottom: 18px; margin-bottom: 24px; }
.ds-head .logo { height: 64px; width: auto; }
.ds-meta { text-align: right; font: 600 .9rem/1.4 var(--head); color: var(--slate); }
.ds-meta strong { color: var(--navy); display: block; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.ds-title h1 { color: var(--navy); margin-bottom: .1em; }
.ds-title .sub { font: 700 1.1rem/1.3 var(--head); color: var(--orange-ink); margin-bottom: .8em; }
.ds-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 8px; }
.stat { background: var(--soft); border-top: 4px solid var(--orange); border-radius: 6px; padding: 12px 14px; }
.stat b { display: block; font: 800 1.35rem/1.1 var(--head); color: var(--navy); }
.stat span { font-size: .85rem; color: var(--slate); }
.ds-section { margin-top: 36px; }
.ds-section h2 { font-size: 1.3rem; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 6px 6px 0 0; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
table.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.spec thead th { background: #E8F0F2; color: var(--navy); font: 700 .9rem/1.3 var(--head); }
.spec thead th img { height: 26px; width: auto; }
.spec tbody th { width: 24%; color: var(--navy); font: 700 .92rem/1.35 var(--head); background: #F7FAFB; }
.spec tbody tr:nth-child(even) td { background: #FBFCFD; }
.spec td.na { color: var(--slate); }
.spec.cols-3 tbody th { width: 22%; }
.spec.cols-3 td { width: 39%; }
.thresholds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; border: 1px solid var(--line); border-top: 0; }
.thresholds div { padding: 12px 6px; border-right: 1px solid var(--line); }
.thresholds div:last-child { border-right: 0; }
.thresholds span { display: block; font: 700 .8rem/1.2 var(--head); color: var(--slate); text-transform: uppercase; letter-spacing: .04em; }
.thresholds b { font: 800 1.5rem/1.3 var(--head); color: var(--navy); }
.ds-foot { font-size: .85rem; color: var(--slate); margin-top: 8px; }
.ds-scope { margin-top: 36px; background: var(--cream); border-left: 5px solid var(--orange); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.ds-contact { margin-top: 28px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-weight: 600; }
.ds-contact a { color: var(--white); }
.ds-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.print-only { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card p { font-size: 1.1rem; margin: 0; }
.contact-card a { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding: 40px 0 24px; border-top: 4px solid var(--orange); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange-on-navy); }
.foot-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 32px; }
.foot-brand img { height: 48px; width: auto; margin-bottom: 10px; }
.foot-h { font-size: .85rem; color: var(--white); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6em; }
.plain { list-style: none; padding: 0; margin: 0; }
.foot-note { border-top: 1px solid rgba(207,224,228,.25); margin-top: 28px; padding-top: 18px; font-size: .9rem; }
.foot-note p { margin: 0 0 .4em; }
.foot-note strong { color: var(--white); }

/* ---------- 404 ---------- */
.nf { padding: 96px 0; text-align: center; }
.nf .btn-row { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .anim { justify-self: start; }
}
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .brand img { height: 44px; }
  .btn-login { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -12px; }
  .nav ul { flex-wrap: wrap; }
  .nav a { padding: 10px 12px; }
  .pillars, .steps, .configs, .benefits, .uc-list, .two-col, .bounds, .contact-grid, .cta-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { margin-top: -28px; }
  .ds-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 48px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 40px; }
  .btn-login { padding: .55em .9em; font-size: .92rem; }
  .nav a { padding: 10px 9px; font-size: .9rem; }
  .hero { padding: 36px 0 56px; }
  .anim-toggle { font-size: .7rem; padding: .45em .75em; right: 6px; bottom: 6px; }
  .anim-toggle.is-paused { font-size: .9rem; }
  .ds-meta { text-align: left; }
  .ds-section h2 { font-size: 1.05rem; }
  .thresholds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thresholds div { border-bottom: 1px solid var(--line); }
  /* stack spec tables into labelled cards */
  table.spec, .spec thead, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100% !important; }
  .spec thead { position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec tbody tr { border-bottom: 2px solid var(--line); }
  .spec tbody th { border-bottom: 0; padding-bottom: 4px; }
  .spec td { border-bottom: 0; padding-top: 4px; }
  .spec.cols-3 td::before { content: attr(data-label); display: block; font: 800 .72rem/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
  .uc { grid-template-columns: 3.2rem minmax(0, 1fr); padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- print (datasheet PDF) ---------- */
@media print {
  @page { size: Letter; margin: 0.45in 0.5in 0.5in; }
  html, body { background: #fff; }
  body { display: block; min-height: 0; }
  body { font-size: 8.6pt; line-height: 1.32; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .site-footer, .skip, .ds-actions, .no-print { display: none !important; }
  .print-only { display: block; }
  section, .ds-wrap { padding: 0 !important; }
  .wrap { max-width: none; padding: 0; }
  h1 { font-size: 24pt; }
  .ds-head .logo { height: 48px; }
  .ds-section { margin-top: 14px; break-inside: auto; }
  .ds-section h2 { font-size: 10.5pt; padding: 6px 10px; break-after: avoid; }
  .spec th, .spec td { padding: 4px 9px; }
  .spec tbody th { font-size: 8.8pt; }
  .spec tr { break-inside: avoid; }
  .spec thead th img { height: 18px; }
  .stat b { font-size: 13pt; }
  .stat { padding: 7px 10px; }
  .ds-stats { margin: 10px 0 4px; }
  .thresholds b { font-size: 13pt; }
  .thresholds div { padding: 6px; }
  .ds-scope { margin-top: 14px; padding: 10px 14px; }
  .ds-contact { margin-top: 12px; padding: 10px 14px; }
  a { text-decoration: none; }
  .ds-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px; }
  .ds-title p { font-size: 8.8pt; }
  .ds-title .sub { font-size: 11pt; margin-bottom: .4em; }
  table.spec { font-size: 8.4pt; }
  .spec tbody th { font-size: 8pt !important; }
  .spec thead th { font-size: 8.2pt; padding-top: 3px; padding-bottom: 3px; }
  .ds-foot { font-size: 7.6pt; }
  .ds-head { padding-bottom: 8px; margin-bottom: 10px; }
  .thresholds { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

/* ---------- utilities (no inline styles: CSP style-src 'self') ---------- */
.mt-20 { margin-top: 1.25rem; }
.mt-32 { margin-top: 32px; }
.center { margin-left: auto; margin-right: auto; }
.h-panel { font-size: 1.4rem; border-bottom: 3px solid var(--orange); padding-bottom: .4em; display: inline-block; }

/* "Coming soon" tag for SmartPole Mesh (operator 2026-10-15) */
.soon { display: inline-block; margin: .35rem 0 .2rem; padding: .18rem .55rem; border-radius: 3px; background: var(--orange); color: #00212A; font: 700 .72rem/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }
th .soon { display: block; width: max-content; margin: .3rem 0 0; }
