:root {
  --primary-font: "Poppins", Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  --body-font: "Inter Variable", sans-serif;
  --fontsource-display: optional;
  --text-primary: #1d1f25;
  --text-secondary: #6b7084;
  --text-tertiary: #7e85a0;
  --text-interactive: #423eee;
  --text-01: #242731;
  --text-06: #9599a9;
  --line-01: #eceef2;
  --btn-primary-background: #423eee;
  --bg-interactive: #f5f4fe;
  --bg-highlight: #f4f6f8;
  --bg-page: #f4f6f8;
  --bg-disabled: #acafbb80;
  --bg-container: #fff;
  --bg-main: #fff;
  --bg-error: #fceaed;
  --color-error: #dc1d3c;
  --color-divider: #e2e3e7;
  --color-primary-60: #322fb4;
  --color-primary-30: #aaa8f7;
  --color-secondary-40: #fe5907;
  --color-blue-10: #f0f7fc;
  --color-gray-10: #f4f6f8;
  --color-gray-20: #e1e2e8;
  --color-gray-30: #a8adbf;
  --color-gray-40: #666d89;
  --color-purple-10: #f5f6fc;
  --color-pink-50: #af1768;
  --color-white: #fff;
  --color-disabled: #1d1f2580;
  --elevation-01: 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 0.5px 1.5px rgba(0, 0, 0, 0.1);
  --main-max-width: 760px;
  --main-padding: 16px 32px;
  --main-header-margin: 20px;
  --table-border-radius: 8px;
  --code-sample-bg: #fbfdff;
  /* Not from style guide */
  --icon-default: #6b7084;
  --icon-disabled: #666d89;
  --gradient-01: linear-gradient(96.98deg, #514de0 0%, #af1768 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  /* font-family: var(--primary-font); */
  font-family: var(--body-font);
  /* -webkit-font-smoothing: antialiased; */
  margin: 0;
  padding: 0;
  height: 100%;
  color: var(--text-primary);
  background-color: var(--bg-page);
}

body > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

header.top {
  height: 66px;
  min-height: 66px;
  background: var(--color-white);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  justify-content: space-between;
}

header.top img {
  height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font);
  margin: 0;
  font-weight: 500;
}

h1 {
  font-size: 36px;
  line-height: 54px;
}

h2 {
  font-size: 24px;
  line-height: 36px;
}

h3 {
  font-size: 22px;
  line-height: 32px;
}

h4 {
  font-size: 18px;
  line-height: 27px;
}

h5 {
  font-size: 16px;
  line-height: 24px;
}

a {
  color: var(--text-interactive);
}

a:hover {
  color: var(--color-primary-60);
}

a:visited {
  color: var(--color-pink-50);
}

p,
li {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-primary);
}

main {
  position: relative;
}

div.input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

label {
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
}

input {
  background-color: var(--bg-highlight);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  border: 0;
  font-family: var(--primary-font);
}

button,
.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  gap: 9.67px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  color: #fff;
  height: 44px;
  width: fit-content;
  text-decoration: none;
}

a.btn:not(.text-color):visited {
  color: #fff;
}

button:hover,
.btn:hover {
  cursor: pointer;
}

button:focus,
.btn:focus {
  box-shadow:
    0px 0px 0px 1.5px rgba(255, 255, 255, 0.5),
    0px 0px 4px 2px var(--btn-primary-background);
}

button.hero:not(:disabled),
.btn.hero:not(:disabled) {
  background: linear-gradient(101.5deg, #d41c80 -2.82%, #423eee 108.65%);
}

button.hero:hover,
.btn.hero:hover {
  color: #fff;
}

button.filled,
.btn.filled {
  background: var(--btn-primary-background);
}

button.filled:hover .btn.filled:hover {
  background-color: var(--color-primary-60);
}

button.outlined,
.btn.outlined {
  background-color: transparent;
  border: 1px solid var(--color-primary-30);
  color: var(--text-interactive);
}

button.text-color,
.btn.text-color {
  background-color: transparent;
  color: var(--text-interactive);
}

button.text-color:disabled,
.btn.text-color:disabled {
  background-color: transparent;
  color: var(--color-disabled);
}

button:disabled,
.btn.disabled {
  background-color: var(--color-gray-30);
}

button .icon,
.btn .icon {
  min-width: 16.67px;
  min-height: 16.67px;
  width: 16.67px;
  height: 16.67px;
}

button.btn-icon,
.btn.btn-icon {
  width: 44px;
}

button.btn-icon.large,
.btn.btn-icon.large {
  width: 52px;
}

button.btn-icon.small,
.btn.btn-icon.small {
  width: 36px;
}

button.large,
.btn.large {
  height: 52px;
  padding: 15px 20px;
}

button.small,
.btn.small {
  height: 36px;
  padding: 9px 12px;
}

button.tiny,
.btn.tiny {
  height: 28px;
  padding: 8px 10px;
}

.dark .outlined {
  color: #aaa8f7;
}

.card {
  background-color: var(--bg-main);
  border-radius: 8px;
}

.card-content {
  padding: 24px;
}

.card-footer {
  border-top: 1px solid var(--color-divider);
  padding: 24px;
}

.card-actions {
  padding: 24px;
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.elevation-03 {
  box-shadow: 0px 0.25px 3px 0px #00000005;
  box-shadow: 0px 4px 12px -2px #00000014;
}

:not(pre) > code {
  background-color: var(--bg-highlight);
  border-radius: 4px;
  color: var(--text-primary);
  padding: 2px 4px;
  margin: 0 4px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nowrap {
  white-space: nowrap;
}

table {
  width: 100%;
  border-spacing: 0;
  border: 1px solid var(--line-01);
  border-radius: var(--table-border-radius);
}

table thead tr {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-06);
  text-transform: uppercase;
}

table thead th {
  padding: 16px;
  text-align: start;
  text-transform: uppercase;
  height: 50px;
}

table thead th td {
  line-height: 21px;
}

table tbody td {
  border-top: 1px solid var(--line-01);
  font-size: 14px;
  color: var(--text-primary);
  padding: 16px;
  height: 56px;
}

table tbody td.head {
  font-weight: 600;
}

.content {
  flex: 1;
  padding: var(--main-padding);
}

.content h2 ~ section {
  margin-top: var(--main-header-margin);
}

.content > section {
  background-color: #fff;
  border-collapse: separate;
  max-width: var(--main-max-width);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--elevation-01);
}

.content > section.minimized {
  padding: 16px 32px;
}

.content > section p {
  margin: 0 0 24px 0;
}

.content > section p + ul {
  margin-top: -16px;
}

.mb-8 {
  margin-bottom: 8px !important;
}

/* Typographies */
.t-h1 {
  font-weight: 500;
  font-size: 52px;
}

.t-h2 {
  font-weight: 500;
  font-size: 36px;
}

.t-h3 {
  font-weight: 500;
  font-size: 22px;
}

.t-large {
  font-size: 16px;
}

.t-normal {
  font-size: 14px;
}

.t-small {
  font-size: 12px;
  line-height: 14px;
}

.t-xsmall {
  font-size: 11px;
  line-height: 13px;
}

.t-semibold {
  font-weight: 600;
}

.t-regular {
  font-weight: 400;
}

.t-primary {
  color: var(--text-primary);
}

.t-secondary {
  color: var(--text-secondary);
}

.t-tertiary {
  color: var(--text-tertiary);
}

.t-white {
  color: #fff;
}

@media (max-width: 900px) {
  .t-h2 {
    font-size: 28px;
  }
}
