.button,
a.button,
input[type="submit"] {
  display: inline-block;
  margin: 24px 4px 0 0;
  width: auto;
  padding: 8px 16px;
  line-height: 24px;
  border-radius: 8px;
  border: none;
  background: var(--color-button-bg);

  font-size: 1rem;
  font-weight: 700;
  color: var(--color-button-text);
  cursor: pointer;
  box-shadow:
    0 0 0 1px var(--color-shadow) inset,
    0 -2px 4px 0 var(--color-button-shadow) inset, 
    0 -4px 8px 1px var(--color-button-shadow) inset, 
    0 4px 8px 1px var(--color-button-highlight) inset, 
    0 2px 4px 0 var(--color-button-highlight) inset,
    0 2px 4px 1px var(--color-shadow);
  text-decoration: none;
  text-shadow: 0 0.5px 0 var(--color-button-highlight);
  position: relative;
  transition: all 0.2s ease;
  transform: translateY(0);
  cursor: pointer;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 1e3px;
  }

  &:hover {
    background: var(--color-button-hover);
    color: var(--color-button-text);
    box-shadow:
      0 0 0 1px var(--color-shadow) inset,
      0 -2px 4px 0 var(--color-button-shadow) inset, 
      0 -4px 8px 1px var(--color-button-shadow) inset, 
      0 4px 8px 1px var(--color-button-highlight) inset, 
      0 2px 4px 0 var(--color-button-highlight) inset,
      0 4px 8px 2px var(--color-shadow);
  }

  &:active { transform: scale(0.95); }

  &:disabled {
    cursor: not-allowed;
    color: var(--color-text-light);
    background: var(--color-input-bg);
    box-shadow: none;
    text-shadow: none;
    transition: none;
  }

  &.is-large {
    font-size: 1.44rem;
    padding: 12px 24px;
    border-radius: 12px;
    @supports (corner-shape: squircle) {
      corner-shape: squircle;
      border-radius: 1e3px;
    }
  }

  &.is-secondary {
    background: transparent;
    color: var(--color-text);
    box-shadow: 0 0 0 1px oklch(from var(--color-text-light) l c h / 0.3) inset, 0 1px 1px 0 var(--color-shadow);
    text-shadow: none;
    &:hover {
      background: transparent;
      text-decoration: none;
      box-shadow: 0 0 0 1px var(--color-text) inset, 0 1px 1px 0 var(--color-shadow);
      color: var(--color-link-hover);
    }
  }

  &.is-copied {
    color: var(--color-free-bg);
    background: var(--color-input-border);
    box-shadow: none;
    text-shadow: none;
    cursor: default;
  }

  & small {
    font-size: 0.833rem;
    font-weight: 400;
    opacity: 0.6;
    display: block;
  }
}
@font-face {
    font-family:"Bricolage";
    src:url(/assets/BricolageGrotesque-Regular-a291b71d5a9ee645a4fd8ac388a6e885fc47e3b92ebe362b04123b5a6e074ad3.woff2) format("woff2"),
        url(/fonts/BricolageGrotesque-Regular.woff) format("woff");
    font-style:normal;
    font-weight:400;
}

@font-face {
    font-family:"Bricolage";
    src:url(/assets/BricolageGrotesque-Bold-28946ecfd23f412d5b3218bf5229bae481b7973e40be59ec843bd5c69be47719.woff2) format("woff2"),
        url(/assets/BricolageGrotesque-Bold-3572c3ec7f3e909acf03e0ae471cf9e6d7edd767c79d06fa026306e4af497bbc.woff) format("woff");
    font-style:normal;
    font-weight:700;
}

:root {
    --font-sans: "Bricolage", sans-serif;
}
form {
  display: block;
  overflow: visible;
}

label { display: block; }

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
pre { 
  display: block;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-input-bg);
  border: 2px solid var(--color-input-border);
  border-radius: 8px;
  color: var(--color-text);
  padding: 8px 16px;
  line-height: 24px;
  width: 100%;
  outline: none;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

