@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  color-scheme: dark;
  --gold: #dbbd76;
  --muted: #99988e;
  --line: #33332c;
  --bg: #10110f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f5f2e9;
  font:
    15px "DM Sans",
    sans-serif;
}
header,
main,
footer {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid #44443a;
  background: #20211c;
  color: #f5f2e9;
  padding: 11px 17px;
  border-radius: 7px;
}
button:hover {
  border-color: var(--gold);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    800 24px Manrope,
    sans-serif;
  letter-spacing: 2px;
}
.brand img {
  height: 45px;
  width: 45px;
  object-fit: contain;
}
.sub {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 4px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #ccc9bf;
}
.hero {
  padding: 75px 0 48px;
  background: radial-gradient(ellipse at 90% 30%, #a88b3c13, transparent 58%);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--gold);
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: clamp(40px, 5.3vw, 65px);
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 20px 0;
}
h1 span {
  color: var(--gold);
}
.hero p {
  color: var(--muted);
  line-height: 1.8;
}
.pills {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #c9c6b9;
  margin-top: 30px;
}
.pills span:first-child {
  color: var(--gold);
}
.access {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 45px;
  padding: 30px;
  border: 1px solid #61502b;
  background: linear-gradient(120deg, #282317, #191b16);
  border-radius: 12px;
}
.access h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
.access p {
  color: #bbb7a9;
  line-height: 1.7;
  font-size: 13px;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
label {
  display: block;
  color: #ccc7ba;
  font-size: 12px;
}
input,
select {
  width: 100%;
  padding: 12px;
  background: #12130f;
  border: 1px solid #4d493b;
  border-radius: 6px;
  color: #fff;
  margin-top: 7px;
}
form button,
form p {
  grid-column: 1/-1;
}
form p {
  margin: 0;
}
.primary {
  background: var(--gold);
  color: #191810;
  border-color: var(--gold);
  font-weight: 700;
}
.workspace-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 55px 0 23px;
}
.workspace-head h2 {
  font-size: 30px;
  margin: 10px 0 0;
  letter-spacing: -1px;
}
.workspace-head p {
  color: var(--muted);
  font-size: 12px;
}
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  background: #191b16;
  padding: 26px;
  min-height: 225px;
  border-radius: 10px;
  transition: transform 0.15s;
}
.tool:hover {
  transform: translateY(-3px);
  background: #20221b;
}
.tool .icon {
  font-size: 25px;
  color: var(--gold);
  display: block;
  margin-bottom: 23px;
}
.tool h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.tool p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
  margin: 0 0 19px;
}
.tool .link {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.tool .num {
  position: absolute;
  right: 23px;
  top: 28px;
  color: #777768;
  font: 11px monospace;
}
.editor {
  margin-top: 30px;
  background: #1a1c16;
  border: 1px solid #665330;
  padding: 30px;
  border-radius: 12px;
  scroll-margin-top: 20px;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.editor h2 {
  margin: 9px 0;
}
.editor > p {
  color: var(--muted);
  line-height: 1.7;
}
.drop {
  border: 1px dashed #73603b;
  border-radius: 10px;
  text-align: center;
  padding: 30px;
  font-size: 16px;
  cursor: pointer;
  background: #22241b;
}
.drop input {
  display: block;
  margin: 16px auto;
  max-width: 380px;
}
.drop small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
#fileList {
  line-height: 2;
  color: #c7c3b4;
  padding-left: 22px;
  overflow-wrap: anywhere;
}
#options {
  display: flex;
  gap: 20px;
  margin: 22px 0;
}
#options label {
  flex: 1;
}
.note {
  font-size: 12px;
}
#downloads a {
  display: block;
  background: #2a3120;
  border: 1px solid #626b42;
  border-radius: 6px;
  padding: 14px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.bottom-note {
  display: flex;
  gap: 35px;
  margin: 45px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.bottom-note span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  white-space: nowrap;
}
.bottom-note p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  color: #99988e;
  font-size: 11px;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .tools {
    grid-template-columns: repeat(2, 1fr);
  }
  .access {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
@media (max-width: 540px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  nav a {
    max-width: 100px;
    font-size: 11px;
  }
  .hero {
    padding-top: 45px;
  }
  h1 {
    letter-spacing: -1.7px;
  }
  .tools {
    grid-template-columns: 1fr;
  }
  .access {
    padding: 22px;
  }
  form {
    grid-template-columns: 1fr;
  }
  .workspace-head {
    display: block;
  }
  .bottom-note {
    display: block;
  }
  .bottom-note p {
    margin-top: 15px;
  }
  #options {
    flex-direction: column;
  }
  .editor {
    padding: 20px;
  }
  footer {
    gap: 18px;
  }
}

.tool-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 12px;
}
.tool-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tool-filters [aria-pressed="true"] {
  background: var(--gold);
  color: #171810;
  border-color: var(--gold);
}
.search-label {
  min-width: 220px;
}
#filterStatus {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
#options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1/-1;
}
.check-option input {
  width: auto;
  margin: 0;
}
#fileList button {
  padding: 5px 8px;
  margin: 4px;
  font-size: 11px;
}
#downloads > button {
  margin-top: 15px;
}
@media (max-width: 600px) {
  .tool-toolbar {
    display: block;
  }
  .search-label {
    margin-top: 16px;
  }
  #options {
    grid-template-columns: 1fr;
  }
  .tool-filters button {
    font-size: 12px;
    padding: 9px 12px;
  }
}
