/* Anchor Point Apps — shared stylesheet */
:root{
  --bg:#1f2328;
  --bg-2:#262b31;
  --bg-3:#2d333b;
  --line:#3a414a;
  --text:#e8eaed;
  --muted:#b4bac2;
  --accent:#f26a1b;
  --accent-hover:#ff8440;
  --radius:12px;
  --max:1080px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1.0625rem;line-height:1.65;display:flex;flex-direction:column;min-height:100vh}
main{flex:1}
img,svg{max-width:100%}
a{color:var(--accent)}
a:hover{color:var(--accent-hover)}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3{line-height:1.2;margin:0 0 .6em;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,6vw,3rem)}
h2{font-size:clamp(1.4rem,4vw,1.9rem)}
h3{font-size:1.15rem}
p{margin:0 0 1em}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-9999px;top:0;background:var(--accent);color:var(--bg);padding:.5rem 1rem;font-weight:700;z-index:10}
.skip:focus{left:1rem;top:1rem}

/* Header */
.site-header{border-bottom:1px solid var(--line);background:#1a1d21}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding-top:.85rem;padding-bottom:.85rem}
.brand{display:inline-flex;align-items:center;gap:.6rem;color:var(--text);text-decoration:none;font-weight:700;font-size:1.15rem;letter-spacing:-.01em}
.brand:hover{color:var(--text)}
.brand svg{width:34px;height:34px;flex:none}
.brand .accent{color:var(--accent)}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem}
.nav a{display:block;padding:.45rem .75rem;border-radius:8px;color:var(--muted);text-decoration:none;font-weight:600;font-size:.98rem}
.nav a:hover{color:var(--text);background:var(--bg-3)}
.nav a[aria-current="page"]{color:var(--text);box-shadow:inset 0 -2px 0 var(--accent);border-radius:8px 8px 0 0}
@media (max-width:640px){
  .header-inner{flex-direction:column;align-items:flex-start}
  .nav{width:100%}
  .nav ul{justify-content:space-between;gap:0}
  .nav a{padding:.45rem .6rem}
  .nav li:first-child a{padding-left:0}
}

/* Hero */
.hero{padding:3.5rem 0 3rem;background:radial-gradient(1200px 400px at 85% -10%,rgba(242,106,27,.14),transparent 60%),var(--bg)}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:.9rem}
.lead{font-size:clamp(1.08rem,2.6vw,1.25rem);color:var(--muted);max-width:44rem}
.hero h1{max-width:40rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.btn{display:inline-block;padding:.8rem 1.35rem;border-radius:10px;font-weight:700;text-decoration:none;border:2px solid var(--accent);line-height:1.2}
.btn-primary{background:var(--accent);color:#1f2328}
.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#1f2328}
.btn-ghost{color:var(--text);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--accent);color:var(--text)}

/* Sections */
.section{padding:3rem 0}
.section-alt{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:42rem;margin-bottom:2rem}
.section-head p{color:var(--muted)}
.grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:640px){.grid-2{grid-template-columns:repeat(2,1fr)}}
@media (min-width:900px){.grid-4{grid-template-columns:repeat(4,1fr)}.grid-4.grid-2{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--bg-3);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.card h3{margin-bottom:.4em}
.card p{color:var(--muted);margin:0;font-size:.98rem}
.icon{width:40px;height:40px;border-radius:10px;background:rgba(242,106,27,.14);display:grid;place-items:center;margin-bottom:.9rem}
.icon svg{width:22px;height:22px;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cta{text-align:left}
.cta-box{background:linear-gradient(135deg,#2b2320,#262b31);border:1px solid #4a3a30;border-radius:16px;padding:2rem 1.5rem}
.cta-box p{color:var(--muted);max-width:40rem}

/* App page */
.app-layout{display:grid;gap:2.5rem;align-items:center;grid-template-columns:1fr}
@media (min-width:860px){.app-layout{grid-template-columns:1.2fr .8fr}}
.app-figure{margin:0;display:flex;justify-content:center}
.app-figure svg{width:min(280px,80vw);height:auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.45))}
.badge{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .85rem;border-radius:999px;background:rgba(242,106,27,.14);border:1px solid rgba(242,106,27,.45);color:#ffb488;font-weight:700;font-size:.95rem}
.badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
.checklist{list-style:none;padding:0;margin:1.25rem 0}
.checklist li{position:relative;padding-left:1.8rem;margin-bottom:.6rem}
.checklist li::before{content:"";position:absolute;left:0;top:.45em;width:1rem;height:.55rem;border-left:3px solid var(--accent);border-bottom:3px solid var(--accent);transform:rotate(-45deg)}

/* Prose (policies/about) */
.prose > *{max-width:46rem}
.prose h2{font-size:1.35rem;margin-top:2.2rem}
.prose h3{margin-top:1.5rem}
.prose ul{padding-left:1.25rem;margin:0 0 1em}
.prose li{margin-bottom:.4em}
.meta{color:var(--muted);font-size:.95rem}
.page-head{padding:2.75rem 0 1.25rem}
.page-head .lead{margin-top:.25rem}

/* Contact */
.contact-card{max-width:40rem;background:var(--bg-3);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--radius);padding:1.5rem 1.25rem}
.contact-email{display:inline-block;font-size:clamp(.95rem,4.2vw,1.6rem);font-weight:800;overflow-wrap:break-word;max-width:100%;text-decoration:none;margin:.25rem 0 1rem}
.contact-email:hover{text-decoration:underline}

/* 404 */
.notfound{text-align:center;padding:5rem 0}
.notfound .code{font-size:4.5rem;font-weight:800;color:var(--accent);line-height:1;margin-bottom:.5rem}
.notfound .actions{justify-content:center}

/* Footer */
.site-footer{border-top:1px solid var(--line);background:#1a1d21;color:var(--muted);font-size:.93rem;padding:2rem 0}
.footer-inner{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:flex-start}
.footer-inner p{margin:0 0 .35rem}
.footer-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.footer-links a{color:var(--text);text-decoration:none}
.footer-links a:hover{color:var(--accent);text-decoration:underline}
.disclaimer{font-size:.87rem}
