:root {
  color-scheme: light;
  --ink: #193c32;
  --muted: #6b776f;
  --line: #dce4da;
  --paper: #f6f7f1;
  --lime: #e1ef9b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #85a76b;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px;
  z-index: 10;
  background: white;
}
.skip:focus {
  top: 10px;
}
.topbar {
  max-width: 1440px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -1.5px;
}
.brand span {
  font-weight: 500;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 10px;
  text-transform: uppercase;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-name {
  font-size: 13px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 48px 5% 80px;
  min-height: 75vh;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.primary {
  color: #fff;
  background: var(--ink);
}
.primary:hover {
  background: #295343;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover {
  background: #eef2e6;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.full {
  width: 100%;
}
.application-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8%;
}
.hero {
  position: relative;
  padding: 24px 0;
  overflow: hidden;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--muted);
}
h1 {
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin: 0 0 24px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0 0 10px;
}
h3 {
  font-size: 18px;
  margin: 18px 0 5px;
}
p {
  margin: 0 0 20px;
}
.intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 420px;
}
.reward {
  display: flex;
  flex-direction: column;
  margin: 32px 0;
  border-left: 3px solid var(--lime);
  padding-left: 20px;
}
.reward > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.reward strong {
  font-size: 46px;
  letter-spacing: -2px;
  line-height: 1.5;
}
.reward small {
  color: var(--muted);
  font-size: 12px;
}
.steps {
  max-width: 430px;
}
.steps > div {
  display: flex;
  gap: 20px;
}
.steps > div > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 11px;
  line-height: 34px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
}
.steps strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}
.fine-print {
  font-size: 12px;
  color: var(--muted);
}
.hero > .fine-print {
  max-width: 420px;
}
.hero-mark {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  color: #e9edda;
  transform: rotate(-12deg);
  z-index: -1;
}
.hero-mark span {
  font-family: sans-serif;
  font-size: 90px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
.application {
  align-self: start;
  box-shadow: 0 20px 60px #193c3207;
}
.application > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.fields {
  display: grid;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  min-height: 46px;
}
textarea {
  resize: vertical;
}
label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.required {
  color: #986738;
}
.optional {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 24px 0;
}
.optional summary {
  font-size: 13px;
}
.optional summary span {
  float: right;
  color: var(--muted);
  font-size: 11px;
}
.optional .fields {
  margin-top: 22px;
}
.form-error {
  color: #9d3024;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.form-error:empty {
  display: none;
}
.auth-panel {
  max-width: 470px;
  margin: 48px auto 90px;
}
.auth-panel h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
}
.auth-panel form {
  display: grid;
  gap: 18px;
}
.auth-panel .fine-print {
  margin: 20px 0 0;
}
.success-icon {
  width: 60px;
  height: 60px;
  background: var(--lime);
  border-radius: 50%;
  line-height: 60px;
  text-align: center;
  font-size: 26px;
  margin: 20px 0 32px;
}
.dashboard-heading,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dashboard-heading h1 {
  font-size: 44px;
  letter-spacing: -1.7px;
}
.dashboard-heading p {
  color: var(--muted);
}
.session-label {
  text-align: right;
  font-size: 12px;
}
.session-label small {
  display: block;
  margin-top: 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0 36px;
}
.metrics .panel {
  padding: 20px;
  border-radius: 14px;
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.metrics strong {
  font-size: 27px;
  letter-spacing: -1px;
  display: block;
  margin-top: 8px;
}
.tablist {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 32px 0 24px;
}
.tablist button {
  white-space: nowrap;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 14px 2px;
  color: var(--muted);
  font-size: 14px;
}
.tablist button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 650;
}
.workspace {
  padding: 28px;
}
.section-title h2 {
  font-size: 23px;
}
.section-title p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.badge {
  display: inline-flex;
  border-radius: 30px;
  padding: 4px 10px;
  background: #eef1e7;
  font-size: 11px;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge--active,
.badge--paid,
.badge--completed {
  color: #256748;
  background: #e6f3e7;
}
.badge--paused,
.badge--on_hold,
.badge--upcoming,
.badge--trial {
  color: #80642b;
  background: #fbf0d5;
}
.badge--cancelled,
.badge--rejected,
.badge--void {
  color: #934539;
  background: #f7e5df;
}
.filters {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.filters label {
  min-width: 160px;
  flex: 1;
}
.filters .button {
  margin-bottom: 1px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
  padding: 16px 12px;
  background: #f7f8f2;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid var(--line);
  padding: 20px 12px;
  vertical-align: top;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.loading,
.empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 15px;
}
.callout {
  background: #eef3df;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 13px;
  margin: 20px 0;
}
.key-list {
  margin-top: 28px;
}
.key-card {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.key-card .badge {
  margin-left: 12px;
}
.key-card small {
  color: var(--muted);
}
.link-url {
  word-break: break-all;
  margin: 10px 0;
  font-size: 14px;
}
.key-actions {
  flex: 0 0 290px;
}
.key-edit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}
.key-edit > label:first-child {
  grid-column: 1 / -1;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.checkbox input {
  accent-color: var(--ink);
}
.embed-heading {
  margin: 54px 0 28px;
  max-width: 620px;
}
.embed-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}
.embed-heading label {
  max-width: 340px;
}
.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.embed-card {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
  min-width: 0;
}
.embed-card p {
  font-size: 12px;
  color: var(--muted);
}
.embed-preview {
  background: #f7f8f3;
  border-radius: 12px;
  padding: 10px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-preview iframe {
  border: 0;
  width: 100%;
}
.embed-card details {
  margin-top: 14px;
  font-size: 12px;
}
.embed-card textarea {
  font-family: monospace;
  font-size: 11px;
}
.bank-form {
  max-width: 540px;
}
.bank-form .fine-print {
  margin: 24px 0;
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 8px 40px #0003;
  width: max-content;
  max-width: calc(100vw - 32px);
  font-size: 13px;
}
.notice--error {
  background: #873e31;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
@media (min-width: 1250px) {
  .embed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .application-layout {
    gap: 5%;
  }
}
@media (max-width: 800px) {
  .application-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    max-width: 600px;
    padding-bottom: 32px;
  }
  h1 {
    font-size: 52px;
  }
  .intro,
  .steps,
  .hero > .fine-print {
    max-width: 100%;
  }
  .hero-mark {
    display: none;
  }
  .dashboard-heading {
    display: block;
  }
  .session-label {
    text-align: left;
  }
  .key-card {
    flex-direction: column;
    gap: 16px;
  }
  .key-actions {
    flex: initial;
  }
  .key-edit {
    max-width: 360px;
  }
}
@media (max-width: 560px) {
  .topbar {
    padding: 22px 5%;
  }
  nav {
    gap: 12px;
  }
  #apply-nav,
  .nav-name {
    display: none;
  }
  main {
    padding-top: 28px;
  }
  h1 {
    font-size: 42px;
  }
  .panel,
  .workspace {
    padding: 22px;
    border-radius: 15px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metrics .panel {
    padding: 16px;
  }
  .metrics strong {
    font-size: 25px;
  }
  .embed-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: start;
  }
  .section-title .button {
    padding: 10px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pagination {
    flex-direction: column;
    align-items: start;
  }
  .tablist {
    gap: 20px;
  }
  .brand {
    font-size: 26px;
  }
}
