/* Landing page for installers. Dark navy hero with a live demo TV, light content bands, a contact card. */
:root {
  --navy: #0e1a33; --navy-2: #16274a; --ink: #13203b; --soft: #5d6a85; --line: #e1e6ef;
  --ground: #f4f6fa; --surface: #fff; --accent: #2f6bff; --accent-2: #18b6a4; --gold: #f2b84b;
  --radius: 18px; --f: "Rubik", "Arial Hebrew", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.6 var(--f); }
a { color: var(--accent); text-decoration: none; }
h1, h2 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 600 16px var(--f); cursor: pointer; background: transparent; white-space: nowrap; }
.btn.primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 24px rgba(47, 107, 255, .35); }
.btn.primary:hover { background: #2559d9; }
.btn.ghost { min-height: 40px; padding: 0 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* top bar */
.top { position: absolute; inset: 0 0 auto; z-index: 5; padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.mark svg { width: 22px; height: 22px; }
.top-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top-nav a { color: rgba(255, 255, 255, .8); font-weight: 500; font-size: 15px; }
.top-nav a:hover { color: #fff; }

/* hero */
.hero { background: radial-gradient(900px 500px at 15% 10%, rgba(24, 182, 164, .25), transparent 60%), radial-gradient(900px 600px at 90% 90%, rgba(47, 107, 255, .3), transparent 60%), var(--navy); color: #fff; padding: 120px 0 80px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.kicker { color: var(--gold); font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #7fd8ff, #6ff0d2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: 19px; color: rgba(255, 255, 255, .78); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* the demo TV */
.tv { margin: 0; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 10px solid #0a0f1a; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#1a2235, #0a0f1a); border-radius: 0 0 10px 10px; }
.tv figcaption { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.themes button { font: 500 14px var(--f); color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 7px 14px; min-height: 36px; cursor: pointer; }
.themes button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }

/* content bands */
.band { padding: 88px 0; }
.band.alt { background: var(--surface); }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.sub { color: var(--soft); margin-top: 12px; font-size: 18px; max-width: 40em; }
.grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid li { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(19, 32, 59, .05), 0 8px 24px rgba(19, 32, 59, .06); display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--accent-2); }
.grid li:nth-child(2n) { border-top-color: var(--accent); }
.grid b { font-size: 18px; }
.grid span { color: var(--soft); font-size: 15px; line-height: 1.5; }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-inline-start: 34px; color: var(--soft); }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e2f6f2; color: #0f8f80; font-weight: 700; font-size: 14px; }
.checks b { color: var(--ink); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: s; background: var(--ground); border-radius: var(--radius); padding: 20px 22px 20px 22px; padding-inline-start: 74px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 20px; top: 20px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.steps span { color: var(--soft); font-size: 15px; }

/* add-ons for the committee */
.kicker.dark { color: #0f8f80; margin-bottom: 10px; }
.addons { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.addons > li { background: var(--ground); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.addons > li > b { font-size: 20px; }
.ad-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.ad-icon svg { width: 26px; height: 26px; }
.addons ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.addons ul li { position: relative; padding-inline-start: 18px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.addons ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.ad-trial { margin-top: 24px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius); background: #e2f6f2; color: #0b5f55; }
.ad-trial b { font-size: 18px; }

/* residents' portal: dark band with a phone */
.band.dark { background: radial-gradient(700px 420px at 85% 20%, rgba(47, 107, 255, .28), transparent 60%), var(--navy); color: #fff; }
.band.dark .sub { color: rgba(255, 255, 255, .75); }
.band.dark .checks li { color: rgba(255, 255, 255, .75); }
.band.dark .checks b { color: #fff; }
.band.dark .checks li::before { background: rgba(24, 182, 164, .22); color: #6ff0d2; }
.portal { align-items: center; }
.phone { justify-self: center; width: min(320px, 100%); border-radius: 38px; padding: 12px; background: #0a0f1a; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1); }
.ph-head { background: var(--accent); border-radius: 28px 28px 0 0; padding: 26px 20px 30px; display: flex; flex-direction: column; }
.ph-head b { font-size: 19px; } .ph-head span { font-size: 14px; opacity: .85; }
.ph-body { background: var(--ground); border-radius: 0 0 28px 28px; padding: 0 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.ph-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 4px 14px rgba(19, 32, 59, .08); }
.ph-card:first-child { margin-top: -16px; }
.ph-card small { font-weight: 700; font-size: 14px; }
.ph-fee { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-fee div { background: var(--ground); border-radius: 10px; padding: 6px 10px; display: flex; flex-direction: column; font-size: 12px; color: var(--soft); }
.ph-fee b { font-size: 18px; color: var(--ink); } .ph-fee .due b { color: #c3362b; }
.ph-btn { align-self: flex-start; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 7px 14px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.ph-pill { font-style: normal; font-weight: 700; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #fff2dc; color: #b26a00; white-space: nowrap; }
.ph-pill.ok { background: #e3f4ec; color: #17865a; }

/* contact */
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(19, 32, 59, .05), 0 12px 32px rgba(19, 32, 59, .08); display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.req { color: #c3362b; }
select, input, textarea { font: 16px var(--f); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
input[dir=ltr] { text-align: right; }
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 255, .2); }
.card { position: relative; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.err { color: #c3362b; background: #fbe9e7; border-radius: 10px; padding: 10px 14px; }
select { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 48px; width: 100%; }
select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 255, .2); }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--soft); cursor: pointer; }
label.check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 2px; flex: none; accent-color: var(--accent); }
.note { font-size: 13px; color: var(--soft); text-align: center; }
.note a { color: inherit; text-decoration: underline; }
.done { display: flex; flex-direction: column; gap: 4px; text-align: center; padding: 30px 0; }
.done b { font-size: 22px; color: #0f8f80; }

.foot { background: var(--navy); color: rgba(255, 255, 255, .65); padding: 26px 0 max(26px, env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: #fff; }

@media (max-width: 980px) {
  .hero { padding-top: 100px; }
  .hero-in, .two { grid-template-columns: 1fr; gap: 40px; }
  .grid, .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .phone { width: min(300px, 100%); }
  .top-in { justify-content: space-between; }
  .hero { padding: 92px 0 56px; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 auto; }
  .tv-screen { border-width: 6px; border-radius: 10px; }
  .band { padding: 60px 0; }
  .grid, .addons { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .row { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Text pages (privacy) */
.doc-top { background: var(--navy); }
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: 34px; margin-bottom: 6px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0 0; padding-inline-start: 22px; }
.doc li + li { margin-top: 8px; }
.doc-date { color: var(--soft); font-size: 15px; margin-bottom: 22px !important; }
.foot-links { display: flex; gap: 20px; }
.doc ul + p { margin-top: 14px; }

/* Cookie consent (tags.js): shown only when conversion tracking is set up */
.consent { position: fixed; inset: auto 0 0; z-index: 20; background: var(--navy); color: #fff; box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); padding: 18px 0 max(18px, env(safe-area-inset-bottom, 0px)); }
.consent-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.consent h2 { font-size: 18px; margin-bottom: 4px; }
.consent p { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 46em; }
.consent a { color: #fff; text-decoration: underline; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btn { min-width: 190px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.consent-btn:hover { background: rgba(255, 255, 255, .2); }
.foot .link-like { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .consent-btns, .consent-btn { flex: 1 1 100%; min-width: 0; } }

/* Partners page (/partners): the two tracks in the hero, and the price box beside each track */
.tracks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tracks a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.tracks a:hover { background: rgba(255, 255, 255, .12); }
.tracks b { font-size: 18px; }
.tracks span { color: rgba(255, 255, 255, .75); font-size: 15px; }
.side { display: flex; flex-direction: column; gap: 16px; }
.price { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.price small { color: var(--gold); font-weight: 600; font-size: 15px; }
.price b { font-size: 34px; font-weight: 800; line-height: 1.2; }
.price b span { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.price b.plus { font-size: 26px; }
.price p { color: rgba(255, 255, 255, .75); font-size: 15px; margin-top: 8px; }
@media (max-width: 640px) { .price b { font-size: 28px; } .price b.plus { font-size: 22px; } }

/* Committee page: the two subscription prices side by side */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; max-width: 720px; }
.note-left { color: var(--soft); font-size: 15px; margin-top: 16px; }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } }

/* Committee page: frequently asked questions (the same questions are in the page's FAQPage data) */
.faq { margin-top: 28px; max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(19, 32, 59, .05), 0 6px 18px rgba(19, 32, 59, .05); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; padding-inline-end: 48px; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--soft); }
@media (max-width: 640px) { .faq summary { font-size: 17px; padding: 14px 16px; padding-inline-end: 44px; } .faq details p { padding: 0 16px 16px; } }
