/* Sentinel Secure ID website · navy and gold, Playfair Display + Inter (served locally) */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-weight: 600; font-display: swap; src: url(/assets/fonts/playfair-display-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-weight: 700; font-display: swap; src: url(/assets/fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-weight: 800; font-display: swap; src: url(/assets/fonts/playfair-display-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/playfair-display-latin-400-italic.woff2) format('woff2'); }

:root {
  --navy-950: #050b17; --navy-900: #0b1a33; --navy-800: #12264a; --navy-700: #1e3a6e; --navy-600: #24467f;
  --gold: #d4af37; --gold-2: #e8c96a; --gold-soft: #f7efd3;
  --ink: #101828; --text: #344054; --muted: #667085; --line: #e4e7ec; --tint: #f6f7f9; --white: #fff;
  --red: #b42318; --red-soft: #fef3f2; --green: #157347; --green-soft: #ecfdf3; --amber: #b54708; --amber-soft: #fffaeb; --blue-soft: #eef4ff;
  --radius: 14px; --shadow: 0 18px 40px rgba(11, 26, 51, .12); --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 Inter, system-ui, sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: Playfair, Georgia, serif; color: var(--navy-900); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker { font: 700 .75rem Inter; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: var(--text); max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule { width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); margin: 18px 0 26px; }
.center .rule { margin-left: auto; margin-right: auto; }
.hide { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font: 600 .95rem Inter; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; background: var(--navy-900); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11, 26, 51, .22); color: #fff; }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-950); }
.btn.gold:hover { color: var(--navy-950); }
.btn.ghost { background: transparent; border-color: rgba(212, 175, 55, .55); color: inherit; }
.btn.light { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn.light:hover { color: var(--navy-900); }
.btn.danger { background: var(--red); }
.btn.sm { padding: 8px 14px; font-size: .85rem; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(5, 11, 23, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(212, 175, 55, .16); }
.bar { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 38px; }
.brand b { display: block; font: 700 1.25rem Playfair; color: #fff; line-height: 1; }
.brand small { display: block; font: 700 .6rem Inter; letter-spacing: .26em; color: var(--gold-2); text-transform: uppercase; margin-top: 4px; }
.brand:hover { color: #fff; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.mainnav > a, .nav-account > a:not(.btn) { color: #c9d1e3; font-weight: 500; font-size: .9rem; padding: 8px 9px; border-radius: 8px; white-space: nowrap; }
.mainnav .btn, .brand small { white-space: nowrap; }
.mainnav > a:hover, .nav-account > a:not(.btn):hover, .mainnav a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav a.active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav-account { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.menu { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.menu span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; color: #cfd6e6; background: radial-gradient(90% 70% at 85% 0%, #24467f 0%, #0b1a33 45%, #050b17 100%); padding: 110px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(232, 201, 106, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 201, 106, .45) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent); }
.hero .print { position: absolute; right: -120px; top: 40px; width: 640px; opacity: .1; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-2); }
.hero .lead { color: #c3cbe0; font-size: 1.25rem; margin: 26px 0 36px; }
.hero .eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); color: var(--gold-2); font-size: .85rem; font-weight: 600; margin-bottom: 28px; }
.hero .eyebrow span { background: var(--gold); color: var(--navy-950); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .75rem; letter-spacing: .08em; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 70px; padding-top: 34px; border-top: 1px solid rgba(232, 201, 106, .25); }
.hero-stats div { font: 800 2.6rem Playfair; color: #fff; line-height: 1; }
.hero-stats small { display: block; font: 600 .72rem Inter; letter-spacing: .16em; color: #8f9bb8; text-transform: uppercase; margin-top: 10px; }
.hero-shot { margin-top: 70px; }
.page-hero { background: radial-gradient(90% 90% at 85% 0%, #24467f 0%, #0b1a33 50%, #050b17 100%); color: #c3cbe0; padding: 80px 0 70px; }
.page-hero.slim { padding: 56px 0 46px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 900px; }
.page-hero .lead, section.block.dark .lead { color: #c3cbe0; }

/* sections */
section.block { padding: 96px 0; }
section.block.tint { background: var(--tint); }
section.block.dark { background: radial-gradient(100% 80% at 90% 0%, #1e3a6e 0%, #0b1a33 50%, #050b17 100%); color: #c9d1e3; }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1.2fr 1fr; }
.split.rev > :first-child { order: 2; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(212, 175, 55, .45); }
.card h3 { font-family: Inter; font-size: 1.08rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.dark .card h3 { color: #fff; }
.dark .card p { color: #aab4cb; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--navy-800); margin-bottom: 18px; }
.dark .icon { background: rgba(212, 175, 55, .14); color: var(--gold-2); }
.icon svg { width: 24px; height: 24px; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23a8841a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.dark ul.ticks li::before { background-color: rgba(212, 175, 55, .18); }

/* browser-framed screenshots */
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #d0d5dd; box-shadow: 0 30px 60px rgba(5, 11, 23, .28); }
.frame .chrome { display: flex; gap: 7px; align-items: center; padding: 10px 14px; background: #f2f4f7; border-bottom: 1px solid #e4e7ec; }
.frame .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #d0d5dd; }
.frame .chrome i:nth-child(1) { background: #f97066; } .frame .chrome i:nth-child(2) { background: #fdb022; } .frame .chrome i:nth-child(3) { background: #32d583; }
.frame .chrome span { margin-left: 14px; flex: 1; background: #fff; border-radius: 6px; padding: 3px 12px; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); }
.phone { width: 270px; border-radius: 38px; padding: 12px; background: #0b1a33; box-shadow: 0 30px 60px rgba(5, 11, 23, .35); margin: 0 auto; }
.phone img { border-radius: 28px; }
.phones { display: flex; gap: 24px; justify-content: center; align-items: flex-start; }
.phones .phone { width: 240px; margin: 0; }
.phones .phone:nth-child(2) { margin-top: 56px; }
.phone[data-zoom] { cursor: zoom-in; }
.gallery.mobile { grid-template-columns: repeat(5, 1fr); }
/* photo scenes with the conversation beside them (home and field app pages) */
.scenes { display: grid; gap: 56px; margin-top: 40px; }
.scene { margin: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.scene:nth-child(even) .scene-art { order: 2; }
.scene.tall { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.scene-art { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgba(5, 11, 23, .22); }
.scene-art img { display: block; width: 100%; height: auto; }
.scene-art img.trim-top { aspect-ratio: 746 / 485; object-fit: cover; object-position: bottom; }
.talk { display: flex; flex-direction: column; gap: 10px; }
.talk h3 { margin: 0 0 4px; }
.talk p { margin: 8px 0 0; color: var(--muted, #5b6474); }
.say { position: relative; align-self: flex-start; max-width: 92%; background: #fff; color: #101828; border: 1px solid #e4e7ec; border-radius: 16px; padding: 10px 14px 11px 40px; font-size: .92rem; line-height: 1.42; box-shadow: 0 8px 20px rgba(5, 11, 23, .08); }
.say.sys, .say.hq { align-self: flex-end; }
.say b { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700, #1e3a6e); margin-bottom: 2px; }
.say i { position: absolute; left: 10px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold, #d4af37); color: #0b1a33; font: 700 .75rem/22px Inter, sans-serif; text-align: center; font-style: normal; }
.say em { font-style: normal; font-weight: 700; color: #b42318; }
.say.sys { background: #0b1a33; color: #e6ebf5; border: 2px solid var(--gold, #d4af37); }
.say.sys b { color: var(--gold-2, #e8c96a); }
.say.sys em { color: #ff8a80; }
.say.alert { border-color: #e5484d; }
.say.hq { background: #eaf1ff; border-color: #d3e0fb; }
@media (max-width: 900px) {
  .scene, .scene.tall { grid-template-columns: 1fr; gap: 18px; }
  .scene:nth-child(even) .scene-art { order: 0; }
  .scene.tall .scene-art { max-width: 460px; justify-self: center; }
}
.gallery.mobile figure img { border-radius: 18px; border: 6px solid #0b1a33; }
.caption { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* trust / legacy band */
.legacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.quote { font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1.45 Playfair; color: #fff; }
.quote cite { display: block; margin-top: 18px; font: 700 .75rem Inter; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); font-style: normal; }
.timeline { border-left: 2px solid rgba(212, 175, 55, .4); padding-left: 26px; }
.timeline div { position: relative; margin-bottom: 26px; }
.timeline div::before { content: ""; position: absolute; left: -34px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 175, 55, .18); }
.timeline b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }

/* stats strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.strip div { padding: 30px 26px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: 0; }
.strip b { display: block; font: 800 2.3rem Playfair; color: var(--navy-900); line-height: 1.05; }
.strip span { font-size: .9rem; color: var(--muted); }

/* tabs (feature explorer) */
.tabbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabbar button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font: 600 .9rem Inter; color: var(--text); cursor: pointer; }
.tabbar button.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tabpanel { display: none; }
.tabpanel.active { display: grid; }

/* case studies */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; }
.case + .case { margin-top: 30px; }
.case .body { padding: 38px; }
.case .media { background: var(--tint); padding: 26px; display: flex; align-items: center; }
.case .tag { display: inline-block; font: 700 .7rem Inter; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: #7a5d0a; margin-bottom: 14px; }
.case h3 { font-size: 1.6rem; }
.case .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.case .facts b { display: block; font: 700 .7rem Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.case .facts span { font-size: .92rem; color: var(--ink); }
.case .steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; }
.case .steps li { counter-increment: s; position: relative; padding-left: 38px; margin-bottom: 10px; font-size: .95rem; }
.case .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); color: var(--gold-2); font: 700 .78rem Inter; display: grid; place-items: center; }
.notice { border-left: 4px solid var(--gold); background: #fbf8ec; padding: 14px 18px; border-radius: 0 10px 10px 0; color: #4a4128; font-size: .92rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; cursor: zoom-in; }
.gallery figure img { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(11, 26, 51, .1); transition: transform .2s; }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: .88rem; margin-top: 10px; color: var(--text); }
.gallery figcaption b { display: block; color: var(--navy-900); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 11, 23, .92); display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 10px; }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c9d1e3; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { text-align: left; font: 700 .72rem Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700); background: #f0f3f8; padding: 12px 16px; white-space: nowrap; }
td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
td b { color: var(--navy-900); }

/* pricing */
.price-card { background: radial-gradient(100% 90% at 90% 0%, #24467f 0%, #0b1a33 55%, #050b17 100%); color: #c9d1e3; border-radius: 20px; padding: 46px; position: relative; overflow: hidden; }
.price-card .amount { font: 800 clamp(2.4rem, 5vw, 3.8rem) Playfair; color: #fff; line-height: 1; }
.price-card .from { font: 700 .78rem Inter; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--gold); box-shadow: 0 20px 44px rgba(212, 175, 55, .18); }
.tier h3 { font-family: Inter; font-size: 1.1rem; }
.tier .p { font: 800 1.9rem Playfair; color: var(--navy-900); margin: 6px 0 14px; }
.tier ul { flex: 1; }

/* forms */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 400 1rem Inter; color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1px solid #d0d5dd; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .18); }
textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 74px); }
.auth .side { background: radial-gradient(100% 80% at 90% 0%, #24467f 0%, #0b1a33 50%, #050b17 100%); color: #c9d1e3; padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.auth .side h1 { color: #fff; font-size: 2.6rem; }
.auth .main { display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--tint); }
.auth .panel { width: 100%; max-width: 520px; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin-bottom: 4px; }
.msg.error { background: var(--red-soft); color: var(--red); border: 1px solid #fecdca; }
.msg.ok { background: var(--green-soft); color: var(--green); border: 1px solid #abefc6; }

/* account / admin apps */
.app { padding: 40px 0 80px; background: var(--tint); min-height: calc(100vh - 74px); }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.app-head h1 { font-size: 2.2rem; margin: 0; }
.apptabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.apptabs button { background: none; border: 0; padding: 12px 16px; font: 600 .95rem Inter; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.apptabs button.active { color: var(--navy-900); border-bottom-color: var(--gold); }
.apptabs .count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; }
.list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.list .item { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.list .item:first-child { border-top: 0; }
.list .item.click { cursor: pointer; }
.list .item.click:hover { background: #fafbfc; }
.list .grow { flex: 1; min-width: 0; }
.list .empty { padding: 40px; text-align: center; color: var(--muted); }
.badge { display: inline-block; font: 700 .68rem Inter; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #f2f4f7; color: var(--muted); white-space: nowrap; }
.badge.pending, .badge.open, .badge.new, .badge.high { background: var(--amber-soft); color: var(--amber); }
.badge.approved, .badge.answered, .badge.contacted { background: var(--green-soft); color: var(--green); }
.badge.rejected, .badge.disabled, .badge.urgent { background: var(--red-soft); color: var(--red); }
.badge.closed { background: #f2f4f7; color: var(--muted); }
.toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; flex: 1; min-width: 180px; padding: 10px 12px; }
.thread { display: grid; gap: 14px; margin: 18px 0; }
.bubble { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; max-width: 88%; }
.bubble.staff { background: #f4f7fd; border-color: #d5e0f5; margin-left: auto; }
.bubble .who { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.bubble .who b { color: var(--navy-900); }
.bubble .text { white-space: pre-wrap; color: var(--ink); }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(5, 11, 23, .55); display: flex; align-items: flex-start; justify-content: center; padding: 60px 20px; overflow-y: auto; }
.modal .panel { width: 100%; max-width: 760px; }

/* docs */
.docs { display: grid; grid-template-columns: 270px 1fr; gap: 50px; padding-top: 44px; padding-bottom: 90px; }
.docnav { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.docnav-group { margin-bottom: 22px; }
.docnav-group b { display: block; font: 700 .7rem Inter; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.docnav-group a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--text); font-size: .93rem; }
.docnav-group a.active { background: var(--navy-900); color: #fff; }
.doc { min-width: 0; max-width: 860px; }
.doc h2 { font-size: 1.8rem; margin-top: 1.6em; padding-top: .4em; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc h3 { font-size: 1.25rem; margin-top: 1.4em; }
.doc table { margin: 1em 0 1.5em; border: 1px solid var(--line); border-radius: 10px; display: block; overflow-x: auto; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .35em; }
.doc blockquote { margin: 1.2em 0; border-left: 4px solid var(--gold); background: #fbf8ec; padding: 12px 18px; border-radius: 0 10px 10px 0; color: #4a4128; }
.doc blockquote p:last-child { margin: 0; }
code { font: .88em Consolas, 'Cascadia Mono', monospace; background: #f2f4f7; padding: 2px 6px; border-radius: 5px; color: var(--navy-800); }
pre { background: var(--navy-950); color: #d6dcea; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: .86rem; line-height: 1.6; }
pre code { background: none; padding: 0; color: inherit; }
.doc-prevnext { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }

/* tutorials */
.player { display: grid; grid-template-columns: 1fr 320px; gap: 26px; }
.player video { width: 100%; border-radius: 14px; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.playlist { display: grid; gap: 10px; align-content: start; }
.playlist button { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font: inherit; display: flex; gap: 14px; align-items: center; }
.playlist button.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .2); }
.playlist button b { display: block; color: var(--navy-900); font-size: .95rem; }
.playlist button span { font-size: .8rem; color: var(--muted); }
.playlist .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.langs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; font: 500 .88rem Inter; }
.langs button.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.transcript { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; }
.transcript p { margin: 0 0 10px; }
.transcript .t { color: var(--gold); font-weight: 700; font-size: .8rem; margin-right: 8px; }

/* call to action */
.cta { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-radius: 22px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin: 0; color: var(--navy-950); max-width: 640px; }
.cta p { margin: 10px 0 0; color: #3b300d; }
.cta .btn { background: var(--navy-950); }

/* footer */
.footer { background: var(--navy-950); color: #8f9bb8; padding: 70px 0 30px; font-size: .92rem; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footgrid b { display: block; color: #fff; margin-bottom: 14px; font-size: .95rem; }
.footgrid a:not(.brand):not(.btn) { display: block; color: #aab4cb; margin-bottom: 9px; }
.footgrid a:not(.brand):not(.btn):hover { color: var(--gold-2); }
.footbrand p { margin: 18px 0; max-width: 360px; }
.footbrand .btn { color: var(--gold-2); }
.footbase { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; gap: 10px; }
.footbase a { color: #aab4cb; }

/* server calculator (/scale) */
.calc { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 10px; }
.calc-inputs { display: grid; gap: 26px; position: sticky; top: 96px; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-head output { font: 800 1.9rem Playfair; color: var(--navy-900); line-height: 1; }
.calc input[type="range"] { padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--gold); height: 28px; cursor: pointer; margin-top: 8px; }
.calc-ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.calc-results { display: grid; gap: 22px; min-width: 0; }
.calc-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.calc-big div { padding: 22px 20px; border-inline-end: 1px solid var(--line); }
.calc-big div:last-child { border-inline-end: 0; }
.calc-big b { display: block; font: 800 2rem Playfair; color: var(--navy-900); line-height: 1.1; }
.calc-big span { font-size: .85rem; color: var(--muted); }
.calc td[data-out] { font: 700 1.15rem Inter; color: var(--navy-900); white-space: nowrap; }
.calc-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; }
.calc-facts b { color: var(--navy-900); white-space: nowrap; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-inputs { position: static; }
  .calc-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .calc-big { grid-template-columns: 1fr; }
  .calc-big div { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .calc-big div:last-child { border-bottom: 0; }
}

/* reveal on scroll */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* language picker */
.langpick { position: relative; margin-left: 6px; }
.langpick > button { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255, 255, 255, .14); color: #c9d1e3; border-radius: 8px; padding: 7px 10px; font: 500 .85rem Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.langpick > button:hover { color: #fff; border-color: rgba(212, 175, 55, .5); }
.langmenu { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #0b1a33; border: 1px solid rgba(212, 175, 55, .3); border-radius: 12px; padding: 8px; width: 380px; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); z-index: 60; }
.langpick.open .langmenu { display: grid; }
.langmenu a { color: #c9d1e3; padding: 8px 10px; border-radius: 8px; font-size: .9rem; }
.langmenu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.langmenu a.active { background: rgba(212, 175, 55, .16); color: var(--gold-2); }

/* scripts other than Latin: the bundled fonts cover Latin only, so use good system fonts */
:lang(zh), :lang(ja), :lang(hi), :lang(bn), :lang(ar), :lang(ur) { --sys: system-ui, 'Segoe UI', 'Noto Sans', sans-serif; }
html:lang(zh) body, html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3, html:lang(zh) h4 { font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', system-ui, sans-serif; }
html:lang(ja) body, html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3, html:lang(ja) h4 { font-family: 'Yu Gothic UI', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif; }
html:lang(hi) body, html:lang(hi) h1, html:lang(hi) h2, html:lang(hi) h3, html:lang(hi) h4 { font-family: 'Nirmala UI', 'Noto Sans Devanagari', system-ui, sans-serif; }
html:lang(bn) body, html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3, html:lang(bn) h4 { font-family: 'Nirmala UI', 'Noto Sans Bengali', system-ui, sans-serif; }
html:lang(ar) body, html:lang(ar) h1, html:lang(ar) h2, html:lang(ar) h3, html:lang(ar) h4 { font-family: 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif; }
html:lang(ur) body, html:lang(ur) h1, html:lang(ur) h2, html:lang(ur) h3, html:lang(ur) h4 { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', Tahoma, sans-serif; line-height: 1.9; }
html:lang(ru) h1, html:lang(ru) h2, html:lang(ru) h3 { font-family: Georgia, 'Times New Roman', serif; }
html:lang(zh) .kicker, html:lang(ja) .kicker, html:lang(ar) .kicker, html:lang(ur) .kicker, html:lang(hi) .kicker, html:lang(bn) .kicker { letter-spacing: .06em; }
html:lang(ar) h1, html:lang(ur) h1, html:lang(zh) h1, html:lang(ja) h1, html:lang(hi) h1, html:lang(bn) h1 { letter-spacing: 0; line-height: 1.35; }
html:lang(ar) h2, html:lang(ur) h2, html:lang(hi) h2, html:lang(bn) h2 { line-height: 1.45; }

/* right-to-left (Arabic, Urdu) */
[dir=rtl] .mainnav { margin-left: 0; margin-right: auto; }
[dir=rtl] .nav-account { margin-left: 0; margin-right: 8px; }
[dir=rtl] .langpick { margin-left: 0; margin-right: 6px; }
[dir=rtl] ul.ticks li { padding-left: 0; padding-right: 30px; }
[dir=rtl] ul.ticks li::before { left: auto; right: 0; }
[dir=rtl] .case .steps li { padding-left: 0; padding-right: 38px; }
[dir=rtl] .case .steps li::before { left: auto; right: 0; }
[dir=rtl] .timeline { border-left: 0; border-right: 2px solid rgba(212, 175, 55, .4); padding-left: 0; padding-right: 26px; }
[dir=rtl] .timeline div::before { left: auto; right: -34px; }
[dir=rtl] .notice, [dir=rtl] .doc blockquote { border-left: 0; border-right: 4px solid var(--gold); border-radius: 10px 0 0 10px; }
[dir=rtl] .strip div { border-right: 0; border-left: 1px solid var(--line); }
[dir=rtl] .strip div:last-child { border-left: 0; }
[dir=rtl] .hero .print { right: auto; left: -120px; transform: scaleX(-1); }
[dir=rtl] .bubble.staff { margin-left: 0; margin-right: auto; }
[dir=rtl] th { text-align: right; }
[dir=rtl] .doc-prevnext { direction: rtl; }
[dir=rtl] pre, [dir=rtl] code, [dir=rtl] .frame, [dir=rtl] .gallery img { direction: ltr; }

/* responsive */
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section.block { padding: 70px 0; }
  .g2, .g3, .split, .split.rev, .legacy, .case, .player, .docs, .auth { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero { padding: 80px 0 90px; }
  .hero-stats, .strip { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(2) { border-right: 0; }
  .strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery.mobile { grid-template-columns: repeat(3, 1fr); }
  .docnav { position: static; max-height: none; }
  .auth .side { padding: 50px 24px; }
  .case .facts { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .g4, .gallery, .form .row2 { grid-template-columns: 1fr; }
  .gallery.mobile { grid-template-columns: 1fr 1fr; }
  .phones { gap: 12px; }
  .phones .phone { width: calc(50% - 6px); padding: 7px; border-radius: 26px; }
  .phones .phone img { border-radius: 20px; }
  .phones .phone:nth-child(2) { margin-top: 32px; }
  .footgrid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .case .body { padding: 26px; }
}


/* Full navigation at desktop widths; an accessible panel on smaller screens. */
.topbar{background:var(--navy-950);backdrop-filter:none}
.topbar>.wrap{max-width:1440px}
.topbar .bar{height:auto;min-height:74px;flex-wrap:wrap;gap:0;padding-top:16px;padding-bottom:10px}
.brand{flex-shrink:0}.brand b{font-size:1.15rem;white-space:nowrap}
.mainnav{display:flex;position:static;transform:none;flex:1 0 100%;justify-content:flex-start;flex-wrap:wrap;gap:2px;margin:12px 0 0;padding:8px 0 0;border-top:1px solid rgba(255,255,255,.12)}
.mainnav>a{font-size:.86rem}.nav-account{margin-inline-start:auto}.menu{display:none}
.home-jump{background:var(--navy-900);padding:14px 0}.home-jump .wrap{display:flex;gap:10px 24px;flex-wrap:wrap}.home-jump a{color:#e8c96a;font-size:.84rem}
section[id]{scroll-margin-top:150px}.home-grid{margin:32px 0}.home-actions{margin-top:28px}
.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:38px}.capability-grid .card{padding:30px}
.update-language-note{background:#f7efd3;color:#3d361f;padding:12px 24px;text-align:center;font-size:14px}
.hero .hero-stats>div{font-size:1.8rem}.case h2{font-size:1.75rem}.case figure{margin:0;width:100%}.case figcaption{margin-top:12px}
.split>*{min-width:0}.split figure{margin:0}.visual-caption{padding:10px 16px;font-size:.78rem;color:var(--muted);background:#fff}
.camera-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:36px 0}
.camera-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.camera-picture{position:relative;aspect-ratio:1;overflow:hidden;background:#c7d5e1}.camera-picture img{position:absolute;width:300%;max-width:none;height:200%}.camera-copy{padding:24px}.camera-copy p{margin:0;font-size:.92rem}
.detection-story{margin:32px 0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:32px;align-items:start}.detection-image{margin:0;border-radius:16px;overflow:hidden;background:var(--navy-900)}.detection-image img{width:100%;height:auto}.detection-image figcaption{padding:14px 18px;color:#dbe4f3;font-size:.8rem}
.response-steps{display:grid;gap:20px}.response-steps article{display:flex;gap:16px}.response-steps article>span{font-weight:700;color:var(--amber);font-size:1.2rem}.response-steps h3{font-size:1.2rem}.response-steps p{font-size:.9rem;margin:0}
@media(min-width:1320px){.topbar .bar{flex-wrap:nowrap;padding-top:0;padding-bottom:0;gap:18px}.mainnav{flex:1 1 auto;margin:0;border:0;padding:0;justify-content:flex-end}.mainnav>a{padding:8px 7px}.nav-account{margin-inline-start:4px}}
@media(max-width:900px){
 .topbar .bar{padding-top:0;padding-bottom:0;height:74px;flex-wrap:nowrap}.topbar .menu{display:block;margin-inline-start:auto;flex-shrink:0}
 .topbar .mainnav{display:none}.topbar .mainnav.open{display:flex;position:fixed;inset:74px 0 0;margin:0;padding:20px 24px;background:var(--navy-950);flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;border:0;transform:none}
 .mainnav>a,.nav-account>a:not(.btn){font-size:1rem;padding:10px 14px}.nav-account{margin:12px 0 0;flex-direction:column;align-items:stretch;gap:10px}.langpick{margin:10px 0}.langpick>button{width:100%;justify-content:center}.langmenu{position:static;width:100%;max-height:none}.mainnav .btn{justify-content:center}.nav-open{overflow:hidden}
 section[id]{scroll-margin-top:90px}.detection-story{grid-template-columns:1fr}.camera-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){.camera-grid,.capability-grid{grid-template-columns:1fr}.brand b{font-size:1rem}.brand small{letter-spacing:.12em}.hero .hero-stats>div{font-size:1.35rem}.camera-copy{padding:20px}.case .body{padding:24px}.home-jump .wrap{gap:12px 18px}}

/* Restored field-workflow gallery. */
.field-detail-shot{margin:20px 0 0}.field-detail-shot img{height:340px;width:100%;object-fit:contain;background:#edf1f7;border-radius:12px}.field-detail-shot figcaption{font-size:.78rem;color:var(--muted);margin-top:10px}.calc-field input[type=range]{width:100%}.calc-head{flex-wrap:wrap}.calc-big b{overflow-wrap:anywhere}

/* Security topic navigation and two-column reading layout. */
.security-jump{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.security-jump a{padding:9px 12px;border:1px solid var(--line,#dce3ec);border-radius:6px;text-decoration:none}.security-topic{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.5fr);gap:48px}.security-topic h2{margin-top:10px}.security-topic li{line-height:1.7;margin-bottom:18px}.block[id]{scroll-margin-top:100px}@media(max-width:760px){.security-topic{grid-template-columns:minmax(0,1fr);gap:16px}.security-jump a{max-width:100%;overflow-wrap:anywhere}}

/* Website administration: bounded result lists and aligned page controls. */
.admin-list-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 32px;padding-top:16px;border-top:1px solid #dce3ec}.admin-list-pager .btn{min-width:90px}.admin-list-error{padding:20px;border:1px solid #e6b9b9;border-radius:8px}.admin-list-error p{margin-top:0}@media(max-width:600px){.admin-list-pager{gap:10px}.admin-list-pager span{order:3;width:100%;text-align:center}}
