/* Nawab Labs studio chrome. Dark is the primary presentation.
   TaxPeek does not load this file; its own theme stays cream, navy and serif. */

:root {
  --rule: var(--accent);
}

body {
  background: transparent;
  font-synthesis: none;
}

/* Fixed atmosphere, including on iOS where background-attachment: fixed is unreliable.
   imprint.css also paints the same gradient on html. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--atmosphere-0);
  background-image: var(--atmosphere);
}

.skip {
  z-index: 10;
  font-weight: 600;
}

#content {
  scroll-margin-top: 9rem;
}

/* The kit frost is 8% white. Over the holly bloom that drops muted and sage
   text below WCAG AA, so text-bearing glass keeps the frost, rim, blur and
   highlight, and adds an atmosphere scrim. Light mode already passes on the
   kit fill, so it stays on var(--glass). */
.glass {
  background-color: transparent;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    linear-gradient(rgba(7, 10, 9, 0.5), rgba(7, 10, 9, 0.5));
  overflow: visible;
}

@media (prefers-color-scheme: light) {
  .glass {
    background-color: var(--glass);
    background-image: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background-color: var(--glass-solid);
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.site-header.glass {
  position: sticky;
  top: 0;
  z-index: 5;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 28px rgba(0, 0, 0, 0.22);
}

.header-inner {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.brand {
  line-height: 0;
  padding: 0.1rem 0;
}

.brand img {
  display: block;
  width: 12.25rem;
  height: auto;
}

nav a {
  font-weight: 600;
}

nav a:hover {
  color: var(--accent);
}

main a {
  font-weight: 600;
}

.hero,
.sheet,
.apps-panel {
  padding: 1.4rem 1.45rem 1.25rem;
}

.hero {
  margin-bottom: 1rem;
}

.hero h1,
.sheet h1,
.apps-panel h2 {
  margin-top: 0;
}

.hero p:last-child,
.sheet > :last-child {
  margin-bottom: 0;
}

.apps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.85rem;
}

/* TaxPeek’s own sub-brand. Cream, navy and serif. Not studio glass, and not sage type. */
a.app-card {
  justify-self: start;
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.05rem 1.1rem 1rem;
  background: #FFFBF5;
  color: #15233C;
  border: 1px solid #C4B49A;
  border-radius: 20px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: none;
}

a.app-card:hover {
  border-color: #15233C;
  text-decoration: none;
}

.app-mark {
  display: flex;
  width: fit-content;
  align-items: flex-end;
  gap: 3px;
  padding: 8px 9px;
  background: #15233C;
  border-radius: 11px;
}

.app-mark span {
  display: block;
  width: 4px;
  background: #F6F1E7;
  border-radius: 1.5px;
}

.app-mark span:nth-child(1) { height: 7px; }
.app-mark span:nth-child(2) { height: 11px; }
.app-mark span:nth-child(3) { height: 16px; }

.app-name {
  font-family: "New York", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: #15233C;
}

.app-line {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #6A6156;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.app-note {
  margin-top: 0.35rem;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: #6A6156;
}

@media (max-width: 52rem) {
  h1 {
    font-size: 1.85rem;
  }

  .brand img {
    width: 11rem;
  }
}
