@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather-VariableFont_opsz,wdth,wght.woff2")
    format("woff2-variations");
  font-style: normal;
  font-weight: 300 900;
  font-display: block;
}

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/Merriweather-Italic-VariableFont_opsz,wdth,wght.woff2")
    format("woff2-variations");
  font-style: italic;
  font-weight: 300 900;
  font-display: block;
}

@font-face {
  font-family: "Betania Patmos In";
  src: url("../fonts/BetaniaPatmosIn-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
}

:root {
  color-scheme: light dark;
  --color-bg: #fffbee;
  --color-text: #1f1f1f;
  --color-icon: #3a3a3a;
  --color-link: #727272;
  --color-link-hover: #2f2f2f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #131313;
    --color-text: #f2ead7;
    --color-icon: #e6dcc8;
    --color-link: #d4d4d4;
    --color-link-hover: #f0f0f0;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 18px;
  font-family: "Merriweather", serif;
}

a,
a:link,
a:visited,
a:active,
a:focus {
  color: var(--color-link);
  text-decoration: none;
  -webkit-text-decoration: none;
  font-weight: 500;
  transition: color 140ms ease;
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

a:hover,
a:focus,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.elel-betania {
  font-family: "Betania Patmos In", cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 2em;
  line-height: 0.5;
}

.elel-betania-small {
  font-size: 1.4em;
}

.elel-tools-inline {
  color: var(--color-link);
}

.elel-wordmark-inline {
  font-family: "Betania Patmos In", cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 1.22em;
  line-height: 1;
}

.elel-muted {
  color: #8a8a8a;
}

@media (prefers-color-scheme: dark) {
  .elel-muted {
    color: #a9a9a9;
  }
}

.elel-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 24px;
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  padding-left: max(24px, calc(env(safe-area-inset-left) + 16px));
  padding-right: max(24px, calc(env(safe-area-inset-right) + 16px));
  box-sizing: border-box;
}

@media (orientation: landscape) {
  .elel-page {
    padding-left: max(32px, calc(env(safe-area-inset-left) + 24px));
    padding-right: max(32px, calc(env(safe-area-inset-right) + 24px));
  }
}

.elel-main {
  width: min(900px, 100%);
}

.elel-body p:first-child {
  margin-top: 0.25em;
}

.elel-home-page .elel-body p:first-child {
  margin-top: 4.5em;
}

.elel-playground {
  margin-top: 34px;
}

.elel-playground-title {
  margin-bottom: 0.6em;
}

.elel-links p {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.elel-links .elel-playground-title {
  margin-top: 0;
  margin-bottom: 0.6em;
}

.elel-circles-wrapper {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 80px;
}

.elel-circles-button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 56px;
  height: 56px;
  cursor: grab;
  color: var(--color-icon);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 120ms ease-out;
}

.elel-circles-button *,
.elel-circles-button svg,
.elel-circles-button circle {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.elel-circles-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.elel-circles-rings {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: var(--color-icon);
  stroke-width: 8;
  transform-origin: 50% 50%;
  transform-box: view-box;
  transform: translateZ(0) rotate(0deg);
  will-change: transform;
  backface-visibility: hidden;
}

.elel-circles-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-icon);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.elel-circles-button.is-dragging {
  cursor: grabbing;
  transform: scale(0.94);
}

.elel-wordmark-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  cursor: pointer;
  vertical-align: baseline;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.elel-wordmark-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}

.project-name {
  font-style: italic;
  font-weight: 500;
}

.elel-policy-page {
  font-size: 16px;
}

.elel-policy-header {
  margin-bottom: 2rem;
}

.elel-policy-header h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 600;
}

.elel-policy-header p {
  margin-top: 0.7rem;
}

.elel-policy-header .elel-policy-wordmark {
  margin-top: 0.25em;
  margin-bottom: 2rem;
}

.elel-policy-header .elel-betania {
  font-size: 2.25em;
}

.elel-updated {
  font-style: italic;
}

.elel-policy-section {
  margin-top: 1.8rem;
}

.elel-policy-section h2 {
  margin: 0 0 0.65rem;
  font-size: 17px;
  font-weight: 600;
}

.elel-policy-section ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.15rem;
}

.elel-footer {
  margin-top: calc(7rem + 30px);
  font-size: 11px;
  color: #999;
  text-align: center;
  white-space: normal;
}

.elel-footer-copy {
  margin: 0;
}

.elel-copyright-symbol {
  font-family: "Merriweather", serif;
}

@media (prefers-color-scheme: dark) {
  .elel-footer {
    color: #999;
  }
}
