:root {
  --ink: #173e35;
  --text: #233b34;
  --muted: #65746d;
  --paper: #f7f8f2;
  --line: #dce3d8;
  --lime: #d5ef8b;
  --white: #fff;
  --red: #a63930;
  --radius: 18px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:hover {
  color: #437f63;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  line-height: 1.4;
}
.button:hover,
button:hover {
  background: #285b4b;
  color: white;
}
.button.secondary,
button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #bccbbf;
}
.button.light {
  background: var(--lime);
  color: var(--ink);
}
.small {
  padding: 8px 14px;
  font-size: 14px;
}
.danger {
  color: var(--red) !important;
}
.wrap {
  max-width: 1216px;
  margin: auto;
  padding: 0 32px;
}
.topbar {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--ink);
}
.brand img {
  width: 36px;
  height: 36px;
}
.topbar nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
}
.nav-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  color: #5b795d;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78a84a;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 92px 0 80px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -3.5px;
  font-weight: 600;
  margin: 25px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #668454;
}
h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 600;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  padding: 28px 0 28px 15px;
}
.visual-shell {
  background: #e5eadc;
  border: 1px solid #d9e0d1;
  border-radius: 28px;
  padding: 26px;
  transform: rotate(1deg);
}
.demo-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #52684e;
  margin-bottom: 20px;
}
.dots {
  letter-spacing: 3px;
  color: #98ac87;
}
.code-card {
  background: #173e35;
  color: #e4ebdf;
  border-radius: 13px;
  padding: 24px;
  box-shadow: 0 10px 25px #163f3614;
  transform: rotate(-1deg);
}
.code-head {
  font-size: 12px;
  font-family: monospace;
  border-bottom: 1px solid #476154;
  padding-bottom: 15px;
  margin-bottom: 18px;
  color: #b5c2b6;
}
.method {
  background: #d5ef8b;
  color: #244730;
  padding: 4px 7px;
  border-radius: 4px;
  margin-right: 8px;
  font-weight: 700;
}
.code-card pre {
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
  overflow: auto;
}
.syntax {
  color: #d5ef8b;
}
.flow-line {
  height: 32px;
  width: 1px;
  background: #a8baa0;
  margin-left: 45px;
}
.bubble {
  margin-left: 27px;
  background: #fff;
  border: 1px solid #d4dece;
  border-radius: 14px;
  padding: 20px;
  transform: rotate(-1deg);
  box-shadow: 0 8px 20px #173e3508;
}
.bubble-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf3e3;
  color: #467048;
  font-size: 13px;
}
.bubble p {
  font-size: 14px;
  margin: 0;
}
.bubble .note {
  text-align: right;
  font-size: 11px;
  margin-top: 6px;
}
.integrations {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  color: #68766a;
}
.integrations span {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.integrations .label {
  font-size: 13px;
  font-weight: 400;
  max-width: 180px;
  letter-spacing: 0;
}
.section {
  padding: 80px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head h2 {
  max-width: 520px;
  margin-bottom: 0;
}
.section-head p {
  max-width: 350px;
  color: var(--muted);
  margin-bottom: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}
.iconbox {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf3e3;
  font-family: monospace;
  font-size: 21px;
  color: #476f41;
  margin-bottom: 26px;
}
.callout {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.callout h2 {
  max-width: 540px;
  margin-bottom: 12px;
}
.callout p {
  color: #c5d2c5;
  margin: 0;
}
.footer {
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.footer a {
  margin-left: 20px;
}
.page-head {
  padding: 64px 0 36px;
  max-width: 780px;
}
.page-head h1 {
  font-size: 48px;
  letter-spacing: -2px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.price-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: #e8efd9;
  border-color: #b6c59e;
}
.price-card h3 {
  font-size: 23px;
}
.price {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 10px 0;
}
.price-card ul {
  padding-left: 20px;
  flex: 1;
  color: #56694e;
  font-size: 15px;
  line-height: 2;
}
.price-card .eyebrow {
  margin-bottom: 20px;
  font-size: 10px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 64px 0 90px;
}
.auth-copy h1 {
  font-size: 52px;
  letter-spacing: -2px;
}
.form-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 7px;
}
input,
textarea,
select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cdd6ca;
  border-radius: 8px;
  background: #fcfdf9;
  color: var(--text);
  margin: 0 0 20px;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
form button {
  width: 100%;
}
.form-message {
  font-size: 14px;
  margin-top: 16px;
}
.form-message.error {
  color: var(--red);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin: 22px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.preview-banner {
  background: #e9efd8;
  color: #425c2e;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid #d5dfbf;
}
.docs-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 50px;
  padding: 42px 0;
}
.docs-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  font-size: 14px;
}
.docs-nav a {
  display: block;
  padding: 10px 12px;
  border-left: 2px solid var(--line);
}
.docs-nav a:hover {
  border-color: var(--ink);
  background: #eaf0e1;
}
.docs-main {
  max-width: 850px;
}
.docs-main section {
  padding: 20px 0 30px;
  scroll-margin-top: 20px;
}
.docs-main h1 {
  font-size: 46px;
  letter-spacing: -2px;
  margin: 12px 0 20px;
}
.docs-main h2 {
  font-size: 27px;
}
.docs-main p,
.docs-main li {
  color: #637165;
}
.code {
  background: #183c33;
  color: #e1ebdf;
  padding: 24px;
  border-radius: 12px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre;
  margin: 20px 0;
}
.inline-code,
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 15px;
  border-radius: 9px;
  margin: 12px 0;
  font-size: 14px;
  overflow: auto;
}
.endpoint b {
  font-size: 11px;
  letter-spacing: 1px;
  color: #37764d;
}
.notice {
  background: #edf2e4;
  border-left: 3px solid #8da568;
  padding: 16px 20px;
  font-size: 14px;
  margin: 20px 0;
  color: #536249;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7c877e;
  background: #f6f8f1;
  font-weight: 600;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid #e6ebe1;
  vertical-align: middle;
}
td code {
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.dashboard {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  background: #f6f8f3;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  padding: 0 12px;
}
.workspace {
  font-size: 13px;
  padding: 14px;
  background: #f2f5ed;
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: 1.5;
}
.workspace span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-size: 14px;
  color: #68766a;
  margin: 3px 0;
  border-radius: 8px;
}
.side-nav a.active {
  background: #e8f0db;
  color: #294d32;
  font-weight: 650;
}
.nav-symbol {
  font-family: monospace;
  font-size: 18px;
  width: 22px;
  text-align: center;
}
.side-bottom {
  margin-top: auto;
  padding: 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.side-bottom a {
  display: block;
  margin: 8px 0;
}
.side-bottom button {
  margin-top: 12px;
  width: 100%;
}
.dash-body {
  min-width: 0;
}
.dash-top {
  height: 82px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #ffffffc9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.dash-top .account-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-main {
  max-width: 1450px;
  padding: 36px 42px;
}
.dash-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
}
.dash-heading h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 0 0 6px;
}
.dash-heading p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 14px;
}
.metric span {
  color: var(--muted);
  font-size: 13px;
}
.metric strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  margin: 8px 0;
}
.metric small {
  font-size: 12px;
  color: #829078;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
}
.panel-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.panel-head h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0;
}
.panel-body {
  padding: 24px;
}
.badge {
  font-size: 11px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #edf1e6;
  color: #63724c;
  white-space: nowrap;
}
.badge.ready,
.badge.sent,
.badge.delivered,
.badge.read {
  background: #e2f0df;
  color: #34703e;
}
.badge.unknown,
.badge.dead,
.badge.action_required {
  background: #fce8dc;
  color: #925534;
}
.instance-title {
  font-weight: 600;
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 8px;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}
.compact-form {
  max-width: 650px;
}
.compact-form button {
  width: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.output {
  white-space: pre-wrap;
  word-break: break-all;
  background: #edf3e5;
  padding: 18px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 13px;
}
.output:empty {
  display: none;
}
.step {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border: 0;
}
.step b {
  font-size: 14px;
  display: block;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0;
}
.check {
  color: #6e9458;
  font-size: 20px;
}
.qr {
  max-width: 260px;
  width: 100%;
  display: block;
  margin: 20px auto;
}
.loading {
  padding: 40px;
  color: var(--muted);
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 400px;
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px #0002;
  z-index: 10;
  font-size: 14px;
  display: none;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #813c2c;
}
.hide {
  display: none !important;
}
@media (min-width: 1450px) {
  .hero {
    padding: 110px 0 95px;
  }
  .wrap {
    max-width: 1280px;
  }
  .hero h1 {
    font-size: 76px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 28px;
  }
  .visual-shell {
    padding: 18px;
  }
  .topbar nav {
    gap: 18px;
  }
  .dashboard {
    grid-template-columns: 200px 1fr;
  }
  .dash-main {
    padding: 28px 24px;
  }
  .dash-top {
    padding: 0 24px;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    gap: 40px;
  }
  .section-head {
    align-items: start;
  }
  .docs-layout {
    gap: 28px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .topbar {
    height: 80px;
    gap: 12px;
  }
  .topbar nav {
    display: none;
  }
  .nav-right {
    gap: 14px;
    font-size: 14px;
  }
  .nav-right .button {
    padding: 10px 12px;
  }
  .brand {
    font-size: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0;
    gap: 22px;
  }
  h1 {
    font-size: 52px;
    letter-spacing: -2.6px;
  }
  .hero-visual {
    padding: 12px 4px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .integrations {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .integrations .label {
    max-width: none;
    width: 100%;
    text-align: center;
  }
  .cards,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 50px 0;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 20px;
  }
  .section h2 {
    font-size: 30px;
  }
  .callout {
    padding: 30px;
    display: block;
  }
  .callout .button {
    margin-top: 25px;
  }
  .footer {
    display: block;
    margin-top: 36px;
  }
  .footer div {
    margin-top: 15px;
  }
  .footer a {
    margin-left: 0;
    margin-right: 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }
  .auth-copy h1 {
    font-size: 42px;
  }
  .form-card {
    padding: 24px;
  }
  .docs-layout {
    display: block;
  }
  .docs-nav {
    position: static;
    display: flex;
    overflow: auto;
    gap: 8px;
    padding-bottom: 20px;
  }
  .docs-nav a {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
  }
  .docs-main h1 {
    font-size: 37px;
  }
  .dashboard {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 15px 18px;
    gap: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    padding: 0;
  }
  .workspace,
  .side-bottom {
    display: none;
  }
  .side-nav {
    display: flex;
    gap: 6px;
    overflow: auto;
  }
  .side-nav a {
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 13px;
  }
  .nav-symbol {
    display: none;
  }
  .dash-top {
    height: 56px;
    padding: 0 20px;
    font-size: 12px;
  }
  .dash-main {
    padding: 24px 18px;
  }
  .dash-heading {
    align-items: start;
    gap: 12px;
  }
  .dash-heading h1 {
    font-size: 26px;
  }
  .dash-heading .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 14px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metric span {
    font-size: 11px;
  }
  .metric small {
    font-size: 10px;
  }
  .panel-head,
  .panel-body {
    padding: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-head {
    padding: 40px 0 20px;
  }
  .page-head h1 {
    font-size: 40px;
  }
  .code {
    font-size: 12px;
    padding: 18px;
  }
  .preview-banner {
    font-size: 11px;
    padding: 8px 14px;
  }
  .account-pill .avatar {
    width: 28px;
    height: 28px;
  }
}
.hero > * {
  min-width: 0;
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .code-card {
    padding: 18px;
  }
  .code-card pre {
    font-size: 11px;
  }
}
