:root {
  --ink: #17211b;
  --muted: #536056;
  --paper: #f6f1e8;
  --card: #fffaf1;
  --line: #d7cbb7;
  --green: #214d35;
  --gold: #b7791f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(183, 121, 31, 0.16), transparent 28rem),
    linear-gradient(135deg, #f8f3ea 0%, #ece0cf 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body.has-conversion-bar {
  padding-bottom: 86px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 24px 72px;
}

nav {
  margin-bottom: 34px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

nav a {
  color: var(--green);
  font-weight: 700;
}

h1 {
  margin: 0 0 18px;
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

p,
li {
  font-size: 1.05rem;
}

.lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.28rem;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 18px 50px rgba(64, 47, 22, 0.13);
  border-radius: 18px;
  padding: 24px;
}

.card p {
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.section {
  margin-top: 32px;
}

.button {
  display: inline-block;
  margin: 14px 10px 0 0;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf1;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.price {
  margin: 8px 0;
  font-size: 2.4rem;
  line-height: 1;
}

.secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.sample {
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  white-space: nowrap;
  background: #1d241f;
  color: #f4ead7;
  border-radius: 14px;
  padding: 18px;
}

.issue-snapshot {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 18px 0 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.table-wrap {
  overflow-x: auto;
}

.preview-filter {
  margin: 0 0 18px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

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

th {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

details {
  margin-top: 18px;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.sample-request form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

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

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.checkbox input {
  width: auto;
  margin-top: 0.35rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

button.button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

button.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.conversion-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 18px 50px rgba(64, 47, 22, 0.2);
  padding: 12px 14px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.conversion-bar p {
  margin: 0;
  font-size: 0.95rem;
}

.conversion-bar strong {
  color: var(--green);
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.conversion-actions .button {
  margin: 0;
  padding: 10px 14px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  main {
    padding: 32px 16px 72px;
  }

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

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

  .conversion-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .conversion-actions {
    justify-content: stretch;
  }

  .conversion-actions .button {
    flex: 1 1 auto;
    text-align: center;
  }
}
