.landing-page {
  display: none;
}

body.is-landing > :is(.sidebar, .main-app, .stage-top, .playback-bar) {
  display: none;
}

.is-landing .landing-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 6vh, 80px);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 60px) clamp(24px, 5vw, 86px) 27px;
  background:
    radial-gradient(ellipse at 80% 43%, #202d1a 0%, transparent 44%),
    #111410;
  color: #f3f5ec;
}

.landing-header,
.landing-main,
.landing-footer {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.07em;
}

.landing-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #d7f786;
  color: #1a2517;
}

.landing-brand-mark svg {
  width: 22px;
  height: 22px;
}

.landing-brand-dot {
  color: #d7f786;
}

.landing-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
}

.landing-copy {
  padding-block: 10px;
}

.landing-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.1vw, 6.55rem);
  font-weight: 740;
  line-height: .99;
  letter-spacing: -.079em;
  text-wrap: balance;
}

.landing-copy h1 span {
  color: #d7f786;
}

.landing-copy > p:not(.landing-auth-feedback) {
  max-width: 34ch;
  margin: clamp(21px, 3.8vw, 35px) 0 25px;
  color: #b9c4b0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.landing-actions,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-cta {
  display: inline-flex;
  min-height: 54px;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 12px 17px;
  border: 1px solid #ebffb6;
  border-radius: 12px;
  background: linear-gradient(130deg, #e8fda8, #d7f786 68%);
  box-shadow: 0 6px 19px #b9e65c20, inset 0 1px #fff6;
  color: #182514;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.35;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.landing-cta svg {
  width: 19px;
  height: 19px;
}

.landing-actions .landing-cta {
  min-width: min(100%, 146px);
}

.landing-cta svg:last-child:not(:first-child) {
  margin-inline-start: auto;
}

.landing-cta:not(:disabled):hover {
  border-color: #f1ffcc;
  box-shadow: 0 8px 23px #c5ef682b, inset 0 1px #fff8;
  transform: translateY(-2px);
}

.landing-secondary {
  border-color: #546544;
  background: linear-gradient(155deg, #272f21, #1a2118);
  box-shadow: inset 0 1px #ffffff0b;
  color: #e5efd8;
}

.landing-secondary:not(:disabled):hover {
  border-color: #91a972;
  box-shadow: 0 5px 18px #0003;
}

.landing-secondary .landing-action-icon {
  color: var(--accent);
}

.account-actions .auth-button {
  flex: 1 1 86px;
  min-height: 42px;
  width: auto;
  border-radius: 9px;
  font-weight: 650;
  margin-bottom: 8px;
  margin-top: 0;
}

.account-actions #authButton:has(+ #registerButton:not([hidden])) {
  border-color: var(--accent);
  background: var(--accent);
  color: #182514;
}

.account-actions #authButton:has(+ #registerButton:not([hidden])):hover {
  background: #e8fda8;
}

.account-dialog {
  width: calc(100% - 28px);
  max-width: 470px;
  padding: clamp(20px, 4vw, 31px);
  border: 1px solid #526545;
  border-radius: 24px;
  background: radial-gradient(ellipse at 12% 0%, #354629 0%, transparent 52%), #171f16;
  box-shadow: 0 28px 100px #000a, inset 0 1px #d7f78624;
}

.account-dialog::backdrop {
  background: #070a07b5;
  backdrop-filter: blur(6px);
}

.account-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.account-mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #657d4d;
  border-radius: 13px;
  background: #bce46917;
  color: var(--accent);
}

.account-mark svg {
  width: 24px;
  height: 24px;
}

.account-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #495a3e;
  border-radius: 10px;
  background: #131b13aa;
  color: #dbe6cf;
}

.account-close:hover {
  border-color: #7b925f;
  background: #283625;
}

.account-dialog h2 {
  margin: 16px 0 4px;
  color: #f0f5e8;
  font-size: clamp(1.68rem, 4vw, 2.1rem);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.account-dialog > p {
  margin: 0 0 20px;
  color: #bdcab3;
  font-size: .93rem;
  line-height: 1.5;
}

.account-form,
.account-field,
.account-form-actions {
  display: grid;
}

.account-form {
  gap: 14px;
}

.account-field {
  gap: 6px;
}

.account-field label {
  color: #e3ecd8;
  font-size: .86rem;
  font-weight: 680;
}

.account-input {
  position: relative;
}

.account-input svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #9caa90;
  pointer-events: none;
}

.account-input input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 42px;
  border: 1px solid #48583e;
  border-radius: 11px;
  background: #10170f;
  color: #edf3e6;
  font-size: 1rem;
}

.account-input input::placeholder {
  color: #8f9d85;
}

.account-input:focus-within svg {
  color: var(--accent);
}

.account-input input:focus {
  border-color: #b6d97f;
  outline: 2px solid #d7f78670;
  outline-offset: 1px;
}

.account-field small {
  color: #aebba4;
  font-size: .78rem;
}

.account-approval-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #47583c;
  border-radius: 10px;
  background: #202d1d;
}

