/* PAS Music — Web Font Kit
   Use Lato for all text. Montserrat ExtraLight is only for the supplied wordmark.
   This stylesheet loads the four approved Lato styles. */

/* Titles, paragraphs, captions, and notes — Lato Regular 400 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('pas-music-body-lato-regular.woff2') format('woff2');
}

/* Headings and labels — Lato Bold 700 */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('pas-music-heading-lato-bold.woff2') format('woff2');
}

/* Musical work titles and short phrases for emphasis — Lato Italic 400 */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('pas-music-lato-italic.woff2') format('woff2');
}

/* Italic emphasis within a bold heading or label — Lato Bold Italic 700 */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('pas-music-lato-bold-italic.woff2') format('woff2');
}

:root {
  --pas-font-display: 'Lato', system-ui, sans-serif;
  --pas-font-heading: 'Lato', system-ui, sans-serif;
  --pas-font-body: 'Lato', system-ui, sans-serif;
  --pas-display-1-size: 96px;
  --pas-display-1-leading: 106px;
  --pas-display-2-size: 64px;
  --pas-display-2-leading: 70px;
  --pas-title-tracking: -0.01em;
  --pas-h1-size: 32px;
  --pas-h1-leading: 40px;
  --pas-h2-size: 24px;
  --pas-h2-leading: 32px;
  --pas-h3-size: 18px;
  --pas-h3-leading: 24px;
  --pas-body-size: 16px;
  --pas-body-leading: 26px;
  --pas-small-size: 14px;
  --pas-small-leading: 22px;
  --pas-overline-size: 11px;
  --pas-overline-leading: 14px;
  --pas-overline-tracking: 0.2em;
}

body {
  font-family: var(--pas-font-body);
  font-synthesis: none;
  font-weight: 400;
  font-size: var(--pas-body-size);
  line-height: var(--pas-body-leading);
  color: #1C1C1C;
  background: #FFF9E6;
}

em, cite, .pas-italic { font-style: italic; }
strong, b { font-weight: 700; }
.pas-bold-italic { font-weight: 700; font-style: italic; }

.pas-display-1, .pas-display-2 {
  font-family: var(--pas-font-display);
  font-weight: 400;
  letter-spacing: var(--pas-title-tracking);
  text-transform: none;
}
.pas-display-1 { font-size: var(--pas-display-1-size); line-height: var(--pas-display-1-leading); }
.pas-display-2 { font-size: var(--pas-display-2-size); line-height: var(--pas-display-2-leading); }
.pas-h1, .pas-h2, .pas-h3 {
  font-family: var(--pas-font-heading);
  font-weight: 700;
  letter-spacing: normal;
}
.pas-h1 { font-size: var(--pas-h1-size); line-height: var(--pas-h1-leading); }
.pas-h2 { font-size: var(--pas-h2-size); line-height: var(--pas-h2-leading); }
.pas-h3 { font-size: var(--pas-h3-size); line-height: var(--pas-h3-leading); }
.pas-body, .pas-small {
  font-family: var(--pas-font-body);
  font-weight: 400;
  letter-spacing: normal;
}
.pas-body { font-size: var(--pas-body-size); line-height: var(--pas-body-leading); }
.pas-small { font-size: var(--pas-small-size); line-height: var(--pas-small-leading); }
.pas-overline {
  font-family: var(--pas-font-heading);
  font-weight: 700;
  font-size: var(--pas-overline-size);
  line-height: var(--pas-overline-leading);
  letter-spacing: var(--pas-overline-tracking);
  text-transform: uppercase;
}

/* PAS Music - Color Palette
Soft Black, Light Cream, and Warm Gold are the only brand colors.
Use Soft Black for dark page and screen backgrounds. Panel Charcoal is only for
cards and panels placed on Soft Black; never use it as a full-page background.
Use Light Cream for main text on Soft Black or Panel Charcoal. Use Soft Black text
on Light Cream, Warm Gold, or white. Use small amounts of Warm Gold for highlights;
never use Warm Gold on Light Cream, even for decoration.
The extra colors are for cards, panels, and small screen details. Never use them
for page backgrounds, logos, headings, or brand accents.
Warm Stone: captions, secondary labels, and visible control outlines on Soft Black
or Panel Charcoal. Success: success messages and their icons. Error: error messages
and their icons. Use Success and Error only on Soft Black or Panel Charcoal.
Always state the result in words; do not rely on color alone. On Light Cream or
white, use Soft Black for messages, icons, and control outlines.
Normal text needs 4.5:1 contrast. Controls and meaningful icons need 3:1 against
adjacent colors when their shapes are needed to understand or use them.
Use the supplied Black and White logos for one-color printing or uses that need
black or white artwork. White paper does not need a cream background.
Use the supplied wordmark artwork; never retype it.
Printed colors vary with the printer, ink, and paper. Ask your printer to adjust the
CMYK values and provide a printed sample. CMYK names the four printing inks: cyan,
magenta, yellow, and black. No print values are approved for the four screen-only colors.
*/
:root {

  /* Core */
  --pas-soft-black: #1C1C1C;
  --pas-soft-black-rgb: 28, 28, 28;
  --pas-light-cream: #FFF9E6;
  --pas-light-cream-rgb: 255, 249, 230;
  --pas-warm-gold: #FFD966;
  --pas-warm-gold-rgb: 255, 217, 102;

  /* Auxiliary Screen Details */
  --pas-panel-charcoal: #262624;
  --pas-panel-charcoal-rgb: 38, 38, 36;
  --pas-warm-stone: #B8B2A0;
  --pas-warm-stone-rgb: 184, 178, 160;

  /* Status Messages Only */
  --pas-success: #6FCF97;
  --pas-success-rgb: 111, 207, 151;
  --pas-error: #E28080;
  --pas-error-rgb: 226, 128, 128;

  /* Reproduction */
  --pas-black: #000000;
  --pas-black-rgb: 0, 0, 0;
  --pas-white: #FFFFFF;
  --pas-white-rgb: 255, 255, 255;
}

