:root {
  --bg: #ffffff;
  --ink: #050505;
  --muted: #5d5d5d;
  --line: #dddddd;
  --soft: #f6f6f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 24px 72px;
}

.back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 58px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.eyebrow {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 18px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.updated {
  margin: 0 0 46px;
  color: var(--muted);
  font-size: 14px;
}

.card,
.panel,
main > div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 28px;
}

section {
  margin-top: 38px;
}

main > div > section:first-child {
  margin-top: 0;
}

h2 {
  margin: 0 0 12px;
  border-left: 2px solid var(--ink);
  padding-left: 14px;
  font-size: 19px;
  line-height: 1.25;
}

h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

p,
li {
  color: var(--muted);
}

ul,
ol {
  padding-left: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--ink);
}

.address {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 18px;
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-grid {
  align-items: start;
}

.contact-grid > aside {
  display: grid;
  gap: 18px;
}

.contact-grid > aside .panel,
.contact-grid > section.panel {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

address {
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  padding: 13px 18px;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.full {
  width: 100%;
}

.note {
  font-size: 14px;
}

footer {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

main > div {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px) {
  .shell {
    padding: 30px 18px 52px;
  }

  .back {
    display: flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    margin-bottom: 34px;
  }

  a[href^="mailto:"],
  main a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }

  .eyebrow {
    display: block;
    width: fit-content;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card,
  .panel,
  main > div {
    padding: 20px;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    border: 1px solid var(--line);
    background: #fff;
    margin-bottom: 14px;
  }

  td {
    border: none;
    border-top: 1px solid var(--line);
    padding: 12px;
  }

  td:first-child {
    border-top: none;
    background: var(--soft);
    color: var(--ink);
    font-weight: 700;
  }

  td:nth-child(2)::before {
    content: "Examples";
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  td:nth-child(3)::before {
    content: "Collected";
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .back {
    min-height: 44px;
    align-items: center;
  }

  main a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }
}

@media (max-width: 480px) {
  .shell {
    padding: 24px 14px 44px;
  }

  .card,
  .panel,
  main > div {
    padding: 18px;
  }

  section {
    margin-top: 30px;
  }

  p,
  li {
    line-height: 1.52;
  }
}