.account-approval-note svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--accent);
}

.account-approval-note p {
  margin: 0;
  color: #c7d5bd;
  font-size: .82rem;
  line-height: 1.45;
}

.account-form-actions {
  gap: 2px;
}

.account-form-actions button:not(.landing-cta) {
  min-height: 40px;
  justify-self: center;
  padding: 7px 14px;
  color: #c4d4b8;
}

.account-form-actions button:not(.landing-cta):hover {
  color: var(--accent);
}

.approval-dialog {
  max-width: 510px;
}

.approval-notices {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.approval-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #586f45;
  border-radius: 10px;
  background: #202d1d;
  color: #e3eed8;
}

.approval-notice strong {
  min-width: 0;
  font-size: .85rem;
  overflow-wrap: anywhere;
}

.approval-whatsapp {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #819d59;
  border-radius: 8px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}

.approval-whatsapp:hover {
  background: #334327;
}

.approval-list {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.approval-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #46563a;
  border-radius: 8px;
}

.approval-list li > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.approval-list strong,
.approval-list small {
  overflow-wrap: anywhere;
}

.landing-cta:focus-visible,
.approval-whatsapp:focus-visible {
  outline: 2px solid #d7f786;
  outline-offset: 4px;
}

.landing-auth-feedback {
  max-width: 43ch;
  margin: 15px 0 0;
  color: #c7d5be;
  font-size: .875rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.landing-auth-feedback.is-error {
  color: #f1c9ad;
}

.landing-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.16;
  overflow: hidden;
  border: 1px solid #3f5134;
  border-radius: clamp(16px, 2.6vw, 32px);
  background:
    radial-gradient(ellipse at 50% 70%, #253820 0%, transparent 58%),
    linear-gradient(165deg, #202c1d, #141e14 50%, #101711);
  box-shadow: 0 28px 72px #0b0d0999, inset 0 1px #ecffd110;
}

.landing-beam {
  position: absolute;
  top: -7%;
  bottom: 24%;
  background: linear-gradient(180deg, #e2fcad30, #a2ca6830 49%, #b5dd6c04 97%);
}

.landing-beam-left {
  left: 0;
  width: 63%;
  clip-path: polygon(17% 0, 23% 0, 98% 100%, 55% 100%);
}

.landing-beam-center {
  left: 23%;
  width: 54%;
  background: linear-gradient(180deg, #ebfab438, #cbef7929 52%, #cae9910a 100%);
  clip-path: polygon(47% 0, 53% 0, 91% 100%, 9% 100%);
}

.landing-beam-right {
  right: 0;
  width: 63%;
  clip-path: polygon(77% 0, 83% 0, 45% 100%, 2% 100%);
}

.landing-stage-grid {
  position: absolute;
  inset: 66% -30% -45%;
  background:
    repeating-linear-gradient(0deg, #a6c98024 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, #a6c98020 0 1px, transparent 1px 33px);
  transform: perspective(180px) rotateX(51deg) scale(1.13);
  transform-origin: 50% 0;
  mask-image: radial-gradient(ellipse at 50% 3%, #000, transparent 73%);
}

.landing-stage-rings {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 60%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    #b6db7555 0%, #a9d36815 30%, transparent 44%,
    #a9d36845 46%, transparent 48%, transparent 61%,
    #acd8773b 63%, transparent 64%);
}

.landing-stage-mark {
  position: absolute;
  top: 44%;
  left: 50%;
  display: grid;
  width: 28%;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #c9ed8499;
  border-radius: 30%;
  background: radial-gradient(circle at 44% 0%, #4a612e, #24351e 60%, #1a2918);
  box-shadow: 0 0 38px #b5db6248, inset 0 1px #f0ffc758;
  color: #d7f786;
}

.landing-stage-mark svg {
  width: 52%;
  height: 52%;
  filter: drop-shadow(0 0 10px #d7f78668);
}

.landing-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 17px;
  border-top: 1px solid #364130;
}

.landing-footer .developer-credit {
  margin: 0;
  padding: 0;
  color: #a6b29c;
  font-size: 13px;
}

.landing-install {
  align-items: center;
  color: #bdd3a8;
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.landing-install[hidden] {
  display: none;
}

.landing-install svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 740px) {
  .is-landing .landing-page {
    gap: 21px;
  }

  .landing-main {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 25px;
  }

  .landing-copy {
    padding-block: 13px 0;
  }

  .landing-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 9.9vw, 5.3rem);
    text-wrap: wrap;
  }

  .landing-art {
    width: min(100%, 500px);
    max-height: 258px;
    aspect-ratio: 1.72;
  }

  .landing-stage-mark {
    width: 21%;
  }

  .landing-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .is-landing .landing-page {
    padding-inline: 20px;
  }

  .landing-copy h1 {
    font-size: 2.62rem;
  }

  .landing-actions .landing-cta {
    flex: 1 1 128px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-cta {
    transition: none;
  }

  .landing-cta:not(:disabled):hover {
    transform: none;
  }
}
