/* ASD Essentials Navigator home page: same tokens as the app (styles.css), plain marketing layout */
:root{
  --bg:#eaebee;--panel:#fff;--head:#fafbfc;--ink:#16181d;--ink2:#2b2f38;--sub:#4b5160;--muted:#666c7a;
  --line:#d4d7de;--line2:#e3e5ea;--red:#da1f26;--red-ink:#b01b21;--red-tint:#fbe4e5;
  --font:'Public Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;background:#fff}
body{font-family:var(--font);color:var(--ink);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;height:auto;display:block}

.top{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px;padding:0 24px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line2)}
.brand{font-weight:600;font-size:15px;text-decoration:none}

.btn{display:inline-flex;align-items:center;gap:8px;border-radius:9px;text-decoration:none;font-weight:500;white-space:nowrap;transition:background .15s}
.btn.primary{background:var(--ink);color:#fff}
.btn.primary:hover{background:var(--ink2)}
.btn.sm{font-size:13px;padding:8px 14px}
.btn.lg{font-size:16px;padding:13px 24px}
.btn span{transition:transform .15s}
.btn:hover span{transform:translateX(3px)}

.hero{max-width:880px;margin:0 auto;padding:72px 24px 40px;text-align:center}
h1{font-size:60px;line-height:1.08;letter-spacing:-.02em;font-weight:700;margin:0 0 18px}
.tag{font-size:22px;line-height:1.4;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin:0 auto 18px;max-width:760px}
.tag mark{background:var(--red-tint,#fbe4e5);color:var(--red-ink,#b01b21);padding:0 6px;border-radius:4px}
.lead{font-size:16.5px;color:var(--sub);margin:0 auto 30px;max-width:620px}

.shot-band{position:relative;padding:0 24px 72px}
.shot-band::before{content:'';position:absolute;left:0;right:0;bottom:0;top:42%;background:var(--bg)}
.shot-band .frame{position:relative;max-width:1180px;margin:0 auto}
.frame video{display:block;width:100%;height:auto}
.prose a{color:var(--ink);text-decoration-color:var(--line);text-underline-offset:3px}
.prose a:hover{text-decoration-color:var(--red)}
.frame{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(22,24,29,.14),0 2px 6px rgba(22,24,29,.06)}

.wrap{max-width:1080px;margin:0 auto;padding:64px 24px 0}
h2{font-size:28px;line-height:1.25;letter-spacing:-.01em;font-weight:650;margin:0 0 18px}
.prose p,.faq details,.steps{max-width:780px}
.prose p{color:var(--sub);margin:0 0 14px}

.rows{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:22px;max-width:780px}
.rows li{display:flex;gap:16px;align-items:flex-start;color:var(--sub)}
.rows b{color:var(--ink);font-weight:600}
.rows b a{color:inherit;text-decoration-color:var(--red);text-underline-offset:3px}
.rows b a:hover{color:var(--red)}
.rows svg{flex:none;width:24px;height:24px;margin-top:2px;fill:none;stroke:var(--red);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.xpl{background:var(--bg);padding:8px 24px 72px}
.xcard{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:40px 40px 40px 48px;box-shadow:0 18px 50px rgba(22,24,29,.08)}
.xtxt h2{font-size:34px;margin:0 0 14px}
.xtxt p{color:var(--sub);font-size:17px;margin:0 0 26px}
.ximg{display:block;border-radius:12px;transition:transform .2s}
.ximg:hover{transform:translateY(-3px)}
.ximg img{width:100%;height:auto}
.feature{margin-top:64px;padding-bottom:64px;background:var(--bg)}
.feature.alt{margin-top:0;background:#fff}
.split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);gap:48px;align-items:center}
.feature.alt .split{grid-template-columns:minmax(0,8fr) minmax(0,5fr)}
.feature.alt .txt{order:2}
.split .txt p{color:var(--sub);margin:0}


.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:18px;max-width:780px}
.steps li{counter-increment:s;display:flex;gap:16px;color:var(--sub)}
.steps li::before{content:counter(s);flex:none;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:-1px}
.steps b{color:var(--ink);font-weight:600}

.faq details{border-bottom:1px solid var(--line2)}
.faq details:first-of-type{border-top:1px solid var(--line2)}
.faq summary{cursor:pointer;list-style:none;padding:16px 32px 16px 0;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:4px;top:13px;font-size:22px;font-weight:400;color:var(--muted)}
.faq details[open] summary::after{content:'\2212'}
.faq details p{margin:0 0 18px;color:var(--sub)}
.faq a{color:var(--ink)}

.cta{margin-top:80px;padding:72px 24px;text-align:center;background:var(--bg)}
.cta p{color:var(--sub);margin:0 0 26px}

.foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 24px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.presented{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px 22px}
.foot .tdlogo img{height:13px;width:auto}
.foot a{color:var(--sub)}
a:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:4px}

@media (max-width:860px){
  h1{font-size:40px}
  .lead{font-size:15.5px}
  .tag{font-size:18.5px}
  .hero{padding:48px 16px 32px}
  .shot-band{padding:0 16px 48px}
  .wrap{padding:48px 16px 0}
  h2{font-size:23px}
  .rows{grid-template-columns:1fr;gap:20px}
  .split,.feature.alt .split{grid-template-columns:1fr;gap:24px}
  .feature.alt .txt{order:0}
  .feature{margin-top:48px;padding-bottom:48px}
  .xpl{padding:0 16px 48px}
  .xcard{grid-template-columns:1fr;padding:24px 20px;gap:20px}
  .xtxt h2{font-size:26px}
  .xtxt p{font-size:16px}
  .xtxt .btn{width:100%;justify-content:center}
  .top{padding:0 16px}
  .cta{margin-top:56px;padding:56px 16px}
  .foot{padding:16px}
}
/* FAQ answers can hold a short list */
.faq details ul{margin:-6px 0 18px;padding-left:20px;color:var(--sub)}
.faq details li{margin:0 0 6px}
.faq details li b{color:var(--ink);font-weight:600}
/* About page: a plain page in the home page's style, with the feedback form (Anton) */
.page-about .wrap:first-child{padding-top:48px}
.page-about .back{display:inline-block;font-size:14px;font-weight:600;color:var(--sub);text-decoration:none;margin:0 0 28px}
.page-about .back:hover{color:var(--ink)}
.page-about h1{font-size:44px}
/* Privacy and Terms: the About page's layout with small section headings */
.page-legal .wrap{padding-bottom:72px}
.page-legal h2{font-size:19px;margin:30px 0 8px}
.page-legal .dated{font-size:14px;color:var(--muted)}
.feedback{padding-bottom:72px}
.feedback>p{color:var(--sub);margin:0 0 16px}
.feedback form{max-width:640px}
.feedback textarea,.feedback input{font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:9px;padding:10px 12px;width:100%}
.feedback textarea{display:block;resize:vertical;min-height:110px;margin:0 0 12px}
.feedback textarea:focus,.feedback input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(22,24,29,.08)}
.feedback .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.fbrow{display:flex;gap:10px;margin:0 0 10px}
.fbrow input{flex:1;min-width:0}
.fbcheck>div{margin:0 0 12px}
.feedback button{font:inherit;font-size:15px;padding:10px 22px;border:0;cursor:pointer}
.feedback button[disabled]{opacity:.5;cursor:default}
.fbstatus{margin:8px 0 0;font-size:14px;color:var(--sub)}
.fbstatus:empty{display:none}
.fbstatus.ok{color:#1f7a50}
.fbstatus.err{color:var(--red-ink)}
@media (max-width:640px){.fbrow{flex-direction:column}.page-about h1{font-size:34px}}
/* short pages (About): the footer stays at the bottom of the window instead of floating mid-page */
body.short{min-height:100vh;display:flex;flex-direction:column}
body.short main{flex:1 0 auto}
