/* Canadare theme ("Pacific Azure Modern") for the dashboards. Hand-written, no build step. Tokens: .planning findings §2. */
@font-face{font-family:Inter;src:url(fonts/inter-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Inter fallback";src:local("Arial");size-adjust:107.4%;ascent-override:90.2%;descent-override:22.5%;line-gap-override:0%;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* the system font, sized like Inter: when Inter arrives late the lines do not move. Its range is the Inter file's own (the latin subset): a character Inter
   lacks, like the arrow in "Thu→Sun", still comes from the system font, as it did before this face existed */
@font-face{font-family:Sora;src:url(fonts/sora-latin.woff2) format("woff2");font-weight:100 800;font-style:normal;font-display:optional}
:root{color-scheme:light;
  --navy:#154270;--navy-deep:#002c52;--leaf:#8EC446;--leaf-hover:#7ab63a;--leaf-ink:#102000;
  --tangerine:#EF7C22;/* decorative brand accent: marketing page only */--orange:#EB7100;/* data meaning: chart marks, dots */
  --canvas:#f8f9ff;--tint-lo:#eff4ff;--tint:#e5eeff;--tint-hi:#dbe9ff;
  --ink:#051d33;--ink-2:#42474f;--ink-3:#737780;/* ink-3: large text and input borders only (4.49:1) */--mist:#c3c6d0;--outline:#737780;
  --line-navy:rgba(21,66,112,.10);--shadow-card:0 4px 20px rgba(21,66,112,.05);--shadow-float:0 12px 40px rgba(21,66,112,.14);
  --error:#ba1a1a;--error-bg:#ffdad6;--badge-ink:#743500;--badge-bg:#ffdbc8;
  --down:#9a4a00;--up:#416900;--row-lo:#eef7e0;--row-hi:#fdecdc;
  --r-chip:4px;--r:8px;--r-card:16px;--r-full:9999px;
  --font:Inter,"Inter fallback",system-ui,sans-serif;--font-head:Sora,system-ui,sans-serif;
  --t-display:600 48px/56px var(--font-head);--t-h-lg:600 32px/40px var(--font-head);--t-h-lg-m:600 28px/36px var(--font-head);--t-h-md:500 24px/32px var(--font-head);
  --t-body-lg:400 18px/28px var(--font);--t-body:400 16px/24px var(--font);--t-label:600 14px/20px var(--font);--t-caption:400 12px/16px var(--font);
  --max:1280px;--gutter:24px;--margin:40px;--section:80px;
  --ctl:36px;--ctl-dense:32px;--cell:8px}
@media (max-width:1279px){:root{--margin:24px}}
@media (max-width:767px){:root{--margin:16px;--section:48px}}
/* DESIGN.md's 44px minimum is for touch: honoured on touch devices and on every screen under 768px; 36 / 32px with a mouse on desktop (dense admin tables) */
@media (pointer:coarse),(max-width:767px){:root{--ctl:44px;--ctl-dense:44px;--cell:12px}}

*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:72px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--canvas);color:var(--ink);font:var(--t-body)}
main{max-width:var(--max);margin:0 auto;padding:24px var(--margin) var(--section)}
h1,h2,h3{margin:0 0 8px;color:var(--navy)}
h1{font:var(--t-h-lg);letter-spacing:-.02em}
h2{font:var(--t-h-md)}
h3{font:600 18px/28px var(--font-head);margin-top:24px}
h1 small,h2 small,h3 small{display:block;margin-top:4px;font:400 14px/20px var(--font);letter-spacing:0;color:var(--ink-2)}
p{margin:8px 0}
small{font:var(--t-caption);color:var(--ink-2)}
a{color:var(--navy);text-underline-offset:2px}
a:hover{color:var(--navy-deep)}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.icon{flex:none;vertical-align:-4px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:8px;z-index:30;padding:8px 16px;background:#fff;border-radius:var(--r)}

/* shell: sticky glass nav, slim footer */
.nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:var(--gutter);padding:0 var(--margin);min-height:56px;
  background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line-navy)}
