/* sentinelmcx.com
   One typeface (Archivo, variable weight and width). Width is the voice: wide and heavy
   for headings, normal for reading, slightly narrow for small labels.
   Colors come from the Sentinel shield: deep navy, signal blue, go green.
   Each product has a key color, used the way a console colors its channels. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --fog: #edf2f5;
  --paper: #ffffff;
  --ink: #071e2e;
  --ink-2: #0d2c42;
  --text: #1b3344;
  --quiet: #52687a;
  --line: #c8d5de;
  --blue: #0a6fb8;
  --green: #2f8f26;
  --amber: #c77800;
  --teal: #0c8383;
  --red: #c2352b;
  --head: #071e2e;      /* headings and strong text */
  --slab: #071e2e;      /* the navy blocks, dark in both themes */
  --frame: #071e2e;     /* bezels around phone and watch screens */
  --btn: #071e2e;
  --btn-fg: #ffffff;
  --cta: #0a6fb8;       /* the closing band and button hover, same in both themes */
  --hover: #dfe8ee;
  --field: #ffffff;
  --field-line: #9db0bd;
  --top: rgba(237, 242, 245, 0.92);
  --dkey: #071e2e;
  --tag: #fbe9c8;
  --tag-fg: #6b4100;
  --key: var(--blue);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* Dark theme: follows the device unless the visitor picks one with the button in the header. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --fog: #0a1a26;
    --paper: #0f2433;
    --text: #c9d8e3;
    --quiet: #8fa8b8;
    --line: #213d51;
    --blue: #5cb3ef;
    --green: #5fc052;
    --amber: #f0a52e;
    --teal: #37b8b8;
    --red: #f08a80;
    --head: #f1f6f9;
    --slab: #04111a;
    --frame: #2c4b60;
    --btn: #f1f6f9;
    --btn-fg: #071e2e;
    --hover: #17303f;
    --field: #0a1a26;
    --field-line: #3a5a70;
    --top: rgba(10, 26, 38, 0.92);
    --dkey: #a9c6da;
    --tag: #4a3200;
    --tag-fg: #ffd58a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fog: #0a1a26;
  --paper: #0f2433;
  --text: #c9d8e3;
  --quiet: #8fa8b8;
  --line: #213d51;
  --blue: #5cb3ef;
  --green: #5fc052;
  --amber: #f0a52e;
  --teal: #37b8b8;
  --red: #f08a80;
  --head: #f1f6f9;
  --slab: #04111a;
  --frame: #2c4b60;
  --btn: #f1f6f9;
  --btn-fg: #071e2e;
  --hover: #17303f;
  --field: #0a1a26;
  --field-line: #3a5a70;
  --top: rgba(10, 26, 38, 0.92);
  --dkey: #a9c6da;
  --tag: #4a3200;
  --tag-fg: #ffd58a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--text);
  font: 430 17px/1.6 "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--head); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { color: var(--head); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-stretch: 120%; font-size: clamp(38px, 6.2vw, 86px); line-height: 0.98; letter-spacing: -0.022em; }
