/* IntelliSafe product page, in IntelliSafe's own look rather than the TSS
   forest and brass: night navy with a moving green gradient and site grid,
   signal green and mint, Barlow and Barlow Semi Condensed. The same look as
   the IntelliSafe app and its landing page. Loaded only on this page (after
   site.css and product.css); everything is scoped to body.safe-page main, so
   the site header and footer stay the same as every other page. */

@font-face { font-family: "Barlow"; src: url("../fonts/picker/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/picker/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/picker/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/picker/barlow-semi-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/picker/barlow-semi-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

body.safe-page {
  --is-navy: #0b3954;
  --is-navy-deep: #072638;
  --is-night: #04182a;
  --is-concrete: #eceef0;
  --is-ink: #1b2733;
  --is-steel: #5b6878;
  --is-rule: #d6dbe0;
  --is-green: #0f9d6e;
  --is-green-deep: #0b7a55;
  --is-mint: #8ff0c8;
  --is-mint-tint: #e4faf1;
  --is-mint-ink: #0b4a36;
  --is-caution-tint: #fdf0c2;
  --is-caution-ink: #6f4d00;
  --is-danger: #b3271f;
  --is-danger-tint: #fbe3e1;
  --is-fog: rgba(255, 255, 255, 0.74);
  --is-ghost: #0a2e46;
  --is-cond: "Barlow Semi Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
  --is-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --is-shadow: 0 1px 2px rgba(11, 57, 84, 0.10), 0 6px 16px -4px rgba(11, 57, 84, 0.14), 0 18px 40px -12px rgba(11, 57, 84, 0.18);
  --is-shadow-dark: 0 1px 2px rgba(4, 24, 42, 0.30), 0 10px 24px -6px rgba(4, 24, 42, 0.45), 0 30px 60px -12px rgba(4, 24, 42, 0.60);
  --is-grid: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}
.safe-page main { font-family: var(--is-body); color: var(--is-ink); }
.safe-page main h1, .safe-page main h2, .safe-page main h3 { font-family: var(--is-cond); font-weight: 700; color: var(--is-navy); letter-spacing: -0.006em; }
.safe-page main h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.95rem); line-height: 1.03; }
.safe-page main a:not(.btn) { color: var(--is-green-deep); }
.safe-page main :focus-visible { outline-color: var(--is-green); }
.safe-page .section-head { max-width: 64ch; }
.safe-page .section-head p { color: var(--is-steel); font-size: 1.08rem; line-height: 1.6; }
.safe-eyebrow, .safe-page .demo-copy .eyebrow { display: block; font-family: var(--is-cond); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--is-green-deep); margin: 0 0 0.9rem; }
.safe-eyebrow.light { color: var(--is-mint); }
.safe-page .section-head .safe-eyebrow { color: var(--is-green-deep); font-size: 0.86rem; line-height: 1.3; }

