@import url("/assets/fonts.css");
:root {
  --ink: #172a3a;
  --muted: #526577;
  --line: #dce5eb;
  --paper: #f5f8fa;
  --blue: #075a87;
  --aqua: #00afad;
  --code: #102634;
  --green: #8be2cc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: white;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #003a58;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  padding: 0.62rem 1.1rem;
  font-weight: 650;
  gap: 0.5rem;
}
button:hover,
.button:hover {
  background: #084567;
  color: white;
}
.secondary {
  background: white;
  color: var(--blue);
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}
.wrap {
  max-width: 1140px;
  margin: auto;
  padding: 0 30px;
}
header {
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.brand {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.7px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand b {
  color: var(--blue);
}
.brand span {
  font-size: 12px;
  letter-spacing: 1px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 12px;
  color: var(--muted);
}
nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero {
  padding: 78px 0 65px;
  background: linear-gradient(120deg, #f3f9fb, #fff 75%);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--blue);
  font-weight: 800;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(38px, 4.8vw, 59px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 24px;
  max-width: 600px;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 58px;
  align-items: center;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.codebox {
  background: var(--code);
  border: 1px solid #28404e;
  border-radius: 10px;
  box-shadow: 0 20px 50px #10263416;
  overflow: hidden;
  color: #d6e9f1;
}
.codehead {
  padding: 12px 20px;
  border-bottom: 1px solid #2a4050;
  color: #94b0c1;
  font:
    12px ui-monospace,
    monospace;
  display: flex;
  justify-content: space-between;
}
.codebox pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.9;
  tab-size: 2;
}
.codebox .accent {
  color: var(--green);
}
.note {
  font-size: 13px !important;
  color: var(--muted);
}
.tag {
  font:
    11px ui-monospace,
    monospace;
  padding: 4px 8px;
  background: #e7f3f6;
  color: var(--blue);
  border-radius: 4px;
}
.section {
  padding: 62px 0;
}
.section.alt {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 0 0 14px;
}
h3 {
  font-size: 19px;
  margin: 0 0 12px;
}
.intro {
  color: var(--muted);
  max-width: 670px;
  margin: 0 0 30px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 26px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
}
.card .method {
  font:
    11px ui-monospace,
    monospace;
  color: #087466;
  margin-bottom: 20px;
}
.card code {
  font-size: 19px;
  color: var(--ink);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -1.5px;
  margin: 15px 0 2px;
}
.price small {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.quota {
  font-size: 14px;
  color: var(--blue);
  font-weight: 650;
}
.pricing .card {
  padding: 24px;
}
.pricing ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.enterprise {
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 16px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.enterprise p {
  font-size: 14px;
  margin: 0;
}
.page {
  padding: 52px 0 72px;
  min-height: 70vh;
}
.page > h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
  line-height: 1.2;
}
.subnav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 30px;
  font-size: 14px;
}
.docs {
  max-width: 850px;
}
.docs section {
  margin: 40px 0;
}
.docs pre {
  padding: 20px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: auto;
  font-size: 13px;
}
.docs code {
  font:
    13px ui-monospace,
    monospace;
}
.docs h2 {
  font-size: 25px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  color: var(--muted);
  background: var(--paper);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bdccd6;
  border-radius: 5px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
}
textarea {
  min-height: 100px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.check input {
  width: auto;
  margin-top: 7px;
}
.form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.status {
  min-height: 1.65em;
  font-size: 14px;
  white-space: pre-wrap;
}
.status.error {
  color: #a22626;
}
.status.success {
  color: #146450;
}
.pending {
  background: #fff6de;
  border-bottom: 1px solid #edd7a8;
  font-size: 13px;
  padding: 9px 30px;
  color: #6c4e19;
}
.playgrid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: start;
}
.results {
  min-height: 470px;
  max-height: 750px;
  overflow: auto;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fieldrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hidden,
[hidden] {
  display: none !important;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.stat {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.stat strong {
  display: block;
  font-size: 28px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.keyvalue {
  word-break: break-all;
  background: #ecf9f6;
  padding: 20px;
  border: 1px solid #b3dacd;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  display: block;
}
.accountgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.login {
  max-width: 500px;
  margin: 30px auto;
}
.ezauth__field {
  margin: 14px 0;
}
.ezauth__button {
  margin: 8px 8px 8px 0;
}
.ezauth__toggle,
.ezauth__forgot-link,
.ezauth__back {
  background: white;
  color: var(--blue);
}
.ezauth__message {
  font-size: 14px;
  color: #9b2727;
}
.ezauth__form {
  display: flex;
  flex-direction: column;
}
.ezauth__input {
  margin: 5px 0;
}
.ezauth__logout {
  background: #586c7a;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  font-size: 12px;
  color: var(--muted);
}
.foot {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot span {
  margin-right: auto;
}
.foot a {
  text-decoration: none;
}
.source-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.banner {
  border-left: 3px solid var(--aqua);
  padding: 12px 18px;
  background: #f0f8f8;
  font-size: 14px;
  color: #305363;
}
.loading {
  opacity: 0.7;
}
.button.small,
button.small {
  padding: 5px 11px;
  font-size: 12px;
}
@media (min-width: 901px) and (max-width: 1190px) {
  .brand span {
    display: none;
  }
  .nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    padding: 45px 0;
  }
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .playgrid,
  .accountgrid {
    grid-template-columns: 1fr;
  }
  .playgrid {
    display: flex;
    flex-direction: column;
  }
  .playgrid > div:first-child {
    display: contents;
  }
  .playgrid > div:last-child {
    order: 1;
  }
  #custom-form {
    order: 2;
    margin-top: 0 !important;
  }

  .nav {
    gap: 15px;
    flex-wrap: wrap;
    padding: 16px 0;
  }
  .navlinks {
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    margin-right: 0;
  }
  .nav .button {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }
  .navlinks {
    width: 100%;
    order: 3;
    justify-content: space-between;
  }
  .brand span {
    display: none;
  }
  .hero h1 {
    letter-spacing: -1.5px;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .fieldrow {
    grid-template-columns: 1fr;
  }
  .enterprise {
    align-items: flex-start;
    flex-direction: column;
  }
  .page > h1 {
    font-size: 32px;
  }
  .codebox pre {
    padding: 16px;
    font-size: 11px;
  }
}

.docs-layout {
  padding-top: 44px;
  padding-bottom: 64px;
}
.docs-heading h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.docs-heading .intro {
  margin-bottom: 0;
}
.docs-index {
  padding: 16px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
}
.docs-index-title {
  margin: 0;
  font-weight: 700;
}
.docs-index-group p {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.docs-index ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-index a {
  display: inline-block;
  padding: 2px 0;
}
.docs-content {
  min-width: 0;
}
.docs-content > section {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.docs-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}
.docs-content h2 {
  margin: 0 0 8px;
}
.docs-content h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.docs-content [id] {
  scroll-margin-top: 24px;
}
.docs-response {
  margin-top: 24px;
}
.docs-disclosure {
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.docs-disclosure summary {
  padding: 10px 14px;
  cursor: pointer;
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}
.docs-disclosure summary:hover,
.docs-disclosure[open] summary {
  background: var(--paper);
}
.docs-disclosure summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.docs-disclosure pre {
  margin: 10px;
}
.docs-disclosure th code {
  overflow-wrap: anywhere;
}
@media (min-width: 960px) {
  .docs-layout {
    display: grid;
    max-width: 1140px;
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-areas: "index heading" "index content";
    column-gap: 40px;
  }
  .docs-heading {
    grid-area: heading;
  }
  .docs-index {
    grid-area: index;
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin-top: 0;
  }
  .docs-index ul {
    display: block;
  }
  .docs-content {
    grid-area: content;
  }
}
