/* Potty Directory family: greens, Instrument Sans, Fredoka wordmark.
   The public site uses .site-header and .section.
   The office uses .app-shell: a left rail on a wide screen, a bottom bar on a phone. */

:root {
  --brand-50: #ecfdf3;
  --brand-100: #d1fae3;
  --brand-200: #a7f3cb;
  --brand-300: #6ee7a8;
  --brand-400: #34d37f;
  --brand-500: #138d57;
  --brand-600: #0f7348;
  --brand-700: #0d5c3b;
  --brand-800: #0b4930;
  --brand-900: #093d28;
  --ink: #0f172a;
  --body: #334155;
  --muted: #475569;
  --faint: #64748b;
  --line: #e7eaee;
  --line-strong: #cbd5e1;
  --paper: #ffffff;
  --canvas: #f4f6f7;
  --warn-bg: #fefce8;
  --warn-line: #fde68a;
  --bad-bg: #fef2f2;
  --bad-line: #fecaca;
  --bad-ink: #991b1b;
  --info-bg: #eff6ff;
  --info-line: #bfdbfe;
  --info-ink: #1d4ed8;
  --note-bg: #f5f3ff;
  --note-line: #ddd6fe;
  --note-ink: #6d28d9;
  --font: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --display: Fredoka, "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 16px -10px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -16px rgba(15, 23, 42, 0.18);
  --shadow-green: 0 8px 20px -10px rgba(19, 141, 87, 0.65);
  --r-card: 1.1rem;
  --r-soft: 0.85rem;
  --rail: 16.5rem;
  --max: 80rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--body);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
body.app { display: block; background: var(--canvas); }
img { max-width: 100%; }
a { color: var(--brand-700); }
a:hover { color: var(--brand-800); }
h1, h2, h3, p { margin: 0; }
h1 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
h3 { color: var(--ink); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.012em; }
p { color: var(--muted); }
main { flex: 1; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(42rem, calc(100% - 2rem)); margin: 0 auto; }
.prose { width: min(44rem, calc(100% - 2rem)); margin: 0 auto; }
.prose p + p, .prose ul + p, .prose p + ul, .prose h2 + p { margin-top: 0.8rem; }
.prose ul { margin: 0.4rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.prose li + li { margin-top: 0.35rem; }
.lede { margin-top: 0.85rem; font-size: 1.05rem; max-width: 68ch; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- public site ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.header-row {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--brand-500);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand img { height: 3rem; width: auto; }
.brand small {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--faint);
}
.nav-desktop { display: none; align-items: center; gap: 1.35rem; }
.nav-desktop a { color: #4b5563; text-decoration: none; font-weight: 500; }
.nav-desktop a:hover { color: var(--brand-600); }
/* .nav-desktop a outranks .btn, so the call-to-action needs its colour back. */
.nav-desktop a.btn { color: white; }
.nav-desktop a.btn:hover { color: white; }
.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  color: #4b5563;
  font-weight: 600;
  padding: 0.4rem 0.2rem;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] .drawer, .drawer {
  position: absolute;
  right: 0;
  top: 2.2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  min-width: 14rem;
  padding: 0.6rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.drawer a { color: #4b5563; text-decoration: none; padding: 0.45rem 0.55rem; border-radius: 0.5rem; }
.drawer a:hover { background: var(--brand-50); color: var(--brand-800); }

/* ---------- office shell ---------- */

.app-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.app-rail { display: none; }
.app-main { min-width: 0; display: flex; flex-direction: column; }

.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--brand-500);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.6rem 1.1rem;
}
.rail-brand img { height: 2.2rem; width: auto; }
.rail-group { display: grid; gap: 0.2rem; }
.rail-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.68rem 0.85rem;
  border-radius: var(--r-soft);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
}
.rail-link:hover { background: var(--canvas); color: var(--ink); }
.rail-link.active {
  background: var(--brand-50);
  color: var(--brand-800);
  box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow-soft);
}
.rail-link.active .ico { color: var(--brand-600); }
.rail-rule { height: 1px; background: var(--line); margin: 0.85rem 0.6rem; }
.rail-note { padding: 0 0.85rem; color: var(--faint); font-size: 0.8rem; font-weight: 500; }

.app-top {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  background: rgba(244, 246, 247, 0.9);
  backdrop-filter: blur(10px);
}
.app-top .brand { font-size: 1.15rem; }
.app-top .brand img { height: 2.2rem; }
.app-search { position: relative; flex: 1; min-width: 0; max-width: 32rem; }
.app-search input {
  min-height: 3rem;
  padding-left: 2.75rem;
  border-radius: 999px;
  border-color: transparent;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.app-search .ico {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}
.app-who { position: relative; margin-left: auto; flex: none; }
.app-who > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}
.app-who > summary::-webkit-details-marker { display: none; }
.app-who > summary:hover { background: rgba(255, 255, 255, 0.8); }
.app-who .who-name { display: none; }
.app-who .initials {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-100);
  color: var(--brand-800);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.app-who .drawer { top: 3.2rem; }