/* Buttons */
.safe-page main .btn { font-family: var(--is-cond); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; border-radius: 8px; gap: 0.5rem; }
.safe-page main .btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.15s; }
.safe-page main .btn:hover svg { transform: translateX(3px); }
.safe-page main .btn-primary { background: var(--is-navy); border-color: var(--is-navy); color: #fff; }
.safe-page main .btn-primary:hover { background: var(--is-navy-deep); border-color: var(--is-navy-deep); color: #fff; }
.safe-btn-mint { background: var(--is-mint); border-color: var(--is-mint); color: var(--is-navy-deep); display: inline-flex; align-items: center; }
.safe-btn-mint:hover { background: #b4f6da; border-color: #b4f6da; color: var(--is-navy-deep); }
.safe-btn-ghost { background: var(--is-ghost); border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.safe-btn-ghost:hover { background: #0e3a57; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.safe-hero :focus-visible, .safe-cta :focus-visible, .safe-facts :focus-visible { outline-color: var(--is-mint); }

/* Moving gradient behind the hero and the closing band */
.safe-liquid { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.safe-liquid span { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; animation: safe-drift 20s ease-in-out infinite alternate; }
.safe-liquid .b1 { width: 760px; height: 760px; right: -240px; top: -280px; background: radial-gradient(circle at 45% 45%, rgba(15, 157, 110, 0.78), rgba(15, 157, 110, 0) 66%); }
.safe-liquid .b2 { width: 700px; height: 700px; right: 8%; bottom: -400px; background: radial-gradient(circle, rgba(11, 57, 84, 1), rgba(11, 57, 84, 0) 70%); animation-duration: 26s; animation-delay: -6s; }
.safe-liquid .b3 { width: 560px; height: 560px; left: 40%; top: 30%; background: radial-gradient(circle, rgba(47, 183, 165, 0.28), rgba(47, 183, 165, 0) 70%); animation-duration: 31s; animation-delay: -12s; }
@keyframes safe-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-70px, 50px, 0) scale(1.1); }
  100% { transform: translate3d(50px, -30px, 0) scale(0.94); }
}

/* Hero */
.safe-hero { position: relative; isolation: isolate; background: var(--is-night); color: var(--is-fog); }
.safe-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--is-grid); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 85% at 30% 40%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 70% 85% at 30% 40%, #000 20%, transparent 78%); }
.safe-pill { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.6rem; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgba(143, 240, 200, 0.10); border: 1px solid rgba(143, 240, 200, 0.30); font-family: var(--is-cond); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--is-mint); text-decoration: none; }
.safe-page main a.safe-pill { color: var(--is-mint); }
.safe-pill:hover { border-color: rgba(143, 240, 200, 0.6); }
.safe-pill .k { color: var(--is-fog); }
.safe-pill .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--is-mint); box-shadow: 0 0 0 4px rgba(143, 240, 200, 0.16); }
.safe-page main .safe-name { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1.2rem; color: #fff; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: 0.005em; max-width: none; }
.safe-name .wm-light { font-weight: 500; }
.safe-shield { width: 1.25em; height: 1.25em; flex: none; filter: drop-shadow(0 6px 14px rgba(15, 157, 110, 0.35)); }
.safe-display { font-family: var(--is-cond); font-weight: 700; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.7rem); line-height: 0.98; letter-spacing: -0.012em; color: #fff; margin: 0 0 1.4rem; }
.safe-display em { font-style: normal; color: var(--is-mint); }
.safe-hero .lede { color: var(--is-fog); font-size: 1.15rem; line-height: 1.55; max-width: 50ch; text-wrap: pretty; }
.safe-page .product-hero-meta { gap: 0.5rem; margin-top: 1.3rem; }
.safe-page main .badge { font-family: var(--is-cond); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; text-transform: none; border-radius: 999px; padding: 0.3em 0.85em; }
.safe-hero .badge-ok { background: var(--is-mint); border-color: var(--is-mint); color: var(--is-navy-deep); }
.safe-hero .badge-dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.safe-hero .actions { margin-top: 1.6rem; }
.safe-hero .phero-shots { padding-top: 1rem; }
.safe-hero .frame { border-radius: 12px 12px 0 0; box-shadow: var(--is-shadow-dark), 0 0 0 1px rgba(143, 240, 200, 0.18); }
.safe-hero .frame-phone { border-color: var(--is-night); border-radius: 16px; box-shadow: var(--is-shadow-dark), 0 0 0 1px rgba(143, 240, 200, 0.22); }
.safe-hero .safe-head, .safe-hero .phero-copy, .safe-hero .phero-shots { animation: safe-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.safe-hero .phero-copy { animation-delay: 0.12s; }
.safe-hero .phero-shots { animation-delay: 0.22s; }
.safe-hero .safe-head { padding-top: 0.5rem; }
@media (min-width: 880px) {
  .safe-hero { padding-top: 4rem; }
  .safe-hero .safe-head { grid-column: 1 / -1; margin-bottom: 0.5rem; }
  .safe-hero .phero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); row-gap: 0; }
  .safe-hero .phero-copy { padding-top: 1.5rem; }
}
@keyframes safe-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Caution tape: two crossing bands with the module names */
.safe-tape { position: relative; height: 172px; background: var(--is-concrete); overflow: hidden; }
.safe-band { position: absolute; left: -4%; width: 108%; top: 50%; padding: 0.85rem 0; white-space: nowrap; overflow: hidden; font-family: var(--is-cond); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase; }
.safe-band.a { z-index: 2; background: var(--is-mint); color: var(--is-navy-deep); transform: translateY(-38%) rotate(-2.4deg); box-shadow: 0 14px 30px -14px rgba(4, 24, 42, 0.45); }
.safe-band.b { background: var(--is-navy-deep); color: var(--is-mint); transform: translateY(-62%) rotate(2deg); }
.safe-track { display: flex; width: max-content; animation: safe-marquee 70s linear infinite; }
.safe-band.b .safe-track { animation-duration: 55s; animation-direction: reverse; }
.safe-run { display: flex; flex: none; }
.safe-run span { display: inline-flex; align-items: center; }
.safe-run span::after { content: ""; width: 9px; height: 9px; margin: 0 1.8rem; background: currentColor; transform: rotate(45deg); }
@keyframes safe-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 01 Watch */
.safe-watch { background: var(--is-concrete); padding-top: 0; }
.safe-watch > .wrap { padding-top: 1.5rem; }
.safe-page .watch-frame.watch-safe { background: var(--is-night); border-radius: 16px; box-shadow: var(--is-shadow-dark); }
.safe-watch .watch-frame { margin-bottom: 0.5rem; }
@media (min-width: 880px) { .safe-watch { padding-bottom: 4.25rem; } }