input:disabled {
  background: oklch(from var(--color-input-bg) calc(l - 0.08) c h);
  border-color: oklch(from var(--color-input-bg) calc(l - 0.08) c h);
  color: oklch(from var(--color-text) l c h / 0.5);
  cursor: not-allowed;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="password"]:focus-visible,
textarea:focus-visible {
  outline: 2px solid oklch(from var(--color-text-light) l c h / 0.2);
  border-color: oklch(from var(--color-text-light) l c h / 0.8);
}

input:is(:-webkit-autofill, :autofill) {
  background: var(--color-input-bg) !important;
  color: var(--color-text) !important;
}

input + label,
input + .field_with_errors,
.field_with_errors:has(label) { margin-top: 16px; }

.field_with_errors label { color: var(--color-error); }
.field_with_errors input { border-color: var(--color-error); }
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 24px 16px 16px;
  color: var(--color-text);
  margin-inline: 0;
}

body > header,
body > main,
body > footer {
  max-width: 1440px;
  margin: 0 auto;
}

body > header nav {
  display: flex;
  gap: 8px;
}

body > header nav a,
body > header nav form,
body > header nav button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  font-weight: 700;
}

.logo { text-decoration: none; }

.logo svg {
  fill: currentColor;
  display: none;
}

.logo__icon {
  transform: rotate(-70deg) scale(1.44);
  margin-right: 4px;
  position: relative;
  top: -2px;
}

body > header nav button {
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 1rem;
  text-decoration: underline;
}

body > header nav a:hover { color: var(--color-link-over); }

body > header nav a:first-of-type { margin-right: auto; }

body > main {
  min-height: calc(100dvh - 144px);
  padding: 48px 0;
  display: block;
}

.main-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.main-container > div { flex: 1; overflow-x: hidden; }

@media screen and (min-width: 1000px) {
  .main-container {
    flex-direction: row;
  }
}

body > footer {
  line-height: 24px;
  padding: 8px 0;
  text-align: center;
}

body > footer p {
  margin: 0;
  padding: 0;
}
.messages {
  list-style: none;
  padding: 0;
  margin: 16px -16px 0;
  width: calc(100% + 32px);
}

.message {
  padding: 8px 16px;
  border-top: 1px solid var(--color-input-border);
  &:hover {
    background: var(--color-input-bg);
  }
}

.title--messages {
  color: var(--color-free-bg);
}

.title--spams {
  color: var(--color-error);
}

@media screen and (min-width: 1000px) {
  .messages {
    margin-inline: -40px;
    width: calc(100% + 80px);
  }
  .message {
    padding-inline: 40px;
  }
}

.message__link {
  text-decoration: none;
  width: 100%;
  display: flex;
  align-items: start;
  gap: 16px;
  & > div {
    flex: 1;
  }
}

.message time,
.message-show time {
  font-size: 0.833rem;
  font-weight: 400;
  margin: 0;
  line-height: 24px;
  color: oklch(from var(--color-text-light) l c h / 0.6);
}

.message__sender {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.message__subject {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

.message__body {
  font-size: 1rem;
  margin: 0;
  color: oklch(from var(--color-text-light) l c h / 0.6);
}

.message-show {
  .message__header {
    padding-bottom: 0;
    display: flex;
    align-items: start;
    justify-content: space-between;
    & > div {
      flex: 1;
    }
    & > div:last-child {
      flex: 0;
      text-align: right;
      white-space: nowrap;
    }
  }
  .message__body {
    border-top: 1px solid var(--color-input-border);
    margin-top: 32px;
    color: var(--color-text);
  }
  .message__to {
    margin: 0;
    color: oklch(from var(--color-text-light) l c h / 0.6)
  }
  .badge.is-spam {
    color: var(--color-error);
    text-transform: uppercase;
    font-size: 0.694rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }
}
html,
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--color-text);
  overflow-x: hidden;
}

body { background: radial-gradient(125% 125% at 50% 90%, var(--color-background) 30%, var(--color-background-top) 100%); }

a { 
  color: var(--color-link);
  &:hover { color: var(--color-link-hover); }
}

