/* artist.management: the platform's own pages. app.css underneath gives tables and the like;
   everything that makes these pages the platform's is here.

   Type: one family, Mona Sans, at three widths.
     Expanded (125%), heavy  - headlines: they share the logo's wide stance.
     Semi-expanded (112.5%)  - labels, set in capitals with open tracking.
     Normal (100%)           - everything that is read: copy, forms, tables, buttons.
   No accent colour. White on the deep background; black on the light pages. */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("/static/fonts/MonaSans.woff2") format("woff2");
}

/* ---------------------------------------------------------------- the system */

.am-root {
  --am-font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* what app.css builds with, made the platform's */
  --font-sans: var(--am-font);
  --font-display: var(--am-font);
  --font-mono: var(--am-font);
  --am-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --am-ink: #0b0f12;
  font-family: var(--am-font);
  font-kerning: normal;
  font-synthesis: none;
}
.am-root h1, .am-root h2, .am-root h3, .am-root h4 { font-family: var(--am-font); }

/* the light pages: no cyan anywhere, black where it was */
.am-light {
  --bg: #F5F6F7; --bg-elev: #FFFFFF; --surface: #FFFFFF; --surface-2: #FAFAFB; --surface-3: #EEF0F2;
  --hover: #F2F4F5; --input: #FFFFFF; --rule: #E5E7EA; --rule-strong: #D3D7DC;
  --ink: #0b0f12; --ink-2: #394047; --ink-3: #6B7177; --ink-4: #9CA1A7;
  --accent: #0b0f12; --accent-ink: #FFFFFF; --accent-text: #0b0f12;
  --accent-soft: rgba(11, 15, 18, 0.06); --accent-ring: rgba(11, 15, 18, 0.14); --accent-2: #0b0f12;
  --teal: #0b0f12; --teal-soft: #EEF0F2; --blue: #0b0f12; --blue-soft: #EEF0F2; --violet: #0b0f12; --violet-soft: #EEF0F2;
  background: var(--bg); color: var(--ink); margin: 0; min-height: 100vh; display: flex; flex-direction: column;
}

/* the type scale, by role */
.am-display { font-stretch: 125%; font-weight: 800; font-size: clamp(40px, 6.2vw, 84px); line-height: 0.98; letter-spacing: -0.022em; text-rendering: optimizeLegibility; margin: 0; }
.am-h2 { font-stretch: 118%; font-weight: 750; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.06; letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
.am-h3 { font-stretch: 110%; font-weight: 650; font-size: 17px; line-height: 1.25; letter-spacing: -0.004em; margin: 0; }
.am-title { font-stretch: 118%; font-weight: 750; font-size: clamp(28px, 3vw, 36px); line-height: 1.08; letter-spacing: -0.018em; margin: 0; }
.am-label { font-stretch: 112.5%; font-weight: 650; font-size: 11.5px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.am-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; font-weight: 400; margin: 0; max-width: 46ch; }
.am-copy { font-size: 16.5px; line-height: 1.65; margin: 0; max-width: 58ch; }
.am-lede { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ink-3); max-width: 70ch; }
.am-hint { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.am-sub { font-size: 12.5px; color: var(--ink-3); }
.am-strong { font-weight: 600; margin: 0 0 6px; }
.am-arrow { flex: none; transition: transform 0.25s var(--am-ease); }
a:hover > .am-arrow:not(.is-left) { transform: translateX(3px); }
a:hover > .am-arrow.is-left { transform: translateX(-3px); }

/* the logo */
.am-mark { display: block; height: auto; }
.am-mark.is-sm { width: 78px; }
.am-mark.is-lg { width: 120px; }

/* ---------------------------------------------------------------- the dark pages: the landing page and signing in */

.am-landing, .am-auth { margin: 0; background: #0b0f12; color: #fff; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.am-landing ::selection, .am-auth ::selection { background: rgba(255, 255, 255, 0.24); }
.am-sky { position: fixed; inset: -20%; z-index: 0; pointer-events: none; background: radial-gradient(900px 620px at 18% 14%, #17313a, transparent 62%), radial-gradient(760px 560px at 86% 92%, rgba(255, 255, 255, 0.045), transparent 60%), radial-gradient(620px 460px at 70% 34%, rgba(23, 49, 58, 0.55), transparent 62%); animation: am-sky 28s ease-in-out infinite alternate; }
@keyframes am-sky { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }
.am-landing > :not(.am-sky), .am-auth > :not(.am-sky) { position: relative; z-index: 1; }
.am-landing a, .am-auth a { color: inherit; }
.am-landing :focus-visible, .am-auth :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.am-landing .am-label { color: rgba(255, 255, 255, 0.58); }
.am-landing .am-lead, .am-landing .am-copy { color: rgba(255, 255, 255, 0.74); }

.am-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.am-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 26px clamp(20px, 5vw, 56px); animation: am-in 0.6s var(--am-ease) both; }
.am-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.26); color: #fff; transition: background 0.2s var(--am-ease), color 0.2s var(--am-ease), border-color 0.2s var(--am-ease); }
.am-pill:hover { background: #fff; color: #0b0f12; border-color: #fff; }

.am-hero { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 9vh, 104px) clamp(20px, 5vw, 56px) clamp(56px, 11vh, 120px); }
.am-hero > * { animation: am-in 0.7s var(--am-ease) both; }
.am-hero .am-label { animation-delay: 0.05s; }
.am-hero .am-display { margin-top: 22px; max-width: 18ch; text-wrap: balance; animation-delay: 0.12s; }
.am-hero .am-lead { margin-top: 26px; animation-delay: 0.22s; }
.am-hero .am-actions { animation-delay: 0.3s; }
@keyframes am-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.am-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 38px; }

.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; padding: 15px 28px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: #0b0f12; cursor: pointer; text-decoration: none; transition: transform 0.2s var(--am-ease), box-shadow 0.25s var(--am-ease), background 0.2s var(--am-ease); }
.am-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.06); }
.am-btn:active { transform: translateY(0) scale(0.985); }
.am-btn.is-block { width: 100%; }
.am-landing a.am-btn, .am-auth a.am-btn { color: #0b0f12; }
.am-textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.am-textlink:hover { color: #fff; }

.am-section { padding: clamp(64px, 10vh, 112px) 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.am-section.is-alt { background: rgba(255, 255, 255, 0.022); }
.am-section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(28px, 4vh, 44px); }
.am-section-head .am-copy { margin-top: 2px; }
.am-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: end; }
.am-split .am-h2 { margin-top: 16px; }

.am-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.am-tile { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-direction: column; gap: 10px; }
.am-tile-n { font-stretch: 112.5%; font-weight: 650; font-size: 11.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); }
.am-tile .am-h3 { color: #fff; }
.am-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }

