:root{
  --navy:#061f34;
  --navy2:#0a3658;
  --blue:#0d4f7a;
  --ink:#102737;
  --paper:#f4f6f7;
  --white:#fff;
  --gold:#f4bd4b;
  --orange:#ef8f2f;
  --muted:#647480;
  --line:rgba(6,31,52,.10);
  --shadow:0 14px 38px rgba(6,31,52,.10);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--paper)}
body{
  margin:0;
  min-height:100vh;
  padding-bottom:86px;
  color:var(--ink);
  background:linear-gradient(180deg,#edf3f6 0,#f6f7f7 34%,#f5f4f0 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(13,79,122,.22);outline-offset:2px}

.topbar{
  position:sticky;top:0;z-index:30;
  height:60px;padding:8px 14px;
  display:flex;align-items:center;justify-content:space-between;
  color:#fff;
  background:rgba(6,31,52,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand-mini{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:900;letter-spacing:.04em}
.brand-mini img{width:36px;height:36px;border-radius:11px;box-shadow:0 6px 18px rgba(0,0,0,.26)}
.top-actions{display:flex;gap:8px;align-items:center}
.icon-btn,.pill-btn{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  height:38px;border-radius:12px;font-weight:850;
}
.icon-btn{width:40px;font-size:18px}
.pill-btn{padding:0 13px;font-size:12px}
.install-mini{display:none}

.hero{
  color:#fff;
  padding:26px 16px 22px;
  border-radius:0 0 30px 30px;
  background:
    radial-gradient(circle at 86% 8%,rgba(244,189,75,.28),transparent 25%),
    radial-gradient(circle at 12% 90%,rgba(13,79,122,.50),transparent 28%),
    linear-gradient(145deg,#041b2d,#0a3658);
  box-shadow:0 18px 46px rgba(6,31,52,.19);
}
.hero-inner{
  max-width:780px;margin:0 auto;
  display:grid;grid-template-columns:94px minmax(0,1fr);gap:17px;align-items:center
}
.hero-logo{
  width:94px;height:94px;object-fit:cover;border-radius:23px;
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 13px 32px rgba(0,0,0,.28)
}
.kicker{
  margin-bottom:6px;color:#f6d485;font-size:10px;font-weight:950;
  letter-spacing:.17em;text-transform:uppercase
}
h1{margin:0 0 7px;font-size:clamp(29px,7vw,45px);line-height:1;letter-spacing:-.04em}
.hero p{margin:0;max-width:520px;color:rgba(255,255,255,.80);font-size:13px;line-height:1.45}
.hero-actions{
  max-width:780px;margin:18px auto 0;
  display:grid;grid-template-columns:1fr 1fr;gap:9px
}
.primary,.secondary{
  min-height:48px;border-radius:15px;padding:11px 13px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:13px;font-weight:900
}
.primary{
  color:#152839;background:linear-gradient(135deg,var(--gold),var(--orange));
  box-shadow:0 10px 26px rgba(239,143,47,.21)
}
.secondary{color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14)}
.method-strip{
  max-width:780px;margin:13px auto 0;padding:10px 12px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.80);font-size:10px;font-weight:750
}
.method-strip span{white-space:nowrap}
.method-strip b{
  display:inline-grid;place-items:center;width:19px;height:19px;margin-right:4px;
  border-radius:50%;background:rgba(244,189,75,.18);color:#f6d485;font-size:10px
}
.method-strip i{font-style:normal;color:rgba(255,255,255,.35);font-size:16px}

.page{max-width:820px;margin:0 auto;padding:17px 13px 24px}
.search-card,.install-card,.quote-card{
  background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:21px
}
.search-card{padding:15px}
.search-heading small,.section-head small,.install-copy small{
  display:block;margin-bottom:4px;color:#75838c;font-size:9px;font-weight:950;letter-spacing:.14em
}
.search-heading h2,.section-head h2,.install-copy h2{margin:0;letter-spacing:-.025em}
.search-heading h2{font-size:18px}
.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:11px}
.search-row input{
  width:100%;min-width:0;border:1px solid #d9e1e5;background:#f8fafb;
  border-radius:13px;padding:12px 13px;color:var(--ink);outline:none
}
.search-row input:focus{border-color:#2d6689;box-shadow:0 0 0 3px rgba(45,102,137,.09)}
.search-row button{
  border:0;border-radius:13px;padding:0 15px;color:#fff;background:var(--navy2);font-weight:900
}
.search-help{margin:7px 2px 0;color:var(--muted);font-size:10px;line-height:1.35}

.section{margin-top:21px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 2px 10px}
.section-head h2{font-size:20px}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.feature{
  position:relative;min-height:128px;padding:15px 14px;
  border:1px solid var(--line);border-radius:19px;background:#fff;
  box-shadow:0 9px 28px rgba(6,31,52,.06);overflow:hidden
}
.feature:active,.room:active,.topic:active{transform:scale(.987)}
.feature .emoji{display:block;margin-bottom:17px;font-size:27px}
.feature strong{display:block;margin:0 28px 5px 0;font-size:15px;line-height:1.15}
.feature small{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.feature:after{
  content:"›";position:absolute;right:12px;top:12px;
  display:grid;place-items:center;width:27px;height:27px;border-radius:50%;
  color:#31566e;background:#f0f4f6;font-size:20px;font-weight:800
}
.feature.highlight{background:linear-gradient(145deg,#fff6df,#fff);border-color:rgba(239,143,47,.23)}

.rooms{display:grid;grid-template-columns:1fr;gap:8px}
.room{
  min-height:72px;padding:11px 12px;
  display:grid;grid-template-columns:43px minmax(0,1fr) 22px;gap:10px;align-items:center;
  border:1px solid var(--line);border-radius:17px;background:#fff;
  box-shadow:0 7px 20px rgba(6,31,52,.045);
  transition:transform .15s ease
}
.bubble{
  width:43px;height:43px;display:grid;place-items:center;
  background:#eef3f6;border-radius:13px;font-size:21px
}
.room strong{display:block;font-size:14px;line-height:1.15}
.room small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.3}
.arrow{justify-self:end;color:#9aa6ad;font-size:22px}

.topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.topic{
  min-height:72px;padding:10px 12px;
  display:flex;align-items:center;gap:10px;
  border:1px solid var(--line);border-radius:17px;
  color:var(--ink);background:#fff;box-shadow:0 7px 20px rgba(6,31,52,.045);
  text-align:left;transition:transform .15s ease
}
.topic span{font-size:22px}
.topic b{font-size:13px}


.author-card{
  margin-top:21px;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:15px;
  align-items:stretch;
  padding:12px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:21px;
  background:
    radial-gradient(circle at 100% 0,rgba(244,189,75,.12),transparent 34%),
    #fff;
  box-shadow:var(--shadow);
}
.author-photo-link{
  display:block;
  min-height:150px;
  overflow:hidden;
  border-radius:16px;
  background:#dfe7eb;
}
.author-photo{
  width:100%;
  height:100%;
  min-height:150px;
  display:block;
  object-fit:cover;
  object-position:center 20%;
}
.author-content{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:4px 4px 4px 0;
}
.author-content small{
  display:block;
  margin-bottom:5px;
  color:#a96b19;
  font-size:9px;
  font-weight:950;
  letter-spacing:.13em;
}
.author-content h2{
  margin:0;
  color:var(--navy);
  font-size:19px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.author-content p{
  margin:7px 0 10px;
  color:var(--muted);
  font-size:11px;
  line-height:1.42;
}
.author-cta{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border-radius:12px;
  color:#fff;
  background:var(--navy2);
  font-size:11px;
  font-weight:900;
}
.author-cta span{
  font-size:18px;
  line-height:.8;
}
@media (max-width:390px){
  .author-card{grid-template-columns:96px minmax(0,1fr);gap:12px}
  .author-photo-link,.author-photo{min-height:142px}
  .author-content h2{font-size:17px}
  .author-content p{font-size:10px}
}
@media (min-width:620px){
  .author-card{
    grid-template-columns:165px minmax(0,1fr);
    padding:15px;
    gap:20px;
  }
  .author-photo-link,.author-photo{min-height:205px}
  .author-content h2{font-size:24px}
  .author-content p{max-width:490px;font-size:13px}
  .author-cta{font-size:12px;padding:10px 14px}
}

.install-card{
  margin-top:21px;padding:18px;
  display:grid;grid-template-columns:52px minmax(0,1fr);gap:3px 12px;align-items:start
}
.install-icon{
  grid-row:1/3;width:52px;height:52px;display:grid;place-items:center;
  border-radius:16px;background:linear-gradient(145deg,#fff3d3,#ffe5b0);font-size:27px
}
.install-copy h2{font-size:19px}
.install-copy p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.install-cta{
  grid-column:1/-1;margin-top:12px;width:100%;
  border:0;border-radius:14px;padding:12px 14px;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  color:#14293a;font-weight:950
}
.howto-btn{
  grid-column:1/-1;margin-top:7px;border:0;background:transparent;
  color:#315f7d;font-size:11px;font-weight:850;padding:5px
}

.quote-card{position:relative;margin-top:13px;padding:17px 18px 15px;overflow:hidden}
.quote-mark{
  position:absolute;right:14px;top:-17px;color:#edf2f4;font-family:Georgia,serif;
  font-size:92px;line-height:1;pointer-events:none
}
.quote-card p{position:relative;margin:0 0 6px;font-size:17px;letter-spacing:-.01em}
.quote-card small{position:relative;color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.12em}

.utility-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.utility{
  min-height:43px;padding:9px 10px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.72);
  color:#38586d;font-size:10px;font-weight:850;text-align:center
}
button.utility{width:100%}

.legal{
  margin:16px 10px 0;text-align:center;color:#7a8790;
  font-size:9px;line-height:1.45
}
.legal a{text-decoration:underline}

.bottom-nav{
  position:fixed;left:50%;bottom:0;z-index:40;transform:translateX(-50%);
  width:min(100%,820px);
  display:grid;grid-template-columns:repeat(5,1fr);
  padding:7px 7px max(8px,env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(20px);
  border-top:1px solid rgba(6,31,52,.10);
  box-shadow:0 -10px 28px rgba(6,31,52,.08)
}
.bottom-nav a,.bottom-nav button{
  min-width:0;border:0;background:transparent;color:#61717c;
  display:grid;place-items:center;gap:2px;padding:2px;
  font-size:9px;font-weight:850
}
.bottom-nav .nav-icon{font-size:19px;line-height:1.1}
.bottom-nav .active{color:var(--navy2)}

.toast{
  position:fixed;left:50%;bottom:88px;z-index:60;
  max-width:88%;padding:10px 13px;border-radius:13px;
  color:#fff;background:#10283a;box-shadow:0 12px 30px rgba(0,0,0,.22);
  font-size:11px;text-align:center;
  opacity:0;pointer-events:none;transform:translate(-50%,16px);transition:.22s
}
.toast.show{opacity:1;transform:translate(-50%,0)}

.modal{
  position:fixed;inset:0;z-index:70;display:none;align-items:end;justify-content:center;
  padding:12px;background:rgba(0,16,27,.65)
}
.modal.show{display:flex}
.sheet{
  position:relative;width:min(100%,520px);max-height:86vh;overflow:auto;
  padding:13px 19px 19px;border-radius:25px;background:#fff;
  box-shadow:0 20px 70px rgba(0,0,0,.30)
}
.sheet-handle{width:42px;height:4px;margin:0 auto 12px;border-radius:5px;background:#d8dfe3}
.close-btn{
  position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;
  color:#5f6f79;background:#f0f3f5;font-size:22px;line-height:1
}
.sheet-icon{font-size:31px}
.sheet h2{margin:5px 42px 9px 0;font-size:22px}
.instructions{color:#536570;font-size:13px;line-height:1.5}
.instructions ol{margin:8px 0 0;padding-left:22px}
.instructions li{margin:5px 0}
.sheet-primary{
  width:100%;margin-top:13px;padding:12px;border:0;border-radius:13px;
  color:#fff;background:var(--navy2);font-weight:900
}

.offline{
  display:none;padding:7px 11px;text-align:center;
  color:#694d08;background:#fff2cf;border-bottom:1px solid #efd18a;font-size:10px
}
.offline.show{display:block}

@media (min-width:620px){
  body{padding-bottom:92px}
  .hero{padding:34px 22px 27px}
  .hero-inner{grid-template-columns:128px minmax(0,1fr)}
  .hero-logo{width:128px;height:128px;border-radius:28px}
  .hero p{font-size:14px}
  .page{padding:21px 20px 34px}
  .feature-grid{grid-template-columns:repeat(4,1fr)}
  .feature{min-height:150px}
  .rooms{grid-template-columns:1fr 1fr}
  .topic-grid{grid-template-columns:repeat(4,1fr)}
  .topic{justify-content:center;flex-direction:column;gap:5px;text-align:center;min-height:88px}
}
@media (min-width:880px){
  .bottom-nav{border-radius:18px 18px 0 0}
}
@media (max-width:390px){
  .hero-inner{grid-template-columns:78px minmax(0,1fr)}
  .hero-logo{width:78px;height:78px;border-radius:19px}
  .hero-actions{grid-template-columns:1fr}
  .method-strip{gap:4px;font-size:9px}
  .method-strip i{font-size:13px}
  .feature{min-height:122px}
}
