/* Nav, buttons, scrollbar, FAQ, sample memo cards. */

.at-nav {
  position: fixed; top: 18px; left: 50%; z-index: 30;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
  height: 44px; padding: 4px;
  background: var(--frost);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--r-nav);
  font-size: 0.92rem;
}
.at-nav a {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 12px;
}
.at-nav a:hover { background: var(--white); }
.at-nav__brand { font-weight: 400; background: var(--white); }
.at-nav__brand img { width: 16px; height: 16px; }
.at-nav__cta { background: var(--core); color: var(--white); }
.at-nav__cta:hover { background: var(--ink); color: var(--white); }

@media (max-width: 720px) {
  .at-nav { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; }
  .at-nav a:not(.at-nav__brand):not(.at-nav__cta) { display: none; }
}

.at-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border-radius: var(--r-pill);
  font: 400 0.95rem/1 'DM Sans', system-ui, sans-serif;
  background: var(--core); color: var(--white);
  transition: transform 280ms var(--ease), background 280ms var(--ease);
}
.at-btn:hover { background: var(--ink); }
.at-btn:active { transform: scale(0.98); }
.at-btn--light { background: var(--white); color: var(--core); }
.at-btn--light:hover { background: var(--stone); color: var(--core); }

.at-sb { display: none; }
html.js .at-sb {
  display: block; position: fixed; z-index: 35;
  top: 0; right: 3px; width: 3px; height: 100svh; pointer-events: none;
}
.at-sb__thumb { width: 100%; height: 0; background: var(--core); opacity: 0; }
.at-sb.is-live .at-sb__thumb { opacity: .35; }

.at-faq { padding: 8rem var(--gutter) 4rem; max-width: 56rem; margin-inline: auto; }
.at-faq h2 { margin-bottom: 2.5rem; }
.at-faq details { border-top: 1px solid var(--line); }
.at-faq details:last-child { border-bottom: 1px solid var(--line); }
.at-faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; min-height: 4.2rem; padding: 1rem 0;
  font-size: 1.05rem;
}
.at-faq summary::-webkit-details-marker { display: none; }
.at-faq summary::after { content: "+"; font-family: 'Source Serif', Georgia, serif; font-size: 1.4rem; }
.at-faq details[open] summary::after { content: "-"; }
.at-faq details p { padding: 0 0 1.4rem; color: var(--quiet); max-width: 42rem; }

.at-card {
  background: color-mix(in srgb, var(--stone) 88%, var(--white));
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 20px; padding: 1.1rem 1.2rem 1.2rem;
  font-size: 0.92rem;
}
.at-card__eye {
  font: 400 var(--micro)/1.4 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: 0.04em; color: var(--quiet); margin-bottom: 0.55rem;
}
.at-card ul { margin: 0.6rem 0 0.8rem; }
.at-card li { padding: 0.25rem 0; color: var(--quiet); }
.at-card__out { font-family: 'Source Serif', Georgia, serif; font-size: 1.15rem; color: var(--pursue); }