/* 02 Try a piece of it */
.safe-try { background: #fff; }
@media (min-width: 880px) { .safe-try { padding: 4.25rem 0; } }
.safe-page .demo-copy h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.7rem); margin-bottom: 0.9rem; }
.safe-page .demo-copy p { color: var(--is-steel); font-size: 1.05rem; line-height: 1.6; }
.safe-page .panel { border: 0; border-radius: 16px; box-shadow: var(--is-shadow); }
.safe-page .panel-head { background: var(--is-navy); font-family: var(--is-cond); font-size: 0.95rem; letter-spacing: 0.02em; padding: 0.8rem 1.1rem; }
.safe-page .panel-head .muted { color: var(--is-fog); }
.safe-page .compare { background: var(--is-concrete); }
.safe-page .compare .pane.after .pane-label { background: var(--is-mint); color: var(--is-navy-deep); font-family: var(--is-cond); }
.safe-page .compare .pane.before .pane-label { font-family: var(--is-cond); }
.safe-page .compare .handle { background: var(--is-mint); }
.safe-page .compare .handle::after { background: var(--is-mint); color: var(--is-navy-deep); }
.safe-page .compare .cut:focus-visible + .handle { outline-color: var(--is-green); }
.safe-page .compare-ends { font-family: var(--is-cond); font-size: 0.9rem; color: var(--is-steel); }
.safe-page .matrix { background: var(--is-concrete); font-family: var(--is-body); color: var(--is-ink); }
.safe-page .matrix .w { border-color: var(--is-rule); border-radius: 10px; box-shadow: 0 6px 16px -8px rgba(11, 57, 84, 0.25); }
.safe-page .matrix .w h3 { font-family: var(--is-cond); font-size: 12px; color: var(--is-navy); }
.safe-page .matrix th { font-family: var(--is-cond); letter-spacing: 0.04em; text-transform: uppercase; color: var(--is-steel); }
.safe-page .matrix td i { background: var(--is-mint-tint); box-shadow: inset 0 0 0 1px rgba(15, 157, 110, 0.35); border-radius: 4px; }
.safe-page .matrix td i.due { background: var(--is-caution-tint); box-shadow: inset 0 0 0 1px rgba(111, 77, 0, 0.25); }
.safe-page .matrix td i.late { background: var(--is-danger-tint); box-shadow: inset 0 0 0 1px rgba(200, 52, 46, 0.35); }
.safe-page .matrix .pill { font-family: var(--is-cond); }
.safe-page .matrix .pill.ok { background: var(--is-mint-tint); color: var(--is-mint-ink); }
.safe-page .matrix .pill.warn { background: var(--is-caution-tint); color: var(--is-caution-ink); }
.safe-page .matrix .pill.bad { background: var(--is-danger-tint); color: var(--is-danger); }

/* 03 What it does */
.safe-features { background: var(--is-concrete); }
.safe-page .feat-grid li { position: relative; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(11, 57, 84, 0.06), 0 4px 14px -6px rgba(11, 57, 84, 0.12); padding: 1.5rem 1.5rem 1.4rem; transition: box-shadow 0.2s, translate 0.2s; }
.safe-page .feat-grid li:hover { box-shadow: var(--is-shadow); translate: 0 -2px; }
.safe-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--is-navy); color: var(--is-mint); margin-bottom: 1rem; }
.safe-tile svg { width: 22px; height: 22px; }
.safe-page .feat-grid strong { font-family: var(--is-cond); font-weight: 700; font-size: 1.3rem; color: var(--is-navy); line-height: 1.15; margin-bottom: 0.45rem; }
.safe-page .feat-grid span { color: var(--is-steel); font-size: 1rem; line-height: 1.55; }
.safe-page .swipe-dots button[aria-current="true"]::before { background: var(--is-navy); }
.safe-page .more { border-top: 0; margin-top: 1.5rem; background: #fff; border-radius: 16px; padding: 0.3rem 1.5rem; box-shadow: 0 1px 2px rgba(11, 57, 84, 0.06), 0 4px 14px -6px rgba(11, 57, 84, 0.12); }
.safe-page .more summary { font-family: var(--is-cond); font-weight: 700; font-size: 1.15rem; color: var(--is-navy); padding: 1rem 0; }
.safe-page .more summary::before { border-color: var(--is-green); color: var(--is-green-deep); }
.safe-page .more .prose { color: var(--is-ink); }
.safe-page .more .prose h3 { font-size: 1.35rem; }
.safe-page .more .prose p, .safe-page .more .prose td { color: var(--is-steel); }
.safe-page .more table th { font-family: var(--is-cond); color: var(--is-navy); }
.safe-page .more thead th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--is-steel); }

