:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f5f5f3;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

header,
main,
footer {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d8d8d4;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #000;
  font-size: 20px;
}

.product-label,
.muted {
  color: #6b6b66;
}

main {
  padding: 56px 0 72px;
}

.intro {
  max-width: 700px;
  margin-bottom: 44px;
}

.eyebrow,
.step {
  margin: 0 0 8px;
  color: #d92c67;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.intro > p:last-child {
  font-size: 18px;
  line-height: 1.6;
  color: #4b4b47;
}

.workspace {
  padding: 28px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 6px;
}

.workspace.disabled {
  opacity: 0.56;
  pointer-events: none;
}

.section-heading,
.account,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-heading {
  margin-bottom: 24px;
}

.badge {
  padding: 6px 9px;
  border-radius: 4px;
  background: #efefec;
  font-size: 13px;
  font-weight: 650;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #171717;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: #171717;
}

.button.secondary {
  color: #171717;
  background: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.account {
  justify-content: flex-start;
}

.account .button {
  margin-left: auto;
}

.avatar {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #eee;
}

.account p {
  margin: 5px 0 0;
}

.file-picker {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #8f8f89;
  cursor: pointer;
  margin-bottom: 16px;
}

.file-title {
  font-weight: 700;
}

.file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#sample-button {
  margin-bottom: 16px;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f1f6ff;
  border-left: 3px solid #4f7ee8;
  color: #3f485b;
  line-height: 1.5;
}

.progress-panel {
  margin-top: 20px;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: #e5e5e1;
}

#progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: #d92c67;
  transition: width 180ms ease;
}

.mono,
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.details {
  padding: 24px 4px;
}

.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(38px, 7vw, 58px);
}

.legal h2 {
  margin-top: 32px;
  margin-bottom: 10px;
}

.legal p,
.legal li {
  color: #4b4b47;
  line-height: 1.7;
}

.legal a {
  color: #171717;
  text-underline-offset: 4px;
}

.details ol {
  padding-left: 22px;
  line-height: 1.8;
}

footer {
  min-height: 84px;
  border-top: 1px solid #d8d8d4;
  color: #666660;
  font-size: 14px;
}

footer nav {
  display: flex;
  gap: 18px;
}

footer a {
  color: inherit;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .product-label {
    display: none;
  }

  main {
    padding-top: 36px;
  }

  .workspace {
    padding: 20px;
  }

  .account,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .account .button {
    width: 100%;
    margin-left: 0;
  }

  footer nav {
    flex-wrap: wrap;
  }
}
