/* The company header and footer on the account pages: the same navigation as
   kontrastaudio.com (Plugins, Studio, Support), followed by the account's own
   actions. Mirrors .store-header / .brand-footer from the website's studio.css.
   Written by tools/account-navigation.mjs' markup; no inline styles (CSP). */
.store-header, .brand-footer { --gutter: clamp(25px, 5vw, 100px); --cyan: #89e7f3; }

/* ---- Header ---- */
.store-header {
  position: sticky; top: 0; z-index: 50; height: 84px; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid #24404c80; background: #020507d9;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  font-family: Archivo, Arial, sans-serif;
}
.store-header .brand { display: block; width: 168px; flex: none; margin: 0; }
.store-header .brand img { display: block; width: 100%; height: auto; }
.store-header .navigation { display: flex; align-items: center; gap: 30px; font-size: 12px; letter-spacing: .015em; }
.store-header .navigation > span { display: flex; align-items: center; gap: 30px; }
.store-header .account-links { border-left: 1px solid #2b424b; padding-left: 30px; }
.store-header .navigation a,
.store-header .navigation button {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: #b8c8d1; font: inherit; letter-spacing: inherit; text-transform: none; white-space: nowrap; transition: color .22s;
}
.store-header .navigation a::after,
.store-header .navigation button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: #8ed5e3;
  transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.store-header .navigation a:hover, .store-header .navigation button:hover,
.store-header .navigation [aria-current="page"] { color: #effcff; }
.store-header .navigation a:hover::after, .store-header .navigation button:hover::after,
.store-header .navigation [aria-current="page"]::after { transform: scaleX(1); }
.store-header .navigation a:focus-visible,
.store-header .navigation button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---- Footer ---- */
.brand-footer {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding: 64px var(--gutter) 30px; border-top: 1px solid #24404c80;
  background: radial-gradient(ellipse 40% 60% at 0% 0%, #0a222d55, transparent 70%), #020507;
  font: 12px/1.5 Archivo, Arial, sans-serif; color: #edf4f7;
}
.footer-brand img { width: 180px; max-width: 100%; height: auto; display: block; }
.footer-claim { margin: 22px 0 0; color: #a9bcc7; font-size: 14px; line-height: 1.7; }
.footer-claim span { color: var(--cyan); }
.brand-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: #a5bac7; }
.footer-title { margin: 0 0 6px; font: 10px/1.6 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #6f8c9b; }
.brand-footer a { transition: color .2s; }
.brand-footer a:hover { color: #e3fbff; }
.footer-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  margin: 26px 0 0; padding-top: 24px; border-top: 1px solid #24404c55;
  font: 10px/1.8 "IBM Plex Mono", monospace; color: #78919f;
}

@media (max-width: 960px) {
  .store-header .navigation, .store-header .navigation > span { gap: 20px; }
  .store-header .account-links { padding-left: 20px; }
}
/* Small screens keep the account's own actions; the wordmark leads back to the website. */
@media (max-width: 760px) {
  .store-header .navigation > .site-links { display: none; }
  .store-header .account-links { border-left: 0; padding-left: 0; }
  .brand-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; padding-top: 52px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .store-header { height: 72px; gap: 14px; }
  .store-header .brand { width: 116px; }
  .store-header .navigation > span { gap: 16px; font-size: 11px; }
  .brand-footer { grid-template-columns: 1fr 1fr; }
  .brand-footer nav:last-of-type { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 13px 22px; }
  .brand-footer nav:last-of-type .footer-title { flex-basis: 100%; }
}
@media (max-width: 370px) {
  .store-header { padding-inline: 18px; }
  .store-header .brand { width: 100px; }
  .store-header .navigation > span { gap: 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-header .navigation a, .store-header .navigation button,
  .store-header .navigation a::after, .store-header .navigation button::after { transition: none; }
}