/* 04 Screens */
.safe-screens { background: #fff; }
.safe-page .screens-grid img { border: 0; border-radius: 12px; box-shadow: var(--is-shadow), 0 0 0 1px rgba(11, 57, 84, 0.08); }
.safe-page .screens-grid figcaption { font-family: var(--is-cond); font-weight: 600; font-size: 1rem; color: var(--is-steel); }

/* Facts and history, in navy */
.safe-facts { background: var(--is-navy-deep); border: 0; color: var(--is-fog); padding: 3rem 0; }
@media (min-width: 880px) { .safe-facts { padding: 3.5rem 0; } }
.safe-page .safe-facts dl { gap: 1.4rem 2rem; }
.safe-page .safe-facts dt { font-family: var(--is-cond); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--is-mint); margin-bottom: 0.35rem; }
.safe-page .safe-facts dd { font-family: var(--is-cond); font-weight: 600; font-size: 1.12rem; line-height: 1.3; color: #fff; }
.safe-page .safe-facts a:not(.btn) { color: var(--is-mint); }

/* Closing band */
.safe-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--is-night); color: var(--is-fog); }
.safe-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--is-grid); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 20% 50%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 20% 50%, #000 15%, transparent 75%); }
.safe-cta .safe-liquid .b1 { top: auto; bottom: -360px; right: -220px; }
.safe-cta .safe-liquid .b2 { right: auto; left: -240px; bottom: auto; top: -420px; }
.safe-page main .safe-cta h2 { color: #fff; max-width: 20ch; }
.safe-cta p { color: var(--is-fog); }
.safe-cta .safe-eyebrow { margin-bottom: 0.8rem; }
@media (min-width: 880px) { .safe-cta { padding: 5rem 0; } }

@media (max-width: 879px) {
  .safe-hero .phero-copy { padding-bottom: 1.5rem; }
  .safe-display { margin-bottom: 1.1rem; }
  .safe-tape { height: 132px; }
  .safe-band { font-size: 1rem; padding: 0.7rem 0; }
  .safe-run span::after { margin: 0 1.2rem; }
  .safe-page .more { padding: 0.2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .safe-liquid span, .safe-track, .safe-hero .phero-copy, .safe-hero .phero-shots { animation: none; }
}
.safe-page .compare .handle::after { box-shadow: 0 4px 14px rgba(4, 24, 42, 0.35); }

/* The page ends on night navy: the one-line footer takes the same color. */
.safe-page .site-footer-min { background: var(--is-night); color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.safe-page .site-footer-min a { color: rgba(255, 255, 255, 0.82); }
.safe-page .site-footer-min a:hover { color: var(--is-mint); }

/* Touch phones: the blurred glow holds still (it is costly to animate) and the page snaps one
   section per screen (product.css); here each IntelliSafe section is trimmed to fit one. */
@media (max-width: 879px) and (hover: none) and (pointer: coarse) {
  .safe-liquid span { animation: none; }
}
@media (max-width: 879px) and (orientation: portrait) and (min-height: 560px) and (hover: none) and (pointer: coarse) {
  .safe-hero .safe-pill { margin-bottom: 0.9rem; padding: 0.3rem 0.75rem; font-size: 0.72rem; }
  .safe-page main .safe-name { margin-bottom: 0.7rem; font-size: 1.7rem; }
  .safe-display { font-size: clamp(1.9rem, 8.4vw, 2.5rem); margin-bottom: 0.9rem; }
  .safe-hero .lede { font-size: 1rem; line-height: 1.45; }
  .safe-hero .actions { margin-top: 0.9rem; }
  .safe-hero .actions .safe-btn-ghost:last-child { display: none; }
  .safe-hero .phero-shots { padding-top: 0; }
  .safe-hero .phero-copy { padding-bottom: 0; }
  /* The tape opens the Watch screen, right under the header; the heading and the video sit centered below it */
  .safe-watch { justify-content: flex-start; padding-top: 0; }
  .safe-watch > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 0.5rem; }
  .safe-watch .watch-frame { margin-bottom: 0; }
  .safe-page .safe-facts dd { font-size: 1.02rem; }
}
