/*
NestFlo booking -- the pages that sell and report.

Loaded after style.css, and only by the walkthrough (/condos, /demo), the
code box and the Board's page. A resident's booking page never loads it,
so that page stays as light as it was.

Same rules as style.css: phone first, min-width queries only, hover only
inside (hover: hover), nothing from another site. No text under 14px.
*/

.site main { display: block; }
.in { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.site section[id], .site #ask { scroll-margin-top: 72px; }

/* ------------------------------------------------------------ the header */

/* The header's own rules are in style.css, so a page that loads only that
   sheet (the house-call form) wears the same header. */
.cta:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* -------------------------------------------------------------- the hero */

.hero { background: var(--navy-deep); color: #fff; }
.hero .in { padding: 0; }
.hero-copy { padding: 32px 16px 28px; }
.hero .eyebrow, .hero .kicker { margin: 0 0 10px; color: var(--teal-light); }
.hero h1 { margin: 0; color: #fff; font-size: 30px; letter-spacing: -.02em; }
.hero .lede { margin-top: 12px; color: #C3D0E6; font-size: 17px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--teal);
  color: #062B28;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.cta.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.hero-photo { position: relative; }
.hero-photo img { display: block; width: 100%; height: 210px; object-fit: cover; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding-top: 16px; padding-bottom: 16px; }
.trust span {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-wash);
  box-shadow: inset 0 0 0 3px var(--teal);
}

/* ------------------------------------------------------------- the bands */

.band { padding: 44px 0; }
.band.alt { background: #EEF2F9; }
.band h2 { margin: 0; }
.band .body { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.site .steps { margin: 22px 0 0; }
.site .steps li { box-shadow: var(--shadow); }
.site .steps strong { color: var(--navy); }
.site .steps span { color: var(--muted); font-size: 15px; }
.doors { margin-top: 8px; }
.site .foot { margin: 0; padding: 0 16px 36px; text-align: center; }
.walk .band .foot { padding: 14px 0 0; text-align: left; }

/* the phone, drawn: shown beside the copy on a wider screen */
.mock { display: none; }

/* the Board's numbers */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; }
.tile {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
a.tile { display: block; color: inherit; text-decoration: none; transition: border-color .12s, transform .12s; }
a.tile:focus-visible { border-color: var(--teal-strong); }
@media (hover: hover) { a.tile:hover { border-color: var(--teal-strong); transform: translateY(-1px); } }
a.tile.on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.panel h2 .count { margin-left: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tile .l { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.tile .v { display: block; margin-top: 2px; color: var(--navy); font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.15; }
.tile.ok .v { color: var(--teal-strong); }
.tile.warn .v { color: var(--amber-ink); }
.meter { display: flex; height: 10px; margin: 16px 0 0; overflow: hidden; border-radius: 999px; background: #E2E9F4; }
.meter i { display: block; min-width: 0; }
.meter .done { background: var(--teal); }
.meter .booked { background: var(--navy); }
.meter .noaccess { background: var(--amber); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: #C9D4E6; }
.legend .done i { background: var(--teal); }
.legend .booked i { background: var(--navy); }

/* the photo report */
.shot { margin: 24px 0 0; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(10, 36, 71, .16); }

/* ------------------------------------------------------- ask for a proposal */

.site .ask { margin-top: 0; background: #EEF2F9; }
.ask form { margin-top: 20px; }
.askside { margin-top: 20px; padding: 20px; border-radius: var(--radius); background: var(--navy-deep); color: #D5DEEE; }
.askside h3 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.askside p { position: relative; margin: 12px 0 0; padding-left: 20px; font-size: 15px; }
.askside p::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ----------------------------------------------------------- the code box */

.doorway { padding: 28px 0 44px; }
.doorway h1 { font-size: 26px; }
.doorway .card { margin-bottom: 0; }
.pitch { margin-top: 24px; padding: 22px 20px; border-radius: var(--radius); background: var(--navy-deep); color: #D5DEEE; }
.pitch .eyebrow { color: var(--teal-light); }
.pitch h2 { color: #fff; font-size: 22px; }
.ticks p { position: relative; margin: 14px 0 0; padding-left: 28px; font-size: 16px; }
.ticks p::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg) scale(.8);
}

/* ------------------------------------------------------ the Board's page */

.welcome { padding: 26px 0 64px; background: var(--navy-deep); color: #fff; }
.welcome .kicker { margin: 0 0 8px; color: var(--teal-light); }
.welcome h1 { margin: 0; color: #fff; font-size: 26px; letter-spacing: -.02em; }
.welcome .acct { margin: 8px 0 0; color: #fff; font-size: 16px; font-weight: 600; }
.welcome .asof { margin-top: 4px; color: #B5C3DB; font-size: 15px; }
.dash { padding: 0 0 40px; }
.dash .tiles { margin-top: -40px; }
.dash .buildings { margin-top: 20px; }
.dash .buildings .card { margin: 16px 0 0; }
.dash h2 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.dash .foot { padding: 0; margin-top: 24px; text-align: left; }
.dash .cancel { margin-top: 8px; }
.since { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.panel {
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.panel > h2 { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.panel .empty, .panel .kv { margin: 0; padding: 14px 16px; }
.docrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.panel > h2 + .docrow { border-top: 0; }
.docrow .what { flex: 1 1 200px; min-width: 0; }
.docrow .what strong { display: block; color: var(--navy); font-size: 16px; }
.docrow .what span { display: block; color: var(--muted); font-size: 14px; }
.owed { display: flex; align-items: center; gap: 10px; flex: none; }
.docrow .amount { color: var(--navy); font-family: var(--display); font-size: 18px; font-weight: 600; }
.board .docrow .btn { width: auto; margin-top: 0; }
.kv p { margin: 0 0 4px; }
.welcome .up { margin: 0 0 14px; }
.welcome .up a { color: var(--teal-light); font-weight: 600; }
.panels.lead .kv { padding: 16px; }
.panels.lead .headline { margin: 0 0 12px; }
.panels.lead .meter { margin: 12px 0 4px; }
.board .panels.lead .btn { width: auto; margin-top: 12px; }
.panels.lead .panel.project, .panels.lead .panel.next { display: flex; flex-direction: column; border-top: 4px solid var(--teal); }
.panels.lead .panel.project:first-child, .panels.lead .panel.attention + .panel.project { background: var(--teal-wash); border-color: var(--teal); }
.panels.lead .panel > h2 { padding-bottom: 0; border-bottom: 0; color: var(--teal-strong); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.panels.lead .panel.attention > h2 { color: var(--amber-ink); }
.panels.lead .kv { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 8px; }
.panels.lead .kv > .meter, .panels.lead .kv > .totals { align-self: stretch; }
.panels.lead .kv .body { margin: 0; color: var(--ink, inherit); font-size: 16px; }
.board .panels.lead .kv > .btn { margin-top: auto; }
.panels.lead .kv > :nth-last-child(2) { margin-bottom: 16px; }
.welcome .mood { margin: 14px 0 0; color: #fff; font-size: 17px; }
.dash .panels.lead + .tiles { margin-top: 16px; }
.kv a { font-weight: 600; }

/* the property account: its sections, and the two forms */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: -40px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--navy); font-size: 15px; line-height: 1.25; font-weight: 600; text-decoration: none; }
.tabs a.on { background: var(--navy); color: #fff; }
.tabs a b { min-width: 22px; padding: 1px 6px; border-radius: 11px; background: var(--amber-wash); color: var(--amber-ink); font-size: 14px; text-align: center; }
.dash .tabs + .tiles { margin-top: 16px; }
@media (min-width: 560px) { .tabs { display: flex; flex-wrap: wrap; } .tabs a { padding: 8px 14px; } }
.dash .lede.sub { margin: 20px 0 0; }
.dash .in > .note { margin: 16px 0 0; }
.panel .more { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.panel .more a { font-weight: 600; }
.panel.attention { border-left: 4px solid var(--amber-ink); }
.panel.attention.clear { border-left-color: var(--teal); }
.docrow .what span + span { margin-top: 2px; color: var(--ink, inherit); }
.docrow.total { background: var(--bg); }
.board .docrow .owed .btn { margin-left: 2px; }
.panel.form .kv { padding: 4px 16px 18px; }
.panel.form .hint:first-child { margin-top: 12px; }
.panel.form .note { margin: 12px 0 0; }
.panel.form .btn { margin-top: 20px; }
.panel.form .check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.stack > .panel { margin-top: 16px; }
.reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: var(--bg); }
.reply p { margin: 0; font-size: 15px; }
.reply .when { margin-bottom: 4px; color: var(--navy); font-size: 14px; font-weight: 600; }
.reply .pill { display: inline-block; width: auto; margin-left: 4px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; }
.shot { margin: 0; min-width: 0; }
.shot a { display: block; border-radius: 10px; overflow: hidden; background: var(--bg); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; color: var(--muted); font-size: 14px; }
.unit-title { margin: 4px 0 12px; }
@media (min-width: 560px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --------------------------------------------------------------- the footer */

/* -------------------------------------------------------- the front page */

.ways { display: grid; gap: 14px; }
.way {
  display: block;
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.ways .way h2 { margin: 0; font-size: 20px; }
.way p { margin: 8px 0 0; color: var(--muted); }
.way .go { display: inline-block; margin-top: 14px; color: var(--teal-strong); font-weight: 600; }
a.way:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; } }

.sitefoot.big { padding-top: 32px; }

@media (min-width: 760px) {
  .in { padding: 0 24px; }
  .site h2 { font-size: 30px; }
  .hero-copy { padding: 48px 24px 44px; }
  .hero h1 { font-size: 40px; }
  .hero-photo img { height: 320px; }
  .trust .in { grid-template-columns: repeat(4, 1fr); }
  .band { padding: 64px 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .walk .tiles { grid-template-columns: repeat(4, 1fr); }
  .doorway { padding: 48px 0 72px; }
  .welcome { padding: 40px 0 84px; }
  .welcome h1 { font-size: 34px; }
  .dash .tiles { margin-top: -48px; }
  .tabs { margin-top: -48px; padding: 10px; }
  .dash .tabs + .tiles { margin-top: 20px; }
  .dash h2 { font-size: 18px; }
  .site .foot { padding: 0 24px 44px; }
  .dash .foot { padding: 0; }
}

@media (min-width: 900px) {
  .hero .in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: stretch; max-width: none; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 84px 48px 84px max(24px, calc((100vw - 1072px) / 2)); }
  .hero h1 { font-size: 50px; line-height: 1.08; }
  .hero .lede { font-size: 19px; max-width: 30em; }
  .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0, rgba(10, 36, 71, .55) 22%, rgba(10, 36, 71, 0) 60%); }

  .band { padding: 88px 0; }
  .site .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
  .site .steps li { margin: 0; padding: 70px 22px 24px; }
  .site .steps li::before { left: 22px; top: 22px; width: 36px; height: 36px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .split.flip > :first-child { order: 2; }
  .doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
  .resident .doors .btn { width: auto; flex: 0 1 280px; margin-top: 0; }
  .shot { margin: 0; }

  .mock {
    display: block;
    justify-self: center;
    width: 270px;
    padding: 12px;
    border-radius: 38px;
    background: var(--navy-deep);
    box-shadow: 0 30px 70px rgba(10, 36, 71, .28);
  }
  .mock .screen { overflow: hidden; border-radius: 28px; background: var(--bg); }
  .mock .bar1 { height: 34px; background: #fff; border-bottom: 1px solid var(--line); }
  .mock .bar1 b { display: block; width: 74px; height: 12px; margin: 11px 0 0 14px; border-radius: 4px; background: var(--navy); }
  .mock .band1 { padding: 14px 14px 30px; background: var(--navy-deep); color: #fff; font-family: var(--display); font-size: 15px; font-weight: 800; }
  .mock .sheet1 { margin: -20px 10px 12px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--navy); font-size: 12px; font-weight: 600; }
  .mock .row1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 12px; }
  .mock .row1 i { display: flex; align-items: center; justify-content: center; height: 30px; border: 1px solid var(--edge); border-radius: 8px; font-style: normal; font-weight: 600; }
  .mock .row1 i.on { border-color: var(--navy); background: var(--navy); color: #fff; }
  .mock .go { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 13px; }

  .site .ask .in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 56px; align-items: start; }
  .site .ask .in > * { grid-column: 1; }
  .site .ask .in > form { grid-column: 2; grid-row: 1 / span 8; margin: 0; padding: 28px 32px 32px; box-shadow: 0 18px 50px rgba(10, 36, 71, .14); }
  .site .ask .in > .note { margin-top: 16px; }
  .askside { margin-top: 28px; }

  .doorway .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1000px; }
  .doorway .pitch { order: -1; margin: 0; padding: 40px 36px; }
  .doorway h1 { font-size: 32px; }
  .pitch h2 { font-size: 28px; }

  .tiles.six { grid-template-columns: repeat(6, 1fr); }
  .tiles.four { grid-template-columns: repeat(4, 1fr); }
  .dash .buildings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .dash .buildings .card { margin: 0; }
  .dash .buildings .card.tall { grid-row: span 3; }
  .panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .panels .panel.full { grid-column: 1 / -1; }
  .panels.lead { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
  .wide.board .cancel .btn, .wide.board .foot + .btn { max-width: 320px; }
  .sitefoot.big { padding: 44px 24px; }
}

@media (hover: hover) {
  .cta:hover { background: #3CC4B6; }
  .cta.ghost:hover { background: rgba(255, 255, 255, .08); }
}

@media print {
  .site-top, .trust, .hero-photo { display: none !important; }
  .welcome { padding: 0 0 12px; background: none; color: #000; }
  .welcome h1, .welcome .kicker, .welcome .acct, .welcome .asof { color: #000; }
  .dash .tiles { margin-top: 0; }
  .tabs { display: none; }
}
