/* tidylife.me's own rules. css/tidy-core.css is a byte-for-byte copy of tidy-nest's
   sites/shared/css/tidy-core.css, so anything only this site needs lives here. */

@media (max-width: 640px) {
  /* Phones: the header keeps the brand and one button (issue tidylife.me#14). */
  .tidy-nav-cta .btn-outline:not(:only-child),
  .tidy-brand .brand-badge,
  .ecosystem-bar .container > span:first-child {
    display: none;
  }
  .ecosystem-bar .sites-list {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .btn-lg {
    white-space: normal;
    text-align: center;
  }
}

/* Tidy icons: <svg class="ti" aria-hidden="true" focusable="false"><use href="/icons/tidy-icons.svg#tidy-NAME"></use></svg>,
   always beside words. icons/tidy-icons.svg is a copy of tidy-nest's sites/shared/icons/tidy-icons.svg. */
.ti { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex-shrink: 0; }

/* Site chrome on design system v2 (careening-space/tidy-nest#326): the header, ecosystem bar,
   buttons, hero title and footer every page shares. */
.ecosystem-bar { font-size: 0.8125rem; }
.tidy-brand { gap: var(--space-3); font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
.tidy-brand img { display: block; flex-shrink: 0; }
.tidy-brand .brand-badge { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; }
.tidy-nav-link { display: inline-flex; align-items: center; gap: var(--space-1); }
.btn { min-height: var(--touch-min); }
.btn-outline { border-color: var(--border-control); }
.hero-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: var(--touch-min); }
.ecosystem-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
/* The current site in the ecosystem bar: teal on the recessed bar is 4.37:1, so the deep teal (about 7:1). */
.ecosystem-bar .sites-list a.active { color: var(--primary-dark); }
/* 48px to tap: the bar's links, the brand, the header links and the footer links. */
.ecosystem-bar .sites-list a, .tidy-brand, .tidy-nav-link { display: inline-flex; align-items: center; min-height: var(--touch-min); }
.footer-links a { min-width: var(--touch-min); justify-content: center; }
/* Reading text is 16px on phones, the notes under prices and results included. */
@media (max-width: 640px) {
  body .app-note, body .checkout-note, body .price-lock, body #founding-seats, body .stat-note,
  body .result-fineprint, body .quiz-fineprint { font-size: 1rem; }
}
/* Visually hidden, still read out: section headings that keep the outline in order. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The card grids ask for 320px columns, which overflow a 320px phone: one column there. */
@media (max-width: 400px) {
  .features-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* The bar's links are 48px tall to tap, so the bar itself adds no padding or gaps between rows. */
  .ecosystem-bar { padding-top: 0; padding-bottom: 0; }
  .ecosystem-bar .sites-list { row-gap: 0; }
}