.brand{display:inline-flex;align-items:center;min-height:var(--ctl);font:600 18px/28px var(--font-head);color:var(--navy);text-decoration:none;white-space:nowrap}
.nav nav{display:flex;flex:1;gap:8px;overflow-x:auto;min-width:0}
.nav nav a span,.who>span{max-width:24ch;overflow:hidden;text-overflow:ellipsis}/* a long property name or email is cut with an ellipsis, not the nav */
.who{display:flex;align-items:center;gap:4px 12px;margin-left:auto;font:var(--t-label);white-space:nowrap}
.who>a:not(.btn){display:inline-flex;align-items:center;min-height:var(--ctl);padding:0 8px;text-decoration:none}
.who>span{color:var(--ink-2)}
.nav nav a,.tabs a,.footer a{display:inline-flex;align-items:center;gap:6px;min-height:var(--ctl);padding:0 12px;border-radius:var(--r);font:var(--t-label);text-decoration:none;white-space:nowrap}
.nav nav a:hover,.tabs a:hover{background:var(--tint-lo)}
.nav nav a[aria-current]{background:var(--tint)}
.footer{display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;max-width:var(--max);margin:0 auto;padding:16px var(--margin) 32px;border-top:1px solid var(--line-navy)}
.footer a{padding:0;color:var(--ink-2)}
.footer .about,.footer p{flex-basis:100%;font-size:14px;line-height:20px}
.fields.one{grid-template-columns:1fr}
.fields.one>p,.fields.one>small{margin:-8px 0 0}
.hp{position:absolute;left:-9999px}/* the honeypot: off screen, out of the tab order, hidden from screen readers */
.acct{padding:12px 0;border-bottom:1px solid var(--mist)}
.acct:last-of-type{border-bottom:0}
.head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:8px}
.head h1{margin:0}
.tabs{display:flex;gap:4px;margin:0 0 24px;border-bottom:1px solid var(--mist);overflow-x:auto}
.tabs a{border-radius:var(--r) var(--r) 0 0;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--ink-2)}
.tabs a[aria-current]{color:var(--navy);border-bottom-color:var(--navy)}

/* cards */
.card,.roll{background:#fff;border:1px solid var(--line-navy);border-radius:var(--r-card);box-shadow:var(--shadow-card);padding:24px;margin:0 0 24px}
.card>:first-child,.roll>:first-child{margin-top:0}
.card>:last-child,.roll>:last-child{margin-bottom:0}
.narrow{max-width:560px;margin:48px auto}
@media (max-width:767px){.card,.roll{padding:16px;margin-bottom:16px}}

/* buttons: a bare <button> is the navy primary */
button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--ctl);padding:0 16px;border:1px solid var(--navy);border-radius:var(--r);
  background:var(--navy);color:#fff;font:var(--t-label);letter-spacing:.05em;text-decoration:none;white-space:nowrap;cursor:pointer}
button:not(:disabled):hover,.btn:hover{background:var(--navy-deep);border-color:var(--navy-deep);color:#fff}
button:disabled{opacity:.5;cursor:not-allowed}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--mist)}
.btn-ghost:not(:disabled):hover{background:var(--tint-lo);border-color:var(--navy);color:var(--navy-deep)}
.btn-danger{background:transparent;color:var(--error);border-color:var(--mist)}
.btn-danger:not(:disabled):hover{background:var(--error-bg);border-color:var(--error);color:var(--error)}
.btn-cta{background:var(--leaf);border-color:var(--leaf);color:var(--leaf-ink)}
.btn-cta:not(:disabled):hover{background:var(--leaf-hover);border-color:var(--leaf-hover);color:var(--leaf-ink)}
.btn-cta:active{transform:scale(.98)}
.btn-sm{min-height:var(--ctl-dense);padding:0 12px}
form.inline{display:inline-block;margin:0}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.actions form{margin:0}