h1 {
  font-size: 2.488rem;
  line-height: 1.2;
  margin: 48px 0 0;
  padding: 0;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.44;
  margin: 1rem 0 0;
}

* + h2 { margin-top: 3rem; }

p.lead { 
  font-size: 1.44rem;
  color: var(--color-text-light);
}

:focus-visible {
  outline: 2px solid oklch(from var(--color-text-light) l c h / 0.8);
}

.card {
  background-color: var(--color-card-bg);
  box-shadow: 0 0 0 1px var(--color-shadow), 0 4px 8px 0 var(--color-shadow);
  border-radius: 12px;
  padding: 40px;
  text-shadow: none;
  position: relative;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 30px;
  }
}

.card--limited {
  max-width: 600px;
  margin-inline: auto;
}

.card--secondary {
  background-color: transparent;
  box-shadow: none;
}

.card h1 { margin: 0 0 48px; }

.card h1:has(+ p) { margin: 0 0 -16px; }

.card p.lead { font-size: 1rem; }

.card * + form { margin-top: 32px; }

.card table { margin-inline: -16px; width: calc(100% + 32px); }

.features { 
  margin-top: 48px;
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  justify-items: start;
}

.features p { color: var(--color-text-light); }


.card footer {
  margin: 48px 0 -24px;
  text-align: center;
  color: var(--color-text-light);
}

pre {
  margin-top: 24px;
  color: var(--color-text-light);
  overflow: auto;
  font-size: 0.833rem;
  transition: all 0.4s ease-in-out;
}

pre.is-copied {
  background: oklch(from var(--color-code-bg) calc(l - 0.1) calc(c + 0.02) h);
  border: 2px solid var(--color-free-bg);
}

pre + .button { margin-top: 8px; }

pre.form-code,
pre {
  background: var(--color-code-bg);
  border-radius: 8px;
  color: var(--color-code-text);
  padding: 24px;
  overflow-x: auto;
  white-space: pre;
  word-wrap: normal;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

pre.highlight { margin-top: 48px; }

pre .o { color: var(--color-code-punctuation); }

pre .nt { color: var(--color-code-tag); }

pre .na { color: var(--color-code-attr-name); }

pre .s { color: var(--color-code-string); }

pre .c { color: var(--color-code-comment); }

.badge {
  font-weight: 400;
  font-size: 0.694rem;
  line-height: 1;
  background: var(--color-card-bg);
  color: var(--color-text);
  padding: 4px 8px;
  border-radius: 4px;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

.badge--free {
  background: var(--color-free-bg);
  color: var(--color-background);
  opacity: 1;
}

.button .badge {
  position: absolute;
  top: -12px;
  left: 2px;
  transform: rotate(-2deg);
  box-shadow: 0 0 0 1px var(--color-shadow);
  text-shadow: none;
}

.main-demo { 
  border-radius: 12px;
  background: var(--color-card-bg);
  align-self: flex-start;
  box-shadow: 0 0 0 1px var(--color-shadow), 4px 4px 8px 0 var(--color-shadow);
  max-width: 100%;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 30px;
  }
}

.main-demo pre {
  margin: 0;
  padding: 24px;
  border-radius: 0;
  border: none;
}

.main-demo-form {
  border-top: 4px dashed var(--color-input-border);
  border-radius: 0 0 12px 12px;
  position: relative;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 0 0 30px 30px;
  }
}

.main-demo form {
  padding: 40px 24px;
}

.main-demo-form-icon {
  font-size: 32px;
  background: var(--color-card-bg);
  border-radius: 24px;
  margin: 0;
  padding: 0;
  line-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: -24px;
  left: calc(50% - 24px);
}