.app-who .drawer form { display: contents; }
.app-who .drawer button {
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  color: #4b5563;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  cursor: pointer;
  min-height: 0;
}
.app-who .drawer button:hover { background: var(--brand-50); color: var(--brand-800); }
.app-who .drawer .who-head {
  padding: 0.3rem 0.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.3rem;
}
.app-who .drawer .who-head strong { display: block; color: var(--ink); }
.app-who .drawer .who-head span { color: var(--faint); font-size: 0.85rem; }

.app-body { flex: 1; padding: 0.4rem 1rem 6.5rem; }
.app-body > .stack { max-width: var(--max); }

.app-bottom {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.app-bottom a, .app-bottom summary {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.2rem 0.6rem;
  text-decoration: none;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.app-bottom summary::-webkit-details-marker { display: none; }
.app-bottom a.active { color: var(--brand-700); }
.app-bottom .ico { width: 1.4rem; height: 1.4rem; }
.app-more { position: relative; }
.app-more .drawer {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 4.4rem;
  top: auto;
  min-width: 0;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.app-more .drawer a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  justify-items: start;
  font-size: 0.95rem;
  color: #4b5563;
  padding: 0.6rem;
}

/* ---------- buttons ---------- */

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  color: white;
  text-decoration: none;
  border: 1px solid var(--brand-700);
  border-radius: var(--r-soft);
  padding: 0.55rem 1.1rem;
  min-height: 2.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--shadow-green);
}
.btn:hover, button.btn:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-800));
  border-color: var(--brand-800);
  color: white;
}
.btn .ico { stroke-width: 2; }
.btn-ghost {
  background: white;
  color: #334155;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-600); }
.btn-small { min-height: 2.3rem; padding: 0.35rem 0.8rem; font-size: 0.92rem; box-shadow: none; }
.btn-danger { background: white; color: var(--bad-ink); border-color: var(--bad-line); box-shadow: none; }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad-ink); border-color: var(--bad-line); }
.btn-xl { min-height: 3.5rem; border-radius: 1rem; font-size: 1.08rem; }
.header-actions { display: flex; gap: 0.45rem; align-items: center; flex-shrink: 0; }
.form > .btn { justify-self: start; }

/* ---------- public sections ---------- */

.hero { padding: 2.6rem 0 1.4rem; }
.hero h1 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.15rem); }
.section { padding: 2.4rem 0; }
.section.alt { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 1rem; }
.section-head p { margin-top: 0.35rem; }

/* ---------- cards ---------- */

.grid-2, .grid-3, .price-grid, .card-grid { display: grid; gap: 0.85rem; }
.card, .price, .link-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-soft);
  padding: 1.15rem 1.2rem;
}
.link-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-height: 100%; }
.link-card:hover { border-color: var(--brand-600); color: inherit; }
.link-card h3 { margin-top: 0.7rem; }
.link-card p { margin-top: 0.35rem; font-size: 0.92rem; }
.icon { width: 1.4rem; height: 1.4rem; color: var(--brand-600); }

