/* Guardian patriotic homepage — scoped to the public homepage only.
   Design-only layer; does not change search, maps, accounts or server logic. */
body.guardian-home {
  --guardian-navy:#071b45; --guardian-blue:#1467d9;
  --guardian-red:#dc3448; --guardian-gold:#f3bd4b;
}
.guardian-home header.top {
  background:linear-gradient(105deg,rgba(7,24,63,.98),rgba(13,49,107,.97));
  border-bottom:1px solid rgba(92,200,255,.38);
  box-shadow:0 4px 25px rgba(0,0,0,.25);
}
.guardian-home header.top .brand {color:#fff;font-size:20px;letter-spacing:-.035em}
.guardian-home header.top .brand::before {content:"✦";color:var(--guardian-gold);margin-right:10px}
.guardian-home header.top nav a:not(.cta) {color:#eaf3ff}
.guardian-home header.top nav a:hover {color:#fff;text-decoration:underline;text-decoration-color:var(--guardian-red);text-underline-offset:6px}
.guardian-home .hero-band {
  position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 17% 43%,rgba(30,130,255,.36),transparent 42%),
  radial-gradient(ellipse at 95% 14%,rgba(194,39,65,.22),transparent 37%),
  linear-gradient(120deg,#061535 0%,#09295d 55%,#061a3e 100%);
  border-bottom:3px solid var(--guardian-red);
}
.guardian-home .hero-band::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(165deg,transparent 0 95px,rgba(255,255,255,.025) 96px 97px,transparent 98px 170px);
}
.guardian-home .hero-band::after {
  content:"";position:absolute;left:0;right:0;bottom:0;height:7px;pointer-events:none;
  background:linear-gradient(90deg,#c42d40 0 32%,#f7f8ff 32% 65%,#2279e8 65% 100%);
}
.guardian-home .hero {position:relative;min-height:610px;padding-top:50px;padding-bottom:66px}
.guardian-home .hero .eyebrow {color:#f9c75e;letter-spacing:.14em;font-weight:800;text-transform:uppercase}
.guardian-home .hero h1 {color:#fff;text-shadow:0 4px 28px rgba(0,0,0,.3);max-width:820px}
.guardian-home .hero h1 .gold {color:#f8c552}
.guardian-home .hero .lede {color:#e5efff;max-width:660px;font-size:clamp(15px,1.55vw,18px)}
.guardian-home .hero .note {color:#d4e4ff}
.guardian-home .hero-art {filter:drop-shadow(0 15px 38px rgba(31,150,255,.24))}
.guardian-home .hero .search {background:rgba(255,255,255,.97);border:1px solid rgba(128,207,255,.75);border-radius:20px;padding:12px;box-shadow:0 14px 38px rgba(0,0,0,.24),0 0 24px rgba(60,171,255,.18)}
.guardian-home .hero .search input,.guardian-home .hero .search select {background:#f1f6ff;color:#10294f;border:1px solid #cadcf4}
.guardian-home .hero .search .btn {background:linear-gradient(125deg,#d8273f,#a91f39);color:#fff;box-shadow:0 6px 18px rgba(188,35,61,.3)}
.guardian-home .section .display {letter-spacing:-.035em}
.guardian-home .feature {border-radius:20px;border-color:rgba(78,160,243,.32);box-shadow:0 8px 30px rgba(0,10,45,.1);transition:transform .2s ease,box-shadow .2s ease}
.guardian-home .feature:hover {transform:translateY(-3px);box-shadow:0 14px 35px rgba(24,107,208,.16)}
.guardian-home .feature .num {color:#f1b74d}
.guardian-home .liberty {border:1px solid rgba(100,180,255,.4);border-left:5px solid #d73b4e;border-radius:22px;box-shadow:0 14px 40px rgba(0,0,0,.14)}
.guardian-home .statband {border-top:3px solid #c83447}
.guardian-home .sample {border-radius:20px;box-shadow:0 16px 40px rgba(0,0,0,.16)}
.guardian-home .btn:focus-visible,.guardian-home a:focus-visible {outline:3px solid #f8c552;outline-offset:3px}
@media(max-width:760px) {
  .guardian-home .hero {padding-top:28px;padding-bottom:42px;min-height:0}
  .guardian-home .hero .search {padding:10px;border-radius:15px}
  .guardian-home .hero h1 {font-size:clamp(29px,8vw,43px)}
}
@media(prefers-reduced-motion:reduce) {.guardian-home .feature {transition:none}.guardian-home .feature:hover {transform:none}}

/* Approved concept layout: cinematic Guardian hero + accessible tool grid. */
.guardian-home header.top .brand img{object-fit:contain;filter:drop-shadow(0 0 8px rgba(50,185,255,.45))}
.guardian-home header.top .brand span{color:#5bd6ff;font-weight:800}
.guardian-home .hero{min-height:620px;padding-top:64px}
.guardian-home .hero-art{right:0;top:46px;width:min(37vw,440px)}
.guardian-home .hero-art .hero-guardian{width:100%;height:auto}
.guardian-home .hero .bubble{display:none}
.guardian-home .hero h1{font-size:clamp(48px,6.6vw,88px);max-width:650px;line-height:1.01;margin:14px 0 16px;letter-spacing:-.045em}
.guardian-home .hero h1 .gold{color:#46d6ff}
.guardian-home .guardian-hero-promise{position:relative;z-index:1;color:#fff;font-weight:800;font-size:clamp(19px,2vw,26px);line-height:1.25;margin:0 0 14px}
.guardian-home .guardian-hero-values{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 16px;color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.guardian-home .guardian-hero-values span{display:flex;align-items:center;gap:9px;background:rgba(0,68,160,.32);padding:8px 12px;border:1px solid rgba(75,186,255,.42);border-radius:12px}
.guardian-home .guardian-hero-values b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#096bdb;box-shadow:0 0 16px rgba(0,168,255,.55);font-size:23px}
.guardian-home .hero .lede{max-width:640px}
.guardian-home .hero .search{max-width:780px}
.guardian-home .guardian-home-features{position:relative;z-index:2;margin-top:-22px;padding-bottom:20px}
.guardian-home .guardian-home-section-heading{text-align:center;padding:36px 10px 24px}
.guardian-home .guardian-home-section-heading h2{font-size:clamp(25px,3.5vw,40px);margin:0 0 8px;letter-spacing:-.035em}
.guardian-home .guardian-home-section-heading p:last-child{color:var(--text-secondary);margin:0}
.guardian-home .guardian-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.guardian-home .guardian-home-card{display:flex;min-width:0;align-items:center;gap:10px;padding:12px 10px;border:1px solid #a7c8f2;border-radius:18px;background:linear-gradient(145deg,#fff,#eaf3ff);color:#09285c;text-decoration:none;box-shadow:0 8px 25px rgba(4,39,95,.13);transition:transform .2s,box-shadow .2s}
.guardian-home .guardian-home-card:hover{transform:translateY(-4px);box-shadow:0 13px 28px rgba(0,80,185,.2)}
.guardian-home .guardian-home-card img{width:40%;height:135px;object-fit:contain;flex:none}
.guardian-home .guardian-home-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.guardian-home .guardian-home-card strong{font-size:16px;line-height:1.2}
.guardian-home .guardian-home-card small{font-size:12px;line-height:1.4;color:#3b5278}
.guardian-home .guardian-home-arrow{background:#0769d9;color:#fff;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:18px}
.guardian-home .guardian-home-card:focus-visible{outline:3px solid #f3bd4b;outline-offset:3px}
@media(max-width:1050px){.guardian-home .guardian-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guardian-home .hero-art{width:32vw;top:105px}.guardian-home .hero h1{font-size:clamp(44px,6vw,68px)}}
@media(max-width:760px){.guardian-home .hero{min-height:0;padding-top:24px}.guardian-home .hero-art{position:relative;top:auto;right:auto;width:min(58vw,260px);margin:0 auto 8px}.guardian-home .hero h1{font-size:clamp(40px,10vw,60px)}.guardian-home .hero .search{max-width:none}.guardian-home .guardian-home-features{margin-top:0}.guardian-home .guardian-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guardian-home .guardian-home-card{flex-direction:column;align-items:center;text-align:center}.guardian-home .guardian-home-card img{width:100%;height:135px}.guardian-home .guardian-home-card-copy{align-items:center}}
@media(max-width:430px){.guardian-home .guardian-home-grid{grid-template-columns:1fr}.guardian-home .guardian-home-card{flex-direction:row;text-align:left}.guardian-home .guardian-home-card img{width:38%;height:115px}.guardian-home .guardian-home-card-copy{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.guardian-home .guardian-home-card{transition:none}.guardian-home .guardian-home-card:hover{transform:none}}
/* Release fixes (2026-10-31): keep "HOA Guardian" readable in the phone header (an older rule hides .brand span for
   the "by Wizdomhall" tag), and drop the decorative star there to make room. */
.guardian-home header.top .brand b span{display:inline}
@media(max-width:600px){.guardian-home header.top .brand::before{display:none}.guardian-home header.top .brand{font-size:17px}}
/* Card descriptions at the site's 14px floor. */
.guardian-home .guardian-home-card small{font-size:14px}

/* The front door (2026-11-05): mascot, headline, Join free and Sign in. Fills one phone screen without scrolling
   (svh = the screen height that's left once Safari's address bar is showing). */
.home-gate-page{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
.home-gate-page footer{margin-top:0}
.guardian-home .home-gate{flex:1;display:flex;align-items:center}
.home-gate .gate{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:32px;padding-top:40px;padding-bottom:56px;width:100%}
.home-gate .gate-guardian{order:2;width:100%;max-width:440px;height:auto;justify-self:center;filter:drop-shadow(0 15px 38px rgba(31,150,255,.24))}
.home-gate .eyebrow{color:#f9c75e;letter-spacing:.14em;font-weight:800;text-transform:uppercase;margin:0}
.home-gate h1{color:#fff;font-size:clamp(42px,6.4vw,84px);line-height:1.02;letter-spacing:-.045em;margin:12px 0 14px;text-shadow:0 4px 28px rgba(0,0,0,.3)}
.home-gate h1 .gold{color:#46d6ff}
.home-gate .gate-promise{color:#e5efff;font-weight:700;font-size:clamp(18px,1.9vw,24px);line-height:1.3;margin:0 0 26px;max-width:520px}
.home-gate .gate-actions{display:flex;gap:12px;flex-wrap:wrap;max-width:520px}
.home-gate .gate-actions .btn{flex:1 1 200px;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 24px;font-size:18px;font-weight:700;border-radius:14px;text-align:center}
.home-gate .gate-join{background:linear-gradient(125deg,#d8273f,#a91f39);color:#fff;box-shadow:0 8px 22px rgba(188,35,61,.35)}
.home-gate .gate-signin{background:rgba(255,255,255,.08);color:#fff;border:2px solid rgba(160,214,255,.75)}
.home-gate .gate-signin:hover{background:rgba(255,255,255,.16)}
.home-gate .gate-more{color:#d4e4ff;font-size:15px;margin:18px 0 0}
.home-gate .gate-more a{color:#fff;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:10px 0}
@media(max-width:760px){
  .home-gate .gate{grid-template-columns:1fr;gap:6px;padding-top:16px;padding-bottom:max(28px,env(safe-area-inset-bottom));text-align:center}
  .home-gate .gate-guardian{order:0;width:min(52vw,230px);max-height:30svh;object-fit:contain}
  .home-gate h1{font-size:clamp(36px,10.5vw,52px)}
  .home-gate .gate-promise{margin:0 auto 20px}
  .home-gate .gate-actions{flex-direction:column;margin:0 auto}
  .home-gate .gate-actions .btn{flex:none;width:100%}
}
/* Short phones (iPhone SE, 568 to 700 tall): a smaller Guardian and headline so both buttons stay on the first screen. */
@media(max-width:760px) and (max-height:700px){
  .home-gate .gate{padding-top:8px;padding-bottom:16px}
  .home-gate .gate-guardian{max-height:20svh}
  .home-gate h1{font-size:clamp(30px,9vw,40px);margin:6px 0 8px}
  .home-gate .gate-promise{font-size:16px;margin-bottom:14px}
  .home-gate .gate-actions{gap:8px}
  .home-gate .gate-actions .btn{min-height:50px}
  .home-gate .gate-more{margin-top:8px}
}
/* One flag stripe under the front door, not two (the footer's own stripe sits right under the hero's). */
.home-gate-page footer::before{display:none}
/* Phones: "Just looking?" links on their own lines, no stray dot. */
@media(max-width:760px){.home-gate .gate-more{display:flex;flex-direction:column;align-items:center;gap:0}.home-gate .gate-more span[aria-hidden]{display:none}.home-gate .gate-more a{padding:8px 0}}
/* Explore, visitors without an account (2026-11-06): the tool cards are a preview, not links. */
.guardian-home .guardian-home-card.card-locked{cursor:default}
.guardian-home .guardian-home-card.card-locked:hover{transform:none;box-shadow:0 8px 25px rgba(4,39,95,.13)}
.guardian-home .tools-join{text-align:center;margin:18px 0 6px}
.guardian-home .tools-join .btn{min-height:52px;display:inline-flex;align-items:center;padding:0 26px;font-size:17px;border-radius:12px}
/* The upgrade box's own display rule must not override "hidden" (paid members saw it, 2026-11-06). */
.guardian-home .cta-band[hidden]{display:none}
/* Neighbor invite page (join.html, 2026-11-06): the front door plus who invited you and how many neighbors joined. */
.home-gate h1{overflow-wrap:anywhere}
.home-gate .join-progress{max-width:520px;margin:0 0 14px}
.home-gate .join-progress .inv-count{color:#d4e4ff}
.home-gate .join-progress .inv-count b{color:#fff}
.home-gate .join-progress .inv-bar{background:rgba(255,255,255,.16)}
@media(max-width:760px){.home-gate .join-progress{margin:0 auto 14px}}
.home-gate .join-progress .note{color:#c4d6f5}
#join h1{font-size:clamp(30px,8vw,60px)}
/* Get the app page (app.html, 2026-11-14). */
.app-page .app-wrap{position:relative;z-index:1;max-width:560px;padding-top:32px;padding-bottom:48px;text-align:center}
.app-page .app-icon{width:132px;height:132px;border-radius:30px;box-shadow:0 18px 44px rgba(0,0,0,.4),0 0 36px rgba(60,190,255,.3)}
.app-page .eyebrow{color:#f9c75e;letter-spacing:.14em;font-weight:800;text-transform:uppercase;margin:18px 0 0}
.app-page h1{color:#fff;font-size:clamp(32px,8vw,52px);line-height:1.05;letter-spacing:-.04em;margin:10px 0 14px}
.app-page h1 .gold{color:#46d6ff}
.app-page .app-perks{list-style:none;padding:0;margin:0 auto 20px;display:grid;gap:8px;color:#e5efff;font-size:16px;text-align:left;max-width:440px}
.app-page .app-perks li{padding-left:28px;position:relative;line-height:1.45}
.app-page .app-perks li::before{content:"✓";position:absolute;left:0;color:#46d6ff;font-weight:800}
.app-page .app-install{text-align:left;color:var(--text-primary)}
.app-page .app-install h2{margin:0 0 8px;font-size:20px}