.am-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.am-register { width: min(640px, 100%); text-align: left; margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.am-register-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.am-register-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.am-register-go p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.am-register-go a { text-decoration: underline; text-underline-offset: 3px; }
.am-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.am-done { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; margin-top: 14px; }
.am-done span { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; }

/* fields, on the dark pages */
.am-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.am-field > label { font-stretch: 112.5%; font-weight: 650; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.am-landing .am-field > label, .am-auth .am-field > label { color: rgba(255, 255, 255, 0.55); }
.am-input { width: 100%; font: inherit; font-size: 15px; line-height: 1.4; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); transition: border-color 0.15s var(--am-ease), box-shadow 0.15s var(--am-ease), background 0.15s var(--am-ease); }
.am-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-ring); }
textarea.am-input { resize: vertical; min-height: 92px; line-height: 1.55; }
select.am-input { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236B7177' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.am-input.is-sm { font-size: 13px; padding: 7px 10px; border-radius: 9px; }
.am-input.is-static { background: var(--surface-3); color: var(--ink-2); }
.am-landing .am-input, .am-auth .am-input { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.am-landing .am-input::placeholder, .am-auth .am-input::placeholder { color: rgba(255, 255, 255, 0.36); }
.am-landing .am-input:focus, .am-auth .am-input:focus { border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.08); }
.am-note { padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.am-note.is-error { background: rgba(240, 119, 111, 0.12); border: 1px solid rgba(240, 119, 111, 0.32); color: #ffd7d3; }
.am-note.is-ok { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; }

.am-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; max-width: 1200px; margin: 0 auto; padding: 28px clamp(20px, 5vw, 56px) 34px; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); border-top: 1px solid rgba(255, 255, 255, 0.07); }
.am-links { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; }
.am-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 127, 127, 0.5); }
.am-links a:hover { text-decoration-color: currentColor; }