body.app .card, body.app .link-card {
  border-color: transparent;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
body.app .link-card:hover { box-shadow: var(--shadow-card), 0 0 0 1px var(--brand-200); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.tile {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.25rem 1.2rem;
  display: grid;
  gap: 0.1rem;
  align-content: start;
  text-decoration: none;
  color: inherit;
}
a.tile:hover { box-shadow: var(--shadow-card), 0 0 0 1px var(--brand-200); color: inherit; }
.tile b {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--brand-800);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.tile span { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.tile .tile-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.spark { width: 6.5rem; height: 2.4rem; overflow: visible; }
.spark path { fill: none; stroke: var(--brand-400); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.spark circle { fill: var(--brand-400); stroke: none; }

/* align-items: start so a short panel does not stretch to match a tall one. */
.panels { display: grid; gap: 0.9rem; align-items: start; }
.panels .chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }
.panel {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.panel-head h2 { font-size: 1.2rem; }
.panel-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.panel-head a .ico { width: 1rem; height: 1rem; }
.row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-soft);
  background: var(--canvas);
  text-decoration: none;
  color: inherit;
}
.row-item:hover { background: var(--brand-50); color: inherit; }
.row-item strong { color: var(--ink); display: block; }
.row-item > div:first-child { min-width: 0; }
.row-item .chip { margin-top: 0.3rem; }
.row-item .row-side { display: flex; align-items: center; gap: 0.8rem; flex: none; }
.row-item .amount { color: var(--brand-700); font-weight: 700; }
.row-item .age { color: var(--faint); font-size: 0.88rem; white-space: nowrap; }
.cta-bar { display: grid; gap: 0.8rem; }

.price { display: flex; flex-direction: column; gap: 0.55rem; }
.price.featured-plan { border-color: var(--brand-600); background: linear-gradient(180deg, var(--brand-50), white 42%); }
.price .amount { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.price .amount span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { margin: 0.2rem 0 0.6rem; padding-left: 1.1rem; color: var(--muted); }
.price li + li { margin-top: 0.28rem; }
.kicker { color: var(--brand-700); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- pills ---------- */

.promise-row, .term-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}
.pill.plain::before, .pill.quiet::before { display: none; }
.pill.hot { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.pill.good { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.pill.quiet { color: var(--muted); font-weight: 600; }

/* lead status, settled 2026-11-07 */
.pill.s-new { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }
.pill.s-contacted { background: var(--info-bg); border-color: var(--info-line); color: var(--info-ink); }
.pill.s-quoted { background: var(--note-bg); border-color: var(--note-line); color: var(--note-ink); }
.pill.s-won { background: var(--brand-100); border-color: var(--brand-300); color: var(--brand-800); }
.pill.s-lost { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-ink); }

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.1rem 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.callout {
  border: 1px solid var(--line);
  border-radius: var(--r-soft);
  padding: 0.9rem 1rem;
  background: white;
}
.callout.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.callout.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.callout.good { background: var(--brand-50); border-color: var(--brand-200); }
.callout strong { color: var(--ink); }
.callout p { margin-top: 0.25rem; }

.empty {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  padding: 1.4rem 1.1rem;
  border-radius: var(--r-soft);
  background: var(--canvas);
  color: var(--muted);
}
.empty strong { color: var(--ink); }

/* ---------- forms ---------- */

.form { display: grid; gap: 0.85rem; }
.fields { display: grid; gap: 0.85rem; }
.field { display: grid; gap: 0.3rem; }
.field span, .check { font-weight: 600; color: var(--ink); }
.hint, .field small, .fine { color: var(--faint); font-size: 0.86rem; font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--r-soft);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  min-height: 2.75rem;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-500); border-color: var(--brand-600); }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
.check { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.check input { width: 1.05rem; height: 1.05rem; min-height: 0; accent-color: var(--brand-600); }
.split { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- lists and tables ---------- */

.stack { display: grid; gap: 0.75rem; }
.list-card { display: grid; gap: 0.35rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; color: var(--faint); font-size: 0.88rem; }
.row-between { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.7rem; }
.stat { background: white; border: 1px solid var(--line); border-radius: var(--r-soft); padding: 0.85rem 0.9rem; }
body.app .stat { border-color: transparent; box-shadow: var(--shadow-card); }
.stat b { display: block; color: var(--ink); font-size: 1.45rem; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 0.86rem; }

.lines { display: grid; gap: 0.6rem; }
.line { display: grid; gap: 0.45rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.page { padding: 1.25rem 0 3rem; }
.page h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
body.app h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.intro { margin: 0.45rem 0 1rem; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.45rem 0.35rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
th { color: var(--faint); font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; }

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

footer.site-footer { background: #111827; color: #9ca3af; margin-top: auto; }
footer.site-footer a { color: #9ca3af; text-decoration: none; }
footer.site-footer a:hover { color: white; }
.footer-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0;
  display: grid;
  gap: 1.4rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; color: white; font-weight: 700; }
.footer-brand img { width: 2rem; height: 2rem; }
footer.site-footer .mail { color: var(--brand-400); }
footer.site-footer .mail:hover { color: var(--brand-300); }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 0.9rem 0 1.2rem; font-size: 0.85rem; }

/* ---------- breakpoints ---------- */

@media (max-width: 720px) {
  .brand img { height: 2.4rem; }
  .brand { font-size: 1.05rem; }
  .form > .btn { justify-self: stretch; }
}
@media (max-width: 620px) {
  /* The bottom bar already says this is the office, so the top bar gives the
     room back to search. Keep the mark, drop the word and the caret. */
  .app-top { gap: 0.5rem; padding: 0.7rem 0.8rem; }
  .app-top .brand span { display: none; }
  .app-top .brand img { height: 2rem; }
  .app-who .who-caret { display: none; }
  .app-who .initials { width: 2.4rem; height: 2.4rem; }
  .app-search input { min-height: 2.8rem; font-size: 0.95rem; }
}
@media (min-width: 800px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3, .card-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .fields.two { grid-template-columns: 1fr 1fr; }
  .line { grid-template-columns: 1.4fr 0.5fr 0.7fr 0.8fr 1.2fr; align-items: end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero { padding: 3.4rem 0 1.6rem; }
}
@media (min-width: 900px) {
  .app-shell { grid-template-columns: var(--rail) 1fr; }
  .app-rail {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 1.15rem 0.8rem 1.4rem;
    background: var(--paper);
    border-right: 1px solid var(--line);
  }
  .app-top { padding: 1rem 1.6rem 0.9rem; }
  .app-top .brand { display: none; }
  .app-body { padding: 0.5rem 1.6rem 3rem; }
  .app-bottom { display: none; }
  .app-who .who-name { display: inline; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .panels { grid-template-columns: 1fr 1fr; }
  .cta-bar { grid-template-columns: 1fr 1fr; }
}
