:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #152820;
  background: #f2f6f2;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #075f47;
  text-underline-offset: 0.2em;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  line-height: 1.13;
}
h1 {
  margin-block: 0.6rem;
  font-size: clamp(2rem, 6vw, 4.4rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}
p,
li {
  color: #43584e;
}

.plans-shell {
  width: min(70rem, 100%);
  margin-inline: auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 4rem;
}
.plans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #cedbd2;
  padding-bottom: 1.1rem;
}
.plans-brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.06em;
}
.plans-intro {
  margin-block: clamp(2rem, 7vw, 5rem) 2rem;
  max-width: 44rem;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid #cedbd2;
  border-radius: 1rem;
  background: #fff;
}
.plan-featured {
  border-color: #187052;
  background: #e4f2e9;
}
.plan-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #075f47;
}
.plan ul {
  padding-left: 1.25rem;
  margin: 0 0 0.5rem;
}
.plan .plans-button {
  align-self: start;
  margin-top: auto;
}
.plans-button {
  display: inline-block;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  background: #075f47;
  color: white;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.plans-button:hover {
  background: #034933;
}

.request-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 5vw, 3rem);
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid #cedbd2;
  border-radius: 1rem;
}
.request-panel p {
  margin-block: 0.7rem;
}
.request-panel form {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.request-panel input[type="email"] {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #829b8d;
  border-radius: 0.5rem;
  font: inherit;
}
.request-consent {
  display: flex;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.9rem;
}
.request-consent input {
  margin-top: 0.35rem;
  accent-color: #075f47;
}
.request-panel .plans-button {
  justify-self: start;
}
#request-status {
  font-weight: 700;
}
.requests-table {
  overflow: auto;
  margin-top: 1rem;
}
.requests-table table {
  width: 100%;
  border-collapse: collapse;
}
.requests-table caption {
  text-align: left;
  font-weight: 700;
}
.requests-table th,
.requests-table td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid #cedbd2;
}

@media (max-width: 46rem) {
  .plans-grid,
  .request-panel {
    grid-template-columns: 1fr;
  }
}
.usage-panel,
.product-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #cedbd2;
  border-radius: 1rem;
  background: white;
}
.product-section h2,
.usage-panel h2 {
  margin-bottom: 1rem;
}
.product-section p {
  margin: 1rem 0;
}
.product-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  text-align: left;
}
.product-section th,
.product-section td {
  padding: 0.75rem;
  border-bottom: 1px solid #dce7e0;
  vertical-align: top;
}
button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.product-section pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 1rem;
  background: #eef5f1;
  border-radius: 8px;
}
.product-section code {
  overflow-wrap: anywhere;
}
.plans-header nav {
  font-size: 1rem;
}
.doc-layout {
  max-width: 56rem;
}
.doc-layout .product-section {
  scroll-margin-top: 1rem;
}
.doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) {
  .plans-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-section {
    padding: 1rem;
  }
  .product-section table {
    font-size: 0.875rem;
  }
}

.merchant-details {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 2fr;
  gap: 0.75rem 1rem;
}
.merchant-details dt {
  font-weight: 650;
}
.merchant-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .merchant-details {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .merchant-details dd {
    margin-bottom: 0.65rem;
  }
}
