@font-face { font-family: Overpass; src: url(Overpass-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Overpass; src: url(Overpass-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Overpass; src: url(Overpass-ExtraBold.ttf); font-weight: 800; font-display: swap; }

:root {
  --grey: #63656a;
  --orange: #db6015;
  --orange-text: #a7440a;
  --line: #dfe0e1;
  --surface: #f5f5f5;
  font: 16px/1.5 Overpass, Arial, sans-serif;
  color: var(--grey);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 1.65rem; line-height: 1.25; font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 800; }
p + p { margin-top: .5rem; }
a { color: var(--orange-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 3px; }
.shell { max-width: 1220px; margin: 0 auto; padding-inline: 32px; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 3; padding: .5rem; background: white; }
.skip:focus { top: 1rem; }
.banner {
  background-color: var(--grey);
  background-image: linear-gradient(90deg, rgb(0 0 0 / .44) 28%, rgb(0 0 0 / .36) 68%, rgb(0 0 0 / .31) 85%, rgb(0 0 0 / .18)), url(banner.jpg);
  background-position: center 26%;
  background-size: cover;
  color: #fff;
}
.banner-inner { min-height: 152px; display: flex; align-items: center; gap: 36px; padding-block: 25px; }
.banner .brand { flex: none; }
.banner img { display: block; width: 219px; height: auto; }
.banner h1 {
  border-left: 1px solid rgb(255 255 255 / .65);
  padding: 14px 0 14px 32px;
  font-size: clamp(1.65rem, 2.4vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.028em;
  text-shadow: 0 1px 3px rgb(0 0 0 / .5);
  text-wrap: balance;
}
main.shell { padding-bottom: 48px; }
.tabs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 30px; border-bottom: 1px solid var(--line); }
.tabs > a { padding: 19px 0 12px; border-bottom: 3px solid transparent; color: var(--grey); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .925rem; }
.tabs > a[aria-current] { color: var(--orange-text); border-bottom-color: var(--orange); }
.tabs > form { margin-left: auto; }
.sign-out { border: 0; background: transparent; padding: .4em 0; font-size: .875rem; }
.overview { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(185px, 1fr); gap: 24px; margin-top: 24px; }
.overview-single { display: flex; }
.feature {
  border-top: 2px solid var(--orange); background: var(--surface); padding: 15px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.feature h2 { color: var(--orange); margin: 2px 0 5px; font-size: 1.55rem; }
.label { font-size: .875rem; font-weight: 700; }
.picks { border-left: 1px solid var(--line); padding: 12px 0 10px 23px; }
.picks .pick-count { display: flex; align-items: baseline; gap: .55rem; font-weight: 700; margin: 0; }
.pick-count strong { color: var(--orange); font-weight: 400; font-size: 2.5rem; line-height: 1.2; }
.picks p:last-child { margin-top: 0; }
.catalogue { margin-top: 25px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 12px; }
.section-title span, .meta { font-size: .875rem; }
.filters { display: grid; grid-template-columns: minmax(150px, 2.6fr) repeat(4, minmax(105px, 1fr)) auto; gap: 10px; margin-bottom: 17px; }
input:not([type=checkbox]), select, textarea {
  width: 100%; background: white; border: 1px solid #c7c8cb; padding: .53rem .65rem; border-radius: 3px; min-width: 0;
}
input::placeholder { color: var(--grey); opacity: 1; }
.button {
  display: inline-flex; justify-content: center; align-items: center; border: 1px solid #c7c8cb;
  padding: .48rem .7rem; background: white; color: var(--grey);
  font-size: .9rem; font-weight: 700; border-radius: 3px; text-decoration: none; white-space: nowrap;
}
.button:hover { border-color: var(--orange-text); color: var(--orange-text); }
.button.primary { background: var(--orange-text); border-color: var(--orange-text); color: #fff; }
.package-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.package {
  border-bottom: 1px solid var(--line); padding: 22px 16px;
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 16px; align-items: center;
}
.package h3 a { color: var(--grey); text-decoration: none; }
.package h3 a:hover { text-decoration: underline; color: var(--orange-text); }
.package p { margin-top: 4px; }
.file-icon { width: 38px; height: 42px; display: grid; place-items: center; background: var(--surface); }
.file-icon::after { content: "≡"; display: grid; place-items: center; width: 13px; height: 18px; border: 1px solid var(--grey); font-size: 11px; }
.detail { margin-top: 28px; max-width: 810px; }
.detail > p, .detail > form, .detail > .button, .detail > a { margin-bottom: 14px; }
.back { display: inline-block; }
.block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.block h2 { margin-bottom: 12px; }
.block p + a { margin-top: 12px; }
.notice, .pilot { background: var(--surface); padding: 12px 16px; border-left: 3px solid var(--orange); margin-block: 16px; }
.pilot { font-size: .875rem; }
.sign-in { max-width: 480px; margin: 40px 0 0; }
.sign-in p { margin-bottom: 12px; }
label { display: block; font-weight: 700; margin-block: 12px; }
label :is(input, select, textarea):not([type=checkbox]) { display: block; margin-top: 4px; font-weight: 400; }
.checkbox { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.checkbox input { accent-color: var(--orange-text); }
.plans, .editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.plan { padding: 16px; border: 1px solid var(--line); border-top: 2px solid var(--orange); }
.price { color: var(--orange-text); font-size: 1.75rem; font-weight: 800; }
.price span { font-size: 1rem; color: var(--grey); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-list { list-style: none; padding: 0; }
.admin-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.admin-list form { display: flex; gap: 5px; }

@media (max-width: 900px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .banner img { width: 170px; }
}
@media (max-width: 620px) {
  .shell { padding-inline: 18px; }
  .banner-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .banner h1 { border: 0; padding: 0; text-wrap: initial; font-size: 1.5rem; }
  .banner img { width: 140px; }
  .tabs { column-gap: 17px; }
  .tabs > a { font-size: .78rem; }
  .overview, .plans, .editor-grid { grid-template-columns: minmax(0, 1fr); }
  .overview { gap: 10px; }
  .feature { flex-wrap: wrap; }
  .package { grid-template-columns: 30px minmax(0, 1fr); padding: 16px 0; gap: 12px; }
  .package > .button { grid-column: 2; justify-self: start; }
  .file-icon { width: 30px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
