/* Anchor Alarm Pro - blog / guides (shares the marketing site's dark, glassy theme) */
:root{
  --bg:#081020; --bg2:#0c1b34; --ink:#eef4fb; --muted:#9fb2c8;
  --card:rgba(255,255,255,.055); --card-2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.10); --border-2:rgba(255,255,255,.18);
  --teal:#27d3c1; --blue:#3aa0e3; --green:#34c759; --navy:#13294a;
  --radius:18px; --shadow:0 24px 60px rgba(0,0,0,.45);
  --accent:linear-gradient(120deg,#27d3c1,#3aa0e3);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; color:var(--ink); background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
body::before,body::after{content:"";position:fixed;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.5;pointer-events:none;}
body::before{width:60vw;height:60vw;top:-20vw;right:-15vw;background:radial-gradient(circle,#15506b,transparent 60%);}
body::after{width:55vw;height:55vw;bottom:-25vw;left:-20vw;background:radial-gradient(circle,#123a63,transparent 60%);}
a{color:var(--teal);text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0;text-wrap:balance;}
.wrap{max-width:1160px;margin:0 auto;padding:0 22px;}
.muted{color:var(--muted);}

/* glass utility */
.glass{background:var(--card);border:1px solid var(--border);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}

/* nav (matches index.html) */
.nav{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;
  padding:12px 22px;background:rgba(8,16,32,.6);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);}
.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:1.05rem;letter-spacing:-.01em;color:var(--ink);}
.brand:hover{text-decoration:none;}
.brand img{width:34px;height:34px;border-radius:9px;display:block;}
.nav-links{display:flex;align-items:center;gap:26px;}
.nav-links a{color:#cdddec;font-weight:550;}
.nav-links a:hover{color:#fff;text-decoration:none;}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:650;font-size:1rem;
  padding:13px 22px;border-radius:13px;border:1px solid transparent;cursor:pointer;transition:transform .06s ease,filter .2s ease,border-color .2s ease;}
.btn:hover{text-decoration:none;}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--accent);color:#04141a;border:0;}
.btn-primary:hover{filter:brightness(1.06);}
.btn-ghost{background:rgba(255,255,255,.06);color:var(--ink);border:1px solid var(--border-2);}
.btn-ghost:hover{border-color:rgba(255,255,255,.4);}

/* breadcrumb */
.crumb{font-size:.86rem;color:#c6d4e4;}
.crumb a{color:#c6d4e4;}
.crumb a:hover{color:#fff;}

/* =============== full-bleed post hero =============== */
.post-hero{position:relative;width:100%;min-height:400px;display:flex;align-items:flex-end;overflow:hidden;
  border-bottom:1px solid var(--border);background:linear-gradient(135deg,#123a63,#0a1526);}
.post-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.post-hero::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(6,12,24,.9),rgba(6,12,24,.55) 55%,rgba(6,12,24,.35)),
             linear-gradient(to top,rgba(6,12,24,.92),rgba(6,12,24,.15) 60%);}
.post-hero-inner{position:relative;z-index:2;width:100%;padding-top:38px;padding-bottom:34px;}
.post-hero .crumb{padding:0 0 16px;}
.post-hero .eyebrow{margin-bottom:12px;}
.post-hero h1{font-size:3rem;font-weight:800;margin:0 0 16px;max-width:16ch;text-shadow:0 2px 34px rgba(0,0,0,.55);}
.post-hero .post-meta{margin:0;}
.post-hero p{max-width:620px;color:#e2ebf6;font-size:1.16rem;margin:0;text-shadow:0 2px 24px rgba(0,0,0,.5);}

/* =============== article =============== */
.article{max-width:1200px;margin:0 auto;padding:0 0 20px;}
.article > .byline{max-width:960px;margin:26px auto 0;}
.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal);margin-bottom:14px;display:block;}
.post-meta{color:#c6d4e4;font-size:.92rem;display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.post-meta .dot{opacity:.5;}
.lede{font-size:1.28rem;color:#e2ebf6;margin:28px auto;max-width:960px;line-height:1.5;}
.article > .note{max-width:960px;margin:0 auto 10px;color:var(--muted);font-size:.98rem;}

/* content grid: readable text column, but visuals can go full width */
.article-body{font-size:1.09rem;color:#dbe6f2;display:grid;grid-template-columns:1fr min(960px,100%) 1fr;}
.article-body > *{grid-column:2;}
.article-body > .wide{grid-column:1/-1;justify-self:center;width:100%;}
.article-body h2{font-size:1.75rem;font-weight:740;margin:46px 0 14px;letter-spacing:-.02em;}
.article-body h3{font-size:1.26rem;font-weight:680;margin:30px 0 10px;}
.article-body p{margin:0 0 18px;}
.article-body ul,.article-body ol{margin:0 0 20px;padding-left:22px;}
.article-body li{margin:0 0 9px;}
.article-body strong{color:#fff;}
.article-body a{border-bottom:1px solid rgba(39,211,193,.35);}
.article-body a:hover{text-decoration:none;border-bottom-color:var(--teal);}

/* figures, photos & diagrams */
.article-body figure{margin:32px 0;}
.article-body figure.wide{margin:38px auto;}
.article-body img{max-width:100%;height:auto;border-radius:14px;display:block;margin:0 auto;}
figure.photo img{width:100%;box-shadow:var(--shadow);}
figure.diagram{background:linear-gradient(160deg,#0c1b34,#0a1526);border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:var(--shadow);}
figure.diagram img{width:100%;border-radius:9px;}
.article-body figcaption{color:var(--muted);font-size:.92rem;text-align:center;margin-top:14px;}

/* app screenshot (portrait phone) */
.appshot{margin:28px auto;max-width:250px;}
.appshot img{width:100%;border-radius:22px;border:1px solid var(--border-2);box-shadow:var(--shadow);display:block;}
.appshot figcaption{color:var(--muted);font-size:.85rem;text-align:center;margin-top:12px;}

/* app section: copy on the left, phone screenshot inline on the right */
.article-body > .app-row{grid-column:1/-1;max-width:1200px;margin:46px auto 0;
  display:grid;grid-template-columns:1fr 250px;gap:48px;align-items:start;}
.app-row .app-copy{min-width:0;}
.app-row .app-copy h2{margin-top:0;}
.app-row .app-copy > :last-child{margin-bottom:0;}
.app-row .appshot{margin:0;max-width:250px;}
.app-row .appshot figcaption{text-align:center;}
@media (max-width:820px){
  .article-body > .app-row{grid-template-columns:1fr;gap:16px;margin-top:38px;}
  .app-row .appshot{max-width:220px;margin:8px auto 0;}
}

/* pull quote / testimonial */
.pullquote{margin:30px 0;padding:22px 26px;border-left:3px solid var(--teal);border-radius:0 14px 14px 0;
  background:rgba(255,255,255,.04);}
.pullquote p{font-size:1.14rem;color:#eaf2fb;font-style:italic;margin:0 0 10px;}
.pullquote .stars{color:#ffd166;letter-spacing:2px;font-size:.9rem;margin-bottom:10px;}
.pullquote cite{color:var(--muted);font-size:.9rem;font-style:normal;}

/* callout / promo box */
.callout{border-radius:var(--radius);padding:24px 26px;margin:34px 0;
  background:linear-gradient(120deg,rgba(39,211,193,.13),rgba(58,160,227,.13));border:1px solid var(--border-2);}
.callout h3{font-size:1.18rem;font-weight:720;margin:0 0 8px;}
.callout p{margin:0 0 16px;color:#e2ebf6;font-size:1.02rem;}
.callout .cta-row{display:flex;gap:12px;flex-wrap:wrap;}

/* comparison table */
.tbl-scroll{overflow-x:auto;margin:8px 0;border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow);}
table.cmp{border-collapse:collapse;width:100%;font-size:.97rem;min-width:640px;background:rgba(10,20,38,.6);}
table.cmp th,table.cmp td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--border);vertical-align:top;}
table.cmp thead th{background:rgba(255,255,255,.06);font-weight:700;color:#fff;}
table.cmp tbody tr:first-child td{background:rgba(39,211,193,.06);}
table.cmp tbody tr:last-child td{border-bottom:0;}
table.cmp .yes{color:var(--green);font-weight:700;}
table.cmp .no{color:#ff6b6b;}

/* key takeaways box */
.tldr{border-radius:var(--radius);padding:22px 26px;margin:0 auto 4px;max-width:960px;}
.tldr h2{font-size:1.05rem;text-transform:uppercase;letter-spacing:.12em;color:var(--teal);margin:0 0 12px;}
.tldr ul{margin:0;padding-left:20px;}
.tldr li{margin:0 0 8px;color:#e2ebf6;}

/* blog index hero + cards */
.blog-hero{padding:60px 0 26px;text-align:center;max-width:820px;margin:0 auto;}
.blog-hero h1{font-size:3rem;font-weight:800;margin-bottom:16px;}
.blog-hero p{font-size:1.18rem;color:var(--muted);margin:0 auto;max-width:600px;}
.post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;padding:20px 0;}
.post-card{display:flex;flex-direction:column;border-radius:var(--radius);padding:24px;overflow:hidden;color:inherit;
  transition:transform .15s ease,border-color .15s ease,background .2s ease;}
a.post-card:hover{transform:translateY(-4px);border-color:var(--border-2);background:var(--card-2);text-decoration:none;}
.post-card .thumb{margin:-24px -24px 20px;aspect-ratio:16/9;position:relative;overflow:hidden;
  background:linear-gradient(135deg,#123a63,#0a1526);}
.post-card .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.post-card .tag{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:12px;}
.post-card h2{font-size:1.34rem;font-weight:720;margin-bottom:10px;}
.post-card p{margin:0 0 16px;color:var(--muted);font-size:.98rem;}
.post-card .when{margin-top:auto;color:#6b7f95;font-size:.84rem;}

/* related posts */
.related{border-top:1px solid var(--border);margin-top:52px;padding-top:32px;max-width:960px;margin-left:auto;margin-right:auto;}
.related h2{font-size:1.35rem;font-weight:720;margin-bottom:18px;}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}

/* author / byline row */
.byline{display:flex;align-items:center;gap:12px;}
.byline .av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:700;color:#04141a;background:var(--accent);font-size:.9rem;}
.byline b{display:block;font-size:.92rem;}
.byline span{color:var(--muted);font-size:.82rem;}

/* footer (matches index.html) */
.foot{border-top:1px solid var(--border);margin-top:70px;padding:34px 0;}
.foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;}
.foot .brand{font-size:1rem;}
.foot nav{display:flex;gap:22px;flex-wrap:wrap;}
.foot nav a{color:var(--muted);font-weight:550;}
.foot nav a:hover{color:#fff;text-decoration:none;}
.foot .small{color:#6b7f95;font-size:.82rem;width:100%;}

@media (max-width:820px){
  .post-hero{min-height:280px;}
  .post-hero-inner{padding-top:24px;padding-bottom:24px;}
  .post-hero h1{font-size:1.95rem;}
  .lede{font-size:1.14rem;}
  .article-body{font-size:1.05rem;}
  .blog-hero{padding:40px 0 18px;}
  .blog-hero h1{font-size:2.05rem;}
  .blog-hero p{font-size:1.06rem;}
  .post-grid,.related-grid{grid-template-columns:1fr;}
  .nav-links{gap:16px;}
  .nav-links a.hide-sm{display:none;}
  figure.diagram{padding:10px;}
  .callout,.tldr,.pullquote{padding-left:18px;padding-right:18px;}
}