/* inputs: text-like only; checkboxes keep the browser's box in navy */
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{min-height:var(--ctl);max-width:100%;padding:0 16px;border:1px solid var(--outline);border-radius:var(--r);
  background:#fff;color:var(--ink);font:400 14px/20px var(--font);font-variant-numeric:tabular-nums}
textarea{padding:8px 16px;width:100%}
input[type=number]{width:7em}
input::placeholder,textarea::placeholder{color:var(--ink-2);opacity:1}
input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{outline:1px solid var(--navy);outline-offset:-2px;border-color:var(--navy)}/* 2px navy edge, no glow */
input[type=checkbox],input[type=radio]{accent-color:var(--navy);width:20px;height:20px;flex:none;margin:0;vertical-align:-4px}
label{font:var(--t-label)}
label:has(>input[type=checkbox]),label:has(>input[type=radio]){display:inline-flex;align-items:center;gap:6px;min-height:var(--ctl);font-weight:400}
/* a form laid out as a grid of labelled fields: label text above, control below; placeholder-only inputs carry an aria-label and sit on the same base line */
.fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;align-items:end;margin:16px 0}
.fields label,.fields>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.fields label>input:not([type=checkbox]),.fields label>select,.fields label>textarea,.fields>input{width:100%}
.fields>.wide{grid-column:1/-1}
.fields label:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:6px}
.fields.top{align-items:start}
.days{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.days input{width:4.5em;padding:0 8px}
.row,form.row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0}/* text, labels and controls on one line that wraps between items */
.row label{display:inline-flex;align-items:center;gap:6px;max-width:100%}/* a label and its control stay side by side; a long label wraps beside the control */
.row>span{text-wrap:balance;text-wrap:pretty}/* no "·" left alone on a line */
#schedule small{white-space:nowrap}/* "next:" stays with its date */
.row input[type=number]{width:6em;padding:0 8px}
.row input[type=number][placeholder]{width:11em}
.row~span.muted{display:block}
@media (pointer:coarse),(max-width:767px){input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px}}/* 16px: iOS does not zoom the page on focus */

/* disclosure */
details{margin:8px 0}
details.card{margin:0 0 24px}
summary{min-height:var(--ctl);padding:calc((var(--ctl) - 24px)/2) 8px;border-radius:var(--r);color:var(--navy);font:600 16px/24px var(--font);cursor:pointer}
summary:hover{background:var(--tint-lo)}
summary small{font-weight:400}
summary.long{font:500 14px/20px var(--font);color:var(--ink)}

