*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--lk-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lk-fg-muted);
  background: var(--lk-bg-dark);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

a {
  color: inherit;
}

.lk-app {
  min-height: 100vh;
}

/* ------------------------------------------------------------ brand buttons */

.lk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--lk-radius-pill);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition:
    box-shadow 0.15s ease,
    background 0.15s ease;
  min-height: 44px;
}

.lk-btn--lg {
  padding: 14px 32px;
  font-size: 17px;
}

.lk-btn--sm {
  padding: 8px 16px;
  font-size: 14px;
  min-height: 36px;
}

.lk-btn--primary {
  background: var(--lk-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(231, 93, 29, 0.28);
}

.lk-btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.lk-btn--link {
  background: none;
  color: var(--lk-fg-subtle);
  padding: 8px 10px;
}

.lk-btn--link:hover {
  color: var(--lk-fg);
}

.lk-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--lk-radius-pill);
  border: none;
  background: transparent;
  color: inherit;
  transition: background 0.15s ease;
}

.lk-icon-btn:hover {
  background: rgba(15, 41, 53, 0.08);
}

.lk-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lk-accent);
}

/* ---------------------------------------------------------- unfold cards */

.lk-unfold {
  border: 1px dashed #cfd8e6;
  border-radius: 10px;
  background: #f7f9fd;
  margin: 14px 0 0;
  overflow: hidden;
}

.lk-unfold__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--info);
  text-align: left;
}

.lk-unfold__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lk-unfold__chevron {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.lk-unfold.is-open .lk-unfold__chevron {
  transform: rotate(180deg);
}

.lk-unfold__body {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--iv-text);
}

.lk-unfold__body p {
  margin: 0;
}

/* ------------------------------------------------------- page transitions */

.lk-page {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.lk-page.is-entered {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ toast */

.lk-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: var(--lk-teal-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--lk-radius-pill);
  font-size: 14px;
  box-shadow: var(--lk-shadow-md);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  z-index: 60;
  max-width: min(92vw, 520px);
  text-align: center;
}

.lk-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lk-fatal {
  max-width: 640px;
  margin: 18vh auto;
  color: #fff;
  font-family: var(--lk-font);
  text-align: center;
  padding: 0 24px;
}

.lk-fatal code {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}
