/* eldt.app - download and support site for the ELDT Systems app. Same "Old Glory" colors as eldt.systems. */
:root { --navy:#0a3161; --navy2:#0d3d78; --red:#b31942; --redd:#931437; --ice:#e7ecf5; --line:#d5dbe3; --text:#1b2530; --muted:#52606d; --bg:#f1f3f7; --ok:#2e7d4f; --warn:#c8821b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 "Lato", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { font-family: "Poppins", Arial, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid var(--red); border-radius: 12px; padding: 13px 22px; background: var(--red); color: #fff; font: 700 17px "Lato", Arial, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--redd); border-color: var(--redd); }
.btn.navy { background: var(--navy); border-color: var(--navy); }
.btn.navy:hover { background: var(--navy2); }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.line { background: #fff; border-color: var(--line); color: var(--navy); }
.btn.line:hover { border-color: var(--navy); }
.btn svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn small { display: block; font-weight: 400; font-size: 13px; opacity: .9; }
.btn .t { text-align: left; line-height: 1.2; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 4px solid var(--red); box-shadow: 0 2px 8px rgba(10,49,97,.08); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.top .logo img { display: block; height: 48px; width: auto; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a { padding: 9px 11px; border-radius: 10px; font: 600 15px "Poppins", Arial, sans-serif; color: var(--navy); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { background: var(--ice); }
.top nav a.get { background: var(--red); color: #fff; margin-left: 6px; }
.top nav a.get:hover { background: var(--redd); }
#navbtn { display: none; margin-left: auto; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 9px 14px; font: 600 15px "Poppins", Arial, sans-serif; cursor: pointer; }
@media (max-width: 820px) {
  #navbtn { display: block; }
  .top .logo img { height: 40px; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 4px solid var(--red); padding: 8px 16px 14px; box-shadow: 0 10px 20px rgba(10,49,97,.12); }
  .top nav.open { display: flex; }
  .top nav a { padding: 12px; font-size: 16px; }
  .top nav a.get { margin: 6px 0 0; text-align: center; }
}

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1b4f94 0%, transparent 60%), var(--navy); color: #fff; padding: 56px 0 60px; overflow: hidden; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 em { font-style: normal; color: #ffd0da; }
.hero .lead { font-size: 19px; color: #dbe4f2; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font: 700 13px "Poppins", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #ffd0da; margin: 0 0 10px; }
.page-hero { padding: 40px 0 44px; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: 14px; color: #c9d4e6; margin: 0 0 10px; }
.crumbs a { color: #fff; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 40px 0 44px; } }

/* phone mock */
.phone { width: 270px; max-width: 100%; margin: 0 auto; border: 10px solid #0b1626; border-radius: 38px; background: #f1f3f7; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; color: var(--text); }
.phone .ph-bar { background: var(--navy); border-bottom: 4px solid var(--red); color: #fff; padding: 12px 14px; font: 700 15px "Poppins", Arial, sans-serif; display: flex; align-items: center; gap: 8px; }
.phone .ph-bar img { width: 26px; height: 26px; }
.phone .ph-body { padding: 12px; }
.phone .ph-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin: 0 0 8px; font-size: 13px; line-height: 1.35; }
.phone .ph-card b { color: var(--navy); display: block; font-size: 14px; }
.phone .ph-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.phone .pill { display: inline-block; border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.pill.g { background: #e2f3e8; color: var(--ok); } .pill.r { background: #fde8ec; color: var(--red); } .pill.n { background: var(--ice); color: var(--navy); }
.phone .ph-btn { display: block; text-align: center; background: var(--red); color: #fff; border-radius: 8px; padding: 9px; font-weight: 700; font-size: 13px; }

/* sections */
section { padding: 54px 0; }
section.alt { background: var(--bg); }
.sec-head { max-width: 680px; margin: 0 0 26px; }
.sec-head p { color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 2px 8px rgba(10,49,97,.05); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; margin: 0 0 12px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.red { background: #fde8ec; } .ico.red svg { stroke: var(--red); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: s; position: relative; padding: 16px 16px 16px 66px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.steps > li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font: 700 17px/36px "Poppins", Arial, sans-serif; text-align: center; }
.steps > li b { color: var(--navy); }
.note { color: var(--muted); font-size: 15px; }
.callout { border-left: 5px solid var(--warn); background: #fff8e6; border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; }
.callout.blue { border-left-color: var(--navy); background: var(--ice); }
.callout.red { border-left-color: var(--red); background: #fde8ec; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tabs a { padding: 10px 16px; border-radius: 99px; border: 2px solid var(--line); text-decoration: none; font: 600 15px "Poppins", Arial, sans-serif; background: #fff; }
.tabs a:hover { border-color: var(--navy); }
.dl-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.dl-box .qr { text-align: center; font-size: 13px; color: var(--muted); }
.dl-box .qr img { width: 160px; height: 160px; display: block; margin: 0 auto 6px; }
@media (max-width: 700px) { .dl-box { grid-template-columns: 1fr; } .dl-box .qr { display: none; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.facts dt { font-weight: 700; color: var(--text); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
code { background: var(--ice); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* prose pages */
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 14px; }

/* help center */
.search { position: relative; margin: 0 0 22px; }
.search input { width: 100%; font: inherit; font-size: 18px; padding: 15px 16px 15px 48px; border: 2px solid var(--line); border-radius: 14px; }
.search input:focus { outline: none; border-color: var(--navy); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; }
.topic { margin: 0 0 26px; }
.topic > h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
details.q { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 8px; }
details.q > summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--navy); position: relative; }
details.q > summary::-webkit-details-marker { display: none; }
details.q > summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 24px; color: var(--red); }
details.q[open] > summary::after { content: "–"; }
details.q > div { padding: 0 16px 14px; }
details.q > div ol, details.q > div ul { padding-left: 22px; margin: 0 0 10px; }
details.q > div li { margin: 0 0 4px; }
.noresult { display: none; }
.who-tag { display: inline-block; font: 700 11px "Poppins", Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; border-radius: 99px; padding: 2px 8px; background: var(--ice); color: var(--navy); margin-left: 6px; vertical-align: 2px; }

/* forms */
form.card label { display: block; font-weight: 700; margin: 14px 0 6px; }
form.card label:first-child { margin-top: 0; }
form.card input, form.card select, form.card textarea { width: 100%; font: inherit; padding: 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
form.card textarea { min-height: 150px; resize: vertical; }
form.card input:focus, form.card select:focus, form.card textarea:focus { outline: none; border-color: var(--navy); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.msg { margin: 12px 0 0; font-weight: 700; }
.msg.ok { color: var(--ok); } .msg.bad { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 20px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* status */
.st-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.st-row:last-child { border-bottom: 0; }
.st-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line); flex: none; }
.st-dot.up { background: var(--ok); box-shadow: 0 0 0 4px #e2f3e8; } .st-dot.down { background: var(--red); box-shadow: 0 0 0 4px #fde8ec; } .st-dot.slow { background: var(--warn); }
.st-row b { display: block; color: var(--navy); }
.st-row small { color: var(--muted); }
.st-row .st-v { margin-left: auto; font-weight: 700; white-space: nowrap; }
.st-banner { border-radius: 14px; padding: 16px 18px; font: 700 18px "Poppins", Arial, sans-serif; margin: 0 0 18px; background: var(--ice); color: var(--navy); }
.st-banner.up { background: #e2f3e8; color: var(--ok); } .st-banner.down { background: #fde8ec; color: var(--red); }

/* release notes */
.release { border-left: 4px solid var(--red); padding: 0 0 0 18px; margin: 0 0 30px; }
.release .tag { display: inline-block; background: var(--navy); color: #fff; border-radius: 8px; padding: 2px 10px; font: 700 14px "Poppins", Arial, sans-serif; margin-right: 8px; }
.release time { color: var(--muted); font-size: 15px; }
.release ul { padding-left: 20px; }

/* footer */
.road { height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, #fff 40px 60px, var(--navy) 60px 100px); }
footer { background: var(--navy); color: #c9d4e6; padding: 40px 0 26px; font-size: 15px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 26px; }
.fcols h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.fcols ul { list-style: none; padding: 0; margin: 0; }
.fcols li { margin: 0 0 7px; }
.fbrand img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.fbase { border-top: 1px solid rgba(255,255,255,.15); margin-top: 26px; padding-top: 16px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
@media (max-width: 820px) { .fcols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

/* ELDT Practice (coming soon) pages */
.soon { display: inline-block; background: var(--red); color: #fff; border-radius: 99px; padding: 2px 10px; margin-right: 6px; letter-spacing: .04em; }
.practice-hero { background: radial-gradient(900px 480px at 90% 0%, #8f1d3f 0%, transparent 55%), radial-gradient(1200px 500px at 0% 100%, #1b4f94 0%, transparent 60%), var(--navy); }
.phone .ans { font-weight: 700; color: var(--navy); }
.phone .ans.ok { border: 2px solid var(--ok); background: #e2f3e8; color: var(--ok); }
.phone .why { background: var(--ice); border-color: #c9d4e6; }
.phone .why .src { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); font-style: italic; }
.phone .bar, .dash .bar { height: 10px; border-radius: 99px; background: #e5e9ef; overflow: hidden; margin: 6px 0 2px; }
.phone .bar i, .dash .bar i { display: block; height: 100%; border-radius: 99px; background: var(--ok); }
.demo-logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--c); font: 800 12px "Poppins", Arial, sans-serif; flex: none; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 820px) { .split2 { grid-template-columns: 1fr; } }
.mini-phones { display: flex; justify-content: center; gap: 14px; }
.mini { width: 120px; height: 220px; border: 6px solid #0b1626; border-radius: 22px; background: #f1f3f7; overflow: hidden; box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.mini:nth-child(2) { transform: translateY(-14px); }
.mini i { display: block; background: var(--c); color: #fff; font: 700 11px/1.2 "Poppins", Arial, sans-serif; font-style: normal; padding: 10px 8px; min-height: 44px; }
.mini span { display: block; height: 30px; margin: 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.mini span:last-child { background: var(--c); border: 0; height: 22px; }
.practice-band { background: linear-gradient(135deg, var(--navy) 0%, #2a2c66 60%, var(--redd) 100%); color: #dbe4f2; }
.practice-band h2 { color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.swatches button:hover { box-shadow: 0 0 0 2px var(--navy); }
.swatches .pick { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.swatches .pick input { width: 38px; height: 38px; border: 0; padding: 0; background: none; }
.dash { max-width: 720px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; color: var(--navy); }
.dash-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dash-row .bar { margin: 0; }
.dash-foot { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .dash-row { grid-template-columns: 80px 1fr; } .dash-row .pill { grid-column: 1 / -1; justify-self: start; } }
.pill { display: inline-block; border-radius: 99px; padding: 2px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
