@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #29282a;
  background: #f7f6f3;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #68636a;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #29282a;
}
.brand img {
  width: 34px;
  height: 34px;
}
main {
  max-width: 960px;
  margin: 64px auto 0;
  padding: 0 30px;
}
.eyebrow {
  letter-spacing: 0.19em;
  font-size: 10px;
  font-weight: 700;
  color: #8c4148;
}
h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 78px;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 22px 0;
}
.intro {
  font-size: 18px;
  line-height: 1.7;
  color: #7c7478;
  margin-bottom: 50px;
}
.primary-card {
  background: white;
  border: 1px solid #e5dfdf;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 12px 45px #38303a06;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.step {
  font-size: 11px;
  color: #8c4148;
  letter-spacing: 0.13em;
  font-weight: 600;
}
.pill {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #8c4148;
  background: #f7edee;
  border-radius: 30px;
  padding: 10px 12px;
  white-space: nowrap;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 8px 0 16px;
  line-height: 1.3;
}
.section-heading h2 {
  margin: 0;
}
p {
  font-size: 14px;
  color: #777077;
  line-height: 1.75;
}
.primary-card > p {
  margin: 22px 0;
}
label {
  display: block;
  font-size: 11px;
  color: #6f646c;
  margin: 20px 0 9px;
}
textarea {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 170px;
  background: #faf9f7;
  border: 1px solid #e9e4e4;
  border-radius: 10px;
  padding: 17px;
  color: #4f464d;
  font-size: 13px;
  line-height: 1.75;
}
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.primary-button {
  background: #8c4148;
  border: 0;
  border-radius: 8px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 15px 21px;
}
.primary-button:hover {
  background: #78343b;
}
.copy-status {
  font-size: 12px;
  color: #6f646c;
}
.hint {
  font-size: 12px !important;
  color: #8c8288 !important;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 25px 0 48px;
}
.card {
  padding: 28px;
  background: #f1efec;
  border-radius: 15px;
}
.card h2 {
  margin-top: 18px;
}
strong {
  font-weight: 500;
  color: #51464c;
}
.details {
  border-top: 1px solid #e1dadd;
  padding: 30px 0;
}
.details h2 {
  font-size: 18px;
}
.url {
  display: flex;
  gap: 10px;
  min-width: 0;
}
.url input {
  width: 100%;
  min-width: 0;
  background: white;
  border: 1px solid #e1dadd;
  border-radius: 8px;
  font-size: 13px;
  padding: 14px;
}
.url button {
  border: 1px solid #e1dadd;
  background: white;
  color: #8c4148;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 12px;
}
dl {
  display: flex;
  gap: 45px;
  margin: 24px 0 30px;
  flex-wrap: wrap;
}
dt {
  color: #94878e;
  font-size: 10px;
  margin-bottom: 6px;
}
dd {
  margin: 0;
  font-size: 12px;
}
details {
  font-size: 12px;
  border-top: 1px solid #e1dadd;
  padding-top: 22px;
}
summary {
  cursor: pointer;
  color: #6f646c;
}
details p {
  font-size: 12px;
}
details a {
  color: #8c4148;
  text-decoration: underline;
  text-underline-offset: 3px;
}
pre {
  font-size: 12px;
  padding: 20px;
  border-radius: 9px;
  background: #ece9e6;
  overflow-x: auto;
  line-height: 1.8;
  max-width: 100%;
}
footer {
  max-width: 960px;
  padding: 28px 30px 45px;
  margin: auto;
  color: #a1989e;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
@media (max-width: 600px) {
  header {
    padding: 22px;
  }
  main {
    padding: 0 20px;
    margin-top: 38px;
  }
  h1 {
    font-size: 59px;
  }
  .intro {
    font-size: 16px;
    margin-bottom: 34px;
  }
  .primary-card {
    padding: 23px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  h2 {
    font-size: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card {
    padding: 24px;
  }
  textarea {
    min-height: 235px;
    font-size: 12px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  dl {
    gap: 22px;
  }
  .url input {
    font-size: 11px;
  }
  .primary-button {
    width: 100%;
    text-align: left;
  }
  footer {
    padding: 24px 20px 35px;
  }
}

/* Shared control dimensions with the Mason application. */
button, .primary-button, .url input { min-height: 40px; box-sizing: border-box; border-radius: 8px; padding: 0 14px; font-size: 12px; }
.actions { gap: 8px; }
.card, .primary-card, .details { padding: 24px; }
:focus-visible { outline: 2px solid #a23e47; outline-offset: 3px; }
