/* The website: fridgeboard.me (home.html), the privacy policy and the terms.
   Plain CSS that old iPads read too (iOS 9: flexbox with -webkit-, no grid, no variables),
   as someone may well open this on the iPad they're about to put on the fridge.
   The board's own Navy: the page is its gradient's dark end, bands a step lighter, words white.
     navy #141F2B → #2E4A66   band #1A2836   white #FFFFFF   body #C9D8E2   muted #8FA6BA
     ice #AECBE5 (the bar's icons)   orange #F08A24 (the one warm colour) */
@font-face { font-family: "Adventor"; font-weight: 400; src: url(fonts/texgyreadventor-regular.otf?v=2); }
@font-face { font-family: "Adventor"; font-weight: 700; src: url(fonts/texgyreadventor-bold.otf?v=2); }
html { -webkit-text-size-adjust: 100%; background: #141F2B; }
body { margin: 0; background: #141F2B; color: #C9D8E2; font-family: "Adventor", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: #F7B267; }
h1, h2, h3 { line-height: 1.15; margin: 0; color: #fff; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* top */
.top { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.mark { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
.mark span { color: #F08A24; }
.top.withmenu { max-width: 1240px; } /* room for the section links on one line */
.top nav { -webkit-flex: 1; flex: 1; text-align: center; padding: 0 12px; white-space: nowrap; }
.top nav a { margin: 0 10px; color: #C9D8E2; text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; }
.top nav a:hover { color: #fff; }
.top .acts { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.top .acts a { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.top .startbtn { background: #AECBE5; color: #141F2B; margin-right: 10px; }
.top .signin { border: 2px solid rgba(174, 203, 229, 0.35); color: #fff; padding: 7px 18px; }
.top .menubtn { display: none; }

/* buttons */
.go { display: inline-block; padding: 16px 28px; border-radius: 999px; background: #F08A24; color: #141F2B; font-weight: 700; font-size: 18px; text-decoration: none; }
.go:hover { background: #F59B3F; }
.quiet { display: inline-block; padding: 14px 4px; color: #fff; font-weight: 700; font-size: 16px; }

/* an iPad: a dark bezel round a 4:3 screen */
.ipad { position: relative; padding: 22px; background: #0A0E13; border-radius: 40px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.ipad .screen { position: relative; overflow: hidden; border-radius: 8px; background: #000; }
.ipad .screen img { display: block; width: 100%; }
.ipad.small { padding: 14px; border-radius: 26px; }
.ipad.small .screen { border-radius: 5px; }
/* a phone */
.phone { padding: 7px; background: #0A0E13; border-radius: 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -18px rgba(0, 0, 0, 0.75); }
.phone img { display: block; width: 100%; border-radius: 24px; }

/* the first look: words, then an old iPad waking up */
.hero { padding-top: 40px; padding-bottom: 24px; text-align: center; }
.hero h1 { font-size: 60px; letter-spacing: -1.8px; max-width: 900px; margin: 0 auto; }
/* the heading: "Any" and a drum of words on the first line, then a line each */
.hero h1 .l1 { display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: flex-start; align-items: flex-start; line-height: 1.3; white-space: nowrap; }
.hero h1 .hl { display: block; }
.hero h1 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero h1 .drum { position: relative; display: block; height: 1.3em; margin-left: 0.25em; overflow: hidden; color: #F08A24; text-align: left; -webkit-perspective: 8em; perspective: 8em;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.hero h1 .drum.on { -webkit-transition: width 0.9s ease; transition: width 0.9s ease; }
.hero h1 .ring { position: absolute; left: 0; top: 0; width: 100%; height: 1.3em; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transition: -webkit-transform 0.9s cubic-bezier(0.3, 1.25, 0.5, 1); transition: transform 0.9s cubic-bezier(0.3, 1.25, 0.5, 1); }
.hero h1 .face { position: absolute; left: 0; top: 0; height: 1.3em; line-height: 1.3em; white-space: nowrap; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero .lede { font-size: 21px; color: #C9D8E2; max-width: 660px; margin: 18px auto 30px; }
.hero .cta a + a { margin-left: 18px; }
/* the trial button with the price under it, then a row of ticks */
.hero .heroprice { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; margin: 18px 0 0; text-align: left; }
.hero .heroprice b { font-size: 40px; letter-spacing: -1px; line-height: 1; color: #fff; margin-right: 12px; }
.hero .heroprice span { font-size: 15px; line-height: 1.35; color: #C9D8E2; }
.hero .heroprice i { display: block; font-style: normal; color: #8FA6BA; }
.hero .perks { list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; color: #C9D8E2; }
.hero .perks li { display: inline-block; margin: 0 11px; }
.hero .perks li:before { content: '\2713'; color: #F08A24; font-weight: 700; margin-right: 6px; }
.hero .small { font-size: 15px; color: #8FA6BA; margin: 14px 0 0; }
.hero .ipad { max-width: 900px; margin: 48px auto 0; text-align: left; }
/* black, then the charging battery, then the board fading up (once, as the page opens) */
.wake .off { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #000; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  -webkit-animation: wakeoff 0.9s ease 2.4s forwards; animation: wakeoff 0.9s ease 2.4s forwards; }
.wake .batt { width: 18%; opacity: 0; -webkit-animation: battin 0.5s ease 0.3s forwards; animation: battin 0.5s ease 0.3s forwards; }
.wake .batt .fill { fill: #E5483B; -webkit-transform-origin: 9px 0; transform-origin: 9px 0; -webkit-transform: scaleX(0.08); transform: scaleX(0.08);
  -webkit-animation: battfill 1.5s ease-in-out 0.7s forwards; animation: battfill 1.5s ease-in-out 0.7s forwards; }
@-webkit-keyframes battin { to { opacity: 1; } }
@keyframes battin { to { opacity: 1; } }
@-webkit-keyframes battfill { 60% { fill: #E5A13B; } to { fill: #4CC764; -webkit-transform: scaleX(1); transform: scaleX(1); } }
@keyframes battfill { 60% { fill: #E5A13B; } to { fill: #4CC764; -webkit-transform: scaleX(1); transform: scaleX(1); } }
@-webkit-keyframes wakeoff { to { opacity: 0; visibility: hidden; } }
@keyframes wakeoff { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .wake .off { display: none; } }
/* today's dates, written where the board had them: placed and sized in the board's own pixels (1024 x 768),
   the box's font-size is one of those pixels at the picture's size (set in home.html) */
.live { position: absolute; left: 0; top: 0; right: 0; bottom: 0; font-size: 0.8px; font-family: "Adventor", "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1; pointer-events: none; }
.live span { position: absolute; white-space: nowrap; }
.lv-date { left: 8.389%; top: 96%; font-size: 13.05em; color: rgba(255, 255, 255, 0.78); }
.lv-wd { top: 78.03%; font-size: 12.18em; color: rgba(255, 255, 255, 0.72); -webkit-transform: translateX(-50%); transform: translateX(-50%); }
#lvW1 { left: 5.43%; } #lvW2 { left: 13.105%; } #lvW3 { left: 20.786%; } #lvW4 { left: 28.462%; }
.lv-cd { left: 83.052%; top: 84.115%; font-size: 18em; font-weight: 700; color: rgba(255, 255, 255, 0.72); -webkit-transform: translateX(-50%); transform: translateX(-50%); }

/* the sections below: plain navy, or the board's gradient for every other one */
.band { padding: 90px 0; }
.band.card, .band.dark { background: #1A2836; background: -webkit-linear-gradient(-70deg, #141F2B, #2E4A66); background: linear-gradient(160deg, #141F2B, #2E4A66); }
.band h2 { font-size: 42px; letter-spacing: -1px; text-align: center; }
.band .sub { text-align: center; color: #C9D8E2; font-size: 19px; max-width: 660px; margin: 14px auto 0; }
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #F08A24; }
.kicker.center { text-align: center; }

/* what it does: two across */
.feats { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 44px -14px 0; }
.feat { width: 50%; box-sizing: border-box; padding: 0 14px 34px; }
.feat h3 { font-size: 22px; margin-bottom: 6px; }
.feat p { margin: 0; color: #C9D8E2; }
.feats.three { margin-top: 50px; }
.feats.three .feat { width: 33.33%; }
.feat .ico { display: block; width: 34px; height: 34px; margin-bottom: 12px; fill: none; stroke: #F08A24; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* words beside a picture */
.split { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.split .words { width: 40%; padding-right: 48px; box-sizing: border-box; }
.split.flip { -webkit-flex-direction: row-reverse; flex-direction: row-reverse; }
.split.flip .words { padding: 0 0 0 48px; }
.split .words h2 { text-align: left; }
.split .words h2.big { font-size: 64px; letter-spacing: -2px; }
.split .words p { color: #C9D8E2; margin: 18px 0 0; }
.split .words .lead { font-size: 21px; color: #fff; }
.split .pic { -webkit-flex: 1; flex: 1; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 0 0 12px 30px; color: #C9D8E2; }
.ticks li:before { content: '✓'; position: absolute; left: 2px; color: #F08A24; font-weight: 700; }
.ticks b { color: #fff; }

/* the fridge and a phone together: the phone overlapping the iPad's corner */
.duo { position: relative; padding: 0 19% 8% 0; }
.duo.wide { max-width: 980px; margin: 44px auto 0; padding-right: 17%; }
.duo .phone { position: absolute; right: 0; bottom: 0; width: 27%; }
.duo.wide .phone { width: 21%; }
/* a card on its own, on a patch of the board, with the phone over its corner */
.duo.tight { padding: 0 0 10% 0; }
.duo.tight .phone { right: 6%; width: 36%; }
.fridgebit { padding: 18px; border-radius: 26px; background: #141F2B; background: -webkit-linear-gradient(-70deg, #141F2B, #2E4A66); background: linear-gradient(160deg, #141F2B, #2E4A66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.7); width: 62%; }
.fridgebit img { display: block; width: 100%; border-radius: 11px; }

/* the decision wheel: two steps, the fridge then the phone */
.secret { display: -webkit-flex; display: flex; -webkit-align-items: flex-end; align-items: flex-end; margin: 50px -14px 0; }
.secret figure { margin: 0 14px; }
.secret .fridge { -webkit-flex: 1; flex: 1; min-width: 0; }
.secret .mine { width: 26%; }
.secret figcaption { margin-top: 18px; font-size: 16px; color: #C9D8E2; }
.secret figcaption b { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; }
.secret figcaption i { font-style: normal; display: inline-block; width: 26px; height: 26px; line-height: 26px; border-radius: 50%; background: #F08A24; color: #141F2B; text-align: center; font-weight: 700; font-size: 14px; margin-right: 8px; }
.punch { text-align: center; font-size: 22px; color: #fff; font-weight: 700; margin: 40px 0 0; }

/* every card for Home */
.chips { text-align: center; margin: 32px 0 0; }
.chips a { display: inline-block; margin: 0 4px 8px; padding: 8px 18px; border-radius: 999px; border: 2px solid rgba(174, 203, 229, 0.35); color: #AECBE5; text-decoration: none; font-weight: 700; font-size: 15px; }
.chips a.on { background: #AECBE5; border-color: #AECBE5; color: #141F2B; }
/* in columns, each card at its own height */
.gallery { -webkit-column-count: 3; column-count: 3; -webkit-column-gap: 44px; column-gap: 44px; margin-top: 44px; }
.gallery figure { display: inline-block; width: 100%; margin: 0 0 54px; -webkit-column-break-inside: avoid; break-inside: avoid; }
.gallery img { display: block; width: 100%; border-radius: 11px; }
.gallery figcaption { font-size: 15px; color: #AECBE5; margin: 14px 4px 0; line-height: 1.45; }
.gallery figcaption b { display: block; color: #fff; font-size: 17px; }

/* more screens: a house drawn in outline, two floors, a screen in each room */
.house { max-width: 900px; margin: 50px auto 0; }
.house .roof { display: block; width: 100%; height: 60px; fill: rgba(255, 255, 255, 0.04); stroke: rgba(174, 203, 229, 0.35); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; overflow: visible; }
.house .floor { position: relative; display: -webkit-flex; display: flex; margin: 0 4%; padding: 46px 18px 10px; border: 2px solid rgba(174, 203, 229, 0.35); border-top: 0; background: rgba(255, 255, 255, 0.04); }
.house .floor + .floor { border-top: 2px solid rgba(174, 203, 229, 0.35); }
.house .level { position: absolute; left: 22px; top: 14px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #F08A24; }
.house .room { -webkit-flex: 1; flex: 1; min-width: 0; margin: 0 12px 20px; }
.house .room + .room { border-left: 2px dashed rgba(174, 203, 229, 0.18); padding-left: 24px; margin-left: 0; }
.house figcaption { margin-top: 14px; font-size: 15px; color: #C9D8E2; line-height: 1.45; }
.house figcaption b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.roomsnote { text-align: center; margin: 4px 0 0; color: #AECBE5; font-size: 16px; }
.roomsnote a { color: #AECBE5; font-weight: 700; }

/* clocks: black, so the faces glow */
.clocks { background: #07090C; }
.clocks .sub { color: #9C9A96; }
.clockframe { max-width: 820px; margin: 44px auto 0; background: #1B1B1D; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px #2A2A2D; }
.facebox { position: relative; overflow: hidden; width: 100%; }
.facetabs { text-align: center; margin-top: 30px; }
.facetabs a { display: inline-block; margin: 0 3px 8px; padding: 8px 16px; border-radius: 999px; color: #9C9A96; text-decoration: none; font-weight: 700; font-size: 15px; }
.facetabs a.on { background: #fff; color: #0B0B0C; }
.facecols { text-align: center; min-height: 52px; margin-top: 8px; }
.facecols a { display: inline-block; position: relative; width: 36px; height: 36px; border-radius: 50%; margin: 0 6px 8px; vertical-align: top; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.facecols a i { position: absolute; left: 11px; top: 11px; width: 14px; height: 14px; border-radius: 50%; }
.facecols a.on { box-shadow: 0 0 0 3px #07090C, 0 0 0 5px #fff; }
.facecols a.another { width: auto; height: auto; padding: 10px 20px; border-radius: 999px; background: #2A2A2D; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: none; }
.facenote { text-align: center; color: #9C9A96; margin: 6px 0 0; font-size: 16px; }

/* which devices */
.works { text-align: center; }
.works h2 { font-size: 48px; letter-spacing: -1.4px; }
/* a grid of device tiles, in order: works, try it first, won't work; each says which in its top corner */
.devs { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 44px -8px 0; text-align: left; }
.dev { position: relative; box-sizing: border-box; width: calc(25% - 16px); margin: 0 8px 16px; padding: 20px 20px 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; }
.dev.wide { width: calc(50% - 16px); background: rgba(255, 255, 255, 0.1); }
.dev svg { display: block; width: 54px; height: 40px; margin-bottom: 14px; fill: none; stroke: #AECBE5; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dev p { margin: 0; font-size: 15px; line-height: 1.45; color: #C9D8E2; }
.dev b { display: block; font-size: 17px; margin-bottom: 3px; color: #fff; }
.dev em { font-style: normal; font-weight: 700; color: #fff; }
.dev.no { background: rgba(255, 255, 255, 0.03); }
.dev.no svg { stroke: #8FA6BA; }
.dev.no p { color: #8FA6BA; }
.st { position: absolute; top: 20px; right: 18px; font-size: 13px; font-weight: 700; color: #C9D8E2; }
.st i { display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; margin-right: 6px; text-align: center; font-style: normal; font-size: 11px; color: #fff; vertical-align: 1px; }
.st.yes i { background: #4F9A5E; }
.st.maybe i { background: #9CCB6E; color: #141F2B; }
.st.no i { background: #C4473A; }
.devnote { margin: 22px 0 0; color: #AECBE5; font-size: 16px; }

/* bringing a flat iPad back */
.revive { max-width: 820px; margin: 44px auto 0; padding: 0; list-style: none; }
.revive li { position: relative; padding: 0 0 34px 64px; }
.revive li > b { position: absolute; left: 0; top: 0; width: 42px; height: 42px; line-height: 42px; border-radius: 50%; background: #F08A24; color: #141F2B; text-align: center; font-size: 19px; }
.revive h3 { font-size: 23px; margin: 7px 0 8px; }
.revive p { margin: 0; color: #C9D8E2; }
.revive em { font-style: normal; font-weight: 700; color: #fff; white-space: nowrap; }
.chargers { display: -webkit-flex; display: flex; margin: 22px -8px 0; }
.chargers figure { -webkit-flex: 1; flex: 1; margin: 0 8px; padding: 16px 10px 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; text-align: center; position: relative; }
.chargers svg { display: block; width: 130px; height: 130px; margin: 0 auto 6px; }
.chargers figcaption { font-size: 14px; color: #8FA6BA; }
.chargers figcaption b { display: block; font-size: 16px; color: #fff; }
.chargers figure:after { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 16px; }
.chargers .ok:after { content: '✓'; background: #4F9A5E; }
.chargers .no:after { content: '✕'; background: #C4473A; }
.chargers .no { opacity: 0.75; }
.careful { max-width: 756px; margin: 6px auto 0; padding: 16px 22px; background: rgba(229, 72, 59, 0.14); border: 1px solid rgba(229, 72, 59, 0.3); border-radius: 14px; color: #F3C4BC; font-size: 16px; }
.careful b { color: #fff; }

/* three steps */
.steps { display: -webkit-flex; display: flex; margin: 44px -14px 0; padding: 0; list-style: none; }
.steps li { -webkit-flex: 1; flex: 1; margin: 0 14px; padding: 26px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; }
.steps li > b { display: block; font-size: 15px; color: #F08A24; margin-bottom: 6px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 16px; color: #C9D8E2; }
.steps p b { color: #fff; }

.steps + .cta { margin-top: 36px; }
.center { text-align: center; }
.hero .phonefirst { margin: 14px 0 0; font-size: 17px; font-weight: 700; color: #fff; }

/* "Start on your phone": an iPad or computer tapping a trial button (home.html) */
.startpop { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(8, 12, 17, 0.72); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.startpop.on { display: block; }
.startbox { position: relative; max-width: 440px; margin: 8vh auto 40px; padding: 34px 30px 26px; background: #1A2836; background: -webkit-linear-gradient(-70deg, #1A2836, #2E4A66); background: linear-gradient(160deg, #1A2836, #2E4A66); border-radius: 24px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.startbox h2 { font-size: 32px; letter-spacing: -0.6px; }
.startbox p { margin: 12px 0 0; }
.startbox .small { font-size: 15px; color: #8FA6BA; }
.startbox .small a { color: #AECBE5; }
.startqr { display: block; width: 180px; height: 180px; margin: 22px auto 0; border-radius: 12px; background: #fff; }
.startboard { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 20px !important; font-size: 16px; }
.startboard a { font-weight: 700; }
.startx { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 26px; line-height: 40px; padding: 0; cursor: pointer; }

/* price */
.price { text-align: center; }
.price .amount { font-size: 76px; font-weight: 700; letter-spacing: -2px; line-height: 1; margin: 30px 0 6px; color: #fff; }
.price .amount small { font-size: 22px; letter-spacing: 0; font-weight: 400; color: #AECBE5; }
.price .once { margin: 10px 0 0; font-size: 22px; font-weight: 700; color: #fff; }
.price .tax { margin: 6px 0 0; font-size: 15px; color: #AECBE5; }
.price ul { list-style: none; padding: 0; margin: 26px auto 34px; max-width: 460px; text-align: left; }
.price li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #E4ECF1; }
.price li:before { content: '✓'; position: absolute; left: 4px; color: #F08A24; font-weight: 700; }
.price #extra { margin: -16px 0 30px; } /* sits under the list it belongs to, clear of the button */
.price .other { margin: 22px 0 0; font-size: 15px; }
.price .other a { color: #AECBE5; }

/* compared with the calendar screens */
.cmp-scroll { max-width: 860px; margin: 40px auto 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #C9D8E2; vertical-align: top; }
.cmp thead th { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #8FA6BA; }
.cmp tbody th { color: #fff; white-space: nowrap; }
.cmp tr.us th, .cmp tr.us td { background: rgba(240, 138, 36, 0.12); color: #fff; }
.cmp tr.us b { color: #F08A24; font-size: 20px; }
.cmp-note { max-width: 860px; margin: 14px auto 0; font-size: 14px; color: #8FA6BA; text-align: center; }
.cmp-more { text-align: center; margin: 22px 0 0; }
.cmp-more a { color: #AECBE5; font-weight: 700; }
.doc .cmp-scroll { margin: 24px 0 0; }
.doc .cta { margin: 36px 0 0; }

/* questions */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq h3 { font-size: 20px; margin: 30px 0 6px; }
.faq p { margin: 0; color: #C9D8E2; }

/* bottom */
.foot { padding: 40px 0 50px; font-size: 15px; color: #8FA6BA; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot .wrap { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; }
.foot nav { margin-left: auto; }
.foot nav a { margin-left: 22px; color: #AECBE5; }
.foot .legal { width: 100%; margin: 22px 0 0; font-size: 12px; line-height: 1.5; color: #6F8499; }

/* the privacy policy and terms: a page of reading */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 24px 60px; }
.doc h1 { font-size: 42px; letter-spacing: -1px; margin: 10px 0 6px; }
.doc .when { color: #8FA6BA; margin: 0 0 30px; }
.doc h2 { font-size: 24px; margin: 38px 0 10px; }
.doc p, .doc li { color: #C9D8E2; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .note { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 16px 20px; }
.doc .note + .note { margin-top: 14px; }
/* Home Assistant page: code, a block of it, the tables, the blueprints' buttons */
.doc code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.08); border-radius: 5px; padding: 1px 5px; color: #E8F0F5; }
.doc pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.5; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 12px 14px; margin: 10px 0; color: #E8F0F5; overflow-x: auto; white-space: pre; }
.doc .hatable { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc .hatable th, .doc .hatable td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #C9D8E2; }
.doc .hatable th { color: #fff; font-weight: 700; }
.doc .hago { font-size: 16px; padding: 12px 22px; }
@media (max-width: 600px) { .doc .hatable { font-size: 14px; } .doc .hatable td:nth-child(2) { min-width: 90px; } }

/* iPads, either way up: the home page's section links go behind ☰ (they'd wrap and push Sign in off the
   edge), leaving room for "Use as the household board", which the setup steps send the iPad to */
@media (max-width: 1200px) {
  .top.withmenu nav { display: none; }
  .top.withmenu .mark { -webkit-flex: 1; flex: 1; }
  .top { position: relative; }
  .top .menubtn { display: block; margin-left: 8px; padding: 9px 7px; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .top .menubtn span { display: block; width: 22px; height: 2px; border-radius: 1px; background: #fff; margin: 5px 0; }
  .top.open nav { display: block; position: absolute; z-index: 20; top: 100%; left: auto; right: 16px; width: 300px; margin-top: -8px; padding: 8px; text-align: left; background: #1A2836; border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
  .top.open nav a { display: block; margin: 0; padding: 12px 14px; font-size: 17px; }
}
/* tablets */
@media (max-width: 960px) {
  .dev { width: calc(50% - 16px); }
  .dev.wide { width: calc(100% - 16px); }
  .gallery { -webkit-column-count: 2; column-count: 2; }
  .split, .split.flip { display: block; }
  .split .words, .split.flip .words { width: auto; padding: 0; text-align: center; max-width: 620px; margin: 0 auto 36px; }
  .split .words h2 { text-align: center; }
  .ticks { text-align: left; display: inline-block; }
}
/* phones */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  .top .mark { -webkit-flex: 1; flex: 1; font-size: 20px; }
  .top.open nav { left: 16px; width: auto; }
  .top .startbtn { margin-right: 6px; }
  .top .acts a { padding: 7px 12px; font-size: 13px; }
  .top .signin { padding: 5px 12px; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero .lede { font-size: 18px; }
  .hero .cta a { display: block; }
  .hero .cta a + a { margin: 10px 0 0; }
  .hero .heroprice b { font-size: 34px; }
  .hero .perks { margin-top: 16px; font-size: 13px; }
  .hero .perks li { margin: 0 4px; }
  .hero .perks li:before { margin-right: 4px; }
  .ipad, .ipad.small { padding: 8px; border-radius: 18px; }
  .ipad .screen { border-radius: 4px; }
  .phone { padding: 4px; border-radius: 16px; }
  .phone img { border-radius: 13px; }
  .hero .ipad { margin-top: 34px; }
  .band { padding: 60px 0; }
  .band h2 { font-size: 30px; }
  .split .words h2.big { font-size: 44px; }
  .feat, .feats.three .feat { width: 100%; padding-bottom: 26px; }
  .gallery { -webkit-column-gap: 16px; column-gap: 16px; }
  .gallery figure { margin-bottom: 30px; }
  .gallery img { border-radius: 6px; }
  .gallery figcaption { font-size: 13px; }
  .gallery figcaption b { font-size: 15px; }
  .secret { display: block; margin: 36px 0 0; }
  .secret figure { margin: 0 0 30px; }
  .secret .mine { width: 60%; margin: 0 auto 10px; }
  .house .roof { height: 34px; }
  .house .floor { padding: 38px 6px 4px; }
  .house .level { left: 12px; top: 10px; font-size: 12px; }
  .house .room { margin: 0 6px 14px; }
  .house .room + .room { padding-left: 12px; }
  .house figcaption { font-size: 13px; margin-top: 10px; }
  .house figcaption b { font-size: 15px; }
  .steps { display: block; }
  .steps li { margin: 0 0 14px; }
  .works h2 { font-size: 32px; }
  .revive li { padding-left: 54px; }
  .chargers { margin: 18px -4px 0; }
  .chargers figure { margin: 0 4px; padding: 12px 4px; }
  .chargers svg { width: 84px; height: 84px; }
  .chargers figure:after { top: 6px; right: 6px; width: 22px; height: 22px; line-height: 22px; font-size: 13px; }
  .price .amount { font-size: 60px; }
  .foot nav { margin: 12px 0 0; width: 100%; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; } /* the links have no spaces between them, so without this they never wrap and push the page wider */
  .foot nav a { margin: 0 20px 8px 0; }
  .doc h1 { font-size: 34px; }
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding: 10px 6px; }
  .cmp thead th { font-size: 11px; letter-spacing: 0.5px; }
  .cmp tbody th { white-space: normal; }
  .cmp tr.us b { font-size: 17px; }
}
/* narrow phones: the logo, Try free, Sign in and the menu on one line */
@media (max-width: 400px) {
  .top .mark { font-size: 17px; }
  .top .acts a { padding: 6px 9px; font-size: 12px; }
  .top .signin { padding: 4px 9px; }
  .top .startbtn { margin-right: 5px; }
  .top .menubtn { margin-left: 4px; }
}
/* phones: the header button just says Try free (the big button under the heading says no card) */
@media (max-width: 480px) {
  .top .startbtn .nocard { display: none; }
}
/* Help (help.html): contents links, a heading for each how-to, numbered steps */
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 10px; }
.doc .toc a { color: #C9D8E2; }
.doc h2[id] { scroll-margin-top: 20px; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc ol { padding-left: 22px; }
/* phones: device tiles one per row, so the status label clears the drawing */
@media (max-width: 560px) {
  .dev, .dev.wide { width: calc(100% - 16px); margin-bottom: 12px; }
}
.startbox .startboard .go { margin-top: 10px; font-size: 16px; padding: 12px 22px; }

/* Share FridgeBoard (share.html): the share sheet button, then the places to send it */
.share .cta { margin: 28px 0 8px; }
.share .go { border: 0; cursor: pointer; font-family: inherit; }
.share .small { font-size: 14px; color: #8FA6BA; margin: 18px 0 10px; }
.sharebtns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.sharebtns a, .sharebtns button { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid #2A3B4C; background: #1A2836; color: #fff;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sharebtns a:hover, .sharebtns button:hover { background: #22344A; }