/* signing in */
.am-auth-main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: clamp(48px, 12vh, 120px) 20px 40px; }
.am-auth-logo { margin-bottom: 32px; animation: am-in 0.6s var(--am-ease) both; }
.am-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 18px; padding: 32px 32px 28px; border-radius: 20px; background: rgba(15, 20, 24, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: am-in 0.6s var(--am-ease) 0.06s both; }
.am-card-h { font-stretch: 118%; font-weight: 750; font-size: 26px; line-height: 1.1; letter-spacing: -0.015em; margin: 0; color: #fff; }
.am-card-tag { margin: -8px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.am-card-text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.am-card-text b { color: #fff; font-weight: 600; }
.am-card-text a { text-decoration: underline; text-underline-offset: 3px; }
.am-card .am-btn { margin-top: 4px; }
.am-card-link { align-self: center; font-size: 14px; color: rgba(255, 255, 255, 0.58); }
.am-card-link + .am-card-link { margin-top: -8px; }
.am-card-link:hover { color: #fff; }
.am-auth-legal { margin: 22px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }
.am-auth-legal a { text-decoration: underline; text-underline-offset: 3px; }
.am-auth-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.am-auth-back:hover { color: #fff; }

/* ---------------------------------------------------------------- the light pages: signed in, and the legal pages */

.am-light :focus-visible { outline: 2px solid var(--am-ink); outline-offset: 2px; }
.am-light a { color: inherit; }
.am-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: #0b0f12; color: #fff; }
.am-bar-logo { display: block; }
.am-bar-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 550; }
.am-bar-nav a { color: rgba(255, 255, 255, 0.72); }
.am-bar-nav a:hover { color: #fff; }
.am-bar-out { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.26); background: transparent; color: rgba(255, 255, 255, 0.85); cursor: pointer; }
.am-bar-out:hover { background: #fff; color: #0b0f12; border-color: #fff; }
.am-page { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 72px; display: flex; flex-direction: column; gap: 20px; }
.am-page.is-wide { max-width: 1240px; }
.am-pagehead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.am-pagehead.is-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.am-pagehead.is-row > div { display: flex; flex-direction: column; gap: 10px; }
.am-crumb { margin: 0; font-size: 13px; font-weight: 600; }
.am-crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.am-crumb a:hover { color: var(--ink); }
.am-panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.am-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.am-panel-head h2 { font-stretch: 110%; font-weight: 650; font-size: 16px; letter-spacing: -0.005em; margin: 0; }
.am-panel-head > span:not(.am-tag) { font-size: 13px; color: var(--ink-3); }
.am-subpanel { border-top: 1px solid var(--rule); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.am-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.am-grid.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.am-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.am-form { display: flex; flex-direction: column; gap: 16px; }
.am-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.am-form-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.am-slug { display: flex; align-items: center; gap: 10px; }
.am-slug .am-input { max-width: 260px; }
.am-slug span { font-size: 14px; font-weight: 550; color: var(--ink-3); }
.am-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); vertical-align: middle; }
.am-ink { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
.am-ink:hover { text-decoration-color: currentColor; }
.am-prose { font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; max-width: 420px; }

.am-btn-dark, .am-btn-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1; padding: 11px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform 0.18s var(--am-ease), background 0.18s var(--am-ease), border-color 0.18s var(--am-ease), box-shadow 0.2s var(--am-ease); }
.am-btn-dark { background: #0b0f12; color: #fff; border: 1px solid #0b0f12; }
.am-light a.am-btn-dark { color: #fff; }
.am-btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 15, 18, 0.18); }
.am-btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.am-btn-quiet:hover { border-color: var(--ink); }
.am-btn-dark.is-sm, .am-btn-quiet.is-sm { font-size: 13px; padding: 8px 13px; }
.am-linkbtn { font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; padding: 0; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
.am-linkbtn:hover { color: var(--ink); text-decoration-color: currentColor; }
.am-linkbtn.is-danger { color: var(--red); }
.am-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; }
.am-handlink { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--surface-3); font-size: 12.5px; color: var(--ink-2); }
.am-handlink b { display: block; margin-bottom: 4px; color: var(--ink); }
.am-handlink span { word-break: break-all; }
.am-admin-add { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.am-admin-add .am-input { width: auto; max-width: 170px; }
.am-fold summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.am-fold summary::-webkit-details-marker { display: none; }
.am-fold summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s var(--am-ease); }
.am-fold[open] summary::before { transform: rotate(45deg); }
.am-fold[open] > :not(summary) { margin-top: 14px; }
.am-light .table th { font-stretch: 112.5%; font-weight: 650; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.am-light .table td { font-size: 14px; }
.am-light .cell-title { font-weight: 600; }
.am-light tr.is-off td { opacity: 0.5; }
.am-light .inline-select { color: var(--ink); }

.am-spaces { display: flex; flex-direction: column; gap: 10px; }
.am-space { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); transition: border-color 0.18s var(--am-ease), box-shadow 0.2s var(--am-ease); }
.am-space:hover { border-color: var(--rule-strong); box-shadow: 0 6px 20px rgba(11, 15, 18, 0.06); }
.am-space-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.am-space-mark { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #0b0f12; color: #fff; display: flex; align-items: center; justify-content: center; font-stretch: 125%; font-weight: 800; font-size: 19px; }
.am-space-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.am-space-body b { font-weight: 650; font-size: 15.5px; letter-spacing: -0.005em; }
.am-space-body span { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-space-body .am-space-host { color: var(--ink-2); font-weight: 550; }
.am-space-go { display: flex; align-items: center; gap: 8px; flex: none; }

.am-legal { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.am-legal .am-title { margin-bottom: 4px; }
.am-legal h2 { font-stretch: 110%; font-weight: 650; font-size: 18px; margin: 18px 0 0; }
.am-legal p, .am-legal li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.am-legal .am-lede { color: var(--ink-2); max-width: none; }
.am-legal ul { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.am-legal li::marker { color: var(--ink-4); }
.am-legal b { color: var(--ink); font-weight: 650; }
.am-legal a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.am-pagefoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px clamp(16px, 4vw, 40px); font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- one song, the whole way (landing)
   As the visitor scrolls, the word nearest the reading line widens from narrow and light into
   the logo's wide, heavy shape, and its line shows. Without the script, or with reduced motion,
   every word stands resolved and every line shows. */
html:has(.am-landing) { scroll-behavior: smooth; }
.am-way-sec { overflow-x: clip; }
.am-way-stage { position: relative; isolation: isolate; margin-top: clamp(28px, 4vh, 44px); }
.am-way { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.am-way-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); gap: 8px clamp(24px, 4vw, 56px); align-items: end; padding: clamp(16px, 2.6vh, 26px) 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.am-way-word { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(40px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.024em; white-space: nowrap; color: #fff; contain: layout; }
.am-way-line { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.am-way-end { margin-top: 24px; color: rgba(255, 255, 255, 0.58); }
.am-way-glow { position: absolute; left: 0; top: -160px; width: 100%; height: 320px; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 40% 50% at 40% 50%, rgba(23, 49, 58, 0.95), rgba(23, 49, 58, 0)); transition: transform 1.2s var(--am-ease), opacity 0.6s var(--am-ease); }
.am-way.is-live .am-way-word { font-stretch: 100%; font-weight: 300; color: rgba(255, 255, 255, 0.34); transition: font-stretch 1.1s var(--am-ease), font-weight 1.1s var(--am-ease), color 0.8s var(--am-ease); }
.am-way.is-live .am-way-line { opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--am-ease), transform 0.5s var(--am-ease); }
.am-way.is-live .is-past .am-way-word { font-stretch: 125%; font-weight: 800; color: rgba(255, 255, 255, 0.55); }
.am-way.is-live .is-on .am-way-word { font-stretch: 125%; font-weight: 800; color: #fff; }
.am-way.is-live .is-on .am-way-line { opacity: 1; transform: none; transition-duration: 0.7s; transition-delay: 0.15s; }
.am-way.is-live.is-done .is-past .am-way-word { color: #fff; }
.am-way.is-live ~ .am-way-end { opacity: 0; transform: translateY(6px); transition: opacity 0.7s var(--am-ease) 0.2s, transform 0.7s var(--am-ease) 0.2s; }
.am-way.is-live.is-done ~ .am-way-end { opacity: 1; transform: none; }
.am-way.is-quiet *, .am-way.is-quiet ~ * { transition: none !important; }
@media (max-width: 760px) {
  .am-way-row { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 18px 0; }
  .am-way-line { font-size: 15.5px; max-width: 34ch; }
}

/* ---------------------------------------------------------------- narrower */

@media (max-width: 900px) {
  .am-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-split { grid-template-columns: 1fr; align-items: start; }
  .am-grid, .am-grid.is-even { grid-template-columns: 1fr; }
  .am-form-row.is-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .am-tiles { grid-template-columns: 1fr; gap: 28px; }
  .am-register-row, .am-form-row { grid-template-columns: 1fr; }
  .am-head { padding-top: 20px; padding-bottom: 20px; }
  .am-mark.is-lg { width: 96px; }
  .am-card { padding: 26px 22px 22px; }
  .am-bar-nav { gap: 14px; }
  .am-bar-me { display: none; }
  .am-space { flex-direction: column; align-items: stretch; }
  .am-space-go { justify-content: flex-end; }
  .am-pagehead.is-row { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .am-sky, .am-hero > *, .am-head, .am-card, .am-auth-logo { animation: none; }
  .am-btn, .am-arrow { transition: none; }
  .am-way-word, .am-way-line, .am-way-glow, .am-way-end { transition: none; }
  html:has(.am-landing) { scroll-behavior: auto; }
}
.js .nojs { display: none !important; }