.main-demo-form__help {
  border: 2px dashed var(--color-input-border);
  color: var(--color-text-light);
  margin: 8px 24px 24px;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: start;
  gap: 16px;
  font-size: 0.833rem;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

.main-demo-form__help .icon {
  font-size: 1.728rem;
}

.main-statistics {
  padding: 8px 16px;
  margin-top: 24px;
  font-size: 0.833rem;
  color: var(--color-text-light);
  border: 2px dashed var(--color-input-border);
  border-radius: 8px;
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

.statistics__spam { color: var(--color-error); }

.statistics__messages { color: var(--color-free-bg); }

.terms p,
.terms li {
  color: var(--color-text-light);
}

.terms footer {
  color: var(--color-text-light);
  font-size: 0.833rem;
}

@media screen and (max-width: 1000px) {
  .card {
    padding: 40px 24px;
    margin-inline: -24px;
  }

  .card--limited {
    max-width: 1000px;
  }
}

.site-footer {
  font-size: 0.833rem;
  text-align: center;
  color: var(--color-text-light);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-light);
  &:hover { color: var(--color-link); }
}

.footer-nav__social-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-nav .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-nav .icon--bsky { fill: oklch(from var(--color-error) l c calc(h + 180) / 0.8); }

canvas.sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

tr { border-bottom: 1px solid var(--color-input-border); }

th {
  text-align: left;
  padding: 8px 16px;
  text-transform: uppercase;
  font-size: 0.694rem;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  font-weight: 400;
}

td { padding: 8px 16px; }
:root {
  --color-background: oklch(100% 0 276);
  --color-background-top: oklch(88% 0.15 276);
  --color-cloud: oklch(100% 0 276/ 0.7);
  --color-text: oklch(17% 0.02 96);
  --color-text-light: oklch(42% 0.02 276);
  --color-link: currentColor;
  --color-link-hover: oklch(5% 0.2 96);
  --color-button-bg: oklch(89% 0.2 96);
  --color-button-text: oklch(15% 0.2 96);
  --color-button-highlight: oklch(99% 0.1 106);
  --color-button-shadow: oklch(79% 0.2 76);
  --color-button-hover: oklch(94% 0.2 96);
  --color-card-bg: #fff;
  --color-shadow: oklch(49% 0.1 276 / 0.1);
  --color-input-bg: oklch(99% 0.01 276);
  --color-input-border: var(--color-shadow);
  --color-free-bg: oklch(52% 0.2 156);
  --color-error: oklch(52% 0.2 36);
  --color-code-bg: oklch(22% 0.01 276);
  --color-code-text: oklch(90% 0.01 96);
  --color-code-tag: oklch(89% 0.2 306);
  --color-code-string: oklch(89% 0.2 96);
  --color-code-attr-name: oklch(79% 0.2 36);
  --color-code-punctuation: oklch(75% 0.01 96);
  --color-code-comment: oklch(75% 0.01 96);

}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: oklch(18% 0.01 276);
    --color-background-top: oklch(2% 0.02 296);
    --color-cloud: oklch(18% 0.01 276/ 0.8);
    --color-star: oklch(0% 0 0);
    --color-text: oklch(90% 0.01 96);
    --color-text-light: oklch(80% 0.01 96);
    --color-link-hover: oklch(98% 0.01 96);
    --color-card-bg: oklch(22% 0.01 276);
    --color-shadow: oklch(5% 0.04 276 / 0.2);
    --color-input-bg: oklch(27% 0.01 276);
    --color-input-border: oklch(32% 0.01 276);
    --color-free-bg: oklch(79% 0.2 156);
    --color-error: oklch(79% 0.2 36);
  }
}
.card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: start;
}

.card-header h1,
.card-header h2,
.card-header .button {
  margin: 0;
}

.card-header--embed { align-items: center; }

.account .statistics {
  margin: 24px 0 48px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 2px dashed var(--color-input-border);
  @supports (corner-shape: squircle) {
    corner-shape: squircle;
    border-radius: 20px;
  }
}

.account .statistics > * {
  width: auto;
  white-space: nowrap;
  padding: 8px 16px;
  font-weight: 700;
}

.account .statistics h2 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

.account .statistics div h2 span { margin-left: 0.25em; }

@media screen and (max-width: 800px) {
  .account .statistics { 
    flex-direction: column;
    align-items: start;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
