/* Ingrid public navigation, shared by the product site and standalone policies. */

/* The editor is desktop-only; phone visitors can still read its docs and terms.
   Same phone definition as the app's notice (src/main.js, index.html), so a
   phone turned to landscape matches too; a test keeps them identical. */
@media (pointer: coarse) and (hover: none) and (max-width: 600px), (pointer: coarse) and (hover: none) and (max-height: 500px) {
  .desktop-action {
    display: none;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  min-height: 48px;
  line-height: 1.5;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-strong);
}

.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.3em;
  min-height: var(--size-touch);
  color: var(--color-text-strong);
  font: 600 var(--text-size-web-heading)/1.2 var(--font-serif);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--color-accent-hover);
}

.wordmark-mark {
  display: inline-grid;
  place-items: center;
  color: var(--color-accent);
  flex: none;
  width: 0.77em;
  height: 0.77em;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav {
  font-size: var(--text-size-web-body);
}

.site-nav [aria-current='page'] {
  text-decoration-thickness: 2px;
}
