@font-face {
  font-family: Archivo;
  src: url('/learn/archivo.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #161619;
  --line: #343439;
  --muted: #b8b8c0;
  --pink: #e72059;
  --white: #fff;
  font: 400 16px/1.5 Archivo, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #ff8eac; outline-offset: 4px; }
.frame { width: min(1160px, calc(100% - clamp(32px, 9vw, 130px))); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 10px; background: white; color: black; z-index: 2; }
.mast { background: #000; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; }
.nav nav, .actions, .panel-head, .overview-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav nav { gap: 14px; }
.nav nav a, .nav nav button { color: var(--white); font-size: .875rem; background: transparent; border: 0; padding: 8px 0; }
.nav a { text-decoration: none; }
.nav nav a:hover, .nav nav button:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.045em; }
.mark { color: #ff386e; letter-spacing: -.1em; font-size: 2rem; font-weight: 900; line-height: 1; }
main { padding: clamp(40px, 6vw, 80px) 0 80px; }
h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: .98; letter-spacing: -.065em; font-weight: 780; text-wrap: balance; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.15; letter-spacing: -.035em; }
.eyebrow { color: #ff799c; font-size: .73rem; line-height: 1.2; font-weight: 730; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 15px; }
.entry { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(28px, 9vw, 110px); }
.entry img { width: 100%; height: clamp(260px, 34vw, 420px); border-radius: 10px; object-fit: cover; }
.entry h1 + p { max-width: 44ch; margin-top: 22px; color: var(--muted); }
.entry .actions { margin-top: 28px; }
.overview-head, .panel-head { justify-content: space-between; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; min-height: 43px; background: #242428; color: var(--white); border: 1px solid #515158; border-radius: 7px; font-weight: 650; font-size: .9rem; text-decoration: none; }
.button.primary { background: var(--pink); border-color: transparent; }
.button:hover { background: #36363a; }
.button.primary:hover { background: #c1194b; }
.sections { display: flex; gap: 12px 23px; flex-wrap: wrap; margin: 28px 0 20px; padding-block: 14px; border-block: 1px solid var(--line); }
.sections a, .link { color: #ffd2e1; font-size: .88rem; text-decoration: underline; }
.link { background: transparent; border: 0; padding: 7px 0; text-underline-offset: .2em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stats > div { padding: clamp(14px, 2vw, 24px); background: #1d1d21; border-radius: 8px; }
.stats dt { color: var(--muted); font-size: .85rem; }
.stats dd { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin-top: 10px; font-weight: 675; letter-spacing: -.055em; }
.panel { margin-top: 17px; padding: clamp(18px, 3.4vw, 38px); border-radius: 10px; border: 1px solid var(--line); background: var(--panel); min-width: 0; scroll-margin-top: 12px; }
.panel > p, .panel-head + p, .panel label small { color: var(--muted); margin: 9px 0 18px; }
.panel .empty { color: var(--muted); margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.panel table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 19px; }
.panel td, .panel th { text-align: end; font-weight: 450; padding: 10px 4px; border-top: 1px solid var(--line); }
.panel th:first-child { text-align: start; padding-left: 0; overflow-wrap: anywhere; }
.panel thead th { color: var(--muted); font-size: .76rem; }
.columns { display: grid; grid-template-columns: 1.14fr 1fr; gap: 16px; }
.queue, .totals { padding: 0; margin: 15px 0 0; list-style: none; }
.queue li { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 16px; border-top: 1px solid var(--line); padding: 14px 0; font-size: .9rem; overflow-wrap: anywhere; }
.queue li:last-child, .totals li:last-child { padding-bottom: 0; }
.queue li div span { display: block; color: var(--muted); }
.queue li [role=alert] { color: #ffb3ca; grid-column: 1/-1; }
.contacts a { display: block; color: #ffd2e1; width: fit-content; }
.contacts time, #contacts label, [data-member-status] { color: var(--muted); font-size: .85rem; }
#contacts select { min-width: 12rem; max-width: 100%; }
#contacts [data-member-status] { margin: 16px 0 10px; }
.totals li { display: flex; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px 0; font-size: .9rem; }
#promotion:empty { display: none; }
.promotion-form { display: grid; gap: 6px; max-width: 50rem; margin-top: 20px; }
.promotion-form label:not(:first-child) { margin-top: 10px; }
.promotion-form label span, #promotion-timezone { color: var(--muted); font-size: .87rem; }
.promotion-checkout { display: grid; gap: 6px; min-width: 0; margin: 16px 0 6px; border: 1px solid var(--line); border-radius: 7px; padding: 10px 14px 15px; }
.promotion-checkout legend { padding-inline: 4px; font-weight: 650; }
.promotion-checkout p, .promotion-checkout legend span, [data-offer-status] { color: var(--muted); font-size: .87rem; }
.promotion-checkout input:disabled { opacity: .55; }
.promotion-form input[type=date] { max-width: 15rem; }
.promotion-form input[type=checkbox] { margin-right: 5px; }
.promotion-form .actions { margin-top: 12px; }
.promotion-form [role=status]:empty { display: none; }
.panel input:not([type=checkbox]), .panel select, .panel textarea { display: block; width: 100%; border: 1px solid #64646b; padding: 9px 11px; background: #212124; color: white; border-radius: 6px; margin-top: 4px; }
.panel input[type=checkbox] { accent-color: var(--pink); }
.mail-stats { grid-template-columns: repeat(3,1fr); margin-top: 16px; }
.mail-stats > div { background: #202024; }
@media (max-width: 720px) {
  .entry, .columns { grid-template-columns: 1fr; gap: 0; }
  .entry img { height: 220px; margin-top: 32px; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mail-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .mail-stats > div { padding: 12px 9px; }
  .nav { min-height: 58px; }
}
@media (max-width: 460px) {
  .frame { width: calc(100% - 32px); }
  .brand { font-size: .88rem; gap: 6px; }
  .mark { font-size: 1.75rem; }
  .nav nav { gap: 10px; }
  .nav nav a, .nav nav button { font-size: .82rem; }
  .queue li { grid-template-columns: minmax(0,1fr) auto; }
  .queue li > div { grid-column: 1/-1; }
  #offer-requests .queue li { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 14px; }
}