h2 { font-weight: 760; font-stretch: 114%; font-size: clamp(27px, 3.3vw, 46px); line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-stretch: 106%; font-size: 20px; line-height: 1.25; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text); max-width: 60ch; }
.small { font-size: 14.5px; color: var(--quiet); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slab); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Product key colors */
.k-mobile { --key: var(--blue); --deep: #0a5c99; }
.k-dispatch { --key: var(--dkey); --deep: var(--slab); }
.k-manage { --key: var(--green); --deep: #1e6a19; }
.k-monitor { --key: var(--amber); --deep: #8a5200; }
.k-guardian { --key: var(--teal); --deep: #0a6464; }
/* The Sentinel mark, tinted with the product color. */
.key { display: inline-block; width: 1.03em; height: 1.34em; margin-right: 0.42em; vertical-align: -0.3em; background: var(--key); -webkit-mask: url(/assets/mark.png) center / contain no-repeat; mask: url(/assets/mark.png) center / contain no-repeat; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--top); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head); margin-right: auto; }
.brand img { height: 42px; width: auto; }
/* Wordmark shading matches the lettering in the Sentinel logo: lighter blue at the top, deeper at the foot. */
.brand b { font-weight: 800; font-stretch: 118%; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; color: #037fd0; background: linear-gradient(to bottom, #0b93e2 8%, #0381d2 50%, #0366ba 94%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--head); text-decoration: none; font-weight: 600; font-stretch: 96%; font-size: 15.5px; padding: 8px 12px; border-radius: 6px; border-bottom: 3px solid transparent; }
.nav a:hover { background: var(--hover); }
.nav a[aria-current="page"] { border-bottom-color: var(--key); border-radius: 6px 6px 0 0; }
.nav .btn { margin-left: 10px; }
.theme-btn { font: inherit; font-weight: 650; font-size: 14.5px; font-stretch: 96%; color: var(--head); background: transparent; border: 1.5px solid var(--line); border-radius: 6px; padding: 7px 12px; cursor: pointer; margin-left: 6px; }
.theme-btn:hover { background: var(--hover); }
.menu-btn { display: none; font: inherit; font-weight: 650; background: none; border: 1.5px solid var(--head); color: var(--head); border-radius: 6px; padding: 7px 14px; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-stretch: 104%; font-size: 16px; line-height: 1.2; text-decoration: none; padding: 13px 22px; border-radius: 6px; border: 2px solid var(--btn); background: var(--btn); color: var(--btn-fg); cursor: pointer; }
.btn:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn.line { background: transparent; color: var(--head); }
.btn.line:hover { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.nav a.btn { color: var(--btn-fg); padding: 9px 16px; font-size: 15px; border: 2px solid var(--btn); }
.nav a.btn:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Home hero: words on the left, the product itself on a navy desk to the right */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 92px) clamp(84px, 9vw, 132px); position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 62%; background: var(--slab); }
.hero h1 { font-size: clamp(36px, 4.7vw, 68px); }
.pulse { position: absolute; left: 0; bottom: 6px; height: 90px; width: 100%; z-index: 1; pointer-events: none; }
.pulse path { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.2s 0.2s cubic-bezier(0.3, 0, 0.2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stage { position: relative; padding-bottom: 9%; margin-left: 9%; margin-right: calc(-1 * var(--gutter) - 7vw); }
.stage .win { width: 100%; }
.stage .phone { position: absolute; left: -7%; bottom: 0; width: 25%; }
.stage .watch { position: absolute; right: 22%; bottom: 0; width: 19%; }

/* Frames for real screens */
.win { border-radius: 10px; overflow: hidden; border: 1px solid var(--frame); background: #0b1524; box-shadow: 0 24px 50px -22px rgba(7, 30, 46, 0.55); }
.win.lit { border-color: var(--line); background: #fff; }
.phone { border-radius: 24px; overflow: hidden; border: 6px solid var(--frame); background: var(--frame); box-shadow: 0 22px 40px -20px rgba(7, 30, 46, 0.6); }
.phone img { border-radius: 18px; width: 100%; }
.awatch { max-width: 230px; border-radius: 22%; overflow: hidden; border: 7px solid var(--frame); background: #000; box-shadow: 0 18px 34px -16px rgba(7, 30, 46, 0.6); }
.awatch img, .watch img { display: block; width: 100%; }
.watch { max-width: 260px; border-radius: 50%; overflow: hidden; border: 7px solid var(--frame); box-shadow: 0 18px 34px -16px rgba(7, 30, 46, 0.6); background: #000; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: 14.5px; line-height: 1.45; color: var(--quiet); margin-top: 12px; max-width: 60ch; }

/* Sections */
.band { padding-block: clamp(56px, 7vw, 108px); }
.band.paper { background: var(--paper); border-block: 1px solid var(--line); }
.band.dark { background: var(--slab); color: #c9d8e3; border-block: 1px solid var(--line); }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark .lead { color: #c9d8e3; }
.band.dark a { color: #8ccbf5; }
.band.dark figcaption { color: #9fb5c5; }
.head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 52px); }
.head h2 + .lead { margin-top: 16px; }

/* Index of products on the home page: one row each */
.index { border-top: 2px solid var(--head); }
.index a { display: grid; grid-template-columns: 290px 3fr 1.4fr; gap: 14px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .index a { transition: padding-left 0.15s ease; } }
.index a:hover { background: var(--fog); padding-left: 14px; box-shadow: inset 5px 0 0 var(--key); }
.index .name { font-weight: 780; font-stretch: 116%; font-size: clamp(21px, 2vw, 27px); color: var(--key); white-space: nowrap; }
.index .who { font-size: 15px; color: var(--quiet); font-stretch: 94%; }
.index a:hover .name { color: var(--key); }

/* Chapter: text beside a figure */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.chapter.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter.flip > :first-child { order: 2; }
.chapter.even { grid-template-columns: 1fr 1fr; }
.chapter + .chapter { margin-top: clamp(56px, 7vw, 104px); }
.chapter h2 { margin-bottom: 16px; }
.chapter h2 + p { font-size: 18.5px; }
.kicker { display: flex; align-items: center; font-weight: 700; font-stretch: 108%; font-size: 17px; color: var(--head); margin: 0 0 14px; }
.band.dark .kicker { color: #fff; }
/* A product name beside its mark takes the same key color. */
.kicker:has(.key) { color: var(--key); font-size: 19px; }
.more { font-weight: 700; }

/* Feature lists: term and what it does, ruled */
.spec { margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-stretch: 104%; color: var(--head); }
.spec dd { margin: 2px 0 0; font-size: 16px; }
.spec.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0 40px; border-top: 0; }
.spec.cols div { border-top: 1px solid var(--line); border-bottom: 0; }
.band.dark .spec, .band.dark .spec div { border-color: #24475f; }
.band.dark .spec dt { color: #fff; }

/* Rows of screens */
.shots { display: grid; gap: clamp(14px, 2.2vw, 28px); align-items: start; }
.shots.p4 { grid-template-columns: repeat(4, 1fr); }
.shots.p3 { grid-template-columns: repeat(3, 1fr); }
.shots.w2 { grid-template-columns: repeat(2, 1fr); }
.shots.mix { grid-template-columns: 1.9fr 1fr; align-items: center; }
.stack { display: grid; gap: clamp(18px, 2.5vw, 30px); }

/* Product page hero */
.phero { padding-block: clamp(44px, 6vw, 88px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phero.has-plinth { padding-bottom: 0; border-bottom: 0; }
.phero .name { display: flex; align-items: center; font-weight: 780; font-stretch: 118%; font-size: 21px; color: var(--key); margin: 0 0 18px; }
.phero h1 { font-size: clamp(34px, 5.2vw, 70px); max-width: 17ch; }
.phero .lead { margin-top: 22px; }
.phero .wrap > figure { margin-top: clamp(32px, 5vw, 60px); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; font-weight: 650; font-size: 15px; }
.jump a { display: block; text-decoration: none; color: var(--head); background: var(--paper); border: 1px solid var(--line); border-bottom: 3px solid var(--key); border-radius: 6px; padding: 7px 13px; }
.jump a:hover { background: var(--cta); color: #fff; border-color: var(--cta); }
.status { display: inline-block; font-weight: 700; font-size: 14px; font-stretch: 94%; padding: 3px 10px; border-radius: 4px; background: var(--tag); color: var(--tag-fg); margin-left: 14px; }

/* Plinth: the product's screens stand half on the page and half on its key color */
.plinth { margin-top: clamp(30px, 4.5vw, 60px); padding-bottom: clamp(34px, 5vw, 68px); background: linear-gradient(to bottom, transparent 0, transparent var(--cut, 32%), var(--deep) var(--cut, 32%)); }
.plinth figcaption { color: #fff; opacity: 0.9; }
.lineup { display: grid; gap: clamp(12px, 2.4vw, 34px); align-items: end; }
.lineup.mobile { grid-template-columns: 1fr 1fr 1fr 1fr 0.72fr; }
.lineup.guardian { grid-template-columns: 1fr 3.1fr 1fr; }
.lineup .watch, .lineup .awatch { margin-bottom: 12%; }
.shots.watches { grid-template-columns: repeat(3, 1fr); justify-items: center; }
.shots.watches figure { width: 100%; max-width: 190px; }
.shots.watches figcaption { text-align: center; }

/* Enlarged screen */
.zoomable { cursor: zoom-in; }
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; }
dialog.zoom::backdrop { background: rgba(7, 30, 46, 0.86); }
dialog.zoom img { max-width: 100%; max-height: 82vh; width: auto; margin-inline: auto; border-radius: 8px; background: #0b1524; }
dialog.zoom p { color: #fff; font-size: 15px; margin: 12px auto 0; text-align: center; }
dialog.zoom button { display: block; margin: 0 0 10px auto; font: inherit; font-weight: 700; color: #071e2e; background: #fff; border: 0; border-radius: 6px; padding: 8px 16px; cursor: pointer; }

/* Where the products meet */
.meet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 2px solid #fff; }
.meet div { padding: 22px 0; border-bottom: 1px solid #24475f; }
.meet h3 { margin-bottom: 6px; }
.meet p { margin: 0; }
.pair { font-size: 14.5px; font-stretch: 94%; font-weight: 600; color: #8ccbf5; margin-bottom: 6px; }

/* Diagram on the Monitor page */
.diagram { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(14px, 2.5vw, 30px); }
.diagram { overflow-x: auto; }
.diagram svg { width: 100%; min-width: 760px; height: auto; display: block; font-family: "Archivo", Arial, sans-serif; }

/* Closing call */
.close { background: var(--cta); color: #fff; }
.close .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.close h2 { color: #fff; }
.close p { margin: 12px 0 0; color: #e3f1fb; }
.close .btn { background: #fff; color: #071e2e; border-color: #fff; }
.close .btn:hover { background: #071e2e; color: #fff; border-color: #071e2e; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
form.demo { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-weight: 650; font-size: 15px; color: var(--head); }
input, select, textarea { font: inherit; font-weight: 430; color: var(--head); background: var(--field); border: 1.5px solid var(--field-line); border-radius: 6px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(10, 111, 184, 0.3); border-color: var(--blue); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: 0; font-weight: 650; }
.note.ok { color: var(--green); }
.note.err { color: var(--red); }
button.btn[disabled] { opacity: 0.6; cursor: wait; }
.plain { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.plain li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.plain b { display: block; color: var(--head); }

/* Footer */
/* Legal pages: one readable column. */
.legal > * { max-width: 78ch; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal p { margin: 0 0 14px; }
.legal .dated { color: var(--quiet); font-size: 15px; margin-bottom: 0; }
.legal .spec { margin: 6px 0 18px; }
.legal a { color: var(--blue); }
.foot .legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 0; padding-top: 0; border-top: 0; }
.foot .legal-links a { text-decoration: underline; }
.form-note { font-size: 14.5px; color: var(--quiet); margin: 10px 0 0; }
.form-note a { color: var(--blue); }
.foot { background: var(--slab); color: #9fb5c5; padding-block: 52px 30px; font-size: 15.5px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot a { color: #dbe7ef; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p a { text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot h2 { font-size: 15px; font-stretch: 100%; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.foot .base { grid-column: 1 / -1; border-top: 1px solid #24475f; padding-top: 20px; font-size: 14px; }
.foot p { margin: 0 0 8px; }

@media (max-width: 1020px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--fog); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--key); padding-left: 14px; }
  .nav .btn { margin: 12px 0 0; text-align: center; border-radius: 6px; }
  .theme-btn { margin: 12px 0 0; padding: 11px; }
  .menu-btn { display: block; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero::before { display: none; }
  .stage { background: var(--slab); margin: 36px calc(-1 * var(--gutter)) 0; padding: 36px var(--gutter) 16% calc(var(--gutter) + 9%); }
  .stage .phone { left: 4%; bottom: 6%; }
  .stage .watch { bottom: 7%; }
  .pulse { display: none; }
  .chapter, .chapter.even, .chapter.flip, .contact { grid-template-columns: 1fr; }
  .chapter.flip > :first-child { order: 0; }
  .index a { grid-template-columns: 1fr; gap: 4px; }
  .meet { grid-template-columns: 1fr; }
  .close .wrap { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
  .shots.p4 { grid-template-columns: repeat(2, 1fr); }
  .lineup.mobile { grid-template-columns: 1fr 1fr 1fr; }
  .lineup.mobile > :nth-child(n+4) { display: none; }
  .lineup.guardian { grid-template-columns: 1fr 1fr; }
  .lineup.guardian > :nth-child(2) { grid-column: 1 / -1; order: -1; }
  .plinth { --cut: 18%; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .shots.w2 { grid-template-columns: 1fr; }
  .shots.p3 { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .brand img { height: 36px; }
  .brand b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse path { animation: none; stroke-dashoffset: 0; }
}