/* tables: zebra on plain tables, numbers in tabular figures, hairline under the header only */
[hidden]{display:none!important}/* the stay picker hides tables with the hidden attribute: no display rule below may bring them back */
table{border-collapse:collapse;width:100%;margin:8px 0;font:400 14px/20px var(--font);font-variant-numeric:tabular-nums}
th,td{padding:var(--cell) 12px;text-align:left;vertical-align:top}
th{background:var(--tint);color:var(--ink);font-weight:600;border-bottom:1px solid var(--mist)}
tr:nth-child(even)>td{background:var(--tint-lo)}
.num{text-align:right}
td input:not([type=checkbox]):not([type=radio]):not([type=hidden]),td select{min-height:var(--ctl-dense);padding:0 8px}
td input[type=number]{width:5em}
td input[name=pool_heat_note]{width:8em}
td button{min-height:var(--ctl-dense);padding:0 12px}
td form.inline{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0}/* 8px between touch targets, also when they stack */
caption{text-align:left;padding:8px 0}
.mini{width:auto;font-size:13px}
.scroll{overflow-x:auto;container-type:inline-size}
table.fit td:first-child,table.log td:first-child{white-space:nowrap}
table.stack td:first-child small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/* the owner's email under the name: one line, cut with an ellipsis (its title holds it whole) */
table.stack td:first-child{min-width:12ch;max-width:28ch;overflow-wrap:anywhere}/* a long property name wraps instead of pushing the other columns out */
/* rows that carry meaning (Report by stay): no zebra, a hairline per row, the row's tint says where our price sits */
table.report>tbody>tr>td{background:#fff;border-bottom:1px solid var(--mist)}
table.report tr.lo>td,tr>td.lo{background:var(--row-lo)}
table.report tr.hi>td,tr>td.hi{background:var(--row-hi)}
table.report tr.mid>td{background:#fff}
/* wide tables (17-18 columns) scroll inside their card; the first column stays in view */
.wide>table{min-width:1400px}/* 17-18 columns need about this much to stay readable: the table scrolls inside its card */
@media (min-width:1280px){.wide>table{min-width:100%}}/* on a wide desktop the table takes what its columns need: Comps, Found comps and Report by stay still overflow a 1280px card and scroll inside it */
.wide>table.report>tbody>tr>td:last-child{min-width:300px}/* the advice text: a readable column, not a ribbon */
.wide>table>tbody>tr>td,.wide>table>tbody>tr>th{padding-left:8px;padding-right:8px}
@media (min-width:1024px){table.recs>tbody>tr>td:nth-child(5),table.recs .pull>summary{white-space:nowrap}}
.wide>table>tbody>tr>td:first-child,.wide>table>tbody>tr>th:first-child{position:sticky;left:0;z-index:1;min-width:min(45vw,180px);max-width:45vw;white-space:normal;box-shadow:1px 0 0 var(--mist)}
.wide>table>tbody>tr:nth-child(odd)>td:first-child{background-color:#fff}
.wide>table.report>tbody>tr.lo>td:first-child{background-color:var(--row-lo)}
.wide>table.report>tbody>tr.hi>td:first-child{background-color:var(--row-hi)}
/* an open "why" pull-down: the first column keeps its width (the numbers stay in view); the panel lies over the rest of ITS row, as wide as the card's visible width, with its own scroller.
   width + an equal negative margin = no contribution to the column's width */
.wide>table>tbody>tr>td:first-child:has(details[open]){z-index:2}
.wide details[open]>.why{width:calc(100vw - 2*var(--margin) - 74px);margin-right:calc(2*var(--margin) + 74px - 100vw);width:calc(100cqw - 8px);margin-right:calc(8px - 100cqw);padding:4px 8px;background:#fff}/* 8px = the cell's own left padding: the panel ends at the card's visible edge */
/* the "why" pull-down */
.pull{margin:0}
.pull summary{min-height:var(--ctl-dense);padding:calc((var(--ctl-dense) - 20px)/2) 4px;font:600 14px/20px var(--font)}
.pull p{margin:4px 0;font-size:13px}
.pull table{width:auto;margin:4px 0 8px;font-size:13px;background:#fff}
.pull td,.pull th{padding:4px 8px}

/* meaning: text in the dark inks, fills in the brand colours */
.ok,.up{color:var(--up)}
.error{color:var(--error)}
.running,.warn,.down{color:var(--down)}
.muted,.zero{color:var(--ink-2)}
span.muted,p.muted{font-size:14px;line-height:20px}
.chip,.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:var(--r-chip);font:var(--t-label);letter-spacing:.05em}
.chip-ok,.badge.on{background:var(--leaf);color:var(--leaf-ink)}
.chip-warn,.badge.dry{background:var(--badge-bg);color:var(--badge-ink)}
.chip-info{background:var(--tint);color:var(--navy)}
p.error{padding:8px 12px;border-radius:var(--r);background:var(--error-bg)}
.notice{margin:0 0 16px;padding:8px 12px;border-radius:var(--r);background:var(--badge-bg);color:var(--badge-ink)}/* why a click did nothing (?msg=): one line above the page */
.legend{display:flex;gap:16px;font:400 12px/16px var(--font);color:var(--ink-2)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:50%;background:var(--navy)}
.legend i.comp{background:var(--leaf)}
.chart{position:relative;height:300px;margin:8px 0}
.therm{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin:0}
.therm label{display:block;min-height:0;padding:calc((var(--ctl) - 24px)/2) 0;line-height:24px;overflow-wrap:anywhere}/* a long home name wraps like a sentence beside its box */
.therm label input{margin-right:6px}

@media (max-width:767px){
  h1{font:var(--t-h-lg-m)}
  h2{font:500 20px/28px var(--font-head)}
  button,.btn{white-space:normal;text-align:center}/* a long label wraps on a phone rather than push the page sideways */
  .actions>form,.actions>form>button,.actions>button{width:100%}
  .fields{grid-template-columns:1fr}
  .nav{position:static;flex-wrap:wrap;gap:0 12px}/* the wordmark and the account on one line, the properties on the next; two rows are too tall to pin to a phone's screen: it scrolls away */
  .nav nav{order:3;flex-basis:100%}
  .who>span,.who>.btn-cta{display:none}/* a phone's public header: the wordmark and Log in, one line */
  html{scroll-padding-top:16px}
  table.plan,table.plan>tbody,table.plan>tbody>tr,table.plan>tbody>tr>td{display:block}/* the plan card's price table: three lines, not three squeezed columns */
  table.plan>tbody>tr:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  table.plan>tbody>tr>td{padding:4px 0;background:none;text-align:left}
  table.plan>tbody>tr>td[data-label]::before{content:attr(data-label) ": ";font-weight:600}
  /* Tables a phone reads top to bottom: each row becomes a small block, nothing scrolls sideways. The header row stays for screen readers;
     a value that needs its column's name shows it from data-label. (The 17-18 column admin tables keep scrolling inside their card: .wide) */
  table:is(.recs,.fit,.log,.runs,.stack),table:is(.recs,.fit,.log,.runs,.stack)>tbody{display:block}
  table:is(.recs,.fit,.log,.runs,.stack)>tbody>tr{padding:12px 0;border-bottom:1px solid var(--mist)}
  table:is(.recs,.fit,.log,.runs,.stack)>tbody>tr:first-child{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
  table:is(.recs,.fit,.log,.runs)>tbody>tr>td{display:block;min-width:0;padding:0;background:none;text-align:left;white-space:normal}
  /* Recommendations and the trends tables: the first cell across, then three values to a line, each under its column's name */
  table:is(.recs,.fit)>tbody>tr{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 12px}
  table:is(.recs,.fit)>tbody>tr>td:first-child{grid-column:1/-1}
  table:is(.recs,.fit)>tbody>tr>td:not(:first-child)[data-label]::before{content:attr(data-label);display:block;font:var(--t-caption);color:var(--ink-2)}
  table.fit>tbody>tr>td:first-child{font-weight:600}
  table.recs>tbody>tr>td:nth-child(5){grid-column:1/-1;font-weight:600;color:var(--navy)}
  table.recs>tbody>tr>td[data-label]:nth-child(5)::before{content:none}/* the action needs no caption ([data-label] only to outweigh the rule above) */
  table.recs>tbody>tr>td:nth-child(n+2):nth-child(-n+4){font:600 16px/24px var(--font)}
  table.recs>tbody>tr>td.lo,table.recs>tbody>tr>td.hi{padding:0 8px;border-radius:var(--r-chip)}
  table.recs>tbody>tr>td.lo{background:var(--row-lo)}
  table.recs>tbody>tr>td.hi{background:var(--row-hi)}
  table.recs .pull[open] .scroll{max-width:100%}
  /* Energy log and Recent runs: a few wrapping lines per row */
  table:is(.log,.runs)>tbody>tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
  table:is(.log,.runs)>tbody>tr>td{flex:0 0 auto;overflow-wrap:anywhere}
  table:is(.log,.runs)>tbody>tr>td:empty{display:none}
  table.log>tbody>tr>td{flex:1 1 30%}/* time, state, thermostat | mode, setpoint, room | action + detail */
  table.log>tbody>tr>td:nth-child(1){font-weight:600}
  table.log>tbody>tr>td:nth-child(n+4):nth-child(-n+6){color:var(--ink-2)}
  table.log>tbody>tr>td[data-label]:not(:empty)::before{content:attr(data-label) " ";font:var(--t-caption)}
  table.log>tbody>tr>td:nth-child(7){flex:0 0 auto;font-weight:600}
  table.log>tbody>tr>td:nth-child(8){flex:1 1 60%}
  table.log>tbody>tr>td[colspan]{flex-basis:100%}
  table.runs td[data-label="#"]{order:1;color:var(--ink-2)}/* #, kind, status | started, cost | property | note */
  table.runs td[data-label="#"]::before{content:"#"}
  table.runs td[data-label=Kind]{order:2;font-weight:600}
  table.runs>tbody>tr>td[data-label=Status]{order:3;flex:1 1 40%}/* wide enough that the time always starts the second line */
  table.runs>tbody>tr>td[data-label=Started]{order:4;flex:1 1 60%;color:var(--ink-2)}
  table.runs td[data-label=Cost]{order:5}
  table.runs>tbody>tr>td[data-label=Property],table.runs>tbody>tr>td[data-label=Note]{order:6;flex:1 1 100%}
  /* Properties (index): a block of labelled lines per property */
  table.stack>tbody>tr{display:block}
  table.stack>tbody>tr>td{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;max-width:none;padding:2px 0;background:none}
  table.stack>tbody>tr>td[data-label]::before{content:attr(data-label);flex:none;width:7.5em;font:var(--t-caption);color:var(--ink-2)}
  table.stack>tbody>tr>td:first-child{font:600 18px/28px var(--font-head)}
  table.stack>tbody>tr>td a{display:inline-flex;align-items:center;min-height:var(--ctl)}
}
/* ---- public site: site.html (header, footer), landing.html, pages/*. Designed at 375px, widened below ---- */
.nav.site nav{display:none}
.menu{position:relative;margin:0}
.menu summary{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid var(--mist);font:var(--t-label);letter-spacing:.05em;list-style:none}
.menu summary::-webkit-details-marker{display:none}
.menu div{position:absolute;right:0;top:calc(100% + 8px);display:grid;min-width:220px;padding:8px;background:#fff;border:1px solid var(--line-navy);border-radius:var(--r-card);box-shadow:var(--shadow-float)}
.menu a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--r);font:var(--t-label);text-decoration:none}
main>section{margin:0 0 var(--section);scroll-margin-top:72px}
main>section h2{font:600 24px/32px var(--font-head);letter-spacing:-.02em}
.lead{font:var(--t-body-lg)}
.hero{display:grid;gap:24px}
.hero h1{margin:8px 0 12px}
.hero p{margin:0}
.early{display:inline-flex;align-items:center;gap:8px;font:var(--t-label);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.early i{width:8px;height:8px;border-radius:50%;background:var(--tangerine)}/* the one tangerine accent above the fold */
.go{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin:20px 0 12px!important}
.go .btn-cta,.closing .btn-cta,.bar .btn-cta,.band .btn-cta{min-height:48px;padding:0 24px;font-size:16px;letter-spacing:.02em}
.go a:not(.btn){display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.phone{justify-self:center;width:min(290px,78vw);padding:10px;border-radius:44px;background:#0d2238;box-shadow:var(--shadow-float);scroll-margin-top:72px}
.phone video{display:block;width:100%;height:auto;border-radius:34px;background:var(--canvas)}
.facts ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;list-style:none}
.facts li{padding:6px 14px;border-radius:var(--r-full);background:var(--tint);color:var(--navy);font:var(--t-label)}
.benefit{margin:0 0 48px}
.benefit ul{display:grid;gap:8px 32px;margin:12px 0 20px;padding:0;list-style:none}
.benefit li{position:relative;padding-left:20px}
.benefit li::before{content:"";position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--leaf)}
.tag{display:inline-block;margin:0 0 8px;padding:2px 10px;border-radius:var(--r-full);background:var(--tint);color:var(--navy);font:var(--t-label)}
.shot{position:relative;overflow:hidden;border:1px solid var(--line-navy);border-radius:var(--r-card);box-shadow:var(--shadow-card);background:var(--canvas)}
/* two phone screenshots are long and their top is the story: each is cut at a row boundary of its own picture (the ratio is the picture's width over that row's
   y: the trends card to the end of its note, the energy log to the end of the "guest override" row), with a short fade over the cut. The pricing picture is whole */
.shot.trends{aspect-ratio:780/1072}
.shot.energy{aspect-ratio:780/1190}
.shot.trends::after,.shot.energy::after{content:"";position:absolute;left:0;right:0;bottom:0;height:20px;background:linear-gradient(rgba(248,249,255,0),var(--canvas))}
.shot img,.email img{display:block;width:100%;height:auto}
.diff{display:grid;gap:16px 24px;margin:20px 0}
.diff>div,.steps li{padding:16px 20px;background:#fff;border:1px solid var(--line-navy);border-radius:var(--r-card);box-shadow:var(--shadow-card)}
.diff p{margin:0}
.diff .muted{margin-bottom:6px;font-size:14px;line-height:20px}
.steps{display:grid;gap:16px 24px;margin:20px 0;padding:0;list-style:none;counter-reset:step}
.steps li{counter-increment:step;color:var(--ink-2)}
.steps li::before{content:counter(step);display:inline-grid;place-items:center;width:32px;height:32px;margin-right:12px;border-radius:50%;background:var(--navy);color:#fff;font:var(--t-label);vertical-align:8px}
.steps .icon{color:var(--navy)}
.steps b{display:block;margin:8px 0 4px;color:var(--navy);font:600 18px/28px var(--font-head)}
.email{display:grid;gap:24px;align-items:center}
.email img{justify-self:center;max-width:280px}
.price{max-width:820px}
.calc{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.calc[hidden],.bar[hidden]{display:none}
.calc>label:first-child{font:var(--t-label)}
input[type=range]{flex:1 1 180px;min-height:44px;padding:0;border:0;background:none;accent-color:var(--navy)}
#count{width:96px}
.total{display:flex;flex-wrap:wrap;gap:0 32px;margin:16px 0 0}
.total p{margin:0}
.total b{display:block;color:var(--navy);font:600 28px/36px var(--font-head);font-variant-numeric:tabular-nums}
.total .muted{flex-basis:100%;margin-top:8px}
.price caption{padding:20px 0 8px;font:var(--t-label)}
.price table{width:100%;font-size:14px}
table.plan tr.on>td{background:var(--tint);font-weight:600}
#faq details{margin:0;border-bottom:1px solid var(--mist)}
#faq summary{padding:14px 8px;font-size:18px;line-height:28px}
#faq details p{max-width:70ch;margin:0 8px 16px}
.band{position:relative;margin:0;padding:48px 0;background:var(--navy);box-shadow:0 0 0 100vmax var(--navy);clip-path:inset(0 -100vmax);color:#fff}/* full-bleed without widening the page: the shadow fills the sides, the clip keeps it to the band's height */
.band::before{content:"";display:block;height:3px;margin:-48px 0 45px;background:var(--tangerine);box-shadow:0 0 0 100vmax var(--tangerine);clip-path:inset(0 -100vmax)}/* the thin tangerine rule on the sign-up band */
.band h2,.band a,.band label,.band .warn{color:#fff}
.band small{color:var(--tint-hi)}
.band form{max-width:440px;margin:20px 0}
.band form .btn-cta{width:100%;margin-top:16px}
#access input:not([type=checkbox]){font-size:16px;border-color:#fff}
.band [data-show]{background:#fff}
.band :focus-visible{outline-color:#fff}
.pw{display:flex;gap:8px}
.pw input{flex:1;min-width:0}
.agree span{line-height:24px}
.small{font-size:14px;line-height:20px}
main:has(.band){padding-bottom:0}
.closing{margin:32px 0;text-align:center}
.prose{max-width:760px;margin:24px auto}
.prose h2{margin-top:24px}
.prose li{margin:4px 0}
.bar{display:none}
.footer nav{display:grid;flex:1 1 100%;align-self:flex-start;margin:8px 0}
.footer nav b{font:var(--t-label);color:var(--navy)}
.footer .brand{color:var(--navy)}
@media (max-width:767px){
  .nav.site{position:sticky;flex-wrap:nowrap;min-height:56px}
  .bar{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line-navy)}
  .bar .btn-cta{width:100%}
  table.plan caption{display:block}
  body:has(.bar){padding-bottom:72px}/* room for the bar: it never covers the footer */
  main>section{scroll-margin-top:64px}
}
@media (min-width:768px){
  main>section h2{font:var(--t-h-lg)}
  .benefit{display:grid;grid-template-columns:1fr minmax(0,360px);gap:0 40px;align-items:start}/* a tablet: the text beside the phone screenshot */
  .benefit>*{grid-column:1}
  .benefit .shot{grid-column:2;grid-row:1 / span 4}
  .hero{grid-template-columns:1fr auto;gap:48px;align-items:center;padding:24px 0}
  .hero h1{font:var(--t-display);letter-spacing:-.02em;margin:12px 0 16px}
  .lead{max-width:56ch}
  .diff{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:repeat(3,1fr)}
  .email{grid-template-columns:1fr auto;gap:48px}
  .footer nav{flex:1 1 160px}
}
@media (min-width:1024px){
  .nav.site nav{display:flex}
  .menu{display:none}
  .benefit{display:block}/* a desktop: the wide screenshot under its three points */
  .benefit ul{grid-template-columns:repeat(3,1fr)}
  .shot.trends,.shot.energy{aspect-ratio:auto}/* the desktop pictures are shown whole */
  .shot.trends::after,.shot.energy::after{content:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