* { box-sizing: border-box; }
:root { color-scheme: dark; }
[hidden] { display: none !important; }
body {
  background: var(--pas-soft-black);
  color: var(--pas-light-cream);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--pas-warm-gold); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 1; padding: .65rem 1rem; background: var(--pas-soft-black); }
.skip:focus { top: .75rem; }
.shell { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.mast, .foot, nav, .buttons, .key-line, .device, .account-head { display: flex; align-items: center; gap: 1rem; }
.mast, .foot, .key-line, .device, .account-head { justify-content: space-between; }
.mast { flex-wrap: wrap; padding: 1.65rem 0 1.25rem; }
.logo { display: inline-flex; min-height: 48px; align-items: center; }
.logo img { display: block; width: 224px; height: auto; }
nav { gap: 1.7rem; }
nav a { font-weight: 700; text-decoration: none; padding: .65rem 0; }
nav a[aria-current] { box-shadow: inset 0 -2px var(--pas-warm-gold); }
main { flex: 1; padding-block: clamp(3rem, 6vw, 5rem); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.split > *, .account-head > * { min-width: 0; }
h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.09375; font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; line-height: 1.333; margin: 0 0 .9rem; }
p { margin: 0; }
.intro { margin-top: 1rem; max-width: 48ch; text-wrap: pretty; }
.note, .foot, .meta { color: var(--pas-warm-stone); font-size: .875rem; line-height: 1.57; }
.panel { background: var(--pas-panel-charcoal); padding: clamp(1.4rem, 3vw, 2.35rem); }
.buttons { flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1.5rem; }
button, input, .primary { font: inherit; border-radius: 3px; }
button, .primary {
  min-height: 44px; padding: .59rem 1rem; font-weight: 700; border: 1px solid var(--pas-warm-stone);
  color: var(--pas-light-cream); background: transparent; cursor: pointer; text-decoration: none;
}
.primary { display: inline-flex; align-items: center; justify-content: center; color: var(--pas-soft-black); background: var(--pas-light-cream); border-color: var(--pas-light-cream); }
button:hover:not(:disabled), .primary:hover { text-decoration: underline; text-underline-offset: .2em; }
button:active:not(:disabled), .primary:active { transform: translateY(1px); }
button:disabled { opacity: .65; cursor: wait; }
label { display: block; font-weight: 700; margin-bottom: .4rem; }
input {
  width: 100%; min-height: 48px; padding: .6rem .8rem; color: var(--pas-light-cream);
  background: var(--pas-soft-black); border: 1px solid var(--pas-warm-stone);
}
form .primary { margin-top: 1rem; }
.status:not(:empty) { margin-top: 1rem; padding-left: .8rem; border-left: 2px solid var(--pas-warm-gold); }
.status.error { border-color: var(--pas-error); }
.panel .next { margin-top: 1rem; }
.foot { flex-wrap: wrap; padding: 1.15rem 0 1.65rem; border-top: 1px solid rgba(var(--pas-warm-stone-rgb), .42); }
.foot a { padding-block: .45rem; }
#licenses { display: grid; gap: 1.5rem; }
.license h2 { margin-bottom: .2rem; }
.license .key-label { margin: 1.25rem 0 .3rem; font-weight: 700; }
.key-line { align-items: start; flex-wrap: wrap; gap: .65rem 1rem; }
.key { overflow-wrap: anywhere; user-select: all; }
.license .device-heading { margin-top: 1.5rem; font-size: 1.125rem; }
.device { margin-top: .55rem; }
.device + .device { padding-top: .65rem; border-top: 1px solid rgba(var(--pas-warm-stone-rgb), .4); }
.device span { overflow-wrap: anywhere; min-width: 0; }
.account-head { align-items: flex-start; flex-wrap: wrap; }
#logout { margin-top: 1.25rem; }
@media (max-width: 48rem) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  main { padding-block: 2.5rem; }
}
@media (max-width: 34rem) {
  .shell { width: calc(100% - 2.5rem); }
  .mast { display: grid; gap: .5rem; padding: 1.25rem 0 .7rem; }
  .logo img { width: 208px; }
  .foot { gap: .5rem 1.25rem; }
}
@media (forced-colors: active) {
  nav a[aria-current] { border-bottom: 2px solid LinkText; }
}
